摘要 |
Without use of special hardware such as an angular rate sensor, a direction of blur can be judged with high accuracy. A parameter acquisition unit obtains weighting parameters for principal components representing directions of blur in a predetermined structure in an image by fitting to the structure a mathematical model generated by a method of AAM using a plurality of sample images representing the structure in different conditions of blur. A blur direction judgment unit judges the direction of blur based on the weighting parameters, and a blur width acquisition unit finds a width of blur based on an edge component found by an edge detection unit in the direction perpendicular to the direction of blur. A blur correction unit corrects the blur in the image based on the direction and the width of blur. |