f estimating and compensating for motion in image encoding, the method including the operations of searching for a reference block having a minimum differencecompared with a current block in a reference frame, calculating a motion vector, and thereby performing motion estimation; generating an estimation block for the current block by using the current frame and the reference frame, when some pixe