Image processing method and apparatus

Abstract: This invention relates to an image processing method and apparatus and particularly solves problems of image degradation in generation copying for performing copying using a copy output as an original. According to this invention, a generation copy mode is provided in addition to the normal copy mode, thereby solving the above problem.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an image processing apparatus and, more particularly, to an image processing apparatus for improving quality of a generation copy, i.e. a copy of a copy. Related Background Art A digital copying machine is known well as an apparatus for causing a reader to read an original, converting a read image into an electrical signal, and driving a record head or a laser to form an image in accordance with this electrical signal, thereby forming a copy. This digital copying machine has features such as image processing and image editing and has been recently very popular. A digital color copying apparatus is superior to an analog color copying apparatus in image quality such as color reproducibility. In order to obtain various types of color copies by utilizing various editing functions, the market in this field is rapidly expanding. Fig. 2 is a block diagram showing a flow of an image signal in the above digital color copying apparatus. Referring to Fig. 2, a CCD 1 outputs R (red), G (green), and B (blue) signals 2a, 2b, and 2c to a black offset & shading correction circuit 3. The black offset & shading correction circuit 3 outputs shading-corrected R, G, and B signals 4a, 4b, and 4c to a log conversion circuit 5. The log conversion circuit 5 outputs C (cyan), M (magenta), and Y (yellow) density signals 6a, 6b, and 6c to a color processing circuit 7. The color processing circuit 7 outputs color-processed C, M, Y, and Bk (black) signals 8a, 8b, 8c, and 8d to a gamma correction circuit 9. The gamma correction circuit 9 outputs gamma-corrected C, M, Y, and Bk signals 10a, 10b, 10c, and 10d to an edge emphasis & smoothing circuit 20. The edge emphasis & smoothing circuit 20 outputs edge-emphasized and smoothed image signals 21a, 21b, 21c, and 21d to record heads 11a to 11d. The record heads 11a to 11d serve as cyan, magenta, yellow, and black record heads. An original image is read by the CCD 1 and converted into electrical signals. The electrical signals are converted into the digital R, G, and B signals 2a, 2b, and 2c by an A/D converter (not shown). These signals are subjected to black offset processing and shading correction processing for correcting variations in the CCD 1 and an original illumination lamp (not shown) by the black offset & shading correction circuit 3. A standard black board and a standard white board (neither are shown) are arranged in an original reader. By using these boards, the above processing operations are performed. More specifically, the standard black board is a black board having an optical density of 2.0, and the standard white board is a white board having an optical density of 0.07. Values A and B obtained upon reading of the black and white boards are stored in units of pixels. A value X obtained upon reading of an original is converted into the following value by the black offset & shading correction circuit: X '= 255 B-A ( X-A ) In this case, each signal is an 8-bit signal which has a maximum value of 255. The converted R, G, and B signals are logarithmically converted into the C, M, and Y density signals 6a, 6b, and 6c. These signals are subjected to color correction processing in the color processing circuit 7. Black extraction processing and masking processing are performed in this color correction processing. The black extraction processing is processing for extracting a black component from the C, M, and Y signals to improve reproducibility of black. The masking processing is processing for correcting transmission characteristics of filters within the CCD 1 and reflecting characteristics of inks C, M, Y, and Bk. If signals input to the color processing circuit 7 are given as C, M, and Y, the black component is extracted by the following calculation in black extraction processing: Bk = min(C, M, Y) Subsequently, color correction is performed in the masking processing as follows: C' = a 11 C + a 12 M + a 13 Y + a 14 Bk M' = a 21 C + a 22 M + a 23 Y + a 24 Bk Y' = a 31 C + a 32 M + a 33 Y + a 34 Bk Bk' = a 41 C + a 42 M + a 43 Y + a 44 Bk The masking parameters a 11 to a 44 are set to obtain optimal color reproducibility. The color-corrected signals (8a to 8d) are gamma-corrected in the gamma correction circuit 9. In the gamma correction circuit 9, gradation characteristics of the heads lla to 11d are corrected to obtain a linear relationship between the density signals and the print densities, and at the same time, the C, M, Y, and Bk components are balanced. When the gradation characteristics of the heads are linear, the gamma correction circuit 9 corrects the input C, M, Y, and Bk signals as follows: C' = a 5 x C M' = a 6 x M Y' = a 7 x Y Bk' = a 8 x Bk The gamma-corrected signals 10a to 10d are subjected to edge emphasis and smoothing processing in the edge emphasis & smoothing circuit 20. The edge emphasis and smoothing circuit 20 performs known edge emphasis and known smoothing processing in the following manner. Fig. 3 is a detailed block diagram of the edge emphasis & smoothing circuit 20. The edge emphasis & smoothing circuit 20 comprises a smoothing unit 22 for receiving the gamma-corrected image signal C 10a and outputting a smoothing signal 23, a subtracter 24 for outputting an edge component signal 25, multipliers 26, 27, and 28 for outputting product output signals 29, 30, and 31, respectively, an adder 32 for outputting an output signal C 21a as an output signal from the edge emphasis & smoothing circuit 20. The smoothing unit 22 averages image signals of neighboring pixels of a target pixel and outputs a smoothing signal S. If a smoothing matrix has a size of 3 x 3 and an image signal of a target pixel position (i,j) is given as f(i,j), the smoothing signal S is calculated as follows: S '= 1 9 ·{ f ( i -1, j -1)+ f ( i,j -1)+ f ( i +1, j -1) + f ( i -1, j ) + f ( i,j )+ f ( i +1, j ) + f ( i -1, j +1)+ f ( i,j +1) + f ( i +1, j +1)} The subtracter 24 subtracts the smoothing signal S from the signal f(i,j) of the target pixel to extract an edge component. An edge component signal E is given as follows: E = f(i,j) - S The multipliers 26, 27, and 28 multiply the target pixel signal, the smoothing signal, and the edge component signal with predetermined coefficients k 1 to k 3 , respectively. The adder 32 adds the product components from the multipliers 26, 27, and 28 and outputs an output signal from the edge emphasis & smoothing circuit 20. The component coefficients k 1 , k 2 , and k 3 are determined by spatial frequency characteristics and the design concept of the copying machine. For example, when the spatial frequency characteristics of the copying machine are poor and a thin line is blurred, the smoothing signal coefficient k 2 is set to zero, and the edge component signal coefficient k 3 is increased. In order to emphasize a character original and a thin portion with good reproducibility, similar changes are performed. In order to emphasize a picture or the like of a print to obtain a good halftone image without forming a moiré pattern, the coefficient k 3 is set to be small, and the coefficient k 2 is increased. In this case, k 1 + k 2 is kept constant because the sum k 1 + k 2 represents the magnitude of the signal. If this sum is changed, an image density is changed. The edge emphasis and the smoothing processing are performed for the remaining color signals, i.e., M, Y, and Bk except for C by using common coefficients. The record heads 11a to 11d are driven by the resultant signals, and a color copy is obtained. Each record head comprises an ink-jet head, a thermal head, or the like. When an electrophotographic system is employed, the record head is constituted by a semiconductor laser, an LED array, or a liquid crystal shutter array. Even if the coefficients k 1 , k 2 , and k 3 are optimized, and when generation copying, i.e., copying of a copy output (i.e., the first reproduced image upon processing of the original) using as an original, a problem often occurs in reproducibility of an edge portion. For example, when spatial frequency characteristics of the original copy are poor and correction is to be performed by edge emphasis, or when edge emphasis is performed to improve reproducibility of characters or thin lines, characters and lines are reproduced to be thick. In the second generation copying (an output from a copy original obtained from an original) using a copy output as an original, a thin line is further emphasized to further increase a line width. When generation copying is repeated, characters and thin lines become contiguous, and readability of the original is impaired, resulting in inconvenience. In an apparatus which is set in an overemphasized smoothing mode to obtain a smoother halftone image, when generation copying is repeated, character and thin line elements are blurred, and readability of the original is impaired, resulting in inconvenience. When a copy is to be obtained using an output color copy obtained as described above, a copied product has an excessively low density in a conventional arrangement, thus degrading readability of the copy due to the following reason. Most of the copy originals are generally printed matters, and a maximum density of these originals reaches 1.8 to 2.0. Image processing is performed such that an image signal obtained upon reading of a portion having a maximum density of 2.0 is converted into a maximum value of 255 of the image signal. When a given density corresponding to 255 represented by an image signal is 2.0 or less, gradation levels of densities higher than the given density cause contiguity of character elements. To the contrary, when a density exceeds the given density, all values to be represented by each 8-bit signal cannot be used, thus wasting the 8-bit signal. Therefore, a relationship between the original density and the image signal is as represented by a solid line A in Fig. 4. The characteristics of a record head may not, however, have an ability of reproducing a density equal to that in printing. For example, in a record head of an ink-jet printer, the record density depends on the injection amount and the dye concentration of an ink. The ink injection amount is limited by the resolution and absorption properties of recording paper and the like, and the dye concentration of the ink is limited by injection stability and the like. In this sense, neither a large ink injection amount nor a high recording density can be set. In a practical application, a maximum optical density is about 1.5. Therefore, a relationship between the image signal and the recording density is as represented by a solid line B in Fig. 4. Judging from the above consideration, a relationship between the original density and the output density is as represented by a solid line C in Fig. 4. However, if a maximum density is 1.4 or more, a sufficiently beautiful image can be obtained as a color copy. No problem occurs in an operation for copying an image from a normal original. When a copy output is used as an original and copying is performed (i.e., generation copying is performed), a maximum output density is given as follows because a maximum density of an original is 1.5: 1.5 x 1.5 2.0 ≃ 1.13 The resultant image has poor readability. When a print original is to be copied, it is known that gradation of a high-density portion is insufficient if an image signal for a density of 1.8 or more is set to be a maximum value. When an image signal for a density of 1.8 is set to be a maximum value, and the maximum value of the recording density is less than 1.8, the repetition density is lowered. Color reproducibility in a digital color copying apparatus shown in Fig. 2 is greatly influenced by the values of the masking parameters a 11 to a 44 . The masking parameters a 11 to a 44 are generally determined by the following method. Assume that originals having n colors selected from a color space without any discrimination are given as X 1 ,..., X n . Chromaticity values of these originals are given as (L* X1 ,a* X1 ,b* X1 ),... (L* Xn ,a* Xn ,b* Xn ). Assume that these originals are copied to obtain color outputs Y 1 ,..., Y n , and that chromaticity values of these outputs are represented by (L* Y1 ,a* Y1 ,b* Y1 ),..., (L* Yn ,a* Yn ,b* Yn ). A sum of the squares of the color differences between the input and output images is represented by equation (4) below: The masking parameters are calculated to minimize the sum E Y-X , which is then defined as an optimal solution. The parameters thus obtained allow good average color reproduction throughout the color space. It is, however, impossible to nullify a color difference (difference in color) between an original and its copy even if these parameters are used. It is inevitable that colors change to some extent upon copying processing. The parameters obtained in the above calculation are enough to obtain satisfactory color reproduction when a normal original is to be copied to obtain a color image. However, a problem is posed in generation copying wherein copying is performed using a copy output of an original. If a copy output obtained by copying a first generation copy output (Y 1 ,... Y n ) as an original, i.e., a second generation copy output is given as (Y 1 ',... Y n '), a color difference between the original and the second generation copy output is larger than that between the original and the first generation copy output. That is, the color differences between the original and generation copy outputs are increased when generation copying is repeated. With the recent widespread use of full-color copying machines, generation copying is more frequently performed, thus posing a serious problem. A parameter determining technique is disclosed in U.S. Patent US-A-5,142,356 published on 25.08.1992 and corresponding to EP-A-0 266 186, wherein a reference image output from a printer is read from a reader and is compared with reference data stored in a memory, thereby determining color processing parameters. This technique, however, cannot solve the above serious problem posed by generation copying. SUMMARY OF THE INVENTION The present invention has been made to solve the above problem, and has as its object to provide a copying apparatus for preserving clearness and smoothness of originals at the time of generation copying and improving image quality. It is another object of the present invention to preserve a resolution at the time of generation copying. In order to achieve the above objects of the present invention, an image processing apparatus is provided comprising: input means for inputting image data, processing means for processing the input image data input by said input means, and output means for outputting to an image forming means the image data processed by said processing means, said image processing apparatus being characterized by mode selection means for selecting normal copy mode or copy of copy mode, wherein, if the normal copy mode is selected, said processing means is controlled to be adapted to process input image data representing an original image, wherein, if the copy of copy mode is selected, said processing means is controlled to be adapted to process input image data representing a copy of an original image, and wherein said processing means performs a conversion of spatial frequency characteristics of the input image data, on the basis of the selected mode. The above-mentioned apparatus according to the present invention may be further characterized in that said input means is an image reader constituted by a CCD sensor; in that said image forming means includes a plurality of injection ports for injecting an ink, and heat energy generating means, formed in correspondence with said plurality of injection ports, for causing a state change by ink heat, injecting the ink from each of said plurality of injection ports on the basis of the state change, and forming a flying liquid droplet; in that said image forming means includes means for forming a latent image on a photosensitive body and developing the latent image by using a recording agent; and in that said mode selecting means can select other modes; respectively. The above-mentioned apparatus according to the present invention may be further characterized in that said apparatus comprises memory means for storing at least a first parameter for optimizing, in said normal copy mode, a resolution to obtain first output image data from first input image data representing the original image and a second parameter for optimizing, in said copy of copy mode, a resolution to obtain second output image data from the first output image data as second input image data representing the copy of an original image, and in that said apparatus is a copying apparatus. In order to achieve the above objects of the present invention, also an image processing method is provided comprising: an input step of inputting image data, a processing step of processing the input image data input in said input step, and an output step of outputting to an image forming means the image data processed in said processing step, said image processing method being characterized by a mode selection step of selecting normal copy mode or copy of copy mode, wherein, if the normal copy mode is selected, said processing step is controlled to be adapted to process input image data representing an original image, wherein, if the copy of copy mode is selected, said processing step is controlled to be adapted to process input image data representing a copy of an original image, and wherein said processing step performs a conversion of spatial frequency characteristics of the input image data, on the basis of the selected mode. This method according to the invention may be further characterized in that the image data is input by an image reader constituted by a CCD sensor; in that said image forming means includes a plurality of injection ports for injecting an ink, and a heat energy generating means, formed in correspondence with the plurality of injection ports, for causing a state change by ink heat, injecting the ink from each of the plurality of injection ports on the basis of the state change, and forming a flying liquid droplet; in that said image forming means includes means for forming a latent image on a photosensitive body and developing the latent image by using a recording agent. Furthermore, the above-mentioned method according to the present invention may be characterized by a storage step of storing at least a first parameter for optimizing, in said normal copy mode, a resolution to obtain first output image data from first input image data representing the original image and a second parameter for optimizing, in said copy of copy mode, a resolution to obtain second output image data from the first output image data as second input image data representing the copy of an original image; in that said method is a copying method; and in that said mode selection step can select other modes; respectively. Furthermore, according to the present invention the copy of copy mode may be a mode for causing said processing means to reprocess as input image data the image processed and output from said processing means. The above and other objects, features and advantages of the present invention will be apparent from the detaile description in conjunction with the accompanying drawings and the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing a copying apparatus according to an embodiment of the present invention; Fig. 2 is a block diagram showing a conventional copying apparatus; Fig. 3 is a detailed block diagram showing a part of the copying apparatus shown in Fig. 2; and Fig. 4 is a graph showing a relationship between an original density and an output density in a conventional digital color copying machine. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A copying apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings. Fig. 1 is a block diagram showing an embodiment of the present invention. The same reference numerals as in Fig. 3 denote the same parts in Fig. 1, and a detailed description thereof will be omitted. In the detailed arrangement of an edge emphasis & smoothing circuit 20 in Fig. 1, multipliers 26, 27, and 28 are arranged to variably change coefficients k 1 , k 2 , and k 3 in accordance with a control signal 41 from a selection switch 40. The selection switch 40 is arranged in an operation unit (not shown) and a user can operate the selection switch 40. The selection switch 40 is arranged to select a normal copy mode or a generation copy mode, i.e. a copy of copy mode, and is switched in response to the control signal 41. The edge emphasis & smoothing circuit shown in Fig. 1 is arranged for the C signal. Other edge emphasis & smoothing circuits for the M, Y, and Bk signals are arranged as described above, and common coefficients k 1 to k 3 are used therein. In this embodiment, since the common color coefficients are used, the edge emphasis and smoothing effects of all the color components are equal to each other, thereby obtaining an image having a good color balance. The multipliers 26 to 28 have two coefficient sets IK, and the sets are switched by the selection switch 40. A first coefficient set IK 1 = (k 11 , k 21 , k 31 ) is determined to obtain an image having an optimal resolution from the background described with reference to the prior art. In design in favor of reproducibility of characters and thin lines, the edge emphasis coefficient k 31 is set to be large. However, in design suitable for a halftone image, the smoothing coefficient k 21 is set to be large. On the other hand, a second coefficient set IK 2 = (k 12 , k 22 , k 32 ) is complementary to the first coefficient set so as to obtain an optimal resolution of an output image in the generation copy mode. For example, the coefficient k 31 in the first coefficient set is set to be large. When a thin line is reproduced as a thick line, the coefficient k 32 is set to be slightly smaller than the reference value. When generation copying is performed under the condition that the coefficient k 21 of the first coefficient set is set to be large, and when a thin line is blurred, the coefficient k 32 of the second coefficient set is set to be slightly larger than the reference value. When copying is performed using a normal original, the user selects a normal copy mode with the selection switch 40 and causes the selection signal 41 to select the first coefficient set IK 1 . Therefore, edge emphasis and smoothing are performed such that an optimal resolution can be obtained for the normal original. When an original is a copy output, i.e., second generation copying is to be performed, the user operates the selection switch 40 to set the generation copy mode. In this case, the control signal 41 selects the coefficient set IK 2 . In this state, when generation copying is performed, edge emphasis or smoothing is performed to obtain an optimal resolution of the generation copy output. Thin line elements do not become contiguous or are blurred, thereby obtaining a beautiful generation copy output.

