Color correction device, printing system, color correction method, and computer program
The color correction device and method address color turbidity and graininess in printing by selectively reducing non-target color components and applying spillover corrections, ensuring smooth color transitions and uniformity in printed materials.
Patent Information
- Application Number
- JP2023068306
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2024-10-31
AI Technical Summary
Conventional color correction technologies fail to adequately address color turbidity and graininess in printing by insufficient consideration of output value correction targets, leading to significant color jumps between corrected and adjacent colors.
A color correction device and method that includes a color conversion unit, a selection unit, and correction processes to convert input values in an input color space to an output color space, selectively reducing or suppressing non-target color components and applying spillover corrections based on the position of input values within a defined range.
The solution effectively reduces color turbidity and graininess by minimizing non-target color components in the output, ensuring smooth transitions and uniform color reproduction, particularly in printing on materials like cloth.
Smart Images

Figure 2024154489000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a color correction device, a printing system, a color correction method, and a computer program. [Background technology]
[0002] In a typical printing device, printing is performed using four types of color materials: C (cyan), M (magenta), Y (yellow), and K (black). When printing, a print data generating device such as a personal computer performs color conversion to convert input values in an input color space into output values in an output color space. In color conversion, a color component that does not exist in the input value may appear in the output value. For example, when attempting to print a patch formed only with cyan color materials, even if the input value is only the C component such as CMYK(90,0,0,0), the output value may include the M component and the Y component such as CMYK(89,1,2,0). Here, "CMYK(90,0,0,0)" means a color where C=90%, M=0, Y=0, and K=0. When a color component that does not exist in the input value appears in the output value in this way, the color may be perceived as muddy or grainy. To avoid this kind of muddiness and graininess, a technique known as "pure color retention" or "black retention" has long been known, which makes the output color represented by the output value a single color if the input color represented by the input value is a single color of either C, M, Y, or K.
[0003] Patent Document 1 discloses an image processing device that performs pure color processing. When an input color that is a primary or secondary color is multicolored by color conversion, this image processing device performs pure color processing to correct the output color to a primary or secondary color. In addition, the output color is corrected so that the color difference between the input color and the output color is reduced. The primary color processing in this conventional technology corresponds to "pure color preservation." [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-082360 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the conventional technology, there is a problem that the selection of the output value correction target in order to reduce color muddiness and graininess is not sufficiently devised. Also, in the conventional technology, there is a problem that a large jump may occur between the color to which the pure color processing is applied and its neighboring colors. [Means for solving the problem]
[0006] According to a first embodiment of the present disclosure, there is provided a color correction device, which includes a color conversion unit that converts an input value in an input color space into an output value in an output color space, a selection unit that accepts selection of one or more color components as a target color component among a plurality of color components used in a printing device, and a correction unit that executes a first correction process that corrects a first kind output value corresponding to the first kind input value so as to reduce the target color component when the input value is a first kind input value representing a color not including the target color component, and a second correction process that corrects a second kind output value corresponding to the second kind input value according to a position of the second kind input value within the ripple correction range when the input value is a second kind input value within a ripple correction range set around the first kind input value in the input color space.
[0007] According to a second embodiment of the present disclosure, a printing system including a color correction device and a printing device is provided. The color correction device includes a color conversion unit that converts an input value in an input color space into an output value in an output color space, a selection unit that accepts selection of one or more color components as a target color component among a plurality of color components used in the printing device, a correction unit that executes a first correction process that corrects a first kind output value corresponding to the first kind input value so as to reduce the target color component when the input value is a first kind input value representing a color not including the target color component, and a second correction process that corrects a second kind output value corresponding to the second kind input value according to a position of the second kind input value within the ripple correction range when the input value is a second kind input value within a ripple correction range set around the first kind input value in the input color space, and a print data generation unit that generates print data to be supplied to the printing device using the corrected output value corrected by the correction unit.
[0008] According to a third aspect of the present disclosure, there is provided a color correction method, which includes the steps of: (a) converting an input value in an input color space into an output value in an output color space; (b) accepting a selection of one or more color components as a target color component among a plurality of color components used in a printing device; (c) executing a first correction process for correcting a first type output value corresponding to the first type input value so as to reduce the target color component when the input value is a first type input value representing a color not including the target color component; and (d) executing a second correction process for correcting a second type output value corresponding to the second type input value according to a position of the second type input value within the ripple correction range when the input value is a second type input value within a ripple correction range set around the first type input value in the input color space.
[0009] According to a fourth aspect of the present disclosure, there is provided a computer program that causes a computer to execute: (a) a process of converting an input value in an input color space into an output value in an output color space; (b) a process of accepting selection of one or more color components as target color components among a plurality of color components used in a printing device; (c) a first correction process of correcting a first type output value corresponding to the first type input value so as to reduce the target color component when the input value is a first type input value representing a color not including the target color component; and (d) a second correction process of correcting a second type output value corresponding to the second type input value in accordance with a position of the second type input value within the ripple correction range when the input value is a second type input value within a ripple correction range set around the first type input value in the input color space. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is an explanatory diagram showing the configuration of a printing system. [Diagram 2] FIG. 1 is an explanatory diagram showing an example of the configuration of an image processing apparatus. [Diagram 3] FIG. 13 is an explanatory diagram showing another example of the configuration of the image processing device. [Figure 4] FIG. 13 is an explanatory diagram showing yet another example of the configuration of the image processing device. [Diagram 5] FIG. 4 is an explanatory diagram showing an example of a color conversion lookup table. [Figure 6] 11A and 11B are explanatory diagrams showing an example of graininess caused by color conversion and non-input color removal. [Figure 7] 1A and 1B are explanatory diagrams showing a comparison between conventional pure color preservation and non-input color removal of the present disclosure. [Figure 8] FIG. 11 is an explanatory diagram showing an example of selection of a target color component. [Figure 9] FIG. 11 is an explanatory diagram showing the range of spread correction when the C component is the target color component. [Figure 10] FIG. 13 is an explanatory diagram showing the maximum coordinate value of the range of spread correction when the C component is the target color component. [Figure 11] FIG. 11 is an explanatory diagram showing an example of correction coefficients for spread correction when the C component is a target color component. [Figure 12]11A and 11B are explanatory diagrams showing an example of non-input color removal and ripple correction processing when the C component is a target color component. [Figure 13] FIG. 11 is an explanatory diagram showing the range of spread correction when the Y component is the target color component. [Figure 14] FIG. 11 is an explanatory diagram showing the maximum coordinate value of the range of spread correction when the Y component is the target color component. [Figure 15] 11A and 11B are explanatory diagrams showing an example of non-input color removal and ripple correction processing when the Y component is the target color component. [Figure 16] FIG. 11 is an explanatory diagram showing the range of spread correction when the CY component is the target color component. [Figure 17] 11A and 11B are explanatory diagrams showing an example of non-input color removal and ripple correction processing when the CY component is a target color component. [Figure 18] 4 is a flowchart showing the overall procedure of a color correction process. [Figure 19] 5 is a flowchart showing the processing procedure of step S30 in the first embodiment. [Figure 20] 10 is a flowchart showing the processing procedure of step S30 in the second embodiment. [Figure 21] 10 is a flowchart showing the processing procedure of step S100 in the second embodiment. [Figure 22] FIG. 11 is an explanatory diagram showing an example of color correction processing in the second embodiment. [Figure 23] FIG. 13 is an explanatory diagram showing correction coefficients used in the third embodiment. [Figure 24] FIG. 13 is an explanatory diagram showing an example of color correction processing in the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] A. First embodiment: <Device configuration> 1 is an explanatory diagram showing the configuration of a printing system 500 according to an embodiment. The printing system 500 includes an image processing device 100, an input device 200, a display device 300, and a printing device 400. The image processing device 100 corresponds to the "color correction device" of the present disclosure.
[0012] The image processing device 100 includes a processor 101, a memory 102, an input / output interface 103, and an internal bus 104. The processor 101, the memory 102, and the input / output interface 103 are connected via the internal bus 104 to enable bidirectional communication. The memory 102 includes a volatile memory including a main memory and a video memory, and a non-volatile memory such as a hard disk and an SSD (Solid State Drive). The input device 200, the display device 300, and the printing device 400 are connected to the input / output interface 103 of the image processing device 100 by wired communication or wireless communication. The input device 200 is, for example, a keyboard or a mouse, and the display device 300 is, for example, a liquid crystal display. The input device 200 and the display device 300 may be integrated as a touch panel. The printing device 400 is, for example, an inkjet printer, and prints an image on a printing medium PM using multiple types of ink. The printing device 400 can be configured as a digital textile printing machine that prints an image on a printing medium PM made of fabric.
[0013] 2 is an explanatory diagram showing an example of the configuration of the image processing device 100. The image processing device 100 includes a color conversion unit 110, a correction unit 120, a selection unit 130, and a print data generation unit 140. The functions of each of these units are realized in software by the processor 101 executing a computer program PG pre-stored in the memory 102. However, some of the functions of each unit may be realized by hardware circuits.
[0014] The color conversion unit 110 executes a color conversion process that converts input values in an input color space into output values in an output color space using a color conversion lookup table 112. The color conversion lookup table 112 is created by combining an input profile IPF and an output profile OPF. The input profile IPF is an ICC profile used for color conversion from the input color space used in the input image data IM to a device-independent color space. The input color space is, for example, the RGB color space or the CMYK color space. The device-independent color space is, for example, the CIE-L* a * b * The input and output color spaces are the ICC color space and the CIE-XYZ color space. The output profile OPF is an ICC profile used for color conversion from a device-independent color space to the output color space for the printing device 400. As the output color space, various color spaces such as the CMYK color space and the CMYKRG color space can be used. The "CMYKRG color space" is a color space consisting of six color components: C (cyan), M (magenta), Y (yellow), K (black), R (red), and G (green). The colors in the output color space are also called "device colors." In the example of FIG. 2, both the input and output color spaces are the CMYK color space.
[0015] The correction unit 120 executes a color correction process, which will be described later. The color correction process includes a process of correcting an output value so as to reduce a target color component when an input value represents a color that does not include the target color component. The selection unit 130 accepts a user's selection of a target color component to be subjected to color correction. As the target color component, for example, one or more color components are selected from among a plurality of color components CMYK of device colors.
[0016] The print data generating unit 140 generates print data to be supplied to the printing device 400 using the corrected output value corrected by the correction unit 120. The print data generating unit 140 includes a plate separating unit 142 and a halftone processing unit 144. The plate separating unit 142 converts the output value of each pixel of the input image data IM converted by the color conversion unit 110 into density values of multiple color materials of the printing device 400. In the example of FIG. 2, the printing device 400 uses color materials Lc (light cyan) and Lm (light magenta) in addition to CMYK, and the plate separating unit 142 converts the output value CMYK of each pixel into density values of six color materials CMYKLcLm. The halftone processing unit 144 generates print data by performing halftone processing using the density value of each pixel after plate separation. The printing device 400 executes printing according to the print data transmitted from the print data generating unit 140.
[0017] 3 is an explanatory diagram showing another example of the configuration of the image processing device 100. In this example, the correction unit 120 corrects the output values CMYK converted by the color conversion unit 110, and transmits the corrected output values to the print data generation unit 140. In this case as well, one or more color components of the multiple color components CMYK of the device colors can be selected as target color components to be subjected to color correction.
[0018] 4 is an explanatory diagram showing yet another example of the configuration of the image processing device 100. In this example, the correction unit 120 corrects the density values of the color materials CMYKLcLm converted by the plate separation unit 142, and transmits the corrected density values to the halftone processing unit 144. In this case, the density values of the color materials CMYKLcLm correspond to the "output values after color conversion." In addition, one or more color materials of the six color materials CMYKLcLm can be selected as target color components to be subjected to color correction.
[0019] When the target color component is the Lc component, the Lc component itself does not exist in the input color space CMYK. In this case, one of the following two methods can be used to determine the value of the target color component Lc in the input value CMYK. (1) First Method A method in which, if the value of the C component of the input CMYK values is 0 or equal to or greater than a threshold, it is deemed that the input CMYK values do not contain the target color component Lc, and, if the value of the C component of the input CMYK values is a positive value less than the threshold, it is deemed that the input CMYK values contain the target color component Lc. The threshold can be, for example, a value between 15% and 25%. (2) Second Method A method in which the value of the target color component Lc in the input CMYK values is considered to be 0, regardless of the actual value of the input CMYK values. The selection unit 130 may be configured to accept a selection from a user as to which of these methods to use.
[0020] As can be seen from the examples of Figures 2 to 4, the "multiple color components used in the printing device" that can be selected as the target color components may be multiple color components of device colors, or multiple color components corresponding to multiple color materials of the printing device. However, the following mainly describes the case where the color components of device colors are selected as the target color components using the configuration described in Figure 2.
[0021] <Terminology> Input color: The color represented by the input value of the color transformation. Output color: The color represented by the output value of the color transform. - Pure color preservation: A type of color correction technology in which the output value of a color conversion when the input value contains only primary color components such as C, M, and Y is corrected to only contain the same primary color components as the input value. ·C retention: Cyan pure color retention. Non-input color removal: A type of first correction process according to the present disclosure, which is a color correction that removes color components from the output value that do not exist in the color represented by the input value. ·C Removal: Removal of non-input cyan color. Color removal plane: A plane defined by input values where one target color component is 0. Non-input color suppression: A type of first correction process according to the present disclosure, which is a color correction that reduces color components that do not exist in the color represented by the input value from the output value. · Ripple correction: A type of second correction process according to the present disclosure, which is a correction applied to output values corresponding to input values in the vicinity of an input value where the target color component is zero. -Ripple correction range: The range in the input color space that is subject to ripple correction. Target color component: The color component selected as the target for non-input color removal or non-input color suppression. Non-target color components: Color components to which non-input color removal or non-input color suppression was not applied. Primary input value: An input value that represents a color that does not contain the target color component, and the output value that corresponds to that input value is the target for non-input color removal or non-input color suppression processing. - Second type input value: Input value within the ripple correction range. Primary color: A color made up of one of the CMY components in subtractive color mixing. A color made up of one of the RGB components in additive color mixing. · Secondary color: A color made up of two color components. Tertiary color: A color made up of three color components. Pure K: Black expressed using only K, expressed as CMYK (0,0,0,k). Composite K: Black expressed using only the CMY components, expressed as CMYK (c, m, y, 0). Rich K: Black expressed using all CMYK components, expressed as CMYK (c, m, y, k).
[0022] In this disclosure, the range of each color component is 0 to 100%. White and black are expressed, for example, as follows: ·CMYK(0,0,0,0): White. CMYK(100,100,100,100): Black. RGB(0,0,0): Black. ·RGB(100,100,100): White.
[0023] <Color correction process details> FIG. 5 is an explanatory diagram showing an example of the color conversion lookup table 112. Here, it is assumed that both the input color space and the output color space are CMYK. In FIG. 5, the case of K=0 is assumed, and a three-dimensional color solid consisting of three color components CMY of the input value is drawn. This color solid has an origin of White (paper white) and is defined by three coordinate axes, the C axis, the M axis, and the Y axis, which are mutually orthogonal. A plurality of lattice points are set in the color solid. However, in FIG. 5, only the main lattice lines and lattice points are drawn for convenience of illustration. Each of the plurality of lattice points of the color solid represents an input color. The color conversion lookup table 112 is a table in which an output value is registered for an input value corresponding to the coordinate value of each lattice point. In this example, for the four grid points P1 to P4, the input values CMYK(0,0,0,0), CMYK(0,80,80,0), CMYK(0,50,100,0), and CMYK(70,0,0,0) and the corresponding output values CMYK(0,0,0,0), CMYK(2,78,77,0), CMYK(2,45,100,0), and CMYK(68,2,2,0) are shown. The input and output values for color conversion are CIE-L * a * b * Although the same color is represented in device-independent color spaces such as the RGB color space and the CIE-XYZ color space, color components that do not exist in the input values may appear in the output values. In this case, the image reproduced with the output values may become muddy or grainy.
[0024] FIG. 6 is an explanatory diagram showing an example of graininess caused by color conversion and removal of non-input colors. In this example, a first color patch CP1 expressed by the input value CMYK(0,80,80,0) of the lattice point P2 in FIG. 5 and a second color patch CP2 reproduced by the output value CMYK(2,78,77,0) after color conversion are depicted. The first color patch CP1 is composed of almost uniform secondary colors of magenta and yellow. On the other hand, the second color patch CP2 contains 2% of the C component in the output value, so the cyan ink dots are formed sparsely. In the second color patch CP2, color materials of color components that do not exist in the input value are mixed, so there is a possibility that the color may be perceived as muddy or grainy.
[0025] In particular, when the printing medium PM is made of cloth, color turbidity is a major problem. For example, when using a printing medium PM made of cloth to create printed matter such as POP (Point of Purchase advertising), posters, apparel, etc., the printed image is required to be uniform and smooth, so that color turbidity occurs in an image area having a uniform color, which is a problem. Therefore, when using a printing medium PM made of cloth, it is particularly desirable to suppress the occurrence of color turbidity.
[0026] Non-input color removal, which is one type of color correction according to the present disclosure, is a process for removing from an output value a target color component that is not included in a color represented by an input value. When the C component is selected as the target color component, applying non-input color removal to the output value CMYK(2, 78, 77, 0) removes the C component that is not included in the input value CMYK(0, 80, 80, 0) from the output value, and a corrected output value CMYK(0, 78, 77, 0) is obtained. The color patch CP3 reproduced with the corrected output value CMYK(0, 78, 77, 0) is reproduced with almost uniform secondary colors of magenta and yellow, so there is no color turbidity or graininess. As described later, non-input color removal can also be applied to primary colors and multi-order colors of tertiary or higher colors.
[0027] Fig. 7 is an explanatory diagram showing a comparison between conventional pure color preservation and non-input color removal of the present disclosure. Here, C preservation is depicted as an example of conventional pure color preservation. The input color targeted by C preservation is the color of the lattice point on the C axis indicated by the thick line in the upper left diagram of Fig. 7. C preservation is a correction that sets the output value at the lattice point of the input value CMYK(c,0,0,0) to CMYK(c',0,0,0).
[0028] FIG. 7 further illustrates target areas of C removal, M removal, and Y removal as non-input color removal according to the present disclosure. These non-input color removals are targeted at the input colors of the lattice points on the surface of the color solid. In the case of C removal, the lattice points whose input values have a C component of 0 are targeted, and the hatched MY surface is targeted for non-input color removal. This MY surface is called the "color removal plane CRPc." The color removal plane CRPc is a plane defined by input values whose C component is 0. In the example of FIG. 6 described above, when C removal is applied to the output value CMYK(2, 78, 77, 0), the C component not included in the input value CMYK(0, 80, 80, 0) is removed from the output value, and a corrected output value CMYK(0, 78, 77, 0) is obtained. The same applies to M removal and Y removal. That is, in M removal, the CY plane becomes the color removal plane CRPm, which is the target area for non-input color removal, and in Y removal, the CM plane becomes the color removal plane CRPy, which is the target area for non-input color removal. Note that since the CMYK color space is a four-dimensional color space, for example, the color removal plane CRPc, where the C component of the input value is 0, constitutes a hyperplane in the four-dimensional space. Since it is difficult to illustrate such a hyperplane, it is expressed as a surface in three-dimensional space in Figure 7.
[0029] In this disclosure, the user can arbitrarily select the target color component to be the target of non-input color removal. For example, when M removal and Y removal are used together, the M and Y components are removed from the output value of the grid point on the C axis, and only the C component remains.
[0030] By allowing the user to arbitrarily select the target color components for non-input color removal, it is possible to reduce problematic color muddiness and graininess. For example, when the goal is to reduce color muddiness as explained above in Figure 6, if the muddiness is caused by cyan, sufficient effects can be obtained by removing C. In this case, it is not necessary to select all of CMYK as the target color components, and it is sufficient to select only the C component as the target color component.
[0031] It is also possible to apply K removal, which sets K (black) as the target color component for non-input color removal. For example, when the input value CMYK(20, 20, 20, 0) is converted to the output value CMYK(18, 18, 18, 2) by color conversion, the corrected output value CMYK(18, 18, 18, 0) can be obtained by applying K removal. In this example, the input value CMYK(20, 20, 20, 0) is Composite K, but the output value CMYK(18, 18, 18, 2) is Rich K with K mixed in. When K removal is applied to this, the corrected output value CMYK(18, 18, 18, 0) becomes Composite K. As a result, by not using K ink, it is possible to express a uniform solid gray without graininess. This example is an example of applying non-input color removal to a tertiary color. However, in cases where the input value CMYK(80,80,80,0) is converted to the output value CMYK(30,30,30,60), applying K removal will result in the corrected output value being CMYK(30,30,30,0), resulting in a gray with a completely different density. Therefore, in such cases, it is preferable not to select the K component as the target color component.
[0032] FIG. 8 is an explanatory diagram showing an example of selection of a target color component. The selection unit 130 displays a selection window on the display device 300 to allow the user to select a target color component. In the first selection window W1a, cyan is selected as the target color component. This means that only the C component is selected as the target color component. The input values and output values of the processing example are shown at the bottom of the selection window W1a. "No option" is an example of an output value when non-input color removal is not applied, and "Current Settings" is an example of a corrected output value to which non-input color removal is applied to the selected target color component. In the processing example of the selection window W1a, non-input color removal is applied to the C component and corrected to 0. In the second selection window W1b, cyan, magenta, and yellow are selected as target color components. In the processing example of this selection window W1b, non-input color removal is applied to the C component and Y component and corrected to 0, respectively. The processing example may be omitted.
[0033] The non-input color removal of the present disclosure is also applicable to cases where the color materials used in the printing device 400 are other than CMYK. For example, assume that the printing device 400 executes printing using six color materials, namely C (cyan), M (magenta), Y (yellow), K (black), R (red), and G (green). In this case, any one or more color components of the six color components CMYKRG can be selected as the target color components for non-input color removal. Specifically, when an input value CMYKRG (10, 10, 10, 10, 0, 0) is converted to an output value CMYKRG (10, 10, 10, 10, 2, 2) by color conversion, if two or more color components including the R component and the G component are selected as the target color components, the output value can be corrected to CMYKRG (10, 10, 10, 10, 0, 0).
[0034] In general, when N is an integer equal to or greater than 3, it is preferable that the selection unit 130 is configured to accept the selection of any one to N color components as target color components among the N color components corresponding to the N color materials used in the printing device 400. In particular, it is preferable that three or more color components can be arbitrarily selected as target color components. In this way, color correction processing can be performed for a desired number of target color components from 1 to N.
[0035] 9 is an explanatory diagram showing the ripple correction range SCRc when the C component is the target color component. In FIG. 9, for simplicity, it is assumed that the input color space is the CMY color space. The same applies to other examples of the ripple correction range described later. However, the present disclosure is not limited to the case where the input color space is the CMY color space, and can be applied to any other input color space.
[0036] The spillover correction range SCRc is a range tangent to the color removal plane CRPc in the input color space. The color removal plane CRPc is a plane where the C component is 0. The spillover correction related to C removal is performed on the output value obtained by color-converting the input value present in the spillover correction range SCRc. The non-input color removal corresponds to the "first correction process" in this disclosure, and the spillover correction corresponds to the "second correction process" in this disclosure. Two input points P11 and P12 are illustrated in the spillover correction range SCRc. The input point P11 has coordinates (c, m, y) of (0, 0, 90) and is present on the color removal plane CRPc. The input point P12 has coordinates (c, m, y) of (10, 0, 90) and is present in the spillover correction range SCRc. At the bottom of FIG. 9, the spread correction range SCRc and input points P11 and P12 when the input color space is observed from three line-of-sight directions VD1, VD2, and VD3, respectively, are depicted.
[0037] 10 is an explanatory diagram showing the maximum coordinate value C_max of the ripple correction range SCRc when the C component is the target color component. The ripple correction range SCRc is set so as to extend to a position where the distance from the color removal plane CRPc is the maximum coordinate value C_max. The maximum coordinate value C_max is given by, for example, the following equation. C_max = min{(m+y), C_lim} …(q1) Here, C_max is the maximum value of the C coordinate value of the spread correction range SCRc that exists immediately above any grid position P(0,m,y) on the color removal plane CRPc, and C_lim is a preset limit value. The limit value C_lim is set to a value in the range of 20% to 50%, for example. In this embodiment, C_lim=50%.
[0038] In this way, it is preferable that the ripple correction range SCRc is set according to the total value (m+y) of the color components in the input values other than the target color component C. More specifically, it is preferable that the ripple correction range SCRc is set so that the distance from the color removal plane CRPc extends to a position equal to the smaller of the total value (m+y) of the color components in the input values other than the target color component C and a preset limit value C_lim.
[0039] The spillover correction range SCRc has a shape obtained by cutting a part of a rectangular parallelepiped with a height from the bottom surface C_lim, which is the color removal plane CRPc, with a slope SPc expressed as c=m+y. The first reason for cutting a part of the rectangular parallelepiped with a slope SPc is that the CMY component values are small near the origin of the color solid and the effect of spillover correction is small near the origin, so that the processing speed is prioritized and spillover correction near the origin is skipped. The second reason is that when multiple spillover correction ranges overlap, the content of the spillover correction becomes complicated, so that the area where the spillover correction ranges overlap is reduced. However, the spillover correction range SCRc is not limited to such a shape and may be set to any other shape. For example, the surface facing the color removal plane CRPc may be configured with only the slope SPc, or the slope SPc may be omitted and the spillover correction range SCRc may be a rectangular parallelepiped shape. However, by using a spillover correction range SCRc having a shape as shown in FIG. 10, it is possible to reduce overlap with the spillover correction ranges for other target color components, and to appropriately mitigate color jumps that occur due to non-input color removal.
[0040] Spillover correction is not applied to output values corresponding to input values that exist on the color removal plane CRPc, nor is it applied to output values corresponding to input values at a position whose distance from the color removal plane CRPc is the maximum coordinate value C_max. For example, since input point P11 is located on the color removal plane CRPc, spillover correction is not applied to the output value corresponding to input point P11, and non-input removal is applied. On the other hand, since input point P12 is not located on the color removal plane CRPc but within the spillover correction range SCRc, spillover correction is applied to the output value corresponding to input point P12.
[0041] The spread correction when the C component is the target color component can be executed, for example, according to the following formula. C_out* = C_out × F1(t) …(q2) t = C_in / C_max …(q3) Here, C_out is the value of the C component in the output value before the ripple correction, C_out* is the value of the C component after the ripple correction, C_in is the value of the C component in the input value, and F1(t) is a correction coefficient with t as a parameter.
[0042] FIG. 11 is an explanatory diagram showing an example of the correction coefficient F1(t) of the ripple correction when the C component is the target color component. The correction coefficient F1(t) is a coefficient less than 1 that increases as the value C_in of the target color component in the input value increases. For any input value present inside the ripple correction range SCRc, the closer the input value is to the color removal plane CRPc, the smaller the correction coefficient F1(t). Note that F1(0)=0, F1(1)=1. However, the point t=0 is on the color removal plane CRPc and is therefore not subject to the ripple correction. In addition, the point t=1 corresponds to the position where the distance from the color removal plane CRPc is the maximum coordinate value C_max, and is therefore not subject to the ripple correction. By applying the ripple correction using such a correction coefficient F1(t), it is possible to prevent a large jump from appearing in the color represented by the correction output value after the color correction.
[0043] 11, the correction coefficient F1(t) shows the characteristics of an upwardly convex curve, but it may show the characteristics of a downwardly convex curve or may show the characteristics of a straight line. However, if the correction coefficient F1(t) shows the characteristics of an upwardly convex curve, it is preferable in that color jumps are less visible.
[0044] It is also possible to carry out the propagation correction according to the following formula instead of the above formula (q2): C_out * = C_out + ΔC×(1- F1(t)) …(q4) Here, ΔC is the change in the C component due to non-input color removal, and is a negative value.
[0045] The above formula (q2) is a process for obtaining a correction value of the target color component by multiplying the value C_out of the target color component in the output value by a coefficient F1(t) less than 1 that increases as the value of the target color component in the input value increases. On the other hand, the above formula (q4) is a process for obtaining a correction value of the target color component by multiplying the change amount ΔC of the target color component removed by non-input color removal by a coefficient (1- F1(t)) less than 1 that decreases as the value of the target color component in the input value increases, and adding the multiplication result to the value C_out of the target color component in the output value. These two processes are equivalent to each other because they give the same result by adjusting the correction coefficient F1(t) in formulas (q2) and (q4) as necessary.
[0046] FIG. 12 is an explanatory diagram showing a processing example of non-input color removal and spillover correction when the C component is the target color component. The "corrected output value" is the output value to which non-input color removal and spillover correction have been applied. In the "corrected output value", the numbers in circles are the values of the color components changed by non-input color removal, and the numbers in bold frames are the values of the color components changed by spillover correction. Since the C component of the input value is 0 for input point P11, non-input color removal has been applied. Since input point P12 is within the spillover correction range SCRc, spillover correction has been applied. The difference between the color represented by the corrected output value of input point P11 and the color represented by the corrected output value of input point P12 is smaller than when spillover correction is not performed.
[0047] 12, the input value of the input point P11 corresponds to a "first kind of input value that represents a color that does not include the target color component," and the input value of the input point P12 corresponds to a "second kind of input value that is within the ripple correction range."
[0048] 13 is an explanatory diagram showing the ripple correction range SCRy when the Y component is the target color component. The ripple correction range SCRy is a range that is tangent to the color removal plane CRPy in the input color space. Two input points P21 and P22 are illustrated in the ripple correction range SCRy. The input point P21 has coordinates (c, m, y) of (0, 90, 0) and exists on the color removal plane CRPy. The input point P22 has coordinates (c, m, y) of (0, 90, 10) and exists within the ripple correction range SCRy.
[0049] 14 is an explanatory diagram showing the maximum coordinate value Y_max of the ripple correction range SCRy when the Y component is the target color component. The ripple correction range SCRy is set so as to extend to a position whose distance from the color removal plane CRPy is the maximum coordinate value Y_max. The maximum coordinate value Y_max is given by, for example, the following equation. Y_max = min{(c+m), Y_lim} …(q5) Here, Y_max is the maximum Y coordinate value of the spread correction range SCRy that exists immediately above any grid position P(c,m,0) on the color removal plane CRPy, and Y_lim is a preset limit value. The limit value Y_lim is set to a value in the range of 20% to 50%, for example. It is preferable that the limit value Y_lim is set to the same value as the limit value C_lim when the C component is the target color component. In this embodiment, Y_lim=50%.
[0050] In this way, it is preferable that the ripple correction range SCRy is set according to the total value (c+m) of the color components in the input values other than the target color component Y. More specifically, it is preferable that the ripple correction range SCRy is set so that the distance from the color removal plane CRPy extends to a position equal to the smaller of the total value (c+m) of the color components in the input values other than the target color component C and a preset limit value Y_lim.
[0051] The ripple correction range SCRy has a shape obtained by cutting a part of a rectangular parallelepiped whose base is the color removal plane CRPy and whose height from the base is Y_lim, by a slope SPy expressed as y = c + m. By applying ripple correction to input values that exist within such a ripple correction range SCRy, it is possible to mitigate color jumps that occur due to non-input color removal.
[0052] The spread correction when the Y component is the target color component can be executed, for example, according to the following formula. y_out* = y_out ×F1(t) …(q6) t = y_in / Y_max …(q7) Here, Y_out is the Y component value in the output value before the ripple correction, Y_out* is the Y component value after the ripple correction, Y_in is the Y component value in the input value, and F1(t) is the correction coefficient exemplified in FIG.
[0053] 15 is an explanatory diagram showing a processing example of non-input color removal and spillover correction when the Y component is the target color component. Since the Y component of the input value is 0 for input point P21, non-input color removal is applied. Since input point P22 is within the spillover correction range SCRy, spillover correction is applied. The difference between the color represented by the corrected output value of input point P21 and the color represented by the corrected output value of input point P22 is smaller than when spillover correction is not performed.
[0054] 15, the input value of the input point P21 corresponds to a "first kind of input value that represents a color that does not include the target color component," and the input value of the input point P22 corresponds to a "second kind of input value that is within the ripple correction range."
[0055] Fig. 16 is an explanatory diagram showing the ripple correction range SCR when the C component and the Y component are the target color components. The ripple correction range SCR corresponds to the range obtained by adding the ripple correction range SCRc for the C component and the ripple correction range SCRy for the Y component. Six input points P31 to P36 are illustrated in Fig. 16.
[0056] Fig. 17 is an explanatory diagram showing a processing example of non-input color removal and ripple correction when the C component and the Y component are the target color components. The application status of non-input color removal and ripple correction to the six input points P31 to P36 in Fig. 16 is as follows. (1) Input point P31: Since the C component of the input value is 0, non-input color removal is applied to the C component. (2) Input point P32: Since it is within the ripple correction range SCRc, ripple correction is applied to the C component. (3) Input point P33: Since the C and Y components of the input value are 0, non-input color removal is applied to the C and Y components. (4) Input point P34: The Y component of the input value is 0 and is within the ripple correction range SCRc, so non-input color removal is applied to the Y component and ripple correction is applied to the C component. (5) Input point P35: The C component of the input value is 0 and is within the ripple correction range SCRy, so non-input color removal is applied to the C component and ripple correction is applied to the Y component. (6) Input point P36: Since it exists in both the ripple correction range SCRc and the ripple correction range SCRy, ripple correction is applied to the C component and the Y component.
[0057] FIG. 17 further shows the processing results for two input points P37 and P38 that are not shown in FIG. (7) Input point P37: Like input point P36, input point P37 exists in both the ripple correction range SCRc and the ripple correction range SCRy, so ripple correction is applied to the C component and the Y component. However, since the distance of input point P37 from color removal plane CRPy is smaller than the distance from color removal plane CRPc, the correction coefficient of the Y component in the ripple correction is smaller than the correction coefficient of the C component. (8) Input point P38: Like input point P37, input point P38 exists in both the ripple correction range SCRc and the ripple correction range SCRy, so ripple correction is applied to the C component and the Y component. However, unlike input point P37, input point P38 is farther from the color removal plane CRPy than from the color removal plane CRPc, so the correction coefficient of the Y component in the ripple correction is greater than the correction coefficient of the C component.
[0058] Input points P36 to P38 are examples in which the ripple correction is applied to two color components. The ripple correction can be applied to three or more color components in the same manner. In general, when N is an integer of 2 or more, and when the target color components to be subjected to the first correction process are N color components, the ripple correction range is set to include N ripple correction ranges that are tangent to N color removal planes in which one of the N color components is zero. When M is an integer of 2 or more and N or less, when the position of the input value in the input color space is included in M ripple correction ranges out of the N ripple correction ranges, the output value is corrected so that the values of M color components out of the N color components are respectively corrected according to the position of the input value in the M ripple correction ranges.
[0059] As described above, at input point P34, non-input color elimination is applied to one target color component, and spillover correction is applied to another target color component. The same is true for input point P35. In this way, when multiple color components are selected as target color components, non-input color elimination and spillover correction may be applied simultaneously to an output value obtained from one input value. In this way, even when non-input color elimination is applied to multiple target color components, color jumps due to non-input color elimination can be mitigated.
[0060] In the above-mentioned Figures 9 to 17, both the input color space and the output color space are assumed to be CMY color spaces, but non-input color removal and ripple correction can also be applied when other color spaces such as CMYK color space, CMYKRG color space, RGB color space, etc. are used.
[0061] When the input color space and the output color space are each composed of n color components X1 to Xn, where n is an integer equal to or greater than 3, the ripple correction range for the target color component Xj can be defined as a range that extends to a position where the distance from the color removal plane where the target color component Xj is 0 is equal to the maximum coordinate value Xj_max given by the following equation. Xj_max = min{(ΣXi - Xj), Xj_lim} …(q8) Here, Xj_max is the maximum Xj coordinate value of the ripple correction range that exists immediately above any position on the color removal plane where the target color component Xj is 0, ΣXi is the sum of all color components X1 to Xn of the input value, Xj is the target color component of the input value, and Xj_lim is a preset limit value. The limit value Xj_lim is set to a value in the range of 20% to 50%, for example. This formula (q8) is a generalization of the above-mentioned formulas (q1) and (q5).
[0062] As shown in the above formula (q8), it is preferable that the ripple correction range is set according to the total value (ΣXi - Xj) of color components other than the target color component Xj in the input value. More specifically, it is preferable that the ripple correction range is set so that it extends to a position whose distance from the color removal plane is equal to the smaller of the total value (ΣXi - Xj) of color components other than the target color component Xj in the input value and a preset limit value Xj_lim.
[0063] The above equations (q2), (q3), (q6), and (q7) can be generalized as follows. Xj_out * = Xj_out × F1(t) …(q9) t = Xj_in / Xj_max …(q10) Here, Xj_out is the value of the target color component in the output value before the ripple correction, Xj_out* is the value of the target color component after the ripple correction, Xj_in is the value of the target color component in the input value, and F1(t) is the correction coefficient illustrated in FIG.
[0064] When the input color space is RGB and the output color space is CMYK, the values of the CMY components in the input value can be considered to be equal to the CMY values obtained by converting the input value RGB using the following conversion formula. Ci = (1 - Ri) …(q11) Mi = (1 - Gi) …(q12) Yi = (1 - Bi) …(q13) Here, Ri, Gi, Bi are the color components of the input value, and Ci, Mi, Yi are the CMY components corresponding to the RGB components of the input value. Ri, Gi, Bi and Ci, Mi, Yi are values in the range of 0 to 1, with the value "1" corresponding to 100%.
[0065] The value of the K component in the input RGB values can be determined by one of the following methods. (1) Method M1a: The value Ki of the K component in the input RGB values is determined according to the following formula: Ki = min(Ci, Mi, Yi) …(q14) (2) Method M1b: The K component is considered to be 0 regardless of the actual values of the input RGB.
[0066] The selection unit 130 may be configured to accept a selection of one of these methods M1a and M1b from a user.
[0067] Whether the input color represented by the input values Ri, Gi, Bi corresponds to a primary color, secondary color, or tertiary color is also determined by the above Ci, Mi, and Yi components. That is, if only one color component of the Ci, Mi, and Yi components obtained by converting any input values Ri, Gi, and Bi using formulas (q11) to (q13) is not 0 and the other two color components are 0, the input color represented by the input values is a "primary color." If only two color components of the Ci, Mi, and Yi components are not 0 and the other one color component is 0, the input color is a "secondary color." If none of the Ci, Mi, and Yi components are 0, the input color is a "tertiary color." In this way, even when the input color space is RGB, non-input color removal can be performed for various input colors from primary colors to tertiary colors.
[0068] When the input color space is CMYK and the output color space is RGB, the value of the CMY components corresponding to the output value can be considered to be equal to the CMY value obtained by converting the output value RGB using the following conversion formula: Co = (1 - Ro) …(q15) Mo = (1 - Go) …(q16) Yo = (1 - Bo) …(q17) Here, Ro, Go, Bo are the color components of the output value, and Co, Mo, Yo are the CMY components corresponding to the RGB components of the output value. Ro, Go, Bo and Co, Mo, Yo are values in the range of 0 to 1, and the value "1" corresponds to 100%.
[0069] The value of the K component in the output value RGB can be determined by one of the following methods. (1) Method M2a: The value Ko of the K component in the output value RGB is determined according to the following formula: Ko = min(Co, Mo, Yo) …(q18) (2) Method M2b: The K component of the output value is considered to be 0, regardless of the actual values of RGB.
[0070] The selection unit 130 may be configured to accept a selection of one of these methods M2a and M2b from a user.
[0071] The color components of the output values RGB corresponding to the CMY components whose values in the input values CMYK are 0 and whose values Co, Mo, Yo obtained by the formulas (q15) to (q17) are not 0 are corrected to 100% by non-input color removal. This correction is essentially equivalent to correcting the values of the CMY components selected as the target color components to zero. As can be seen from this example, a correction to increase the R component of the output values RGB is equivalent to a correction to decrease the C component, which is the target color component. Similarly, a correction to increase the G component of the output values RGB is equivalent to a correction to decrease the M component, which is the target color component, and a correction to increase the B component of the output values RGB is equivalent to a correction to decrease the Y component, which is the target color component.
[0072] <Processing Procedure> 18 is a flowchart showing the overall procedure of the color correction process. In step S10, the color conversion unit 110 combines the input profile IPF and the output profile OPF to create the color conversion lookup table 112. In step S20, the selection unit 130 accepts a selection of the target color components to be subjected to color correction from the user. The selection of the target color components is performed, for example, using the selection window shown in FIG. 8. In step S30, the correction unit 120 corrects the contents of the color conversion lookup table 112.
[0073] 19 is a flowchart showing the processing procedure of step S30 in the first embodiment. Here, it is assumed that the input color space is CMYK.
[0074] In step S31, the correction unit 120 selects one grid point of the color conversion lookup table 112. This process corresponds to a process of converting an input value in an input color space into an output value in an output color space. In step S32, the correction unit 120 judges whether or not the target color component is 0 in the input value CMYK of the selected grid point. If the target color component is not 0 in the input value CMYK, the process proceeds to step S34 described later. On the other hand, if the target color component is 0 in the input value CMYK, the process proceeds to step S33, where the correction unit 120 corrects the target color component of the output value. That is, the non-input color removal is applied to correct the target color component of the output value to 0. In step S34, the correction unit 120 judges whether or not the input value CMYK of the selected grid point is within the ripple correction range. If the input value is not within the ripple correction range, the process proceeds to step S36 described later. If the input value is within the ripple correction range, the process proceeds to step S35, where the correction unit 120 applies ripple correction to the output value corresponding to the input value. A corrected output value is obtained by the processing of steps S32 to S35. Correction unit 120 updates the output value of color conversion lookup table 112 with the corrected output value. In step S36, correction unit 120 determines whether or not the processing of steps S31 to S35 has been completed for all lattice points of color conversion lookup table 112. If there are lattice points that have not been processed, the process returns to step S31, and the processing of steps S31 to S35 is executed again. If the processing has been completed for all lattice points, the process of step S30 ends, and the process proceeds to step S40.
[0075] In step S40, the color conversion unit 110 performs color conversion of the input image data IM using the corrected color conversion lookup table 112. In step S50, the print data generation unit 140 creates print data using the color-converted image data, and transfers the print data to the printing device 400 for printing.
[0076] 18 and 19, color correction is performed on the lattice points of the color conversion lookup table 112, but instead, as shown in Figures 3 and 4, color correction may be performed on the output of the color conversion unit 110 or the output of the color separation unit 142. However, if color correction is performed on the lattice points of the color conversion lookup table 112, appropriate color conversion can be performed on a large number of input image data using the corrected color conversion lookup table 112. In addition, if color correction is performed on the lattice points of the color conversion lookup table 112, there is an advantage in that the processing speed is fast because it is not necessary to perform color correction for each pixel of the input image data.
[0077] According to the first embodiment described above, when the color represented by the input value does not include the target color component, the target color component in the output value is removed, so that the occurrence of color muddiness and graininess can be suppressed. In addition, since one or more target color components can be selected, correction processing can be performed for a desired number of target color components. In addition, since the ripple correction is applied to the output value corresponding to the input value that exists within the ripple correction range, it is possible to prevent a large jump in the color after correction.
[0078] B. Second embodiment: Fig. 20 is a flowchart showing the processing procedure of step S30 in the second embodiment. The device configurations shown in Figs. 1 and 2 are the same as those in the first embodiment. The overall processing procedure shown in Fig. 18 is also the same as that in the first embodiment. The processing procedure in Fig. 20 is obtained by adding step S100 between steps S35 and S36 of the processing procedure shown in Fig. 19, and the other steps are the same as those in Fig. 19.
[0079] In step S100, the correction unit 120 corrects the non-target color components for the output values to which at least one of non-input color removal and spillover correction has been applied. Here, the "non-target color components" refer to color components to which non-input color removal or spillover correction has not been applied. Note that color components whose input values are 0 may be excluded from the target of the non-target color component correction. In other words, the target of the non-target color component correction may be color components whose input values are not 0 among color components to which non-input color removal or spillover correction has not been applied. The correction of the non-target color components in step S100 is performed so as to reduce the color change caused by color correction including at least one of non-input color removal and spillover correction. The correction of the non-target color components can be performed using various calculations. For example, a calculation of multiplying a value before correction by a positive coefficient may be used. Alternatively, a calculation of adding or subtracting a fixed value to a value before correction may be used. The corrected value may be determined in the following procedure.
[0080] FIG. 21 is a flowchart showing the processing procedure of step S100 in the second embodiment. In step S110, the correction unit 120 obtains Lab values for output values before correction. The "Lab values" refer to L*a*b* values in the CIE-L*a*b* color system. The processing of step S110 can be executed by inverse conversion using the output profile OPF. In step S120, the correction unit 120 determines candidate values for the correction results of the non-target color component correction. The initial values of the candidate values may be any values. In step S130, the correction unit 120 obtains Lab values for the candidate values. This processing can also be executed by inverse conversion using the output profile OPF. In step S140, the correction unit 120 calculates color differences from the Lab values obtained in step S110 and the Lab values obtained in step S130. In step S150, the correction unit 120 determines whether a preset end condition is satisfied. The termination condition may be, for example, that the color difference is equal to or less than a preset allowable value. Alternatively, the number of times the processes of steps S120 to S140 are executed reaches or exceeds a preset upper limit. If the termination condition is not met, the process returns to step S120, and the processes of steps S120 to S150 are executed again. At this time, in step S120, the next candidate value is searched for. The search for the candidate value may be performed using an optimization algorithm. If the termination condition is met, the process proceeds to step S160, and the correction unit 120 adopts the optimal candidate value as the correction output value. As the "optimal candidate value," for example, the one with the smallest color difference is selected from among the multiple candidate values.
[0081] In the process of FIG. 21 described above, the correction output value was determined so as to reduce the color difference, but instead, the correction output value may be determined so as to reduce the difference in at least one of the saturation, lightness, and hue.
[0082] FIG. 22 is an explanatory diagram showing an example of color correction processing in the second embodiment. This example corresponds to the result of adding the correction of non-target color components in step S100 to the processing example shown in FIG. 17. In the correction output value, the number surrounded by a double frame is the value of the color component changed by the correction of the non-target color component. In this example, all color components to which non-input color removal or spillover correction has not been applied are subject to the non-target color component correction. The non-target color component correction is performed to reduce the color change caused by color correction including at least one of non-input color removal and spillover correction. By correcting the non-target color components in this way, it is possible to prevent the color from being excessively different due to the non-input color removal or spillover correction of the target color component. Specifically, it is possible to reduce the color difference between the colors before and after the color correction, or the difference in at least one of saturation, lightness, and hue.
[0083] The second embodiment has the same effects as the first embodiment. Furthermore, in the second embodiment, the change in color due to correction can be reduced.
[0084] C. Third embodiment: In the above-mentioned first and second embodiments, non-input color removal is performed on the target color components, but in the third embodiment, non-input color suppression is performed instead of non-input color removal. "Non-input color suppression" is a color correction that reduces target color components that do not exist in the color represented by the input value from the output value. In non-input color suppression, it is preferable to reduce the value of the target color component and change it to a correction value that is not zero.
[0085] The correction value of the target color component after non-input color suppression is calculated, for example, by the following formula. Dc = min( k1 × Do, Dmax) …(q19) Here, Dc is the correction value of the target color component, Do is the value of the target color component before correction, min() is a function that selects and outputs the smaller value, k1 is a positive coefficient less than 1, and Dmax is the upper limit. The upper limit value Dmax is set in advance as a value at which color muddiness and graininess are not perceived. A rounding operation such as rounding up, rounding down, or rounding off to the nearest integer may be applied to the result of k1 × Do. By applying rounding up as the rounding operation, the correction value Dc of the target color component can be made a positive value other than 0.
[0086] For example, assume that the target color component is C, the input value of the color conversion is CMY(0,0,90), and the output value is CMY(4,4,86). In this case, if the non-input color removal described in the first embodiment is applied, the corrected output value becomes CMY(0,4,86). On the other hand, if the non-input color suppression of k1=0.5, Dmax=3[%] is applied, the corrected output value becomes CMY(2,4,86), and the C component is reduced to a non-zero value.
[0087] The upper limit value Dmax at which color turbidity or graininess is not perceived may be stored in the output profile OPF. Alternatively, the upper limit value Dmax may be obtained in association with the printing device 400, or may be set by the user. The manufacturer or user of the printing device 400 can actually perform printing and set an upper limit value Dmax that is evaluated as being acceptable.
[0088] When the target color components are CMY and the output color space is RGB, non-input color suppression is a process of increasing the RGB values corresponding to the target color components CMY.
[0089] When non-input color suppression is applied, if the input color does not contain a target color component, the target color component of the output color is reduced, resulting in a printed product with less color turbidity and graininess. When non-input color removal described in the first embodiment is applied, the color difference between the input color and the output color may become large. On the other hand, when non-input color suppression is applied, the color difference between the input color and the output color can be reduced compared to non-input color removal. When non-input color suppression is applied, the correction related to the non-target color component described in the second embodiment may also be applied at the same time.
[0090] When non-input color suppression is applied to the target color component, the spread correction of the target color component is performed according to the following equation, instead of the above equations (q9) and (q10). Xj_out * = Xj_out × F2(t) …(q20) F2(t) = (1 - Dc / Do) × F1(t) + (Dc / Do) …(q21) t = Xj_in / Xj_max …(q22)
[0091] FIG. 23 is an explanatory diagram showing the correction coefficient F2(t) given by the above formula (q21). This correction coefficient F2(t) corresponds to the range of the value of the correction coefficient F1(t) shown in FIG. 11 compressed by a factor of (1 - Dc / Do) and further added with (Dc / Do). FIG. 23 also shows a graph of the correction coefficient F1(t) shown in FIG. 11. It can be seen that the value of the correction coefficient F2(t) is larger than the value of the correction coefficient F1(t) for the same parameter t. By using such a correction coefficient F2(t), color correction can be performed so that there is a smooth change between the colors to which non-input color suppression is applied and the colors to which ripple correction is applied.
[0092] Fig. 24 is an explanatory diagram showing an example of color correction processing in the third embodiment. The device configurations shown in Figs. 1 and 2 are the same as those in the first embodiment. The overall procedure of the processing shown in Fig. 18 is also the same as that in the first embodiment. The example in Fig. 24 corresponds to the result of applying non-input color suppression according to the above formula (q19) instead of non-input color removal in the example shown in Fig. 17, and applying ripple correction according to the above formulas (q20) to (q22). In this example, k1=0.5, Dmax=3[%].
[0093] The following equation may be used instead of the above equation (q19). Dc = k1 × Do …(q23) Even when this formula (q23) is used, non-input color suppression, which reduces the value of the target color component in the output value, can be realized.
[0094] The above formulas (q19) and (q23) both correspond to a calculation that obtains a correction value Dc by multiplying the value Do of the target color component in the output value by a positive coefficient k1 that is less than 1. By correcting the value of the target color component by such a calculation, it is possible to suppress the occurrence of color muddiness and graininess, and also to reduce color changes due to correction of the output value.
[0095] According to the third embodiment, when the color represented by the input value does not contain the target color component, the target color component in the output value is reduced, thereby suppressing the occurrence of color muddiness and graininess, and also reducing color changes due to correction of the output value.
[0096] Other forms: The present disclosure is not limited to the above-mentioned embodiment, and can be realized in various forms without departing from the spirit of the present disclosure. For example, the present disclosure can be realized in the following forms. The technical features in the above-mentioned embodiments corresponding to the technical features in each form described below can be appropriately replaced or combined in order to solve some or all of the problems of the present disclosure, or to achieve some or all of the effects of the present disclosure. Furthermore, if the technical feature is not described as essential in this specification, it can be appropriately deleted.
[0097] (1) According to a first aspect of the present disclosure, there is provided a color correction device, comprising: a color conversion unit that converts an input value in an input color space into an output value in an output color space; a selection unit that accepts selection of one or more color components as a target color component among a plurality of color components used in a printing device; and a correction unit that executes: a first correction process that corrects a first type output value corresponding to the first type input value so as to reduce the target color component when the input value is a first type input value representing a color not including the target color component; and a second correction process that corrects a second type output value corresponding to the second type input value in accordance with a position of the second type input value within the ripple correction range when the input value is a second type input value within a ripple correction range set around the first type input value in the input color space. According to this color correction device, when the color represented by the input value does not include the target color component, the target color component in the output value is reduced, thereby suppressing the occurrence of color muddiness and graininess. In addition, since one or more target color components can be selected, correction processing can be performed for a desired number of target color components. In addition, appropriate corrections are applied to the output value for the first type input value representing a color that does not include the target color component and the second type input value within the ripple correction range set around the first type input value, respectively, thereby preventing large jumps in the color after correction.
[0098] (2) In the above color correction device, the second correction process may be a process of correcting the second type output value by multiplying the value of the target color component by a coefficient less than 1 that increases as the value of the target color component in the second type input value increases. This color correction device can prevent large jumps from occurring between the color represented by the corrected output value obtained by correcting the output value of a first type of input value and the color represented by the corrected output value obtained by correcting the output value of a second type of input value.
[0099] (3) In the color correction device, the range of ripple correction may be set in accordance with a total value of color components other than the target color component in the first kind of input value. According to this color correction device, the range of the ripple correction can be set to an appropriate range.
[0100] (4) In the above color correction device, the ripple correction range may be set to be tangent to a color removal plane where the target color component is zero, and to extend to a position whose distance from the color removal plane is equal to the smaller of a total value of color components other than the target color component in the first type input value and a preset limit value. According to this color correction device, the range of the ripple correction can be set to an appropriate range.
[0101] (5) In the above color correction device, when N is an integer equal to or greater than 2, if the target color components to be subjected to the first correction process are N color components, the spillover correction range may include N spillover correction ranges tangent to N color removal planes in which one of the N color components is zero. According to this color correction device, N spread correction ranges can be appropriately set for N color components.
[0102] (6) In the above color correction device, when M is an integer between 2 and N, inclusive, when a position of the second type input value in the input color space is included in M of the N ripple correction ranges, the second type output value may be corrected such that values of M of the N color components are corrected according to the position of the second type input value within the M ripple correction ranges. According to this color correction device, it is possible to appropriately perform the ripple correction for the M color components.
[0103] (7) In the above color correction device, the correction of the first kind output value that reduces the target color component may be a process of correcting the first kind output value so as to change the value of the target color component to a correction value that is not zero. This color correction device can reduce color changes caused by output value correction.
[0104] (8) In the above color correction device, the correction unit may further reduce a color difference before and after correction by correcting output value components corresponding to color components other than the target color component among the plurality of color components, for each of the first kind output value and the second kind output value. This color correction device can prevent colors from becoming excessively different due to correction.
[0105] (9) In the above color correction device, the color conversion unit may include a color conversion lookup table that converts the input color space to the output color space, and the correction unit may perform the first correction process and the second correction process on the color conversion lookup table. According to this color correction device, appropriate color conversion can be performed using the corrected color conversion lookup table.
[0106] (10) According to a second aspect of the present disclosure, a printing system is provided that includes a color correction device and a printing device. The color correction device includes a color conversion unit that converts an input value in an input color space into an output value in an output color space, a selection unit that accepts selection of one or more color components as a target color component among a plurality of color components used in the printing device, a correction unit that executes a first correction process that corrects a first type output value corresponding to the first type input value so as to reduce the target color component when the input value is a first type input value representing a color not including the target color component, and a second correction process that corrects a second type output value corresponding to the second type input value according to a position of the second type input value within the ripple correction range when the input value is a second type input value within a ripple correction range set around the first type input value in the input color space, and a print data generation unit that generates print data to be supplied to the printing device using the corrected output value corrected by the correction unit.
[0107] (11) According to a third aspect of the present disclosure, there is provided a color correction method, which includes the steps of: (a) converting an input value in an input color space into an output value in an output color space; (b) accepting a selection of one or more color components as a target color component among a plurality of color components used in a printing device; (c) executing a first correction process to correct a first type output value corresponding to the first type input value so as to reduce the target color component when the input value is a first type input value representing a color not including the target color component; and (d) executing a second correction process to correct a second type output value corresponding to the second type input value in accordance with a position of the second type input value within the ripple correction range when the input value is a second type input value within a ripple correction range set around the first type input value in the input color space.
[0108] (12) According to a fourth aspect of the present disclosure, there is provided a computer program that causes a computer to execute: (a) a process of converting an input value in an input color space into an output value in an output color space; (b) a process of accepting selection of one or more color components as target color components among a plurality of color components used in a printing device; (c) a first correction process of correcting a first type output value corresponding to the first type input value so as to reduce the target color component when the input value is a first type input value representing a color not including the target color component; and (d) a second correction process of correcting a second type output value corresponding to the second type input value in accordance with a position of the second type input value within the ripple correction range when the input value is a second type input value within a ripple correction range set around the first type input value in the input color space.
[0109] The present disclosure may be realized in various forms other than an image processing device, a printing system, and a computer program, for example, an image processing method, a non-transitory storage medium on which a computer program is recorded, and the like. [Explanation of symbols]
[0110] 100...image processing device, 101...processor, 102...memory, 103...input / output interface, 104...internal bus, 110...color conversion unit, 112...color conversion lookup table, 120...correction unit, 130...selection unit, 140...print data generation unit, 142...plate separation unit, 144...halftone processing unit, 200...input device, 300...display device, 400...printing device, 500...printing system
Claims
1. 1. A color correction device, comprising: a color conversion unit for converting an input value in an input color space into an output value in an output color space; a selection unit that accepts selection of one or more color components as target color components from among a plurality of color components used in the printing device; a correction unit that executes: a first correction process that corrects a first kind output value corresponding to the first kind input value so as to reduce the target color component, when the input value is a first kind input value that represents a color that does not include the target color component; and a second correction process that corrects a second kind output value corresponding to the second kind input value in accordance with a position of the second kind input value within the spillover correction range, when the input value is a second kind input value that is within a spillover correction range that is set around the first kind input value in the input color space; A color correction device comprising:
2. 2. The color correction device of claim 1, The second correction process is a process of correcting the second type output value by multiplying the value of the target color component by a coefficient less than 1 that increases as the value of the target color component in the second type input value increases.
3. 2. The color correction device of claim 1, The color correction device, wherein the ripple correction range is set according to a total value of color components other than the target color component in the first kind of input value.
4. 4. A color correction device according to claim 3, a color correction device, wherein the ripple correction range is tangent to a color removal plane where the target color component is zero, and is set so that the distance from the color removal plane extends to a position equal to the smaller of the total value of color components other than the target color component in the first type input value and a preset limit value.
5. 2. The color correction device of claim 1, a color correction device, wherein, when N is an integer equal to or greater than 2, the target color components that are the subject of the first correction process are N color components, the spillover correction range includes N spillover correction ranges that are tangent to N color removal planes in which one of the N color components is zero.
6. 6. A color correction device according to claim 5, a color correction device, wherein, when M is an integer greater than or equal to 2 and less than or equal to N, when the position of the second type input value in the input color space is included in M of the N ripple correction ranges, the second type output value is corrected such that values of M of the N color components are each corrected in accordance with the position of the second type input value within the M ripple correction ranges.
7. 2. The color correction device of claim 1, A color correction device, wherein the correction of the first type output value to reduce the target color component is a process of correcting the first type output value so as to change the value of the target color component to a correction value other than zero.
8. 2. The color correction device of claim 1, The correction unit further corrects output value components corresponding to color components other than the target color component among the plurality of color components for each of the first type output value and the second type output value, thereby reducing the color difference before and after correction.
9. 2. The color correction device of claim 1, the color conversion unit includes a color conversion lookup table that converts the input color space into the output color space; The correction unit executes the first correction process and the second correction process on the color conversion lookup table.
10. A printing system including a color correction device and a printing device, The color correction device comprises: a color conversion unit for converting an input value in an input color space into an output value in an output color space; a selection unit that accepts selection of one or more color components as target color components from among a plurality of color components used in the printing device; a correction unit that executes: a first correction process that corrects a first kind output value corresponding to the first kind input value so as to reduce the target color component, when the input value is a first kind input value that represents a color that does not include the target color component; and a second correction process that corrects a second kind output value corresponding to the second kind input value in accordance with a position of the second kind input value within the spillover correction range, when the input value is a second kind input value that is within a spillover correction range that is set around the first kind input value in the input color space; a print data generating unit that generates print data to be supplied to the printing device using the corrected output value corrected by the correction unit; A printing system comprising:
11. 1. A color correction method, comprising: (a) converting input values in an input color space into output values in an output color space; (b) accepting a selection of one or more color components as target color components from among a plurality of color components used in the printing device; (c) executing a first correction process for correcting a first type output value corresponding to the first type input value so as to reduce the target color component when the input value is a first type input value representing a color not including the target color component; (d) executing a second correction process in which, when the input value is a second kind of input value within a ripple correction range set around the first kind of input value in the input color space, a second kind of output value corresponding to the second kind of input value is corrected in accordance with a position of the second kind of input value within the ripple correction range; A color correction method comprising:
12. A computer program comprising: (a) converting input values in an input color space into output values in an output color space; (b) accepting a selection of one or more color components as target color components from among a plurality of color components used in the printing device; (c) a first correction process for correcting a first kind output value corresponding to the first kind input value so as to reduce the target color component when the input value is a first kind input value representing a color not including the target color component; (d) a second correction process that, when the input value is a second kind input value that is within a ripple correction range that is set around the first kind input value in the input color space, corrects a second kind output value that corresponds to the second kind input value in accordance with a position of the second kind input value within the ripple correction range; A computer program that causes a computer to execute the following:
Citation Information
Patent Citations
Image processing apparatus, image processing method, and program for creating image processing parameter
JP2018082360A
