1) Field of the Invention
The present invention relates to an image processing apparatus and method of obtaining a high quality reproduced image for a character edge portion. More particularly, this invention relates to an image processing apparatus and method of performing a plurality of adaptive processings based on an edge amount, and being a technique suited for copiers, printers, facsimiles, or the like.
2) Description of the Related Art
There has been a conventional art such that the edge amount of an edge portion in an image input through a scanner or the like is detected to control each image processing according to the edge amount. This is intended to provide an image in which a picture pattern portion is kept smooth by putting emphasis on gradation of this portion while a character edge portion is thin and clear by putting emphasis on sharpness of this portion. Accordingly, various processings related to the sharpness of character edge are considered as controlling of each character edge portion according to the edge amount. The processings of a color image processing apparatus shown in
An apparatus described, for example, in Japanese Patent Application Laid-Open No. 2000-206756 performs adaptive processings on an edge enhancement processing and an ink generation/undercolor removal processing. An edge region is detected from a signal not subjected to an edge enhancement processing, a detected edge amount (Laplacian quantity) is converted using look-up tables (LUT) and the resultant quantity is added to a source signal, thereby realizing edge enhancement. The ink generation/undercolor removal processing is performed after the edge enhancement. In the ink generation/undercolor removal processing, the edge region detected from the signal before being subjected to edge enhancement is enlarged and the densities of respective color components in the enlarged edge region are changed. Further, the adaptive processing for the ink generation/undercolor removal processing has functions of generating an edge amount so that the portions that are enlarged outwardly (those on a background) are canceled and only the portions enlarged inwardly (those on characters) are left, and of changing the densities based on this signal. If a high rate ink generation/high rate undercolor removal processing is conducted to the outer edge which corresponds to a color base background portion of a character on a color base similarly to the character portions, a color difference tends to occur between the outer edge and the color base background portion outside of the outer edge, which is not preferable.
In the image processings shown in
Generally, it is considered that a “thin yet clear” character edge portion is preferable. However, this does not apply to a low contrast character that is low in density. The emphasis on high frequency components is not necessarily good. It is most important for the low contrast character to be visible and to be readable. In other words, it may be preferable to make the low contrast character thick.
Similar line width control can be conducted by gamma conversion. An example of controlling line width by gamma conversion is shown in
As can be seen, although the line width may possibly be changed before and after the filtering or the gamma conversion, the apparatus described in the publication controls the ink generation/undercolor removal processing as a processing conducted to a signal after being subjected to the filtering, using the edge region signal obtained from the signal before being subjected to the filtering as explained above. To be precise, the edge positions do not sometime coincide with each other.
Likewise, an apparatus described in Japanese Patent Application Laid-Open No. H10-173916 performs processings for controlling gamma conversion and halftoning in accordance with one edge amount. The edge amount is generated from a signal before being subjected to the gamma conversion and the filtering that is prior to the gamma conversion. Actually, the line width is increased or decreased by the filtering or the gamma conversion by as small as about one dot and the increase or decrease thereof is not so explicit. However, an apparatus that has a mechanism to cancel outer edges as the apparatus described in Japanese Patent Application Laid-Open No. 2000-206756, requires high positional accuracy, and the increase or decrease of the line width is greatly influential. The significance of the positional accuracy can be easily estimated from a color deviation of each of cyan, magenta, yellow, black (CMYK) plates when a result of image processing is output from any output device such as a printer.
Further, as described in Japanese Patent Application Laid-Open No. H3-16758, there is another apparatus that explicitly controls line width through processing. If a certain adaptive processing based on an edge amount is carried out after line width is processed, by obtaining the edge amount from a signal before being subjected to the line width processing, an edge position may be displaced in the unit of several dots. In this case, adaptive processings in a downstream stage cannot exhibit effects as desired.
It is an object of this invention to provide an image processing apparatus and method capable of sufficiently exhibiting the effects of respective adaptive processings by calculating an optimum edge amount for each adaptive processing when a plurality of adaptive processings are to be conducted based on the edge amount.
The image processing apparatus according to one aspect of this invention comprises a plurality of adaptive processors each of which performs a predetermined adaptive processing in accordance with an edge amount of an image signal, and an edge amount detector that detects the edge amount for each of the adaptive processors.
The image processing method according to another aspect of this invention comprises steps of performing a plurality of predetermined adaptive processings in accordance with an edge amount of an image signal, and detecting the edge amount in each of the adaptive processing steps.
These and other objects, features and advantages of the present invention are specifically set forth in or will become apparent from the following detailed descriptions of the invention when read in conjunction with the accompanying drawings.
Embodiments of the present invention will be concretely explained with reference to the drawings.
A first embodiment of the present invention will be explained below.
A filter processor 1 performs edge enhancement filtering and filtering for smoothing.
A color corrector 2 converts the RGB signals to CMY (or CMYK depending on cases) signals by performing a masking operation or a memory interpolation processing by a three-dimensional LUT. The masking operation will now be explained.
A conversion equation is expressed by equation 1 using color correction parameters a0 to a3, b0 to b3, and c0 to c3 (masking coefficients) as follows,
C=a0+a1×R′+a2×G′+a3×B′
M=b0+b1×R′+b2×G′+b3×B′
Y=c0+c1×R′+c2×G′+c3×B′ (1)
An ink generator/undercolor remover 3 subtracts components corresponding to ink amounts from the CMY signals (undercolor removal) and generates a K signal (ink generation). In the ink generation, K is given by multiplying Min(C, M, Y) by an appropriate multiplication function f not more than 1 (equation 2).
K=Min (C, M, Y)×f (2)
At f=1, ink becomes full black.
In the undercolor removal, using the CMY signals and the K signal generated according to the equation 2, the following equation is given,
C′=C−K
M′=M−K
Y′=Y−K (3)
At this time, the multiplication parameter f is controlled based on the edge amount detected by an edge amount detector (2A) 20 shown in
Y=0.30×R+0.59×G+0.11×B (4)
The brightness signal may be a signal defined by synthesizing the RGB signals (or synthesizing two signals out of them) at a different proportion from that shown in the equation 4 or may be a lightness signal. Alternatively, only the G signal may be selected from among the RGB signals and supplied to a later stage, considering a hardware configuration.
The edge amount detection filter 202 detects an edge amount from spatial filters similarly to the edge amount for filtering. It is noted, however, the signal has a picture pattern portion that is smoothed during the filtering 1, so that the edge amount is larger in a dot picture pattern portion and the probability of response is relatively low. Therefore, filters with small filter sizes such as a 5×5 sized filter as shown in
According to this embodiment, adaptive processings in a downstream stage can be performed while taking into account the influence of the filtering on line width, and it is possible to exhibit respective effects of a plurality of adaptive processings as desired. In addition, in detecting edge amounts, the respective processors can detect optimum edge amounts with high accuracy since it is possible to utilize optimum input signal, filter size for edge amount detection, expansion amount, and number of bits, respectively.
A second embodiment of this invention will be explained below. Although the first embodiment shows examples of adaptive processings before and after filtering and of the filtering itself, this embodiment shows examples of adaptive processings before and after gamma processing and of the gamma processing itself.
As already explained in “Prior Art” part, the gamma processing also influences line width. Therefore, as shown in, for example,
The edge amount detector (2B) 21 for the halftoning may employ a signal represented by one signal or a synthesized signal as an input signal similarly to the other edge amount detector. In this embodiment, the detector detects an edge amount for each plate. An edge amount for a C plate is controlled by an edge amount that is detected by inputting a C signal. An edge amount for an M plate is controlled by an edge amount that is detected by inputting an M signal. An edge amount for a Y plate is controlled by an edge amount that is detected by inputting a Y signal. By doing so, larger edge amounts are sporadically detected, locations where small and large edge amounts are mixed are differently dispersed, according to plates, in dot portions with a fewer lines that may possibly adversely influence granularity and moirés. Therefore, it is expected to make switching portions inconspicuous. To detect edge amounts, edge amount detection filters (e.g., the filters shown in
A bit inverter 351 performs a bit inversion operation only if an input X is in a range of 128 to 255, and an input X is passed through if the input X is in a range of 0 to 127.
According to this embodiment, adaptive processings in a downstream stage can be performed while taking into account the influence of the gamma processing on line width, and it is possible to exhibit the effects of a plurality of adaptive processings as desired. In addition, in detecting edge amounts, the respective processors can detect optimum edge amounts with high accuracy since it is possible to utilize optimum input signal, filter size of edge amount detection, expansion amount, and number of bits, respectively.
A third embodiment of this invention will be explained below. This embodiment shows an example of processings in which line width control is more explicit than that in the preceding embodiments, being performed before and after adaptive processings by working processing.
Alternatively, to attain a higher level result, the image region separator 7 may separate a low contrast character from a high contrast character and control to make the low contrast character thicker and make the high contrast character thinner. The character thinning and the character thickening can be realized simply by contraction processing and expansion processing. The contraction processing is to set the minimum density of peripheral pixels as the density of a noted pixel. The expansion processing is to set the maximum density of peripheral pixels as the density of a noted pixel. In this embodiment, the adaptive filter processor 1 for performing the processing based on an edge amount is provided upstream of the line width processor 6, the halftone processor 5 for performing the processing based on an edge amount is provided downstream of the line width processor 6, and two edge amount detectors 12 and 22 are provided. Therefore, the edge amounts are detected using a signal before being subjected to line width processing and a signal after being subjected to the line width processing, respectively.
The edge amount detector (1C) 12 may detect an edge amount in the same manner as that in the edge amount detector 10 of the first embodiment, and the edge amount detector (2C) 22 may detect an edge amount in the same manner as that in the edge amount detector 21 of the second embodiment. In line thickening, halftone dots are expanded and the image becomes close to solid. Therefore, even if edge amount detection filters of 3×3 that are smaller in size than those shown in
According to this embodiment, adaptive processings in a downstream stage can be performed while taking into account the influence of the line width processing on line width, and it is possible to exhibit the effects of a plurality of adaptive processings as desired. In addition, in detecting edge amounts, it is possible to utilize optimum input signal, filter size of edge amount detection, expansion amount, and number of bits, respectively, and therefore the respective processors can detect optimum edge amounts with high accuracy since.
A fourth embodiment of this invention will be explained below. This embodiment, unlike the preceding embodiments, shows an example in which a plurality of adaptive processings and a plurality of edge amount detectors are provided, irrespectively of line width control processing.
As an edge amount detector (1D) 13, the edge amount detector shown in
According to the fourth embodiment, edge amounts are calculated from color attribute signals suited for a plurality of adaptive processings, respectively. Therefore, it is possible to obtain results from the respective adaptive processings as desired.
As explained so far, according to the present invention, the following advantages can be attained.
The present document incorporates by reference the entire contents of Japanese priority document, 2001-351216 filed in Japan on Nov. 16, 2001.
Although the invention has been described with respect to a specific embodiment for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art which fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2001-351216 | Nov 2001 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5025481 | Ohuchi | Jun 1991 | A |
5038314 | Kelleher | Aug 1991 | A |
5134666 | Imao et al. | Jul 1992 | A |
5148495 | Imao et al. | Sep 1992 | A |
5311332 | Imao et al. | May 1994 | A |
5418899 | Aoki et al. | May 1995 | A |
5436739 | Imao et al. | Jul 1995 | A |
5541742 | Imao et al. | Jul 1996 | A |
5604821 | Ranganathan et al. | Feb 1997 | A |
5617485 | Ohuchi et al. | Apr 1997 | A |
5629752 | Kinjo | May 1997 | A |
5659406 | Imao et al. | Aug 1997 | A |
5825937 | Ohuchi et al. | Oct 1998 | A |
5850298 | Narahara et al. | Dec 1998 | A |
5911004 | Ohuchi et al. | Jun 1999 | A |
6259813 | Ouchi | Jul 2001 | B1 |
6333793 | Kobayashi | Dec 2001 | B1 |
6480623 | Yagishita et al. | Nov 2002 | B1 |
RE37940 | Imao et al. | Dec 2002 | E |
7102791 | Hirano et al. | Sep 2006 | B2 |
Number | Date | Country |
---|---|---|
62 166471 | Jul 1987 | JP |
62166471 | Jul 1987 | JP |
3-16758 | Jan 1991 | JP |
09-186866 | Jul 1997 | JP |
10-173916 | Jun 1998 | JP |
2000-206756 | Jul 2000 | JP |
Number | Date | Country | |
---|---|---|---|
20030095287 A1 | May 2003 | US |