A color image processing apparatus is provided with a black text emphasis mode, in which, when compressing an image in a compression processing section, edges of a black text in the image are detected, a foreground layer in which the detected edges of the black text are represented by a binary image is generated, and lossless compression is performed on the foreground layer. When the black text emphasis mode is selected, a background layer in which the difference in density between the edges of the black text and pixels in the vicinity of the edges in the image is reduced is generated, and lossy compression is performed on the background layer. With this operation, in an image obtained by decompressing a compressed file, outline of the black text is clearly represented, and an artifact caused by the lossy compression is suppressed.
Legal claims defining the scope of protection, as filed with the USPTO.
1. An image compressing apparatus having a processor that compresses an image including a plurality of pixels to generate a compressed file, comprising: a file format receiving section that receives selection of a file format of the compressed file; a compression ratio receiving section that receives selection of a compression ratio which is set with respect to the image and represents data size when compressing the image; and a black text selection receiving section that receives selection of whether or not a pixel constituting an edge of a black text is extracted from the image during the time of generation of the compressed file of the image, wherein, when the file format receiving section receives a file format that allows separation of image data into a plurality of layers and the compression ratio receiving section receives selection of high compression ratio among a plurality of compression ratios, the black text selection receiving section can receive selection of whether or not the pixel constituting the edge of the black text is extracted from the image while said processor compresses each of the layers using an appropriate method and composes the compressed image data items into one file.
2. The image compressing apparatus of claim 1 , further comprising a process selection receiving section that receives selection of whether or not a process for improving reproducibility of a color text in the image is performed, wherein, when the black text selection receiving section receives selection that the pixel constituting the edge of the black text is extracted from the image, the process selection receiving section can receive from a user selection of whether or not the process for improving reproducibility of the color text is performed.
3. The image compressing apparatus of claim 1 , wherein the file format includes PDF (Portable Document Format) or XPS (XML Paper Specification).
4. The image compressing apparatus of claim 1 , further comprising a color text selection receiving section that receives selection of whether or not a pixel constituting an edge of a color text of one color other than the black text is extracted from the image during the time of generation of the compressed file, wherein, when the black text selection receiving section receives selection that the pixel constituting the edge of the black text is extracted from the image, the color text selection receiving section can receive selection of whether or not the pixel constituting the edge of the color text of one color other than the black text is extracted from the image.
5. The image compressing apparatus of claim 1 , further comprising an extracting section that extracts the pixel constituting the edge of the black text from the image when the black text selection receiving section receives the selection indicating that the pixel constituting the edge of the black text is extracted; and a compressing section that compresses an image made of the pixel extracted by the extracting section.
6. An image outputting apparatus, comprising: an image compressing apparatus of claim 1 ; and an output section that outputs a compressed file generated in the image compressing apparatus to an outside.
7. An image compressing apparatus having a processor that compresses an image including a plurality of pixels to generate a compressed file, comprising: a file format receiving section that receives selection of a file format of the compressed file; a compression ratio receiving section that receives selection of a compression ratio which is set with respect to the image and represents data size when compressing the image; a determining section by which said processor determines whether or not a number not less than a threshold value of pixels in correspondence to a black text are included in the image on a basis of a segmentation class signal indicative of which one of a plurality of segments including a text segment each pixel in the image belongs to, when the file format receiving section receives a file format that allows separation of image data into a plurality of layers and the compression ratio receiving section receives selection of high compression ratio among a plurality of compression ratios; an extracting section by which said processor extracts a pixel constituting an edge of the black text from the image when the determining section determines that the number not less than the threshold value of pixels in correspondence to the black text are included; and a compressing section by which said processor compresses an image made of the pixel constituting the edge of the black text extracted by the extracting section.
8. The image compressing apparatus of claim 7 , further comprising a resolution reducing section that reduces a resolution of an image made of a pixel other than the pixel extracted from the image by the extracting section.
9. The image compressing apparatus of claim 8 , wherein the determining section determines whether or not a predetermined number or more of pixels in correspondence to a color text are included in the image on the basis of the segmentation class signal, further comprising a control section that prevents the resolution reducing section from performing a resolution reduction process when the determining section determines that the predetermined number or more of pixels in correspondence to the color text are included.
10. An image outputting apparatus, comprising: an image compressing apparatus of claim 7 ; and an output section that outputs a compressed file generated in the image compressing apparatus to an outside.
11. The image compressing apparatus of claim 7 , wherein the compressing section performs a lossy compression on the image when the determining section determines that the number not less than the threshold value of pixels in correspondence to the black text are not included.
12. An image compressing method for compressing an image including a plurality of pixels to generate a compressed file, comprising steps of: receiving selection of a file format of the compressed file; receiving selection of a compression ratio which is set with respect to the image and represents data size when compressing the image; receiving selection of whether or not a pixel constituting an edge of a black text is extracted from the image during the time of generation of the compressed file of the image; wherein when, in the step of receiving selection of a file format, a file format is received that allows separation of image data into a plurality of layers, compressing each of the layers using an appropriate method, and composing the compressed image data items into one file, and, in the step of receiving selection of a compression ratio, receiving selection of high compression ratio among a plurality of compression ratios, in the step of receiving selection of whether or not the pixel constituting the edge of the black text is extracted from the image, receiving selection of whether or not the pixel constituting the edge of the black text is extracted from the image; and compressing an image made of the extracted pixel.
13. An image compressing method for compressing an image including a plurality of pixels to generate a compressed file, comprising steps of: receiving selection of a file format of the compressed file; receiving selection of a compression ratio which is set with respect to the image and represents data size when compressing the image; determining whether or not a predetermined number or more of pixels in correspondence to a black text are included in the image on a basis of a segmentation class signal indicative of which one of a plurality of segments including a text segment each pixel in the image belongs to when a high compression ratio among a plurality of compression ratios is received; extracting a pixel constituting an edge of the black text from the image when it is determined that the predetermined number or more of pixels in correspondence to the black text are included; and compressing an image made of the extracted pixel.
14. A non-transitory computer-readable recording medium in which a computer program for causing a computer to compress an image including a plurality of pixels to generate a compressed file is recorded, the computer program comprising steps of: causing the computer to receive selection of a file format of the compressed file, and to extract a pixel constituting an edge of a black text from the image when selection of a specific compression ratio, as a compression ratio which is set with respect to the image and represents data size when compressing the image, is received, and selection indicating that the pixel constituting the edge of the black text is extracted from the image during the time of generation of the compressed file of the image is received, wherein, the file format allowing separation of image data into a plurality of layers, compressing each of the layers using an appropriate method, and composing the compressed image data items into one file and the specific compression ratio being a high compression ratio among a plurality of compression ratios, and causing the computer to compress an image made of the extracted pixel.
15. A non-transitory computer-readable recording medium in which a computer program for causing a computer to compress an image including a plurality of pixels to generate a compressed file is recorded, the computer program comprising steps of: causing the computer to receive selection of a file format of the compressed file, and to determine whether or not a predetermined number or more of pixels in correspondence to a black text are included in the image on a basis of a segmentation class signal indicative of which one of a plurality of segments including a text segment each pixel in the image belongs to when selection of a specific compression ratio, as a compression ratio which is set with respect to the image and represents data size when compressing the image, is received; causing the computer to extract a pixel constituting an edge of the black text from the image when the computer determines that the predetermined number or more of pixels in correspondence to the black text are included; and causing the computer to compress an image made of the extracted pixel.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
April 14, 2011
July 29, 2014
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.