1. Field of the Invention
The present invention relates to an image processing apparatus and an image processing method which permit the output image quality to be improved by reproducing characters and line drawings of intermediate density difficult to reproduce due to being affected by the characteristics of a printer with a density, line width, or screen which can be reproduced stably.
2. Description of the Related Art
Printer apparatuses which printout images have come into wide use in recent years. The printers can be classified into ink jet printers and electrophotographic printers in terms of the image forming process utilized, i.e., the printer engine.
The printer apparatuses have become cheaper and faster and are now available in various types from a printer type having a printing function only to a multifunction type multifunction peripheral (MFP).
Low-cost printers, typified by ink jet printers, generally treat color reproduction with color inks as important. Intermediate- and high-class MFP apparatuses or high-speed apparatuses generally use the electrophotography technology.
With the electrophotographic printers and the ink jet printers, in outputting digital data images created by a personal computer (PC) or the like it is not easy to printout (reproduce) images which accurately match image data because of problems caused by the printer characteristics. For example, light-colored characters and fine lines which can be confirmed on the monitor may cause problems of patchy or breaks when printed out.
This is attributed to variations in the environment in which the apparatus is installed, the effect of expendable supplies, such as toner, developer, etc., and instability of dot formation in the electrophotographic technology, etc.
Therefore, it would be difficult to accurately reproduce light-colored characters and fine lines even if the image formation capability of the printer engine could be improved.
That is, there is a problem that the reproducibility of fine lines and characters of intermediate density falls due to the printer characteristics when images are output through a MFP or printer.
Japanese Unexamined Patent Publication No. 5-176164 discloses an image processing method and an image processing apparatus which allow blocked-up in high-density areas to be suppressed.
An object of the present invention is to provide a correction method which can provide an image of characters/line drawings produced with an intermediate density with a line width and an image density corresponding to the characteristics of an output device and to increase the reproducibility of characters/line drawings.
The present invention provides an image processing apparatus comprising: a line width detecting section which detects the line width in each of the main scanning direction and the sub-scanning direction of an arbitrary pixel in input image data; an image density decision section which detects the density of the arbitrary pixel which has its line width detected by the line width detecting section; a line width decision/density conversion section which determines whether to carry out density conversion or not on the basis of the output of each of the line width detecting section and the image density decision section; and a halftone processing section which imparts a screen reproducible by a printer engine to image data to be printed out output from the line width decision/density conversion section.
Also, the present invention provides an image processing apparatus comprising: a line width detecting section which detects the line width in each of the main scanning direction and the sub-scanning direction of an arbitrary pixel in input image data; an image density decision section which detects the density of the arbitrary pixel which has its line width detected by the line width detecting section; a line width decision/density conversion section which determines whether to carry out density conversion or not on the basis of the output of each of the line width detecting section and the image density decision section; and a halftone processing section which imparts gradations reproducible by a printer engine to image data to be printed out output from the line width decision/density conversion section on the basis of the error diffusion method.
Additionally, the present invention provides an image forming apparatus comprising: a line width detecting section which detects the line width in each of the main scanning direction and the sub-scanning direction of an arbitrary pixel in input image data; an image density decision section which detects the density of the arbitrary pixel which has its line width detected by the line width detecting section; a line width decision/density conversion section which determines whether to carry out density conversion or not on the basis of the output of each of the line width detecting section and the image density decision section; a printer engine which is supplied with image data to be printed out to output an image onto an output medium; a TAG information producing section which obtains which of text, graphic and image the attribute of the input image belongs to from a drawing command involved in the input image data; and a halftone processing section which imparts gradations reproducible by the printer engine to image data to be printed out output from the line width decision/density conversion section.
Additional objects and advantages 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 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 presently 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 the invention.
An embodiment of the present invention will be described hereinafter with reference to the accompanying drawings. This invention can improve the quality of an image to be output by reproducing the line width, density, screen, and so on of the image, which are difficult to reproduce, to fit the characteristics (image formation latitude) of a printer engine taking into consideration its characteristics in advance.
The main part of an image processing apparatus/printer apparatus (image formation apparatus) to which the embodiment of the present invention is adaptable is shown.
The printer apparatus (image formation apparatus) shown in
For example, the image processing section 5 (or the printer engine 7) may be provided with a user controller 9 which allows the user to input a command to cancel image processing (a command as to whether to apply the inventive image processing or not) or to change controlled variables given to the raster data by the present invention. In this case, for the user controller 9 use is made of a display device (for example, an LCD panel) which allows the results of execution of the inventive image processing (changes in image data resulting from execution of the inventive image processing) to be displayed in terms of, say, image information or numeric values or a touch panel which allows both the display and the entry of numeric values.
The RIP section 3 includes an RIP 31 which converts the multilevel image data input through the interface 103 into raster data (data resulting from development of input image data in time sequence in the main scanning direction (in many cases the direction perpendicular to the direction in which an output medium [paper] onto which printout is output) is carried) and in the sub-scanning direction perpendicular to the main scanning direction) and a TAG information producing section 33 which decides the attribute of the input multilevel image data and attaches TAG information corresponding to the attribute to it. The TAG information producing section 33 divides the attribute of input image data to the RIP section 3 into, for example, TEXT (characters), Graphic (line drawing), Image (photo/gradation) using image related settings and drawing commands contained in PDL video interface and, for each attribute, attaches 0 for TEXT (characters), 1 for Graphic (line drawing) or 2 for Image (photo/gradation).
The method of processing image data (conversion into raster data) in the RIP 31 is well known and hence the detailed description thereof is omitted. The features of the present invention will be described hereinafter assuming that input image data is multi-valued and, in the interface 103, is decomposed into color components of C, M, Y, and K (black) which conform to the subtractive process.
The image processing section 5, as shown exemplarily in
The printer engine 7, which is an arbitrary (known) image output apparatus of, say, the electrophotographic or ink jet type, outputs an image onto an output medium prepared as requested by the user, such as a sheet of paper, a sheet of transparent film, etc., through the use of C, M, Y, and K of toner or ink.
The image processing section 5, that is, the line width conversion section 53 and the density conversion section 55 shown in
In the line width detecting section 531, the line width of each individual image data is detected (decided) on the basis of an image signal and a TAG signal input from the preceding-stage processing section (the RIP section 3 in
The density decision section 551 compares an input image signal with a predetermined threshold TH and determines whether the image density is to be corrected or not as follows:
if image data >TH, then 0
if image data ≦TH, then 1
Using the result of line width decision (detection) by the line width detecting section 531, the result of density decision by the density decision section 551, and the TAG information (0: TEXT (characters)/1: Graphic/2: Image (photo/gradation)) previously produced in the RIP section 3 (of
1) As for a character area, if the density of an input image is lower than a predetermined set density and its line width is a predetermined width (width 1) or less, then it is output with the output image density converted to a predetermined image density (Dout). Therefore, for an image such that line width >width 1, it is output as it is with no density conversion to Dout.
The image signal is output with high-density screen in the halftone processing section 57 because the TAG information indicates the character attribute.
Thus, as for image data which is in a character area and has a line width of a predetermined width or less, even light-colored characters can be reproduced surely without being affected by engine variations by converting the image density to a predetermined density (darker than the original image). That is, characters such that the line width is small and the image density is small are replaced with image data of a given density or more.
2) As for a line drawing area as well, like 1) a character area, fine lines of a given line width and density or less has its image density converted to the predetermined image density (Dout).
If the line width is the given width or less, correction to increase the line width may be used at the same time.
As for a solid area contained in the line drawing area, the output image signal (line drawing) can be output with low line-numbers screen with preference given to gradation characteristics on the basis of TAG information.
The line width detecting section 531 includes a horizontal (main scanning direction) line width decision section 531H and a vertical (sub-scanning direction) line width decision section 531V as shown in
As shown in
As shown in
That is, in the inventive image processing section, the horizontal line width decision section 531H and the vertical line width decision section 531V detect (decide) the line width of image data independently for each of the main scanning direction and the sub-scanning direction for each individual pixel of interest. The decision conversion section 571 (i.e., the line width decision/density conversion section 581) decides whether to perform density correction on the line width or not and whether the line width in an arbitrary direction of image data is in the specified decision range or not. If density correction is necessary, the density/line width switching section 591 corrects (converts) the image density at the time of output to the printer engine 7 on the basis of the line width and the image attribute (TAG information).
By performing the above processing on each individual pixel in input image data, a printer can be provided which is improved in the reproducibility of halftone characters and fine lines.
As the halftone processing (the actual form of the halftone processing section 57) in the image processing section, either of the change of the screen density and the halftone processing based on the error diffusion method can be selected as described above. For example, as shown in
Whether the density conversion illustrated in 1) to 3) is to be executed or not can be arbitrarily set as the user likes. For example, as shown in
There is an image of fine lines significantly low in density. Is density correction to be made on these lines?
For example, by selecting a YES indication 911 or a NO indication 912 on the display section 901 through a “<” key 902 or “>” key 903, the cancellation (non-execution) or the execution of the processing can be selected.
As described above, according to the image processing apparatus of the present invention, characters and line drawings of intermediate density which are difficult to reproduce in view of printer characteristics can be replaced with the density, line width or screen which can be reproduced stably to improve the output image quality.
That is, an multilevel image made on a PC or the like (supplied from an external device) is entered into the image processing section through the printer driver (interface). In the image processing section, the line width/density conversion processing and the halftone processing are carried out on the image, which is then output as printout from the printer engine.
In this case, in the image processing section, image information (data) is separated into character, line drawing and photograph areas using a TAG signal produced at RIP time for line width/density/halftone conversion processing.
a) As for the character area, when an image which is lighter than the setting density is input (input image data is decided to have an image density of a predetermined value or less), it is converted to the predetermined image density and output with high-density screen. In the case where the image has a line width of a given value or more, however, it is output with its input density unchanged and with high-density screen.
b) As for the line drawing area, fine line portions of a predetermined line width or less are converted to a predetermined density like characters and output with high-density screen (depending on the area separation capability of the RIP). When line drawings have line widths of a predetermined value or less, they are converted to have the predetermined line width and then output. However, with a solid area contained in a line drawing area, the image is output with its density unchanged and with low line-numbers screen.
c) As for the photograph area, the input image is output with its density unchanged and with low-density screen like the solid area of line drawings.
Thereby, the reproducibility and stabilization of halftones can be improved.
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.