Image encoding method and apparatus and image decoding method and apparatus based on motion vector normalization모션 벡터 정규화를 기반으로 한 화상 부호화 방법과 장치와 화상 복호화 방법과 장치
Provided are an image encoding method and apparatus, and an image decoding method and apparatus. The image encoding method includes: obtaining a variation of a motion estimation error with respect to a homogeneity degree of a motion vector according to mergence, based on a motion vector of each of merged blocks obtained by merging adjacent blocks, motion vectors of the adjacent blocks included in each of the merged blocks, and motion vectors of neighboring blocks of each of the merged blocks; and determining, based on the obtained variation, a merged block having a smallest variation from among the merged blocks and whether to merge the adjacent blocks included in the determined merged block.