Patent ID: 8300969

Claim:
An image processing apparatus configured to detect a blur state of an image, the image being divided into a plurality of blocks, the image processing apparatus comprising: a central processing unit (CPU); an intensity detection section to detect intensities of the plurality blocks of a predetermined size; a parameter adjustment section, performed by the CPU, to adjust an edge reference value for determining whether or not a block is an edge point of the image; and adjust an extraction reference value for determining whether or not a number of extracted blocks as edge points is appropriate; and set initial values of the edge reference value and the extraction reference value as larger values if a dynamic range, which is a difference between a maximum value and a minimum value of the intensities of the blocks within the image, is larger; an edge point extraction section, performed by the CPU, to extract a block as the edge point when the detected block intensity is equal to or larger than the edge reference value; and an extraction amount determination section, performed by the CPU, to determine whether or not the number of extracted blocks as edge points is appropriate by comparing the number to the extraction reference value, wherein the parameter adjustment section repeatedly performs a processing of adjusting the edge reference value such that the number of extracted blocks as edge points becomes appropriate when the number of extracted blocks as edge points is equal to or larger than the extraction reference value, and wherein the edge point extraction section repeatedly performs a processing of extracting the edge points until it is determined that the number of extracted blocks as edge points is appropriate.