Image processing device and control method thereof
The image processing device addresses color variation issues in multi-color recording by generating multidimensional color data and adjusting quantization thresholds, resulting in improved graininess and reduced positional shift effects.
Patent Information
- Application Number
- JP2020203653
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-08
- Publication Date
- 2024-10-09
- Estimated Expiration
- 2040-12-08
AI Technical Summary
Existing quantization methods for image data, particularly those using intercolor processing, suffer from color variation issues due to changes in dot overlap caused by positional shifts during multi-color material recording.
An image processing device that generates multidimensional color data and adjusts quantization thresholds based on calculated generation probabilities, using a threshold matrix with blue noise characteristics to disperse dot patterns and minimize color variations.
The solution effectively suppresses color variations and improves graininess in recorded images by controlling dot overlaps and positional deviations, enhancing image quality.
Smart Images

Figure 0007564698000001 
Figure 0007564698000002 
Figure 0007564698000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a quantization process for image data. [Background technology]
[0002] When printing an image using the pseudo halftoning method, it is necessary to quantize the multi-value image data. Known quantization methods used in this case include the error diffusion method and the dither method. The dither method, which compares a pre-stored threshold value with the gradation value of the multi-value data to determine whether or not to print a dot, has a smaller processing load than the error diffusion method and is used in many image processing devices.
[0003] However, in the dithering method, the dispersion of dots to make the graininess in the image less noticeable is an issue. Patent Document 1 proposes a method of using a threshold matrix having blue noise characteristics as a threshold matrix for obtaining suitable dot dispersion. Patent Document 2 discloses a dithering method suitable for printing an image with a plurality of color materials (i.e., mixed colors). Specifically, quantization processing is performed while shifting the threshold values between a plurality of colors (hereinafter referred to as inter-color processing). Furthermore, Patent Document 3 discloses inter-color processing that focuses on the ease with which graininess is perceived. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] U.S. Patent No. 5,111,310 [Patent Document 2] U.S. Patent No. 6,867,884 [Patent Document 3] JP 2017-38127 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, while quantization based on inter-color processing as disclosed in Patent Documents 2 and 3 improves graininess, it can also cause image quality problems called color fluctuations. Here, color fluctuations refer to color changes that occur when dots overlap in a different way due to misalignment of the dots' landing positions when an image is printed using multiple color materials (mixed colors).
[0006] With normal quantization, the dot patterns of each color material are uncorrelated, so even if the dot landing positions are shifted, the overlapping ratio of the dots of each color material does not change and color variation is small. On the other hand, when the above-mentioned inter-color processing is performed, the dots do not overlap if there is no positional deviation, but overlap if there is positional deviation, and the color variation depending on whether or not there is positional deviation becomes relatively large.
[0007] The present invention has been made in view of the above problems, and has an object to provide a technique that enables more suitable quantization processing of image data. [Means for solving the problem]
[0008] In order to solve the above-mentioned problems, an image processing apparatus according to the present invention has the following arrangement. That is, the image processing apparatus generates data for recording an image on a recording medium using a plurality of color materials, a color separation unit for generating a plurality of color image data corresponding to the plurality of color materials based on the image data; a generating unit for generating multi-color data corresponding to the combination of the plurality of color materials based on the plurality of color image data; a quantization unit that generates quantized data corresponding to each of the plurality of color materials based on the multi-color data and a threshold matrix; Equipped with the generating means calculates a generation probability of each multi-order color based on the plurality of color image data generated based on the image data; The quantization means corrects a quantization threshold based on the calculated generation probability of each multi-order color, and generates the quantized data. Alternatively, an image processing apparatus that generates data for recording an image on a recording medium using a plurality of color materials comprises: a color separation unit for generating a plurality of color image data corresponding to the plurality of color materials based on the image data; a generating unit for generating multi-color data corresponding to the combination of the plurality of color materials based on the plurality of color image data; a quantization unit that generates quantized data corresponding to each of the plurality of color materials based on the multi-color data and a threshold matrix; Equipped with The quantization means calculates the generation probability of each multi-order color by counting the number of times each multi-order color is generated based on the image data using the threshold matrix based on a plurality of quantized data obtained by quantizing the plurality of color image data generated based on the image data, and corrects the quantization threshold based on the calculated generation probability of each multi-order color to generate the quantized data. Effect of the Invention
[0009] According to the present invention, it is possible to provide a technique that enables more suitable quantization processing of image data. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating a schematic structure of an inkjet printer. [Diagram 2] FIG. 2 is a block diagram showing the hardware configuration of the recording system. [Diagram 3] 11 is a flowchart showing image processing. [Figure 4] FIG. 2 is a diagram showing a data flow in a quantization process. [Diagram 5] 4 is a data flow and a flowchart of inter-color processing. [Figure 6] FIG. 11 is a diagram showing an example of multi-color data. [Figure 7] FIG. 13 is a diagram illustrating a threshold range. [Figure 8] 4 is a block diagram showing a configuration of a multi-color conversion processing unit. FIG. [Figure 9] FIG. 1 is a diagram showing an example of the result of inter-color processing in the prior art. [Figure 10] 5A to 5C are diagrams illustrating examples of results of inter-color processing in the first embodiment. [Figure 11] FIG. 2 is a block diagram showing the flow of data in a quantization process. [Figure 12] 13 is a flowchart showing a position deviation acquisition process. [Figure 13] FIG. 13 is a diagram showing an example of a chart for acquiring a position deviation. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0012] (First embodiment) An inkjet printer will be taken as an example of a first embodiment of an image processing device according to the present invention and described below. In particular, a full-line type inkjet printer using a long head formed by connecting multiple recording head modules will be described, which suppresses the above-mentioned color variation while improving graininess.
[0013] In a full-line type inkjet printer, when the transport of the recording medium meanders, the phase of the meandering differs for each recording head module, causing periodic color fluctuations. The reason for the different phases of the meandering is that the timing of recording on the recording medium (ink ejection timing) differs because multiple recording head modules are installed at alternate positions in the paper transport direction (Figure 1(b)).
[0014] However, the present invention is applicable not only to full-line type recording devices, but also to so-called serial type recording devices that perform recording by scanning the recording head in a direction intersecting the transport direction of the recording paper, for example.
[0015] <Device configuration> FIG. 1(a) is a diagram showing a schematic structure of an inkjet printer. Printer 100 shows the structure of a so-called full-line type inkjet printer. Printer 100 has recording heads 101-104 on a frame that forms the structural material of the printer. Recording heads 101-104 are recording heads for ejecting black (K), cyan (C), magenta (M), and yellow (Y) inks, respectively. Each recording head has a plurality of nozzles that eject ink arranged along a predetermined direction (x direction) in a range corresponding to the width of recording paper 106. Here, the nozzle arrangement resolution of the nozzle rows for each ink color is 1200 dpi.
[0016] Further, a scanner 107 having reading elements arranged at a predetermined pitch is provided downstream of the recording heads 101 to 104. The scanner 107 can read images recorded by the recording heads 101 to 104 and output them as multi-value RGB data. The method of using the scanner 107 will be described in the second embodiment later.
[0017] 1(b) is a diagram showing a schematic diagram of multiple head modules that make up a recording head. Each of the recording heads 101 to 104 is configured by combining multiple head modules. For example, in the recording head 101, the head modules 101a, 101b, and 101c are arranged alternately with respect to the paper transport direction.
[0018] A recording paper 106 serving as a recording medium is conveyed in the direction of the arrow (y direction) by the rotation of conveying roller 105 (and other rollers, not shown) by the driving force of a motor (not shown). Then, while the recording paper 106 is being conveyed, ink is ejected from the multiple nozzles of each of the recording heads 101 to 104 in accordance with recording data. As a result, an image for one raster corresponding to the nozzle rows of each of the recording heads is sequentially recorded on the surface of the recording paper 106. By repeating this ink ejection operation, for example, an image for one page can be recorded on the surface of the recording paper 106.
[0019] <System configuration> 2 is a block diagram showing the hardware configuration of the printing system, which includes the printer 100 and host PC 200 (personal computer (PC) as a host device) shown in FIG.
[0020] The host PC 200 includes a CPU 201 , a RAM 202 , a HDD 203 , a data transfer I / F (interface) 204 , a keyboard and mouse I / F 205 , and a display I / F 206 .
[0021] The CPU 201 executes processing according to programs stored in the storage units HDD 203 and RAM 202. The RAM 202 is a volatile storage unit and temporarily stores programs and data. The HDD 203 is a non-volatile storage unit and similarly stores programs and data. A data transfer I / F (interface) 204 controls the transmission and reception of data to and from the printer 100. The data transfer I / F 204 can be connected via USB, IEEE1394, LAN, etc.
[0022] The keyboard / mouse I / F 205 is an I / F that controls a HID (Human Interface Device) such as a keyboard or a mouse, and a user can input data via this I / F. The display I / F 206 controls display output to a display (not shown).
[0023] The printer 100 includes a CPU 211 , a RAM 212 , a ROM 213 , a data transfer I / F 214 , a head controller 215 , and an image processing accelerator 216 .
[0024] The CPU 211 executes processing in accordance with programs stored in the ROM 213 and the RAM 212. The RAM 212 is a volatile storage unit and temporarily stores programs and data. The ROM 213 is a non-volatile storage unit and can store programs and data. The data transfer I / F 214 controls the transmission and reception of data to and from the PC 200.
[0025] 1, and controls the ejection operation of the print heads. Specifically, the head controller 215 reads control parameters and print data from a predetermined address in the RAM 212. Then, the CPU 211 writes the control parameters and print data to the predetermined address in the RAM 212. This causes the head controller 215 to start processing and eject ink from the print heads.
[0026] The image processing accelerator 216 is hardware capable of executing image processing faster than the CPU 211. Specifically, the image processing accelerator 216 reads parameters and data required for image processing from a predetermined address in the RAM 212. Then, the CPU 211 writes the parameters and data to the predetermined address in the RAM 212, whereby the image processing accelerator 216 is started and predetermined image processing is performed on the data. Note that the image processing accelerator 216 is not an essential element, and image processing may be executed only by software processing by the CPU 211 depending on the specifications of the printer, etc.
[0027] <System Operation> 3 is a flowchart showing image processing. This image processing is realized by CPU 201 provided in host PC 200 and / or CPU 211 provided in printer 100 executing a program. In the following description, it is assumed that steps S300 to S302 are performed by host PC 200, and steps S303 to S305 are performed by printer 100. However, which steps are performed by host PC 200 and which steps are performed by printer 100 can be arbitrarily specified by the designer, and is not fixedly determined.
[0028] For example, if the host PC 200 performs steps up to quantization (S303), the quantized data may be configured to be transferred to the printer 100. Depending on the performance of the printer 100, it may also be possible to directly receive multi-value RGB image data and have the printer 100 perform steps S301 to S305.
[0029] In step S300 (image data input process), the CPU 201 inputs image data from the RAM 202. The image data is, for example, 8-bit luminance data for each of R (red), G (green), and B (blue) in a standardized color space such as sRGB.
[0030] In step S301 (color correction process), the CPU 201 executes color correction on the input image data. Here, the input image data is converted into 12-bit luminance data for each RGB color that corresponds to the color space specific to the printer. The signal value can be converted by a known method such as referring to a look-up table (LUT) stored in advance on a HDD or the like.
[0031] In step S302 (ink color separation process), the CPU 201 separates the RGB data obtained by the color correction process into color image data (density data) corresponding to the ink colors of the recording device. Here, 16-bit density data is generated for each of the ink colors C (cyan), M (magenta), Y (yellow), and K (black). That is, at this stage, a 16-bit image is generated for four channels (four colors). This ink color separation process can also be realized by referring to a lookup table (LUT) stored in advance in a ROM or the like, as in the color correction process (S301). The CMYK data obtained by the ink color separation process is sent to the printer 100 via the data transfer I / F 214.
[0032] In step S303 (quantization process), the CPU 211 performs quantization process on the CMYK data input from the host PC 200. At this time, the input 4-channel 16-bit density data is converted into multi-color data by a multi-color conversion processing unit 402 (described later) and then quantized.
[0033] Here, multi-color data refers to data for the zeroth through quaternary colors when the number of inks is four, CMYK. For example, a primary color is a color printed by using C, M, Y, and K inks alone (without overlapping), and a tertiary color is a color printed by overlapping three types of ink.
[0034] FIG. 6 is a diagram showing an example of multi-color data. Here, multi-color data is shown for a case where the number of inks is four, CMYK. There are four types of primary colors (C, M, Y, K) and six types of secondary colors (CM, CY, CK, MY, MK, YK). There are also four types of tertiary colors (CMY, CMK, CYK, MYK) and one type of quaternary color (CMYK). The zeroth color is paper white, on which no ink is applied, and is represented as W.
[0035] When multi-color data is quantized to, for example, two values, it is converted into 1-bit data that indicates recording (1) or non-recording (0). The details of the quantization process will be described later.
[0036] In step S304 (multiple color integration process), the CPU 211 integrates the quantized multi-color data and converts it into CMYK data. The details of the multi-color integration process will be described later.
[0037] In step S305 (data output process), the CPU 211 outputs the dot data as binary data to the RAM 212. As described above, the dot data (print data) stored in the RAM 212 is read by the head controller 215 and supplied to each nozzle row of the print heads 101 to 104. This causes the print heads 101 to 104 to eject ink, forming a color image on the print medium in which CMYK inks are superimposed.
[0038] <Quantization process details> Fig. 4 is a diagram showing the flow of data in the quantization process (S303). In the quantization process, first, processing related to the input value is performed, then processing related to the threshold value is performed, and finally, quantization processing using the dither method is performed. This series of processing is performed in parallel for each color (each channel). Each process will be described in detail below with reference to Fig. 4.
[0039] The image data acquisition unit 401 acquires 16-bit density data indicating the density of each pixel. Here, it is assumed that the image data acquisition unit 401 can receive up to 16-bit signals for eight colors. Fig. 4 shows a state in which 16-bit data for each of the first to fourth colors (C, M, Y, K) is input.
[0040] The multi-color conversion processing unit 402 converts the data corresponding to each ink color into multi-color data. The multi-color data is data for a total of 16 types (16 colors) from the zeroth color to the fourth color shown in FIG. 6. The multi-color conversion processing unit 402 will be described in detail later. The multi-color data is input to a dither processing unit 409.
[0041] The dither processing unit 409 transmits the multi-color data to be quantized (processing target data) as is to the quantization processing unit 405. On the other hand, the multi-color data of colors other than the processing target data is input to the color interprocessing unit 403 as reference data.
[0042] The color inter-processing unit 403 performs a predetermined process on the thresholds acquired by a threshold acquisition unit 404 (described later) based on reference data to determine final thresholds, and transmits the determined final thresholds to a quantization processing unit 405.
[0043] The quantization processing unit 405 compares the data to be processed with the threshold value input from the color inter-processing unit 403 to determine whether the data is to be recorded ("1") or not ("0").
[0044] The threshold acquisition unit 404 selects one corresponding threshold matrix from a plurality of dither patterns 408 stored in a memory such as a ROM, and acquires a threshold corresponding to the pixel position of the data to be processed. In this embodiment, the dither pattern 408 is a threshold matrix formed by arranging thresholds of 0 to 65534 so as to have blue noise characteristics. The dither pattern 408 can have various sizes and shapes, such as 512×512 pixels, 256×256 pixels, and 512×256 pixels. That is, a plurality of threshold matrices of different sizes and shapes are stored in advance in the memory, and the threshold acquisition unit 404 selects a given threshold matrix corresponding to the print mode from among them. Then, from the plurality of thresholds arranged in the selected threshold matrix, a threshold corresponding to the pixel position (x, y) of the data to be processed is provided to the color processing unit 403.
[0045] <Details of the multi-color conversion processing section> 8 is a block diagram showing the configuration of the multi-color conversion processing unit 402. First, a first normalization unit 801 normalizes the 16-bit density data acquired from the image data acquisition unit 401 to a value between 0 and 1. Specifically, the data is divided by 65535, which is the maximum value of a 16-bit value. Hereinafter, the normalized data will be represented as c, m, y, and k. Next, a probability calculation unit 802 calculates the generation probability of multi-color data from the normalized data. The following formula (1) is used for the calculation.
[0046] I i = c' × m' × y' × k' (1) Here, i = 1 to 16, and I iis the generation probability (occurrence probability) of the 16 types of multi-colors shown in Figure 6. Also, c' is I i If the color is a multi-color including C ink, it is c, otherwise it is (1-c). Similarly, m', y', and k' are the variables for I i If the multi-color includes M ink, Y ink, and K ink, the variables are m, y, and k, and if not, the variables are (1-m), (1-y), and (1-k). In other words, formula (1) is equivalent to the following formulas (1-1) to (1-16). W: I1=(1-c)(1-m)(1-y)(1-k) ···(1-1) C: I2=c(1-m)(1-y)(1-k) ···(1-2) M: I3=(1-c)m(1-y)(1-k) ···(1-3) Y: I4=(1-c)(1-m)y(1-k) ···(1-4) K: I5=(1-c)(1-m)(1-y)k ···(1-5) CM: I6=cm(1-y)(1-k) ···(1-6) CY: I7=c(1-m)y(1-k) ···(1-7) MY: I8=(1-c)my(1-k) ···(1-8) CK: I9=c(1-m)(1-y)k ···(1-9) MK: I 10 =(1-c)m(1-y)k (1-10) YK: I 11 =(1-c)(1-m)yk (1-11) CMY: I 12 = cmy(1-k) ···(1-12) CMK: I 13 = cm(1-y)k (1-13) CYK: I 14 = c(1-m)yk (1-14) MYK: I 15 =(1-c)myk (1-15) CMYK: I 16 =cmyk (1-16) In actual processing, the calculation of I1 is not necessary, but 16 This is written to clarify that the sum of is 1.
[0047] Next, the second normalization unit 803 calculates I1 to I 16 The generation probability of the multi-color is normalized to 16-bit gradation. Specifically, it is multiplied by 65535, which is the maximum value of 16-bit value.
[0048] This completes the multi-color conversion process, and the multi-color conversion processor 402 sends the multi-color data to the quantization processor 405 and inter-color processor 403 .
[0049] <Details of color processing> Fig. 5(a) is a block diagram showing the configuration of the inter-color processing unit 403. Fig. 5(b) is a flowchart of the inter-color processing. As described above, the inter-color processing is a process included in the quantization process (S303).
[0050] The inter-color processing unit 403 uses multinary color data other than the multinary color data to be processed as reference data, and performs a predetermined process on the threshold acquired by the threshold acquisition unit 404 using the reference data to calculate a threshold for quantizing the data to be processed. For ease of explanation, the following description will be given using an example in which multinary color data of five colors, In_1 to In_5, is acquired from the multinary color conversion processing unit 402.
[0051] In Fig. 5(a), the i-th (i = 1 to 5) processing target data among the five colors is shown as In_i(x, y). Here, (x, y) is the pixel position, and is a coordinate parameter for the threshold acquisition unit 404 to select a threshold corresponding to the pixel position of the processing target data from the threshold matrix. Note that, for ease of explanation, (x, y) may be omitted below.
[0052] Also, in Fig. 5(a), the reference data when processing the i-th color is shown as In_j(x, y), where j is an integer between 1 and i-1. For example, when processing the third multi-color data In_3, In_1 and In_2 are used as the reference data. Note that In_1 to In_5 are set in order of visual prominence (lowest lightness, highest density).
[0053] In step S 501 , the reference data In_j(x, y) is input to the threshold offset amount calculation unit 406 in the inter-color processing unit 403 .
[0054] In step S502, the threshold offset amount calculation unit 406 calculates a threshold offset Ofs_i(x,y) for the processing target data In_i(x,y) using the input reference data. Here, the threshold offset value Ofs_i(x,y) is calculated by the following formula. Ofs_i(x,y)=ΣIn_j(x,y) ···(2) Here, Σ represents the sum of 1 to j. Equation (2) is equivalent to the following equations (2-1) to (2-5). Ofs_1(x,y)=0 (2-1) Ofs_2(x,y)=In_1(x,y) ···(2-2) Ofs_3(x,y)=In_1(x,y)+In_2(x,y) ···(2-3) Ofs_4(x,y)=In_1(x,y)+In_2(x,y)+In_3(x,y) ···(2-4) Ofs_5(x,y)=In_1(x,y)+In_2(x,y)+In_3(x,y)+In_4(x,y) ···(2-5) The calculated threshold offset value Ofs_i(x, y) is output to threshold offset amount subtraction section 407 .
[0055] In step S503, the threshold offset amount subtractor 407 acquires, from the threshold acquisition unit 404, the threshold Dth corresponding to the coordinates (x, y) of the processing target data In_i(x, y).
[0056] In step S504, the threshold offset subtraction unit 407 subtracts the threshold offset value Ofs_i(x, y) input from the threshold offset calculation unit 406 from the threshold Dth(x, y) acquired from the threshold acquisition unit 404 to obtain the quantization threshold Dth_i(x, y). The obtained quantization threshold Dth_i(x, y) is output to the quantization processing unit 405. Dth_i(x,y)=Dth(x,y) - Ofs_i(x,y) ···(3) In this case, if Dth_i(x,y) is negative, Dth_max+1 is added to obtain the quantization threshold Dth_i(x,y). Dth_max is the maximum value of the threshold of the dither matrix. As a result, the quantization threshold Dth_i is always a value between 0 and Dth_max. In other words, when Dth_i(x,y)<0, Dth_i(x,y)=Dth_i(x,y)+(Dth_max+1) ···(4) Let us assume that.
[0057] In step S505, the quantization processor 405 compares the processing target data In_i(x, y) with the quantization threshold Dth_i(x, y) and determines whether to print (1) or not print (0) a dot at the pixel position (x, y).
[0058] FIG. 7 is a diagram for explaining the threshold range. Here, the threshold range means the range of thresholds (values before subtraction of offset amount) that are determined to be recording "1" among multiple thresholds (0 to Dth_max) arranged in a threshold matrix. The horizontal axis is the threshold Dth, and value 715 indicates the position of Dth_max. From the top of FIG. 7, the threshold ranges of the first to seventh colors (CMY, CM, CY, MY, C, M, Y) are shown.
[0059] In this example, for the first color, Ofs_1=0 according to formula (2-1). Therefore, pixel positions corresponding to thresholds 0 to In_1-1 (values 701 to 702) are set to record "1". Similarly, for the second color, Ofs_2=In_1 according to formula (2-2). Therefore, In_1 to In_1+In_2-1 (values 703 to 704) are set to record "1". Similarly, the record positions are set for up to the seventh color.
[0060] In this way, in inter-color processing, while using a common threshold matrix, a unique quantization threshold Dth_i is derived for each color by offsetting the input values of each other. By using the newly calculated quantization threshold Dth_i in the quantization process, dots can be arranged so that the dot recording pattern has blue noise characteristics even when multiple colors are mixed.
[0061] <Details of the multi-color integration processing section> The multi-color integration processing unit 410 integrates the quantized multi-color data into data for each ink. For example, the quantized data of the secondary color CM, which is a superimposed dot of C and M, is added to the quantized data of C and the quantized data of M, respectively.
[0062] <Advantages of the First Embodiment> 9 is a diagram showing an example of the result of inter-color processing in the conventional technology, specifically, an example in which the density data of 16 bits for each of the CMYK colors is C, M, Y, K=30840, 28270, 20560, 0 is shown.
[0063] Row 901 shows the number of multi-color dots formed on the recording medium when there is no relative misalignment between the colorants. The multi-color dots include single dots printed with a single colorant at the same position, and multiple dots printed with multiple colorants at the same position. In conventional inter-color processing, dots of each ink are placed exclusively, so the W (no dot) pixel is 0.
[0064] On the other hand, row 902 shows the number of multi-color dots formed on the print medium when there is a relative misalignment between color materials. Due to the misalignment, the number of pixels that become W (no dots) increases to 10,768. Also, the number of most multi-color dots changes significantly depending on whether or not there is misalignment. For this reason, in conventional inter-color processing, misalignment causes color fluctuations.
[0065] Fig. 10 is a diagram showing an example of the result of inter-color processing in the first embodiment. As in Fig. 9, an example is shown in which the 16-bit density data for each of the CMYK colors is C, M, Y, K = 30840, 28270, 20560, 0. Row 1001 shows the number of multi-color dots formed on the recording medium when there is no misalignment. Meanwhile, row 1002 shows the number of multi-color dots formed on the recording medium when there is misalignment.
[0066] It can be seen that the inter-color processing in the first embodiment suppresses the change in the number of multi-color dots due to the presence or absence of misalignment, compared to the conventional technology (FIG. 9). Therefore, even if misalignment occurs, color fluctuation can be suppressed.
[0067] In addition, since the color variation is suppressed regardless of the magnitude of the positional misalignment, color unevenness can be suppressed regardless of the phase of the meandering of the paper transport. In other words, it is also effective against color unevenness caused by paper meandering that occurs in a printing device having a recording head such as that shown in Figure 1(b).
[0068] Furthermore, as described above, in the quantization process of the first embodiment, dots are arranged so that the arrangement of multi-color data has blue noise characteristics. Therefore, compared to normal dithering that does not perform inter-color processing (uncorrelated), it is possible to improve graininess as well.
[0069] As described above, according to the first embodiment, CMYK data (density data) is converted into multi-color data and quantized. In particular, the printing dots are controlled so that they are arranged with high dispersion in ascending order of lightness (dense order) of the overlapping dots. This makes it possible to suppress changes in dot overlap caused by positional deviation, and improves graininess while suppressing color fluctuations in the printed image.
[0070] Second embodiment In the first embodiment, an example has been described in which color variations are suppressed by suppressing the change in the number of multi-color dots depending on the presence or absence of misregistration. However, misregistration does not always occur. For example, it may differ depending on printing conditions such as the type of recording medium and the conveying speed.
[0071] In the second embodiment, therefore, an example will be described in which information on the amount of misregistration is acquired and inter-color processing is changed based on the judgment result of the acquired amount of misregistration. Note that since the device configuration, system configuration, and operation are almost the same as those of the first embodiment, the following description will focus on the differences from the first embodiment.
[0072] <Quantization processing> 11 is a diagram showing the flow of data in the quantization process according to the second embodiment. This embodiment differs from the first embodiment (FIG. 4) in that a positional deviation acquisition unit 411 is added and information on the amount of positional deviation is provided to a multi-order color conversion processing unit 402. Therefore, the following will explain the positional deviation acquisition process and the multi-order color conversion process.
[0073] <Position deviation acquisition process> FIG. 12 is a flowchart showing the position deviation acquisition process.
[0074] In step S1200, the printer 100 acquires chart image data for acquiring positional deviation. FIG. 13(a) is a diagram showing an example of a chart for acquiring positional deviation. The chart 1300 is CMYK data (16 bits for each color). Each of the areas 1301 to 1306 is a patch with uniform gradation, and is composed of color data corresponding to six types of secondary colors (CM, CY, CK, MY, MK, YK). The data corresponding to each ink is 32767 (50% density of the 16-bit maximum value). In other words, the data for each secondary color is 65534 in total. The layout of the positional deviation acquisition chart 1300 is arbitrary, and the longitudinal direction of each area may be a patch along the y direction, as shown in FIG. 13(b).
[0075] In step S1201, the printer 100 prints the positional deviation acquisition chart. As described above, since the positional deviation acquisition chart is CMYK data, the process starts from the quantization process in S303 in the image processing flow shown in Fig. 3. Here, one chart is printed each for the case where the multi-color conversion process is performed and the case where the multi-color conversion process is not performed.
[0076] In a process flow that does not perform multi-order color conversion, the process by the multi-order color conversion processing unit 402 is skipped, and the CMYK data is sent to the quantization processing unit 405 and the inter-color processing unit 403. Alternatively, the multi-order color conversion processing unit 402 may use the following formulas (5-1) to (5-4) instead of formulas (1-2) to (1-5), and perform quantization processing with multi-order color data other than these set to 0. C: I2=c (5-1) M: I3=m (5-2) Y: I4=y (5-3) K: I5=k (5-4) In step S1202, the misalignment acquisition unit 411 scans each of the two printed charts with the scanner 107. The scanned images are RGB image data. In step S1203, the misalignment acquisition unit 411 calculates the color difference between the two scanned RGB images (i.e., the color difference of the generated colors). The color difference can be calculated by comparing the average RGB of six types of patches and using the sum of the squared errors of the R, G, and B channels. In step S1204, the misalignment acquisition unit 411 determines whether or not there is misalignment. Here, if any of the above-mentioned color differences is equal to or greater than a predetermined value T, it is determined that there is misalignment.
[0077] <Multi-color conversion processing> The multinary color conversion processing unit 402 changes the multinary color conversion process depending on the information on the presence or absence of misalignment acquired from the misalignment acquisition unit 411. Specifically, if the determination result is "misalignment exists", multinary color conversion is performed using the formula (1) as in the first embodiment. On the other hand, if the determination result is "misalignment does not exist", the formulas (5-1) to (5-4) are used. In other words, the multinary color conversion process is skipped.
[0078] <Effects of the second embodiment> As described above, according to the second embodiment, the necessity for the multi-color processing described in the first embodiment is judged depending on the presence or absence of misalignment. This makes it possible to effectively suppress changes in dot overlap caused by misalignment, and improves graininess while suppressing color variations in the printed image.
[0079] (Modification) In the second embodiment, an example of acquiring the amount of misalignment using the scanner 107 and the misalignment acquisition chart 1300 has been described, but the method of acquiring the misalignment is not limited to this. For example, a sensor that detects the conveying speed of the recording medium may be provided, and the amount of misalignment may be determined from a change in speed. Also, a table that holds the results of misalignment determination for each type of recording medium and conveying speed may be provided and referenced.
[0080] In the first and second embodiments, an example has been described in which the generation probability shown in Equation (1) is used as the multi-color conversion process in the multi-color conversion processing unit 402. However, the multi-color conversion process is not limited to this. For example, quantization using conventional inter-color processing may be performed once, and the generated quantized data of C, M, Y, and K may be shifted relative to each other in position, and the generated number of multi-color dots may be counted to calculate the amount of multi-color data generated. Similarly, the amount of multi-color data generated may be calculated by counting the number of multi-color dots from the result of quantization using four uncorrelated threshold matrices without performing inter-color processing.
[0081] In the above embodiment, an example has been described in which four colors of ink, C, M, Y, and K, are used. However, the type and number of inks are not limited to this. For example, light-colored inks with high brightness, such as gray (Gr), light cyan (Lc), and light magenta (Lm), may be used. Also, special color inks, such as red (R), green (G), and blue (B), may be used in combination.
[0082] Furthermore, in the above embodiment, an example of performing inter-color processing by subtracting an offset amount from a threshold value has been described, but the method of inter-color processing is not limited to this. For example, the two inter-color processing methods shown below produce the same result. Process 1 is the process described in the first embodiment. Process 2 adds an offset to an input value, quantizes it, and then subtracts the quantization result of the first color. (Process 1) Dth_2(x,y)=Dth(x,y)-Ofs_2(x,y) if In_2>Dth_2(x,y): Out_2=1 else: Out_2=0 (Process 2) In_2(x,y)=In_2(x,y)+Ofs_2(x,y) if In_2>Dth(x,y): Out_2=1 else: Out_2=0 Out_2=Out_2-Out_1 Since process 2 references the output results (Out_1) of other colors, it has the disadvantage that it cannot be processed in parallel, but equivalent results can be obtained in either process.
[0083] In the above embodiment, an example was described in which dither processing using a threshold matrix was used as the quantization processing, but the quantization processing method is not limited to this. For example, in a known error diffusion method, in a pixel where the quantization result of the first color is recorded as "1", an offset can be added to the threshold of the second color to achieve equivalent inter-color processing. However, since the output result (Out_1) of the other color is referenced, parallel processing is not possible.
[0084] In the above embodiment, the inkjet printer is described as an image processing device, but the image processing device may be only the host PC 200. In this case, for example, in the image processing shown in the flowchart of Fig. 3, all steps S300 to S305 are performed by the host PC 200, and the printer 100 only forms a color image based on the dot data.
[0085] (Other Examples) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0086] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0087] 100 printer; 200 host PC; 401 image data acquisition unit; 402 multi-color conversion processing unit; 403 color processing unit; 404 threshold acquisition unit; 405 quantization processing unit; 408 dither pattern; 409 dither processing unit; 410 multi-color integration processing unit
Claims
1. 1. An image processing device that generates data for recording an image on a recording medium using a plurality of color materials, a color separation unit for generating a plurality of color image data corresponding to the plurality of color materials based on the image data; a generating unit for generating multi-color data corresponding to the combination of the plurality of color materials based on the plurality of color image data; a quantization unit that generates quantized data corresponding to each of the plurality of color materials based on the multi-color data and a threshold matrix; Equipped with the generating means calculates a generation probability of each multi-order color based on the plurality of color image data generated based on the image data; The quantization means corrects a quantization threshold based on the calculated generation probability of each multi-order color, and generates the quantized data.
13. An image processing device comprising:
2. An image processing device that generates data for recording an image on a recording medium using a plurality of color materials, a color separation unit for generating a plurality of color image data corresponding to the plurality of color materials based on the image data; a generating unit for generating multi-color data corresponding to the combination of the plurality of color materials based on the plurality of color image data; a quantization unit that generates quantized data corresponding to each of the plurality of color materials based on the multi-color data and a threshold matrix; Equipped with The quantization means calculates a generation probability of each multi-order color by counting the number of times each multi-order color is generated based on the image data using the threshold matrix and based on a plurality of quantized data obtained by quantizing the plurality of color image data generated based on the image data, corrects a quantization threshold based on the calculated generation probability of each multi-order color, and generates the quantized data.
13. An image processing device comprising:
3. The quantization means generates quantized data such that recording dots corresponding to the multi-color data are exclusively arranged on the recording medium.
3. The image processing device according to claim 1, wherein the first and second inputs are input to the image processing device.
4. The quantization means generates quantization data such that the recording dots corresponding to the multi-color data are arranged with a higher dispersion as the dots of the multi-color dots have a higher density.
4. The image processing device according to claim 1, wherein the image processing device further comprises: a first input unit;
5. The quantization means generates first quantization data for each multi-order color based on the multi-order color data and the threshold matrix, and generates second quantization data for each color of the plurality of color materials based on the first quantization data.
5. The image processing device according to claim 1, wherein the image processing device further comprises: a first input unit;
6. 1. A method for controlling an image processing apparatus that generates data for recording an image on a recording medium using a plurality of color materials, comprising: a color separation step of generating a plurality of color image data corresponding to the plurality of color materials based on the image data; a generating step of generating multi-color data corresponding to the combination of the plurality of color materials based on the plurality of color image data; a quantization step of generating quantized data for each of the plurality of color materials based on the multi-color data and a threshold matrix; Including, In the generating step, a generation probability of each multi-order color is calculated based on the plurality of color image data generated based on the image data, In the quantization step, a quantization threshold is corrected based on the calculated generation probability of each multi-order color to generate the quantized data. A control method comprising:
7. A method for controlling an image processing apparatus that generates data for recording an image on a recording medium using a plurality of color materials, comprising: a color separation step of generating a plurality of color image data corresponding to the plurality of color materials based on the image data; a generating step of generating multi-color data corresponding to the combination of the plurality of color materials based on the plurality of color image data; a quantization step of generating quantized data for each of the plurality of color materials based on the multi-color data and a threshold matrix; Including, In the quantization step, the number of times each multi-order color is generated is counted based on a plurality of quantized data obtained by quantizing the plurality of color image data generated based on the image data using the threshold matrix, thereby calculating a generation probability of each multi-order color, correcting a quantization threshold based on the calculated generation probability of each multi-order color, and generating the quantized data. A control method comprising:
8. A program for causing a computer to execute the control method according to claim 6 or 7.
Citation Information
Patent Citations
Printer, printing method, and method of preparing dither mask
JP2010263618A
Image processing system, image processing method, program, and recording medium
JP2016140067A
Image processing device and image processing method
JP2016155373A
Image processor, image processing method, program and record medium
JP2017038127A
Image processing system, image processing method and program
JP2020022095A
