The present invention relates to an image processing apparatus and method
enabling to correct for camera shake given in image capturing, a
recording medium, and a program. Discrete data pieces indicating shifts
are obtained. The discrete data pieces are interpolated to obtain data
indicating a shift every line. By the interpolation, a correction is
calculated every line on the basis of the corresponding shift. On the
basis of the corrections, pixel data read positions are determined. Pixel
data is read based on the determined read positions. When a pixel to be
read overlaps two pixels, pixel data of the pixel to be read is produced
(interpolated) from pixel data pieces. In this manner, the effects of
camera shake are corrected. The present invention is applicable to video
cameras.