Patent ID: 8970920
Filing Date: 2015-03-03
Classification: H04N

Abstract:
1. An image processing apparatus comprising: a reading unit configured to read a document from an end portion of the document for each line in a predetermined direction and output image data; a detection unit configured to detect a size of the document in the predetermined direction; an obtainment unit configured to obtain a frequency distribution of pixel values by using output image data, for each reference region having a predetermined width in the predetermined direction, while reading the document by using the reading unit; a totalization unit configured to segment a frequency distribution obtained by the obtainment unit for each of the reference regions into a predetermined number of groups, and to totalize and store the frequency distribution for each of the groups; a control unit configured to control totalization of the frequency distribution obtained for each of the reference regions performed by the totalization unit, upon detection of the size of the document by the detection unit, so as to equalize the numbers of the reference regions sorted to the respective groups by using the size of the document, a width of the reference region, and the number of the groups; and an analysis unit configured to analyze the input image data by using the frequency distribution totalized by the totalization unit for each group, wherein totalization of the frequency distribution obtained for each of the reference regions is controlled by the control unit so as to equalize the numbers of the reference regions sorted to the respective groups.