Claims
- 1. An image forming apparatus which reads an image in lines containing density information on each pixel, comprising:
- means for forming a density histogram having frequency of each density corresponding to the density information about digital image in a particular area;
- means for determining a peak density value at which the frequency of the density histogram peaks;
- means for detecting a type of the image corresponding to the density histogram;
- means for, while the detecting means detects the type of the image as a character document, calculating out first reference values for the density histogram and performing a range correction on the character document corresponding to the first reference values; and
- means for, while the detecting means detects the type of the image as a photograph document, performing the range correction on the photograph document with a second reference value, irrespective of the density histogram.
- 2. An image forming apparatus according to claim 1, further comprising:
- means for controlling the first reference value so that a difference between the first reference value and the second reference value is within a specific range.
- 3. An image forming apparatus according to claim 1, further comprising:
- means for, while a detection result of the detecting means changes from the character document to the photograph document, setting a temporary reference value for a predetermined period.
- 4. An image forming apparatus according to claim 3, further comprising:
- means for, while the detection result of the detecting means changes from the character document to the photograph document, performing the range correction on the photograph document with the second reference value as the temporary reference value for the predetermined period.
- 5. An image forming apparatus according to claim 4, further comprising:
- means for, after the predetermined period the range correction has been done with the second reference value and while the detecting means detects the character document, performing the range correction on the character document with the first reference value.
- 6. An image forming apparatus according to claim 4, further comprising:
- means for, after the predetermined period the range correction has been done with the second reference value and while the detecting means detects the photograph document, performing the range correction on the photograph document with the second reference value.
- 7. An image forming apparatus according to claim 1, further comprising:
- means for, while a detection result of the detecting means changes from the photograph document to the character document, setting a temporary reference value for a predetermined period.
- 8. An image forming apparatus according to claim 7, further comprising:
- means for, while a detection result of the detecting means changes from the photograph document to the character document, performing the range correction on the character document with the first reference value as the temporary reference value for the predetermined period.
- 9. An image forming apparatus according to claim 8, further comprising:
- means for, after the predetermined period the range correction has been done with the first reference value and while the detecting means detects the photograph document, performing the range correction on the photograph document with the second reference value.
Priority Claims (1)
Number |
Date |
Country |
Kind |
7-013736 |
Jan 1995 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 08/594,400 , filed Jan. 31, 1996.
US Referenced Citations (5)
Foreign Referenced Citations (2)
Number |
Date |
Country |
64-6588 |
Feb 1989 |
JPX |
3-30143 |
Apr 1991 |
JPX |
Continuations (1)
|
Number |
Date |
Country |
Parent |
594400 |
Jan 1996 |
|