摘要 |
An analyzing means first calculates the blur direction and blur level of a digital photograph image based on edge widths and histograms of the edge widths obtained in each direction, and discriminates whether the image is a blurred image or a normal image. Then, it further calculates the camera shake level and blur width for the image discriminated to be a blurred image. A parameter setting means sets a one-dimensional correction mask and a two-dimensional correction mask based on the blur width. It also sets a correction level based on the blur level. It further makes an adjustment to the ratio between the one-dimensional and two-dimensional correction masks based on the camera shake level.
|