Image processing method and apparatus

Abstract: An image processing method comprises the steps of discriminating the color type of an input color image from an input color image signal, generating a pattern signal indicating a predetermined graphic pattern corresponding to the color type in response to said color discrimination, generating a density signal in accord with the input color image signal, and supplying a reproduction signal in accord with said pattern signal and said density signal to an image reproduction unit.

Description: The present invention relates to an image processing method and apparatus, and particularly, it relates to an image processing apparatus such as image scanner, printer, digital copying machine, and facsimile terminal equipment, or an image processing apparatus used in connection with the image processing apparatus as above cited, and an image processing method thereof. Conventionally, a digital copying machine, for example, is constituted in such a way that an original is illuminated by a light source such as a tungsten-halogen lamp, the reflected light from the original is converted into electric signals using solid image sensors such as CCD (charge coupled device), and then converted into digital signals, and after predetermined correcting process, the resulting signals are used to form a record image with a recording apparatus such as laser printer, liquid crystal printer, thermal printer, ink jet printer, etc. In such a digital copying machine, the output with a large quantity of information is required because of colored original to be copied, and so a copying machine has been recently developed, which uses a polychromatic laser beam printer provided with developer devices for a multiplicity of colors so that variable color copy can be realized. However, the above-mentioned copying machine, which is provided with developer devices for a multiplicity of colors to form an image with variable colors, is complex in construction due to many developer devices provided thereon, and expensive because a high accuracy in registration of images is required. This is also the problem with the copying machine using a polychromatic ink jet printer. In the formation of image requiring the transfer of information in a monochromatic facsimile or the like, an original is read with photoelectric elements such as solid image sensors, and an image is formed based on thus converted electric signals in time-series. And in forming the image, it was commonly practiced that the gradation (or density level) of an original was only sensed without discriminating the color. However, in the case where there are some colored drawings or tables in an original, a photoelectric converted signal only shows density level for different colors, and as most colors represented on the original are usually deep, density signals are often caused to be almost equal so that the colors can not be distinguished from each other in reproduction. In a reproduced image, black portions of an original can be completely reproduced, but grey portions of the original and colored drawings or tables are represented only by grey, so that the distinction therebetween becomes quite difficult. Thus, an invention intended to reproduce distinguishably a plurality of images with different colors contained in an original is disclosed in US-A-4,369,461 specification. However, in a situation where full-color originals are abundant as currently, this invention is not applicable for a large number of different colors contained in an original subject, and thus method of selecting the limited number of colors have been proposed. For example, they are methods of simply selecting limited colors from an upper level of histogram, as described in Computer Graphics Vol. 16 (1982) No. 3 pp297 - 307; or investigating an axis where colors are most widely distributed over the color space, dividing the color space at an intermediate value in a range of distribution with respect to the axis, thus obtaining a limited number of partial spaces, to each of which the same processing is repeated, and thereby selecting an average color in each partial space; or dividing the color space into small partial spaces, repeating the clustering of partial spaces under a certain condition, obtaining a limited number of partial spaces, and selecting a color with the highest frequency in each partial space, as mentioned in Image Optics, IE86-4 (1986, p25 - p30), the technical report of Institute of Electronics Information and Communication Engineers. Thus, multicolor images can be monochromatically represented by designating different patterns to those selected colors. However, in the above conventional examples, as different patterns are designated to selected colors respectively similar colors may have different patterns. Thereby, there is a disadvantage that as a full-color original may be constructed with many different patterns, areas with similar hues may be reproduced without recognization of difference in the hues. Further, in an area with moderately changing hue, the boundaries of partial areas are made distinct owing to the differences of patterns, so that the information of "moderately" changing is lost. Therefore, there was also a disadvantage that pseudo contours might arise due to distinct boundaries. There is disclosed in US-A- 4,369,461 a method and apparatus for forming images are characterized in that an original document is read while discriminating between the presence and absence of colored portion, the read signal relating to the portion where color is detected is replaced by a predetermined pattern generator signal to form an image forming signal whereas the read signal relating to the portion where color is not detected is used as an image forming signal as it is and an image of the original is formed in accordance with these image forming signals. In this method and apparatus each color is replaced by a particular graphic pattern. It is a concern of the present invention to provide an image processing method and apparatus which alleviates the above-mentioned disadvantages. Another concern of the present invention is to provide an image processing apparatus with which an output image can be obtained using an inexpensive monochromatic printer and without spoiling the amount of color information contained in an original image. In accordance with a first aspect of the present invention, there is provided an image processing method as set out in claim 1. In accordance with a second aspect of the present invention, there is provided an image processing apparatus as set out in claim 2. Embodiments of the present invention will now be described with reference to the accompanying drawings in which: Fig. 1 is a block diagram showing a general circuit configuration of an image processing apparatus in a digital copying machine, according to one example of the present invention. Figs. 2A and 2B are a configuration view and a timing chart for showing the color read sensors as shown in Fig. 1 and driving pulses, respectively. Figs. 3A and 3B are a block diagram and a timing chart for showing a CCD driving pulse generator circuit and CCD driving pulses, respectively, to generate sensor driving pulses ODRV118a and EDRV119a as shown in Fig. 2. Figs. 4A and 4B are a block diagram and a conceptual view showing the detail of a black correction circuit as shown in Fig. 1 and the black correction operation, respectively. Figs. 5A, 5B, 5C and 5D are a block diagram, a conceptual view, a format view and a flow chart for showing the detail of a white correction circuit, a concept of the white correction, data for the white board, and a procedure of the white correction, respectively. Fig. 6 is a conceptual view for showing the operation of a brightness signal generator as shown in Fig. 1. Fig. 7 is a block diagram for showing the circuit configuration of a color discriminating circuit as shown in Fig. 1. Fig. 8 is a block diagram for showing the circuit configuration of a pattern generator circuit as shown in Fig. 1. Fig. 9 is views showing one example of the color-pattern correspondence generated in the pattern generator circuit as shown in Fig. 8. Fig. 10 is a block diagram for showing the circuit configuration of a pattern synthesis circuit as shown in Fig. 1. Fig. 11 is views showing a color-pattern conversion sample according to an example of the present invention. Fig. 12 is views for explaining the difference between normal process and pattern output process operations of the present example. Fig. 13A is an external perspective view of an image copying machine according to a second example of the present invention. Fig. 13B is a structual cross-sectional view of the image copying machine according to the second example of the present invention. Fig. 13C is a view for explaining the construction of a CCD as shown in Fig. 13B. Fig. 14 is a view showing the detail of a console unit in an image copying apparatus according to an example. Fig. 15 is a schematic block diagram showing the configuration of a reader unit in an image copying machine according to the second example of the present invention. Fig. 16 is a flow chart for showing the operation procedure according to the second example of the present invention. Figs. 17A - 17C are views showing the histogram for each data of R, G and B. Figs. 18A - 18C are views showing the patterns for R, G and B, respectively, according to an example. Fig. 19 is a block diagram showing the constitution of a pattern density processor according to the second example of the present invention. Fig. 20A is a view showing an original subject in an example. Fig. 20B is a view showing the result of the pattern density processing according to an example. Fig. 21 is a block diagram showing the constitution of a pattern density processor according to another example. Figs. 22A - 22C are views showing the patterns for R, G and B, respectively, according to another example. Fig. 23A is a view showing a non-color pattern. Fig. 23B is a view showing a color pattern. Overall configuration Fig. 1 shows an example of the circuit configuration for an image copying apparatus in a digital copying machine to which the present invention is applied. In Fig. 1, 101 is CCD (charge coupled device) as image sensor (color reading sensor) of image pickup means for converting a color original image formed by an optical system such as rod lens into electrical signals of G (green), B (blue) and R (red), and which comprises a color separation filter. 102 is an amplifier circuit for amplifying an output signal of CCD101, 103 is a coaxial cable, and 104 is a sample-and-hold (S/H) circuit for sampling and holding (S/H) a color image signal via the coaxial cable 103 from the amplifier circuit 102 to separate it into three colors of G, B and R. 105 is an analog-to-digital (A/D) conversion circuit for converting an analog color image signal sampled and held in the sample-and-hold circuit 104 into digital color image signals, 106 is a reading position difference correction circuit for. electrically correcting a reading position difference between channels of CCD101, and 107 is a black correction/white correction circuit for applying the black and white level corrections (shading correction), as will be described later, to digital image signals. 108 is a brightness signal generator to generate a brightness signal from a digital color image signal to which the black and white corrections have been applied. 109 is a color discriminating circuit for discriminating the color for each pixel of a digital color image to which the black and white corrections have been applied and for outputting a color discriminating signal corresponding to the color-difference signals I, Q. 110 is a pattern generator circuit comprised of a storage-device such as RAM or ROM, for generating predetermined graphic patterns corresponding to respective for each pixel, based on a color discriminating result (I, Q signals) of the color discriminating circuit 109. In this example, the pattern generator circuit 110 reads and outputs one of predetermined graphic patterns, with a color discriminating signal corresponding to the level of the color-difference signals, I, Q being as a read address. 111 is a pattern synthesis circuit for synthesizing a brightness signal generated in the brightness signal generator 108 and a graphic pattern indicating the color which is generated by the pattern generator circuit 110. 112 is a LOG converter for converting an output signal of the pattern synthesis circuit 111 to a density signal to be output to various printers connected thereto. Note that a portion A encompassed by the chain line corresponds to a video image process circuit of an image reading apparatus (image sensor). An image copying apparatus of this example exposes a full-color original to a light source such as a (tungsten) halogen lamp or fluorescent lamp, not shown, picks up a reflected color image with color image sensors such as CCD, digitizes an analog image signal obtained by an A/D converter or the like, processes digital full-color image signals, and outputs them to a thermal printer, an ink jet printer, or a laser beam printer, for forming the image. The detail thereof will be described below. Color reading sensor First, an original is illuminated by an exposure lamp, not shown, and then a reflected light is color-separated for each image and read by a color reading sensor 101 and amplified to a predetermined level by an amplifier circuit 102. Here, the drive of CCD101 has been made by a system pulse generator, not shown. Fig. 2 shows the color reading sensor and the driving pulses. Fig. 2A shows the color reading sensor as used in this example, which uses 63.5 µm as one pixel (400 dot/inch (thereafter referred to as dpi)), and has a total of 1024 pixels, or a total 1024 x 3 = 3072 effective pixels because of three divisions G, B and R contained in one pixel in the main scanning direction as shown, thereby reading with five divisions in the main scanning direction. On the other hand, each chip 58 - 62 of this sensor is formed on the same ceramic substrate, where first, third and fifth chips (58a, 60a, 62a) are placed on the same line LA, while second and fourth chips are placed on the line LB separated away from the line LA by four lines (63.5 µm x 4 = 254 µm), and when reading an original, the scanning is made in the AL direction. Among five CCDs, first, third and fifth CCDs are driven by a group of driving pulses ODRV118a, while second and fourth CCDs are driven by a group of driving pulses EDRV119a, independently and synchronously. Pulse signals O1A, O2A and ORS contained in the group of driving pulses ODRV118a and pulse signals E1A, E 2A and ERS contained in the group of driving pulses EDRV119a are the electric charge transfer clock and charge reset pulses within the respective sensors, and are generated synchronously to avoid the jitters caused by interferences or noises between first, third, fifth CCDs and second, fourth CCDs. Thereby, these pulses are generated by a reference oscillator, not shown. Fig. 3A shows a circuit block for generating the group of driving pulses ODRV118a, EDRV119a as above described, and Fig. 3B shows the timings thereof. This circuit block is contained in a system control pulse generator, not shown. The clock KO135a dividing a source clock CLKO generated by a single reference oscillator is a clock for generating the reference signals SYNC2, SYNC3 which determine the occurrence timings of a sensor driving pulse ODRV and a sensor driving pulse EDRV. These reference signals SYNC2, SYNC3 have determined the output timings, depending on the setting values of presettable counters 64a, 65a which are set via a signal line 22 connected to a CPU bus. The reference signals SYNC2, SYNC3 initialize the frequency dividers 66a, 67a and the driving pulse generators 68a, 69a. That is, since the reference signals SYNC2, SYNC3 are generated by the source clock CLKO all output from one oscillator source OSC558a, and a frequency dividing clock that is all generated synchronously, based on a horizontal synchronous signal HSYNC118 which is input into this block, the groups of pulses for ODRV118a and EDRV119a can be obtained as synchronous signals without jitters, thereby avoiding the fluctuation of signals due to the interference between sensors. Here, sensor driving pulses ODRV118a obtained synchronously with each other are supplied to first, third and fifth sensors 58a, 60a and 62a, while EDRV119a are supplied to second and fourth sensors 59a, 61a, and in which video sigals V1 - V5 are output independently from the sensors 58a, 59a, 60a, 61a, 62a, in synchronization with the driving pulses, respectively, and then amplified to predetermined voltages in the amplifier circuits 501-1 to 501-5 independent of each other as shown in Fig. 1, whereby V1, V3, V5 signals are sent out at the timing OOS129a as shown in Fig. 2B, while V2, V4 signals are sent out at the timing EOS134a, via a coaxial cable 101a, and they are input into a video image processing circuit. Sample-and-hold circuit A color image signal obtained by reading an input original image in five divisions into a video image processing circuit is separated into three color signals for G (green), B (blue) and R (red) in a sample-and-hold circuit S/H 104. Thereby, after the S/H process, they are subjected to the 3 x 5 = 15 signal processings. A/D conversion circuit The analog color image signals which are sampled and held for each color of R, G and B in the S/H circuit 104 are digitized for each channel 1-5 in an A/D conversion circuit 105 at the next stage, and are output to the next stage, independently for each channel 1-5 and in parallel. Reading position difference correction circuit In this example, as previously described, as the interval as much as four lines (63.5 µm x 4 = 254 µm) is provided in the sub-scan direction, and an original is read with five stagger sensors disposed in five regions in the main scan direction, reading positions are different between preceding scanning channels 2, 4 and remaining channels 1, 3, 5. Thus, to interconnect them properly, the reading position difference correction is made by a reading position difference correction circuit 106 with a memory having a capacity as much as a multiplicity of lines. Black correction/white correction circuit Referring now to Fig. 4, the black correction operation in a black correction/white correction circuit will be described. As shown in Fig. 4B, the black level outputs for channels 1-5 result in large dispersions between chips and between pixels, if the quantity of light entering each sensor is small. If an image is output without modification, stripes or irregularities will occur in image data portion. Thus, there is a necessity of correcting the output dispersion of black portion, and the correction for dispersion is made in a black correction circuit as shown in Fig. 4A. Before the reading operation of an original, an original scanning unit is moved to a position of black board having a uniform density disposed on the non-image area at a leading portion of original plate, a (tungsten) halogen lamp is turned on, and a black level image signal is input into this circuit. For a blue signal B IN , a selector 82a selects A (d ○) and a gate 80a closes (a ○) and a gate 81a opens to store one line of image data into the black level RAM 78a. That is, a data line is connected from 151a to 153a via 152a, while c ○ is output into a selector 83a so that the output 154a of an address counter 84a which is initialized by HSYNC and counts VCLK is input into an address input 155a of RAM 78a, whereby a black level signal amounting to one line of data is stored into RAM 78a (referred to as the black reference value fetch mode). In reading an image, with RAM 78a being placed in the data reading mode, data is entered into the B input of subtracter 79a in the path from 153a to 157a for each line and each pixel. That is, the gate 81a closes (b ○), while the gate 80a opens (a ○). And a selector 86a becomes the A output. Accordingly, the black correction circuit output 156a is obtained as, for example, B IN (i) - DK(i) = B OUT (i) for a black level data DK(i) in the blue signal (called as a black correction mode). In the same way, green G IN and red R IN are controlled similarly with 77aG and 77aR. The control lines a ○, b ○, c ○, d ○, e ○ for each selector gate for this control is controlled by the CPU through a latch 85a assigned as I/O for the CPU (not shown). Note that RAM 78a is accessible by the CPU if the B selections of selectors 82a, 83a, 86a are made. Referring now to Fig. 5, the white level correction (shading correction) in the black correction/white correction circuit 107 will be described. The white level correction corrects for the dispersions of sensitivities in the illumination and optical systems or sensors, based on white data of image when illuminated by moving the original scanning unit to a position of a uniform white board. A fundamental circuit configuration is shown in Fig. 5A. The fundamental circuit configuration is the same as that in Fig. 4, except that the correction is made by the subtracter 79 for the black correction, while it is made by the multiplier 79'a for the white correction, and therefore the explanation thereof is omitted. At the color correction, when CCD101 for reading an original is located at a read position (home position) of the uniform white board, i.e., before the copying or reading operation, an exposure lamp, not shown, is turned on, and an image data at the uniform white level is stored in correction RAM 78'a for one line. For example, for a longitudinal length of A4 placed in the main scan direction, there are 16 x 297 mm = 4752 pixels at 16 pel/mm, i.e., at least the capacity of RAM is 4752 bytes, and assuming a white board data Wi for the i-th pixel (i = 1 - 4752), as shown in Fig. 5B, the white board data for each pixel is stored in RAM 78' as shown in Fig. 5C. On the other hand, if Wi is given, data after correction should be D o = Di x FF H /Wi for a read value Di for the i-th pixel of a normal image. Thus, the CPU controls the latch 85'a to output a ○', b ○', c ○' and d ○' so that gates 80'a, 81'a opens and further controls so that B is selected at selector 82'a, 83'a, 86'a, whereby RAM 78'a is made accessible by the CPU. Next, in the procedure as shown in Fig. 5D, the CPU performs sequentially the operations of FF H /W O for a leading pixel W O , FF/W 1 for W 1 , ..., and replaces data. If the procedure has been completed for the blue component of a color component image (step B in Fig. 5D), it is performed for the green component (step G) and the red component (step R) sequentially, and subsequently, gate 80'a opens ( a ○') and gate 81'a closes (b ○') so that D o = Di x FF H /Wi output for an input original image data Di, and selectors 83'a, 86'a select A, whereby a coefficient data FF H /Wi read out from RAM 78'a passes through a signal line from 153a to 157a, multiplied with the original image data 151a input from the other side and output. As above described, the black level and white level corrections are made, based on the factors such as a black level sensitivity in the image input system, dark current fluctuation of CCD, a dispersion of sensitivity between sensors, a dispersion of quantity of light in the optical system, and a white level sensitivity, so that image data B OUT 121, G OUT 122, R OUT 123 evenly corrected for each color of black and white in the main scan direction can be obtained. Brightness signal generator Image data R OUT 121, G OUT 122, B OUT 123 subjected to the black correction and the white correction are input into a brightness signal generator 108 and a color discriminating circuit 109. The brightness signal generator 108 averages filler image read by a sensor 101, to make an ND image. Fig. 6 is a view for explaining the above operation, where input image data R OUT 121, G OUR 122, B OUT 123 are added in an adder 201. Thereafter, the sum is divided by three with a divider 202, and output. Color discriminating circuit Next, the color discriminating circuit 109 will be described. In this example, in discriminating the color, color difference signals I, Q in the NTSC method for use in television are used. These signals I, Q are generally given by the following expressions. I = 0.60R - 0.28G - 0.32B Q = 0.21R - 0.52G + 0.31B The above operations are performed in an IQ generator 701 as shown in the circuit configuration of the color discriminating circuit 109. The I signal becomes red when increasing in the negative direction, is non-color near 0, and becomes blue-green when increasing in the positive direction, while the Q signal becomes yellow-green when increasing in the negative direction, is non-color near 0, and becomes violet when increasing in the positive direction. Then, the IQ signals obtained in the IQ generator 701 are input into a look-up table (L.U.T) ROM 702 at the latter stage. LUT ROM 702 has stored data obtained by dividing the color plane represented by the IQ signals and encoding, and outputs a code signal corresponding to the input I, Q signals into a pattern generator circuit 110 as a color discriminating signal. Pattern generator circuit The pattern generator circuit 110 will be described with reference to Fig. 8. ROM 803 for pattern has stored dot patterns corresponding to the colors as shown in Fig. 9. Each graphic pattern defines 16 x 16 dots as one pattern. ROM 803 for pattern performs the pattern generation so that the pattern is output repeatedly in both main scan and sub-scan directions, in accordance with the color discriminating signal. A main scan counter 802 operates by counting the video clock CLK in synchronization with the horizontal synchronizing signal HSYNC while a sub-scan counter 801 operates by counting the horizontal synchronizing signal HSYNC in synchronization with the ITOP signal. The total 13 bits consisting of four bits each for the output of the above counters 801, 802, and five bits for the above color discriminating signal are input as an address of pattern ROM 803. That is, 32 types of patterns with 16 dots x 16 dots for read colors (or color types) are generated. The output from the pattern ROM 803 has a data length of 8 bits, in which MSB (most significant bit) is used for a control signal (HIT signal) within a pattern synthesizer 111 as will be described later, and the ROM 803 has written data so that MSB is normally 0, and 1 when pattern is generated. Naturally, the above pattern ROM 803 may be implemented with RAM or the like. In such a case, the capacity and the bit assignments are the same as for ROM. Pattern synthesizer Referring now to Fig. 10, the pattern synthesizer 111 will be described. A brightness signal input from the above-mentioned brightness signal generator 108 is multiplied with a value that has been set in a register 901 by the CPU, in a multiplier 902. That is, the CPU can control the density so that the density of image data to which a pattern is to be added may be lighter than it actually is, as shown in Fig. 12. The register 901 is comprised of 8 bits. That is, the multiplier 902 performs the multiplication processing with the coefficients from 0/128 to 255/128 for an input brightness signal. The brightness signal obtained by multiplying a through brightness signal with the above-mentioned coefficient is input into the selector 903 which is switched with a HIT signal, and output. That is, if the HIT signal is HIT, an output from the multiplier 902 which is entered into A of the selector 903 is selected, while if it is not HIT, a through brightness signal which is entered into B of the selector 903 is selected. The signal selected by the selector 903 is subjected to the additive processing in adder 904 to add a pattern signal from the pattern generator circuit 110. Note that the level of the brightness signal may be changed after synthesis with the pattern signal. Log converter An image data subjected to the additive processing is converted to a density signal in a Log converter 112, as shown in Fig. 1, for the conversion of brightness to density. The Log converter 112 relies on a look-up table using a ROM. A signal converted into the density signal in the Log converter 112 is output to a monochromatic printer (for example, a laser beam printer) to form an image. Fig. 11 shows an example of an original subject which is read by the color reading sensor 101 in the above-mentioned example of the present invention, and an example of the result that the above-mentioned original subject is read, subjected to the above-mentioned image processing and output to the printer. Note that the relation between color and pattern is based on the example as shown in Fig. 9. Fig. 12 shows the operation of the above-mentioned example more clearly. That is, with a monochromatic printer, or a copying machine using a normal white/black printer, an original subject of red is printed only in gray uniformly (normal process), while in the operation according to the example of the present invention, it is output in the state where light gray and patterned red are synthesized, so that even in the white/black print, the color of the original can be recognized from the graphic pattern recorded. As above described, the present example, with the above-described constitution, can provide an image processing apparatus with which an inexpensive copying machine can be implemented without the necessity of polychromatic recording means and spoiling the quantity of information concerning the colors of an input image. Another example of the present invention will be described in detail. Fig. 13A is a view showing an appearance of a copying machine to which the present example and the previous example are both applicable, and this copying machine is comprised of two units, a reader A for reading an original image and a printer B for reproducing the image onto a recording medium. And Fig. 13B is a structural cross-sectional view of the reader A and the printer B. As shown in the figure, the original is laid with an upper surface down on an original glass (plate) 3, pressed down on the glass 3 by an original cover 4. And the original is illuminated by a fluorescent lamp 2, and the reflected light is converged via mirrors 5, 7 and a lens 6 onto the surface of CCD1. The mirror 7 and the mirror 5 moves at a relative speed of 2 to 1. These optical systems are reciprocated at constant speeds under PLL by a DC servo motor (not shown). At the equal magnification, an outgoing path (from left to right) is 180 mm/sec, while a return path (from right to left) is 800 mm/sec irrespective of the magnification. And the maximum size of original to be processed is A3, with the resolution being 400 dot/inch, and the required number of bits for a CCD1 is 4678 (= 297/25.4 x 400) bits. Accordingly, the reader A uses a 5000-bit CCD. The period of a main scan is 352.7 µ sec (= 10 6 /180 x 25.4/400) An image signal indicating the density of image is obtained by line-scanning the original image with the CCD1. The CCD1 is constructed of a color separation prism 3021 for separating the color into three colors R, G and B, and CCD sensors 3022, 3023 and 3024 for reading the respective lights of R, G and B, as shown in Fig. 13C, and outputs the reflected light by separating it into three colors R, G and B. Here, the reflected light subjected to the color separation is processed into bit serial data by each image processor of the reader A as will be described later, and input into a laser scan optical system unit 25 of the printer B. And the unit 25 consists of a semiconductor laser collimator lens, a rotational polygon mirror, a F lens, and an inclination correction optical system. An image signal from the reader A is applied to a semiconductor laser, and converted from an electrical signal to an optical signal, directed through the collimator to the polygon mirror rotating at high speed, and the reflected light is entered into a photosensitive member 8 and scanned. Process components which allow the formation of image onto the photosensitive member include a charge remover 9, a charge remover lamp 10, a primary charger 11, a secondary charger 12, a front exposure lamp 13, a developing device 14, a paper feed cassette 15, a paper feed roller 16, a paper feed guide 17, a registration roller 18, a transfer charger 19, a separation roller 20, a conveying guide 21, an fixing member 22, and a tray 23. The speeds of photo-senstivie member 8 and conveying system are 180 mm/sec, and the printer B is a so-called laser printer. A copying machine in this example is provided with intelligence such as an image edit, with its function including a variable magnification with 1% steps in the range from 0.35 to 4.0, the trimming for extracting image only in a specified region, the move function for moving a trimmed image to an arbitrary position on a paper, and the coordinate detection function for the position of an original laid on the original board 3. Next, the detail of a console unit A-1 as shown in Fig. 13A will be detailed with reference to Fig. 14. 2100 is a copy start key, 2101 is a key for returning the copy mode to the normal state, 2102 is a copy stop key, and 2103 is a group of ten keys for 0-9, a C key for clearing the number of sheets, and a * key for use in inputting a numerical data. 2104 is a key for turning on or off the original position coordinate detection function, and 2105 is a display part for displaying the state of ON/OFF. 2108 is key for raising or lowering the density, and 2112 is a display part for displaying the density. 2109 is a key for turning on or off the automatic density control function, and 2114 is a display part for displaying the state. 2110 is key for turning on or off the dither processing function for original, and 2115 is a display part for displaying the state of ON/OFF. 2111 is a display part for the number of copies, and 2113 is a display part for displaying various errors. 2116 is a key for selecting the paper feed stage and automatic paper selection functions, and 2117 and 2118 are display parts for displaying the paper feed stage and the size of paper, respectively. 2122 is a console display section, or a preset key display section for presetting and invoking the copy mode. 2123 is a liquid crystal display section comprised of 32 digits in 5 x 7 dot matrix. 2124 is a group of keys, or soft keys for selecting a desired copy mode among the copy modes displayed on the display section 2123. 2125 is a display part for displaying the magnification MY (%) in the sub-scan direction, and 2126 is a display part for displaying the magnification MX (%) in the main scan direction. 2127 is a key for switching the magnification MX in the main scan direction and the magnification MY in the sub-scan direction between two modes of the equal magnification 100% and the automatic variable magnification (MX = MY). 2128 and 2129 are keys for incrementing or decrementing MX and MY each by 1% simultaneously. 2131 and 2132 are keys for incrementing or decrementing only MX each by 1%, while 2134 and 2135 are keys for incrementing or decrementing only MY each by 1%. Next, the reader A will be described with reference to a schematic block diagram as shown in Fig. 15. A CCD reader 301 contains a CCD, a clock driver for the CCD, an amplifier of signal from the CCD, and an A/D converter for converting from analog signal to digital signal. From the CCD reader 301, image data of R, G and B converted into 8-bit digital signals (256 gradients) are output, and input into a shading correction unit 302. This shading correction unit 302 stores image signals in a shift memory 303 temporarily, after the shading quantity due to a light source or lens is detected and corrected. The shift memory 303 is provided with 2 lines of shift memory for each R, G and B, in which when N-th line image data are written into the first memory, N-1-th line image data are read out from the second memory. The shift memory 303 also comprises a write address counter for writing image data into shift memories, a read address counter for reading image data, and an address selector circuit for switching the address signal from those two counters. Image signals to which the shading correction was applied are input into a histogram generator 304, where a histogram of image signals as will be described later is created. Then, a setting unit 307 selects the colors the number of which is less than a predetermined number among histogram data obtained with a predetermined selection method, as will be described later, and selects predetermined patterns and densities corresponding to the selected colors, respectively. On the other hand, image signals output from the shift memory 303 are input into the next pattern density processor 305, where image signals are subjected to the conversion processing to patterns and densities set in the above-mentioned setting unit 307, and output to a trimming processor 306. The trimming processor 306 processes an arbitrary interval of image data in the main scan line forcedly into "0" or "1", determines whether or not image data should be transferred to the printer B, thereby enabling the editing of image. The CPU 308 is a microcomputer, comprising CPU, ROM, RAM, timer circuit, and I/O interface. The CPU 308 controls the console unit 310, for controlling the reader A in accordance with the settings by an operator, and controlling the printer B through the serial communication. Further, it controls a DC servo motor 315 by presetting a speed data corresponding to the magnification into a DC servo motor driver 311. And it controls the ON/OFF of a fluorescent lamp 316 and the light quantity at the lighting by controlling a fluorescent driver 312. And 313 and 314 are positional sensors with which the CPU 308 can detect the position of the optical system. The reader A is connected to the printer B, via a connector JR1 and a connector JP1 of the printer B, and the control signals necessary for the image data communication and the serial communication are transmitted and received between the reader A and the printer B. The horizontal synchronizing signal BD is received via the connector JR1 from the printer B, and input into a clock generator 309. The clock generator 309 generates the transmission clock for the CCD signal in synchronization with the horizontal synchronizing signal BD, and the read/write clock for the shift memory 303. And from the printer B, a size signal indicating the paper size usable on the printer B is input via the connectors JP1, JR1 into the reader A. Next, the operations of the histogram generator 304, the setting unit 307 and the pattern density processor 305 will be described with reference to Fig. 16. Fig. 16 is a flow chart for showing the operations of the histogram generator 304, the setting unit 307 and the pattern density processor 305. First, at step S11, the CPU 308 outputs a control signal indicating that the fluorescent lamp is turned on, to the fluorescent lamp driver 312, and at next step S12, outputs a control signal for controlling the motor 315 to scan the sensors, to the DC motor driver 311. And at step S13, the frequency counter for use in generating the histogram is initialized. Next, at step S14, whether the position sensor 313 at the edge portion of original plate is ON or OFF is judged, and if the position sensor 313 is ON, the processing proceeds to step S15, where whether or not original sheet exists is judged. This judgement process is sufficient with a general method for detecting original sheet, and if original sheet is detected, the processing proceeds to step S16, where image data is input. At step S17, the histogram data generated by the histogram generator 304 based on input data is updated. Next, at step S18, whether or not original sheet exists is judged. Here, the above processing steps S16 to S17 are repeated by scanning the sensors until there is no more original to read. However, if original to be read is exhausted, the processing proceeds to step S19, where whether the position sensor 314 at the other edge portion of original plate is ON is checked. As the result, if the sensor is ON, the processing proceeds to step S20, in which the CPU 308 outputs a control signal indicating that the fluorescent lamp is turned off, to the fluorescent lamp driver 312. And at next step S21, it outputs a control signal indicating that the motor is stopped, to the DC motor driver 311. Then, if the motor is stopped, at step S22, the CPU 308 outputs a control signal indicating that the motor is reversed to return to a home position, also to the DC motor driver 311. At step S23, whether or not the position sensor 313 is on is judged. If the position sensor 313 is on, the processing proceeds to step S24, in which the CPU 308 outputs a control signal indicating that the motor is stopped, to the motor driver 311. After execution of steps S11 to S24, a histogram as described below is generated. Note that the histogram is to simply count R, G and B data. This is, the result of histogram as shown in Fig. 17 is obtained. Next, at step S25, for example, when a predetermined number of colors is three, respective minimum values in the obtained histogram R, G, B are obtained as shown in Fig. 17, and from those minimum values, respective regions R 0 , R 1 , R 2 , G 0 , G 1 , G 2 , B 0 , B 1 , B 2 and the boundaries to be divided r 01 , r 12 , g 01 , g 12 , b 01 , b 12 are determined for R, G and B, respectively. And the processing proceeds to step S26, where predetermined patterns and densities are selected for the number of selected colors R, G and B. Here, predetermined patterns and densities can be determined as follows. As shown in Figs. 18A to 18C, the patterns as shown in Fig. 18A, Fig. 18B and Fig. 18C are preassigned to R, G and B, respectively. Then, for regions R 0 , R 1 and R 2 as shown in Fig. 17A, data as indicated by 61 is assigned with the settings of R 0 = 255, R 1 = 170 and R 2 = 85, so that R 0 > R 1 > R 2 holds in the pattern as shown in Fig. 18A. Similarly, also for regions G 0 , G 1 and G 2 as shown in Fig. 17B, data as indicated by 62 is assigned with the settings of G 0 = 255, G 1 = 170 and G 2 = 85, so that G 0 > G 1 > G 2 holds in the pattern as shown in Fig. 18B. Similarly, also for regions B 0 , B 1 and B 2 as shown in Fig. 17C, data as indicated by 63 is assigned with the settings of B 0 = 255, B 1 = 170 and B 2 = 85, so that B 0 > B 1 > B 2 holds in the pattern as shown in Fig. 18C. Next, at step S27, the pattern density processor 305 sets the parameter and density value of pattern so that pattern and density data corresponding to a desired input value of R, G and B are selected, and output to the next trimming processor 306. In the neutral gray region, e.g., black letters, the output of image is not patterned data but original image data, without change. Next, the constitution of pattern density processor 305 in the example will be described with reference to Fig. 19. As shown, the image read signals R, G, B are input into a pattern density conversion circuit 400, 401, 402, respectively. Here, data values of R, G, B are converted into patterns and pattern densities as shown in Figs. 18A, 18B and 18C, respectively, and output. On the other hand, data values of R, G, B are input into a non-color discrimination circuit 404, and whether non-color or not is judged from data values of R, G and B for read pixels. The following expression is used for this judgement, and if true, the non-color discrimination is made, and a discrimination signal "1" is output. And if not true, the color discrimination is made, and a discrimination signal "0" is output. This result is input into selector 406, where it is used for selection of input signals as will be described later. G/(R + G + B) = K 0 G/(R + G + B) < αK 0 B/(R + G + B) < βK 0 Where α, β are constant values. Data values of R, G and B are input into a non-color conversion circuit 403, and output as a non-color conversion signal Y with the conversion expression, for example, Y = 0.3R + 0.6G + 0.1B and then input into one terminal of the selector 406. Respective outputs from the pattern density conversion circuit 400, 401, 402 as above mentioned are superimposed using an OR circuit 405, and input into the other terminal of the selector 406. The selector 406 selects the outputs the input data, based on the discrimination signal from the non-color discrimination circuit 404, and the density conversion circuit 407 performs the density conversion optimal for the characteristic of the printer. In other words, the selector outputs the signal from the non-color conversion circuit 403 without change if non-color discrimination is made, and if not, outputs the signal from the OR circuit 405 without change. With the above processings, for example, an original graph as shown in Fig. 20A is processed and printed as shown in Fig. 20B. If as shown in Fig. 20A, W part is red, X part is green, Y part is blue, Z part is gray, and their lower portions become gradually lighter than their upper portions, and lines are represented with black, as shown in Fig. 20B, W part is a pattern as indicated in Fig. 18A, X part is a pattern as indicated in Fig. 18B, Y part is a pattern as indicated in Fig. 18C and the lower portions are represented lighter because respective patterns include three stages of densities. Z part and lines are represented as they are in the original. Another modified example of the present invention will be described with reference to the drawings. It should be noted that unlike the previous examples, this example restricts the type of patterns to prevent the overlap of patterns with each other. With reference to Fig. 21, the details different from those of the previous examples will be described, and the explanation of portions having the same functions are omitted. First, in Fig. 21, the point different from that of Fig. 19 is that the non-color discrimination circuit 404, the non-color conversion circuit 403 and the selector 406, as shown in Fig. 19, do not exist. Figs. 22A, 22B and 22C are views showing the patterns of R, G and B, respectively, when the number of predetermined patterns is three. Density values for portions 71, 72, 73 painted by black, in this example, unlike the previous examples, are processed in such a manner that the densities are not restricted to three stages, and the read data values becomes respective density values 71 - 73 without change. That is, with 8-bit data, pattern is only selected and each density 71-73 is made proportional to the 8-bit data. And the density conversion circuit 407 performs the density conversion optimal for the characteristic of printer. Outputs of the pattern density conversion circuits 400, 401 and 402 are input into the OR circuit 405 and superimposed. However, since the patterns as shown in Fig. 22 do not have overlapping portions, if data is non-color, i.e., there is no R, G, B data, the patterns become as shown in Fig. 11A, so that the non-color is not patterned with any density. On the other hand, if R, G, B data are different, i.e., data are color, density values of 71 - 73 as shown in Fig. 22 are different, resulting in a pattern as shown in Fig. 23B. In this way, the non-color data is not patterned, while the color data is patterned, with various patterns being provided for R, G and B data. As detailed above by way of examples, a problem of causing pseudo contours can be eliminated because patterns are superimposed even in the area where the hue gradually changes, so that the information of "gradually" changing can be realized without being lost. Further, the non-color data is not patterned, and letters can be represented as clearly as conventionally. Note that the printer is not limited to a laser beam printer, but may be an ink jet printer, a thermal printer, etc. And the generator of a color image signal is not limited to a color reader, but is also applicable to a video camera, a computer, a color facsimile, etc. As described above, according to the present invention, a plurality of images with different colors contained in an original subject can be reproduced to be recognizable. The present invention is not limited to the above described examples, but various modifications and variations are possible within the scope of the claims.

