1. Field of the Invention
The present invention relates to a color image processing apparatus that executes an image process for limited-color print in color document printing.
2. Description of the Related Art
In the prior art, in color document printing, there are full-color printing in which original colors are output with fidelity and limited-color printing in which the number of colors is reduced and printing is effected. The limited-color printing is effective means capable of saving color materials and reducing a printing cost.
A commonly used method is red/black 2-color printing. In the red/black 2-color printing, the colors to be used are limited to red and black, as the term of this method indicates. In another color-reducing method, limited colors to be used are selected oh the basis of the color state of an original color document (the kinds of colors appearing on the document).
There has also been proposed a method in which the color state of each page of an original color document is detected in association with multi-page continuous printing, and the selection of limited colors is changed.
It is important to reduce a printing cost and to enhance the ease in reading/understanding, in particular, in limited-color print for business documents.
For example, in the case of a color document including both a photo region and a character region, proper color assignment has to be done to the respective regions. If uniform color assignment is done, it would be likely that the photo region becomes difficult to view, or color characters that to be emphasized in the character region may be assigned a color that differs from the intended color at the time when the original document is created. On the other hand, there may be a case in which it is effective, in terms of ease in understanding, to intentionally use a color that differs from the color on the original color document.
In the conventional limited-color printing technique, in particular, in connection with the above-described case, it is difficult to assign different colors to a photo region and a character region, or to flexibly assign colors in accordance with the color state.
The object of an aspect of the present invention is to provide a color image processing apparatus having a color assignment function for limited-color print that is easy to read/understand.
According to an aspect of the present invention, there is provided a color image processing apparatus comprising: color frequency-of-occurrence counting means for counting frequencies of occurrence of colors in input color document data on a page-by-page basis; page layout generating means for discriminating a photo region and a non-photo region and generating page layout attribute information at a given position in the color document data; color-assignment table generating means for generating a color-assignment table corresponding to a combination of an arbitrary input color category and an arbitrary page layout attribute, on the basis of color frequency-of-occurrence information that is delivered from the color frequency-of-occurrence counting means; color categorizing means for classifying input colors at positions of interest in the input color document data into predetermined color categories, and generating color category attribute information that is representative of a classification result; and color conversion means for converting the input colors at positions of interest in the input color document data to colors that are designated by the color-assignment table that is generated by the color-assignment table generating means, on the basis of the color category attribute information that is generated by the color categorizing means and the page layout attribute information that is generated by the page layout generating means.
Additional objects and advantages of an aspect of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of an aspect of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out hereinafter.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate preferred embodiments of the invention, and together with the general description given above and the detailed description of the embodiments given below, serve to explain the principles of an aspect of the invention.
An embodiment of the present invention will now be described with reference to the accompanying drawings.
The page layout analysis section 1 divides a page of interest of color document data, which is input in precedence, into a photo region, a character region, and some other region.
The color frequency-of-occurrence counting section 2 counts the frequencies of occurrence of colors, which appear on a page of interest in preceding input color document data, in accordance with color categories.
The color-assignment rule setting interface section 3 is an interface for manually setting, from outside, a rule for color assignment in association with a combination of an arbitrary layout attribute and a color frequency-of-occurrence count result (histogram). For example, in the case of a personal computer or an MFP, a control panel or the like is connected.
The color-assignment table generating section 4 generates a color-assignment table on the basis of the delivered color-assignment rule and the histogram that is delivered from the color frequency-of-occurrence counting section 2.
The color categorizing section 5 classifies input colors at positions of interest in the input color document data into predetermined color categories, and generates color category attribute information that is representative of a classification result.
The color conversion section 6 converts the input colors at positions of interest in the input color document data to a limited number of colors, on the basis of page layout information that is updated on a page-by-page basis and delivered from the page layout analysis section 1, the color-assignment table that is updated on a page-by-page basis and delivered from the color-assignment table generating section 4, and the color category attribute information relating to the position of interest in the input color document data, which is delivered from the color categorizing section 5.
Next, a description is given of the operation of the apparatus of the present invention with the above-described structure, which reduces the number of colors in color document data comprising a plurality of pages and outputs a color document with a limited number of colors.
Prior to color conversion, input color document data is input in precedence, on a page-by-page basis, to the page layout analysis section 1 and color frequency-of-occurrence counting section 2.
The page layout analysis section 1 divides a page of interest of color document data, which is input in precedence, into a photo region, a character region, and an other region, and delivers page layout information, which is representative of a region division result, to the color frequency-of-occurrence counting section 2 and color conversion section 6.
The color frequency-of-occurrence counting section 2 counts the frequency of occurrence of colors, which appear on a page of interest in preceding input color document data, with respect to each color category. Typical examples of the color categories are seven colors, namely, red, yellow, green, cyan, blue, magenta, and an achromatic color. Of these colors, the achromatic color may further be classified into white (highlight gray), intermediate gray and black (dark gray). The color categories in the present invention are not limited to these examples.
In the case where preceding input color document data is a bitmap image, when the color frequency-of-occurrence counting section 2 counts the frequency of occurrence of colors, it samples pixels at predetermined intervals and determines the category of each color. In general, in the case of a photo or a figure, sampling at large intervals causes no problem in understanding the general tendency of the frequency of occurrence of colors. However, since a character is thin, sampling at large intervals may fail to sample, for instance, a color character. Thus, with reference to page layout information that is supplied from the page layout analysis section 1, a character is sampled at a smaller interval than a non-character region.
On the other hand, in the case where the preceding input color document data is composed of character codes, in order to properly evaluate the frequency of occurrence of each color, the color frequency-of-occurrence counting section 2 calculates the frequency of occurrence of a character color, which belongs to a certain color category, as a value that is proportional to [character size×number of characters].
The color-assignment rule setting interface section 3 is an interface for manually setting, from outside, a rule for color assignment in association with a combination of an arbitrary layout attribute and a color frequency-of-occurrence count result (histogram).
In the color-assignment rule exemplified in
In addition to the example shown in
The color-assignment table generating section 4 generates a color-assignment table on the basis of the delivered color-assignment rule information and the histogram that is delivered from the color frequency-of-occurrence counting section 2, and supplies the color-assignment table to the color conversion section 6. Assume now that a histogram, which represents the color frequency-of-occurrence on a page of interest, is as shown in
The above-described process blocks preprocess input color document data on a page-by-page basis, prior to color conversion of the input color document data. A color-assignment table is determined for each page and is delivered to the color conversion section 6.
The color categorizing section 5 and color conversion section 6, which are to be described below, operate at a time of executing color conversion of input color document data.
The color categorizing section 5 classifies input colors at positions of interest in the input color document data into predetermined color categories, generates color category attribute information that is representative of a classification result, and delivers the color category attribute information to the color conversion section 6. The color categories for classification are, in principle, set to be the same as the color categories for frequency counting in the color frequency-of-occurrence counting section 2. Typically, colors are classified into seven categories, red, yellow, green, cyan, blue, magenta, and an achromatic color. Of these colors, the achromatic color may further be classified into white (highlight gray), intermediate gray and black (dark gray). The color categories in the present invention are not limited to these examples.
The color conversion section 6 converts the input colors at positions of interest in the input color document data to a limited number of colors, on the basis of page layout information that is updated on a page-by-page basis and delivered from the page layout analysis section 1, the color-assignment table that is updated on a page-by-page basis and delivered from the color-assignment table generating section 4, and the color category attribute information relating to the position of interest in the input color document data, which is delivered from the color categorizing section 5.
The sub-color conversion sections 12 to 21 comprise a conversion-to-achromatic-color section 12, a conversion-to-red section 13, a conversion-to-yellow section 14, a conversion-to-green section 15, a conversion-to-cyan section 16, a conversion-to-blue section 17, a conversion-to-magenta section 18, one or more conversion-to-arbitrary-color sections 19, . . . , 20, and a conversion-to-full-color section 21.
The conversion-to-achromatic-color section 12 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|C=M=Y=0, K=x, (x: an arbitrary color material amount)}.
The conversion-to-red section 13 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|C=K=0, M=Y=x, (x: an arbitrary color material amount)}.
The conversion-to-yellow section 14 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|C=M=K=0, Y=x, (x: an arbitrary color material amount)}.
The conversion-to-green section 15 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|M=K=0, C=Y=x, (x: an arbitrary color material amount)}.
The conversion-to-cyan section 16 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|M=Y=K=0, C=x, (x: an arbitrary color material amount)}.
The conversion-to-blue section 17 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|Y=K=0, C=M=x, (x: an arbitrary color material amount)}.
The conversion-to-magenta section 18 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|C=Y=K=0, M=x, (x: an arbitrary color material amount)}.
One conversion-to-arbitrary-color section 19 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|C=K=0, M=x/2, Y=x, (x: an arbitrary color material amount)}.
One other conversion-to-arbitrary-color section 20 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|M=K=0, C=x, Y=x/2, (x: an arbitrary color material amount)}.
The conversion-to-full-color section 21 outputs, with respect to an arbitrary input color, color material amount signals of C, M, Y and K, which belong to a set, {(C, M, Y, K)|C=xc, M=xm, Y=xy, K=xk, (xc, xm, xy, xk: an arbitrary color material amount)}.
The color material composition condition designating interface section 22 is an interface for manually setting, from outside, a composition condition for CMYK color material amounts in the conversion-to-arbitrary-color sections 19, . . . , 20.
Thereby, the output from the conversion-to-arbitrary-color section, 19, . . . , 20, can be altered to, e.g. {(C, M, Y, K)|M=K=0, Y=x/2, C=x, (x: an arbitrary color material amount)}. However, such a limitation is provided that the color materials of two of CMYK are always 0.
The color conversion select signal generating section 11 generates a color conversion select signal for designating one of a plurality of color conversion outputs from the sub-color conversion sections 12 to 21, on the basis of the page layout information that is updated on a page-by-page basis and delivered from the page layout analysis section 1, the color-assignment table that is updated on a page-by-page basis and delivered from the color-assignment table generating section 4, and the color category attribute information relating to the position of interest in the input color document data, which is delivered from the color categorizing section 5. The generated color conversion select signal is delivered to the color conversion select section 23.
The color conversion select section 23 selects one of color conversion outputs from the sub-color conversion sections 12 to 21 on the basis of the color conversion select signal, and delivers the selected color conversion output as output colors for a color document with limited colors.
In the case where the color-assignment table shown in
As has been described above, according to the embodiment of the present invention, in the limited-color printing that is typified by two-color printing, a color assignment process is executed on the basis of the page-by-page color frequency-of-occurrence and the page layout information. Thereby, proper color assignment can be executed for each page and for each region attribute of, e.g. a character, a photo, etc. As a result, a limited-color print result that is easy to read/understand can be obtained.
In addition, since the color-assignment rule can be set from outside, optimal color assignment can be set for various types of color documents.
In particular, only an achromatic color or only a single hue of chromatic color is assigned to a photo region. This prevents unnatural color assignment to the photo region, and realizes such a limited-color output as not to attract needless attention to a part of the photo region.
If an achromatic color is assigned to an achromatic color and a single hue of chromatic color is assigned to all chromatic colors, sharp contrast is obtained between an achromatic part and a chromatic part, and limited-color printing with an emphasis effect by coloring can be executed.
If an achromatic color is assigned to an achromatic color and a chromatic color with a first-rank frequency-of-occurrence and a single hue of chromatic color is assigned to chromatic colors with second- and lower-rank frequencies-of-occurrence, the following printing, for instance, is possible. That is, if there is a color document that is created by using a chromatic-color ink of a given color as a basic-color ink and using another color for emphasis, red/black 2-color printing can be executed by assigning red to only an emphasis part.
As regards a bitmap color document, the density for sampling pixels at the time of counting the color frequency-of-occurrence is set to be higher for a character region than for other regions. This reduces the possibility that fine color characters fail to be sampled, and proper sampling can be executed for character colors.
As regards a color document that is composed of character codes, such as a document created by a word processor, the frequency of occurrence of a character color is calculated as a value that is proportional to [character size×number of characters]. Thereby, the frequency of occurrence of a character color can properly be evaluated.
Moreover, each of the sub-color conversion sections, which constitute the color conversion section, outputs only two kinds of color material signals at maximum. Thus, even if the number of sub-color conversion sections is about eight, as in the present embodiment (i.e. limited-color printing with about eight colors), the amount of use of color material can be limited to 200% at most in all pixels.
Besides, the conversion-to-arbitrary-color section, which can set the condition for color material composition, is provided as the sub-color conversion section. Thus, the output colors can flexibly be set for input color document data.
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
4873570 | Suzuki et al. | Oct 1989 | A |
4980758 | Matsunawa et al. | Dec 1990 | A |
4996591 | Kadowaki et al. | Feb 1991 | A |
5119185 | Ikeda et al. | Jun 1992 | A |
5138443 | Ikeda et al. | Aug 1992 | A |
5204665 | Bollman et al. | Apr 1993 | A |
5241609 | Hasebe et al. | Aug 1993 | A |
5311212 | Beretta | May 1994 | A |
5329385 | Washio | Jul 1994 | A |
5461490 | Yonezawa | Oct 1995 | A |
5489989 | Shimizu et al. | Feb 1996 | A |
5495350 | Shimizu et al. | Feb 1996 | A |
5596655 | Lopez | Jan 1997 | A |
5621546 | Klassen et al. | Apr 1997 | A |
5719689 | Terada | Feb 1998 | A |
5724440 | Funada et al. | Mar 1998 | A |
5740334 | Lin et al. | Apr 1998 | A |
5748345 | Ozaki et al. | May 1998 | A |
5748785 | Mantell et al. | May 1998 | A |
5768403 | Suzuki et al. | Jun 1998 | A |
5786906 | Shishizuka | Jul 1998 | A |
5892595 | Yamakawa et al. | Apr 1999 | A |
5892891 | Dalal et al. | Apr 1999 | A |
6035059 | Kurosawa et al. | Mar 2000 | A |
6157734 | Iida | Dec 2000 | A |
6213584 | Noyes et al. | Apr 2001 | B1 |
6219454 | Kawano et al. | Apr 2001 | B1 |
6226397 | Yamagata et al. | May 2001 | B1 |
6302522 | Rumph et al. | Oct 2001 | B1 |
6462834 | Yamamoto et al. | Oct 2002 | B1 |
6463172 | Yoshimura | Oct 2002 | B1 |
6480624 | Horie et al. | Nov 2002 | B1 |
6486981 | Shimura et al. | Nov 2002 | B1 |
6519360 | Tanaka | Feb 2003 | B1 |
6546132 | Bhattacharjya et al. | Apr 2003 | B1 |
6554385 | Kikuchi et al. | Apr 2003 | B2 |
6788441 | Ohkawa | Sep 2004 | B1 |
6847377 | Kitahara et al. | Jan 2005 | B2 |
6860202 | Okuda | Mar 2005 | B2 |
6870962 | Lee et al. | Mar 2005 | B2 |
6911993 | Nishikawa et al. | Jun 2005 | B2 |
6973210 | Platt et al. | Dec 2005 | B1 |
7072084 | Shirasawa | Jul 2006 | B2 |
7099506 | Mishima | Aug 2006 | B2 |
7142711 | Goto et al. | Nov 2006 | B2 |
7170647 | Kanatsu | Jan 2007 | B2 |
7190487 | Dalrymple et al. | Mar 2007 | B2 |
7324244 | Yamamoto et al. | Jan 2008 | B2 |
20020097412 | Shibata et al. | Jul 2002 | A1 |
20020136454 | Park et al. | Sep 2002 | A1 |
20030081831 | Fukao et al. | May 2003 | A1 |
20040091147 | Matsushiro et al. | May 2004 | A1 |
20040114815 | Shibaki et al. | Jun 2004 | A1 |
20040125411 | Tonami et al. | Jul 2004 | A1 |
20040179713 | Tani et al. | Sep 2004 | A1 |
20040212838 | Yamamoto et al. | Oct 2004 | A1 |
20050036173 | Hayashi et al. | Feb 2005 | A1 |
20050094871 | Berns et al. | May 2005 | A1 |
20050100211 | Gibson et al. | May 2005 | A1 |
20050180645 | Hasegawa et al. | Aug 2005 | A1 |
20050264849 | Hagiwara | Dec 2005 | A1 |
20050281577 | Tamura et al. | Dec 2005 | A1 |
20060056711 | Lee et al. | Mar 2006 | A1 |
20060179405 | Chao et al. | Aug 2006 | A1 |
20060209125 | Sawada | Sep 2006 | A1 |
20060209332 | Izumikawa | Sep 2006 | A1 |
Number | Date | Country |
---|---|---|
03-177853 | Aug 1991 | JP |
Number | Date | Country | |
---|---|---|---|
20060209125 A1 | Sep 2006 | US |