Claims: An image processing apparatus comprising: input means ( 1 ) for inputting image data, processing means ( 26-28; 20 ) for processing the input image data input by said input means ( 1 ), and output means ( 32 ) for outputting to an image forming means ( 11a-11d ) the image data processed by said processing means ( 26-28; 20 ), said image processing apparatus being CHARACTERIZED BY mode selection means ( 40 ) for selecting normal copy mode or copy of copy mode, wherein, if the normal copy mode is selected, said processing means ( 26-28; 20 ) is controlled to be adapted to process input image data representing an original image, wherein, if the copy of copy mode is selected, said processing means ( 26-28; 20 ) is controlled to be adapted to process input image data representing a copy of an original image, and wherein said processing means ( 26-28; 20 ) performs a conversion of spatial frequency characteristics of the input image data, on the basis of the selected mode. An apparatus according to claim 1, characterized in that said input means ( 1 ) is an image reader constituted by a CCD sensor. An apparatus according to claim 1, characterized in that said image forming means ( 11a-11d ) includes a plurality of injection ports for injecting an ink, and heat energy generating means, formed in correspondence with said plurality of injection ports, for causing a state change by ink heat, injecting the ink from each of said plurality of injection ports on the basis of the state change, and forming a flying liquid droplet. An apparatus according to claim 1, characterized in that said image forming means ( 11a-11d ) includes means for forming a latent image on a photosensitive body and developing the latent image by using a recording agent. An apparatus according to any one of the preceding claims, characterized in that said apparatus comprises memory means for storing at least a first parameter for optimizing, in said normal copy mode, a resolution to obtain first output image data from first input image data representing the original image and a second parameter for optimizing, in said copy of copy mode, a resolution to obtain second output image data from the first output image data used as second input image data and representing the copy of an original image. An apparatus according to any one of the preceding claims, characterized in that said apparatus is a copying apparatus. An apparatus according to claim 1, characterized in that said mode selecting means can additionnally select other modes. An apparatus according to claim 6, characterized in that the copy of copy mode is a mode for causing said processing means ( 26-28; 20 ) to reprocess as input image data the image processed and output from said processing means ( 26-28; 20 ). An image processing method comprising an input step of inputting image data, a processing step of processing the input image data input in said input step, and an output step of outputting to an image forming means ( 11a-11d ) the image data processed in said processing step, said image processing method being CHARACTERIZED BY a mode selection step of selecting normal copy mode or copy of copy mode, wherein, if the normal copy mode is selected, said processing step is controlled to be adapted to process input image data representing an original image, wherein, if the copy of copy mode is selected, said processing step is controlled to be adapted to process input image data representing a copy of an original image, and wherein said processing step ( 20 ) performs a conversion of spatial frequency characteristics of the input image data, on the basis of the selected mode. A method according to claim 9, characterized in that the image data is input by an image reader (1) constituted by a CCD sensor. A method according to claim 9, characterized in that said image forming means ( 11a-11d ) includes a plurality of injection ports for injecting an ink, and a heat energy generating means, formed in correspondence with the plurality of injection ports, for causing a state change by ink heat, injecting the ink from each of the plurality of injection ports on the basis of the state change, and forming a flying liquid droplet. A method according to claim 9, characterized in that said image forming means ( 11a-11d ) includes means for forming a latent image on a photosensitive body and developing the latent image by using a recording agent. A method according to any one of the claims 9 to 12, characterized in that said method comprises a storage step of storing at least a first parameter for optimizing, in said normal copy mode, a resolution to obtain first output image data from first input image data representing the original image and a second parameter for optimizing, in said copy of copy mode, a resolution to obtain second output image data from the first output image data used as second input image data and representing the copy of an original image. A method according to any one of the claims 9 to 13, characterized in that said method is a copying method. A method according to claim 9, characterized in that said mode selection step can additionnally select other modes. A method according to claim 14, characterized in that the copy of copy mode is a mode for causing said processing step to reprocess as input image data the image processed and output in said processing step.

Inventors: SUZUKI AKIO, TAKADA YOSHIHIRO, SUZUKI, AKIO, TAKADA, YOSHIHIRO, SUZUKI, AKIO, C/O CANON KABUSHIKI KAISHA, TAKADA, YOSHIHIRO, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: H04N1
IPC codes: H04N1