In a digital copying machine, a ground in a document image is removed according to the type of document by referring to a histogram of reflectance data on a document image prepared for each line. A ground peak or a gradation level having the largest frequency in the histogram is determined. Further, frequencies are obtained in three windows appropriate for extracting characteristic quantities for ground, background and characters. A window for the ground quantity is determined according to the ground peak, and a ground range for removing the ground is determined by using the ground peak and the three frequencies. Then, the gradation data are corrected according to the ground range, and an image is formed on a sheet of paper according to the corrected gradation data. Thus, a ground can be removed by analyzing the histogram without a prescan.
An image signal read out from an original is binary-coded on the basis of a binary-coding threshold value. The binary-coding threshold value is calculated by making a histogram representing a frequency distribution of tones of the image signal, calculating the value of a peak tone at which the frequency is maximized, calculating as a first tone at which the frequency becomes equal to a predetermined level on the lower tone side of the peak tone, calculating a reference binary-coding threshold value by adding to the peak tone the difference between the first tone and the peak tone, and determining the binary-coding threshold value on the basis of the reference binary-coding threshold value.
An image processing apparatus includes: a memory that stores a background image and a character image that is separate from the background image and overlaps the background image; a processing target area determining unit that determines a processing target area in the background image, the processing target area being in a prescribed positional relation with the character image; a background feature parameter extracting unit that extracts from the processing target area a background feature parameter that includes a feature frequency showing a frequency characteristics of the processing target area; a character feature parameter extracting unit that extracts from the character image a character feature parameter that includes a feature frequency showing a frequency characteristics of the character image; a parameter determining unit that determines a parameter for use in image processing performed on the processing target area, according to a combination of the background feature parameter and the character feature parameter; and an image processor that performs image processing on the processing target area in accordance with the parameter determined by the parameter determining unit.