Claims: An image processing method comprising the steps of: inputting image data representing a coloured image; converting the image data into its colour components (R,G,B); detecting the frequency of occurrence of brightness levels of the colour components; generating for each colour component a histogram of the detected frequencies; deriving from the histrograms so generated at least two brightness ranges (0-r 12 , r 12 -r 01 , r 01 -255) utilising minima on the generated histograms to divide the histograms into brightness ranges, and converting each colour component into a predetermined monochromatic pattern (18A, 18B, 18C), the conversion being carried out so that the brightness of each converted pattern is set in accordance with said brightness ranges. An image processing apparatus comprising: means (301) for inputting image data representing a colour image; and means (305) for converting parts of the coloured image into predetermined monochromatic patterns; and characterised by histogram generating means (304) for dividing the image data into colour component signals (R,G,B) and for generating from each colour component signal a histogram of the frequency of occurrence of brightness levels in that signal; means (305, 307) for deriving from the histograms so generated at least two brightness ranges (0-r 12 , r 12 -r 01 , r 01 -255) utilising minima on the generated histogram to divide the histogram into brightness ranges and for converting each colour component signal into a predetermined monochromatic pattern (18A, 18B, 18C) so that the brightness of each converted pattern is set in accordance with said brightness ranges.

Inventors: AIBA YOSHINOBU, HASEGAWA SHIZUO, ICHIKAWA HIROYUKI, ISEMURA KEIZO, OHMURA HIROSHI, AIBA, YOSHINOBU, HASEGAWA, SHIZUO, ICHIKAWA, HIROYUKI, ISEMURA, KEIZO, OHMURA, HIROSHI
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: H04N1
IPC codes: H04N1