An image processing device comprising: a motion estimator configured to estimate the amount of motion of an object between a first image and a second image later than the first image; a motion compensator configured to perform a conversion process on the second image so that vibration of the object between the first image and the second image is suppressed, on the basis of the amount of motion of the object; and a mode switch configured to switch between a first estimation mode and a second estimation mode , wherein the motion estimator has the first estimation mode in which the amount of motion of the object is estimated in a predetermined search area (SA) and a second estimation mode in which the amount of motion of the object is estimated in a larger area than the search area in the first estimation mode, when a predetermined criterion is satisfied, the motion compensator performs the conversion process on the basis of the amount of motion estimated in the second estimation mode, and when the predetermined criterion is not satisfied, the motion compensator performs the conversion process on the basis of the amount of motion estimated in the first estimation mode; and wherein in the first estimation mode, the motion estimator defines, as an estimation error, a value calculated on the basis of a difference in luminance between the object included in the first image and a predetermined area included in the second image, and the predetermined criterion is that the estimation error exceeds a predetermined value, or that the estimation error exceeds a predetermined multiple of an average value, or both. a motion estimator configured to estimate the amount of motion of an object between a first image and a second image later than the first image; a motion compensator configured to perform a conversion process on the second image so that vibration of the object between the first image and the second image is suppressed, on the basis of the amount of motion of the object; and a mode switch configured to switch between a first estimation mode and a second estimation mode , wherein the motion estimator has the first estimation mode in which the amount of motion of the object is estimated in a predetermined search area (SA) and a second estimation mode in which the amount of motion of the object is estimated in a larger area than the search area in the first estimation mode, when a predetermined criterion is satisfied, the motion compensator performs the conversion process on the basis of the amount of motion estimated in the second estimation mode, and when the predetermined criterion is not satisfied, the motion compensator performs the conversion process on the basis of the amount of motion estimated in the first estimation mode; and wherein in the first estimation mode, the motion estimator defines, as an estimation error, a value calculated on the basis of a difference in luminance between the object included in the first image and a predetermined area included in the second image, and the predetermined criterion is that the estimation error exceeds a predetermined value, or that the estimation error exceeds a predetermined multiple of an average value, or both. <EOS>