An image processing device (20; 40) for correcting a local shimmer of an input image, comprising: a motion compensation unit (202; 402) configured to acquire motion information of a moving object using a correction image (206; 405) temporally proximate to a correction-targeted image (12; 41) in the input image to output a motion compensated correction image (208; 406) using the motion information; and a shimmer correction unit (203; 403) configured to execute a time smoothing process using the correction-targeted image (12; 41) and the motion compensated correction image (208; 406) to output a corrected image (211; 407) with corrected shimmer of the moving object, wherein the motion compensation unit (202; 402) includes an approximate motion compensation unit configured to acquire approximate motion information by aligning the correction-targeted image (12; 41) and the correction image (206; 405), both of which have been reduced, and a pixel accuracy motion compensation unit configured to execute the motion compensation with at least the pixel accuracy using the correction-targeted image (12; 41) and the correction image (206; 405), while taking the approximate motion information as an initial value, characterised in that the approximate motion compensation unit is adapted to reduce the correction-targeted image (12; 41) and the correction image (206; 405) after low-pass filtering for alignment; the pixel accuracy motion compensation unit is adapted to acquire a histogram of pixel values in each partial region of the correction-targeted image (12; 41) and the correction image (206; 405), and search a position of the partial region where similarity between the histograms becomes high so that the motion information of the moving object is obtained with at least the pixel accuracy; and the shimmer correction unit (203; 403) is adapted to change a weight applied to the corresponding motion compensated correction image (208; 406) in accordance with the similarity calculated upon acquisition of the motion information used by the pixel accuracy motion compensation unit for motion compensation. a motion compensation unit (202; 402) configured to acquire motion information of a moving object using a correction image (206; 405) temporally proximate to a correction-targeted image (12; 41) in the input image to output a motion compensated correction image (208; 406) using the motion information; and a shimmer correction unit (203; 403) configured to execute a time smoothing process using the correction-targeted image (12; 41) and the motion compensated correction image (208; 406) to output a corrected image (211; 407) with corrected shimmer of the moving object, wherein the motion compensation unit (202; 402) includes an approximate motion compensation unit configured to acquire approximate motion information by aligning the correction-targeted image (12; 41) and the correction image (206; 405), both of which have been reduced, and a pixel accuracy motion compensation unit configured to execute the motion compensation with at least the pixel accuracy using the correction-targeted image (12; 41) and the correction image (206; 405), while taking the approximate motion information as an initial value, characterised in that the approximate motion compensation unit is adapted to reduce the correction-targeted image (12; 41) and the correction image (206; 405) after low-pass filtering for alignment; the pixel accuracy motion compensation unit is adapted to acquire a histogram of pixel values in each partial region of the correction-targeted image (12; 41) and the correction image (206; 405), and search a position of the partial region where similarity between the histograms becomes high so that the motion information of the moving object is obtained with at least the pixel accuracy; and the shimmer correction unit (203; 403) is adapted to change a weight applied to the corresponding motion compensated correction image (208; 406) in accordance with the similarity calculated upon acquisition of the motion information used by the pixel accuracy motion compensation unit for motion compensation.