IMAGE PROCESSOR, IMAGE PROCESSING METHOD AND STORAGE MEDIUM

Abstract
An image processing apparatus according to the present invention has a determining unit for determining a size of an image, a resolution-setting unit for setting a resolution based on the size of the image, and a recognizing unit for recognizing whether text is included in the image having the determined resolution. Therefore a text portion in the image can be recognized efficiently.
Description

BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a diagram of a hardware configuration of an image processing apparatus according to a first embodiment.



FIG. 2 is a diagram of a functional configuration of the image processing apparatus according to the first embodiment.



FIG. 3 is a flowchart of image processing according to the first embodiment.



FIG. 4 is a diagram of a functional configuration of a compression process.



FIG. 5 is a flowchart of the compression process.



FIG. 6 is a flowchart specifically illustrating steps S506 and S507.



FIGS. 7A to 7D are diagrams of the image processing of the present invention, in which FIG. 7A shows an original image to be subjected to the compression process, FIG. 7B shows a result of determination of regions, FIG. 7C shows a result of combination of text blocks, and FIG. 7D shows a image of combined text blocks.



FIG. 8 is a flowchart of a process according to a second embodiment.


Claims
  • 1. An image processing apparatus comprising: determining means for determining a size of an image;resolution-setting means for setting a resolution based on the size of the image; andrecognizing means for recognizing whether text is included in the image having the determined resolution.
  • 2. The image processing apparatus according to claim 1, wherein the image is a partial-page image.
  • 3. The image processing apparatus according to claim 1, further comprising first compressing means for compressing the image in accordance with a recognition result of the recognizing means.
  • 4. The image processing apparatus according to claim 3, further comprising second compressing means for compressing the image in accordance with an algorithm different from that of the first compressing means when the recognizing means recognizes that the image does not include text.
  • 5. The image processing apparatus according to claim 1, wherein the resolution-setting means estimates a plurality of possible resolutions based on an amount of data constituting the image and a display size of the image in a page and sets one of the plurality of possible resolutions.
  • 6. The image processing apparatus according to claim 5, wherein the resolution-setting means sets one of a resolution estimated from an area occupied by the image to be processed in a page and a resolution estimated from a length and width of the image expanded to cover an entire page.
  • 7. The image processing apparatus according to claim 1, wherein the resolution-setting means sets one of a plurality of possible resolutions according to a determination result from a determination as to whether text can be recognized for each of the plurality of possible resolutions.
  • 8. An image processing method comprising: determining a size of an image;setting a resolution based on the size of the image; andrecognizing whether text is included in the image having the determined resolution.
  • 9. A recording medium storing a program for allowing a computer to perform the image processing method of claim 8.
  • 10. An image processing apparatus comprising: a determining unit configured to determine a size of an image;a resolution-setting unit configured to set a resolution based on the size of the image; anda recognizing unit configured to recognize whether text is included in the image having the determined resolution.
  • 11. The image processing apparatus according to claim 10, wherein the image is a partial-page image.
  • 12. The image processing apparatus according to claim 10, further comprising a first compressing unit configured to compress the image in accordance with a recognition result of the recognizing unit.
  • 13. The image processing apparatus according to claim 12, further comprising a second compressing unit configured to compress the image in accordance with an algorithm different from that of the first compressing unit when the recognizing unit recognizes that the image does not include text.
  • 14. The image processing apparatus according to claim 10, wherein the resolution-setting unit is configured to estimate a plurality of possible resolutions based on an amount of data constituting the image and a display size of the image in a page and to set one of the plurality of possible resolutions.
  • 15. The image processing apparatus according to claim 14, wherein the resolution-setting unit is configured to set one of a resolution estimated from an area occupied by the image to be processed in a page and a resolution estimated from a length and width of the image expanded to cover an entire page.
  • 16. The image processing apparatus according to claim 10, wherein the resolution-setting unit is configured to set one of a plurality of possible resolutions according to a determination result from a determination as to whether text can be recognized for each of the plurality of possible resolutions.
Priority Claims (1)
Number Date Country Kind
2005-372431 Dec 2005 JP national