CN110851094B - Printer color cycle correction method, device, equipment and storage medium - Google Patents
Printer color cycle correction method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110851094B CN110851094B CN201911179126.9A CN201911179126A CN110851094B CN 110851094 B CN110851094 B CN 110851094B CN 201911179126 A CN201911179126 A CN 201911179126A CN 110851094 B CN110851094 B CN 110851094B
- Authority
- CN
- China
- Prior art keywords
- color
- lab
- target image
- lookup table
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1208—Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1242—Image or content composition onto a page
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Color Image Communication Systems (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
The invention discloses a printer color cycle correction method, device, equipment and storage medium, and relates to the field of printer color tubes. The printer color cycle correction method of the invention comprises the following steps: generating an original color target image; obtaining an LAB calculated value and an LAB printing measured value; generating a multidimensional lookup table; the multidimensional lookup table is modified. The printer color cycle correction device of the present invention includes: the system comprises an image generation module, a numerical value acquisition module, a multidimensional lookup table production module and a multidimensional lookup table correction module. The invention relates to a color cycle correction device of a graph printer, which comprises a processor, a memory and computer program instructions stored in the memory. The storage medium of the present invention has computer program instructions stored thereon. The invention discloses a printer color cycle correction method, a device, equipment and a storage medium, which are used for solving the technical problems that the color conversion precision is low and the printer cannot restore the color effect of an original image in the existing color difference management technology.
Description
Technical Field
The invention relates to the field of printer color tubes, in particular to a printer color cycle correction method, a device, equipment and a storage medium.
Background
With the development of digital printing, there is an increasing demand for color management, which controls the optimal color effect that can be exhibited by a printer. Currently, color management is mainly divided into three steps: the device calibration, the device characteristics and the color conversion are commonly called linearization calibration, so that various types of ink characteristics can be effectively controlled and output into linear output, the gray balance of data superposition can be ensured, and the color effect is improved to a certain extent; the device characteristics mainly comprise that a series of color block images are printed and measurement data of the color block images are obtained by scanning on the premise that device calibration is completed, so that color gamut information of the whole device is established; the color conversion mainly means that the relative relation between the target color gamut and the printer color gamut is established according to the characteristics of the device, so that the effect that the device prints out the target color gamut can be achieved. In the three steps described above, the degree of restoration of color management is mainly dependent on color conversion.
However, in the prior art, the color conversion precision between the target color gamut and the printer color gamut is low, so that the color difference between the printing effect and the original image is overlarge, and the printer cannot restore the color effect of the original image.
Disclosure of Invention
The invention provides a printer color cycle correction method, device, equipment and storage equipment, which are used for solving the technical problems that the color conversion precision is low and the printer cannot restore the color effect of an original image in the existing color difference management technology.
In a first aspect, the present invention provides a method for correcting a color cycle of a printer, the method comprising:
S1, generating an original color target image;
S2, obtaining LAB calculated values and LAB printing measured values of all color blocks in the original color target image;
S3, generating a multidimensional lookup table according to the LAB calculated value and the LAB printing measured value of each color block;
s4, correcting the multidimensional lookup table according to the preset color difference value and the original color target image.
Preferably, the step S4 of correcting the multidimensional lookup table according to the preset color difference value and the original color target image includes:
s41, generating an intermediate color target image according to the original color target image and the multidimensional lookup table;
S42, comparing the LAB printing measured value of each color block of the intermediate color target image with the LAB calculated value of each color block corresponding to the original color target image;
S43, correcting the multidimensional lookup table according to the color difference value to obtain a corrected multidimensional lookup table;
s44, repeating the steps S41 to S43 until the color difference value is smaller than a preset color difference value.
Preferably, the step S42 of comparing the LAB print measurement value of each color patch of the intermediate color target image with the LAB calculation value of each color patch corresponding to the original color target image to obtain the color difference value includes:
S421, obtaining LAB printing measured values Lm, am and Bm of each color block of the intermediate color target image;
S422, obtaining LAB calculated values Lc, ac and Bc of each color block in the original color target image;
S423, calculating color difference values according to LAB calculated values Lc, ac, bc and LAB printing measured values Lm, am and Bm, wherein DeltaL= (Lm-Lc), deltaa= (Am-Ac) and Deltab= (Bm-Bc).
Preferably, the step S43 of correcting the multidimensional lookup table according to the color difference value to obtain a corrected multidimensional lookup table includes:
S431, determining a correction coefficient f L,fA,fB according to the color difference value;
S432, correcting the multidimensional lookup table according to the correction coefficient.
Preferably, the step S431 of determining the correction coefficients fL, fA, fB according to the color difference value includes:
S4311, obtaining a correction coefficient function fL (delta L), fA (delta a) and fB (delta b);
S4312, calculating a correction coefficient according to the color difference value and the correction coefficient function, wherein fl=fl (Δl), fa=fa (Δa), fb=fb (Δb).
Preferably, the generating an intermediate color target image according to the original color target image and the multi-dimensional lookup table in step S41 includes:
S411, obtaining LAB calculated values of all color blocks in an original color target image;
S412, determining CMYK color values corresponding to the color patches according to the LAB calculated values of the color patches in the original color target image and the multidimensional lookup table;
S413, generating intermediate color blocks corresponding to the color blocks according to CMYK color values corresponding to the color blocks;
s414, generating an intermediate color target image according to the intermediate color blocks corresponding to the color blocks.
Preferably, the generating a multidimensional lookup table according to the LAB calculated value and the LAB print measured value of each color block in step S3 includes:
s31, determining the actual CMYK color values corresponding to the color patches according to the LAB printing measurement values of the color patches;
s32, determining the corresponding relation between the LAB calculated value of each color block and the actual CMYK color value according to the LAB calculated value and the LAB printing measured value of each color block;
S33, generating a multidimensional lookup table through interpolation processing according to the corresponding relation between the LAB calculated value and the actual CMYK color value of each color block.
In a second aspect, the present invention provides a printer color cycle correction apparatus, the apparatus comprising:
the image generation module is used for generating an original color target image;
The numerical value acquisition module is used for acquiring LAB calculated values and LAB printing measured values of all color blocks in the original color target image;
The multi-dimensional lookup table generation module is used for generating a multi-dimensional lookup table according to the LAB calculated value and the LAB printing measured value of each color block;
The multi-dimensional lookup table correction module is used for correcting the multi-dimensional lookup table according to the preset color difference value and the original color target image.
In a third aspect, the present invention provides a printer color cycle correction apparatus comprising at least one processor, at least one memory and computer program instructions stored in the memory, which when executed by the processor, implement the method of the first aspect.
In a fourth aspect, the present invention provides a storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of the first aspect:
In summary, the method, the device, the equipment and the storage equipment for correcting the printer color circulation provided by the invention establish the multi-dimensional lookup table from LAB to CMYK through the LAB calculated value and the LAB printing measured value of the color target image, fully utilize the characteristic that the LAB value of the color is irrelevant to the equipment in the process of establishing the multi-dimensional lookup table, and can meet the color accuracy requirements among different equipment. And simultaneously, processing and printing the original color target image on the basis of the multidimensional lookup table, comparing the color data of the printed image with the color data of the original color target image to form a color difference value, and repeatedly correcting the generated multidimensional lookup table by utilizing the color difference value until the color difference value meets the requirement. The color data actually printed is introduced in the correction process to carry out cyclic correction, and the cyclic correction is terminated when the color difference meets the requirement, so that the corrected multidimensional lookup table accurately reflects the corresponding relation between the target color gamut and the printing color gamut, the accuracy of color conversion can be effectively improved when the corrected multidimensional lookup table is used for converting the target color gamut into the printing color gamut, and the printer can accurately restore the color effect of the original image.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a printer color cycle correction method of embodiment 1 of the present invention.
Fig. 2 is a flowchart of a method of correcting a multi-dimensional lookup table in embodiment 1 of the present invention.
Fig. 3 is a flowchart of a method of calculating a color difference value in embodiment 1 of the present invention.
Fig. 4 is a flowchart of a method of generating an intermediate color target image according to embodiment 1 of the present invention.
Fig. 5 is a schematic structural view of a printer color cycle correction apparatus of embodiment 2 of the present invention.
Fig. 6 is a schematic structural view of a printer color cycle correction apparatus of embodiment 3 of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
LAB color model is a color model formulated by the CIE (international commission on illumination). Any color in nature can be expressed in LAB space in a manner that digitally describes human visual perception independent of the device. The Lab color model takes a coordinate Lab, where L (luminance) represents brightness; the positive number of a represents red, and the negative end represents green; the positive number of b represents yellow and the negative end represents blue. L has a value range from 0 to 100; the value ranges of a and b are from +127 to-128.
The CMYK (Cyan, magenta, yellow) color space is applied in the printing industry, which presents rich colors and shades by overprinting of different dot areas of Cyan (C), magenta (M), yellow (Y) inks, which is the CMY color space of the three primary colors. In actual printing, four colors of cyan (C), magenta (M), yellow (Y) and Black (BK) are generally used, and a black plate is added by switching to a dark tone in the middle of printing. When the three primary colors of red, green and blue are mixed, white is generated, but when the three primary colors of cyan, magenta and yellow are mixed, black is generated. Since the actual ink does not produce a pure color, black is included in a separate color, and this model is called CMYK. The CMYK color space is device or printing process dependent.
Example 1
In the embodiment, the multi-dimensional lookup table from LAB to CMYK is established through the LAB calculated value and the LAB printing measured value of the color target image, the characteristic that the LAB value of the color is irrelevant to equipment is fully utilized in the process of establishing the multi-dimensional lookup table, and the color accuracy requirement among different equipment can be met. And simultaneously, processing and printing the original color target image on the basis of the multidimensional lookup table, comparing the color data of the printed image with the color data of the original color target image to form a color difference value, and repeatedly correcting the generated multidimensional lookup table by utilizing the color difference value until the color difference value meets the requirement. The color data actually printed is introduced in the correction process to carry out cyclic correction, and the cyclic correction is terminated when the color difference meets the requirement, so that the corrected multidimensional lookup table accurately reflects the corresponding relation between the target color gamut and the printing color gamut, the accuracy of color conversion can be effectively improved when the corrected multidimensional lookup table is used for converting the target color gamut into the printing color gamut, and the printer can accurately restore the color effect of the original image.
Referring to fig. 1, the present embodiment provides a method for correcting a color cycle of a printer, which includes:
S1, generating an original color target image;
the original color target image can be made into a color target image by adopting a standard color target image of T8 or ECI2002 or autonomously selecting certain sampling point data. The color target image is composed of a plurality of color patches of different colors.
S2, obtaining LAB calculated values and LAB printing measured values of all color blocks in the original color target image;
each color block in the generated original color target image has a corresponding CMYK color value, and the LAB value corresponding to the CMYK color value of each color block can be calculated according to the set standard color gamut, and the calculated LAB value is the LAB calculated value corresponding to each color block. LAB calculation is theoretically calculated from CMYK color values, reflecting the target color gamut.
On the other hand, the generated original color target image is printed by using printing equipment, and the LAB value of each color block in the printed original color target image is measured, wherein the measured LAB value is the LAB printing measured value corresponding to each color block. The LAB print measurement is the value actually measured by the printer after printing, and reflects the color gamut of the printer.
S3, generating a multidimensional lookup table according to the LAB calculated value and the LAB printing measured value of each color block;
The multi-dimensional look-up table is a mapping of LAB calculated values, i.e. target color gamut, to printer CMYK color values, i.e. printer color gamut.
Since the LAB calculation includes three dimensions L, a, b, the multi-dimensional look-up table effectively results in a three-dimensional look-up table. With a certain set of specific values of L, a, b, e.g. (50, 100, 80), the CMYK color values of the printer corresponding to this set of LAB can be found via a multi-dimensional look-up table.
The step of generating a multidimensional lookup table according to the LAB calculated value and the LAB printing measured value of each color block specifically comprises the following steps:
s31, determining the actual CMYK color values corresponding to the color patches according to the LAB printing measurement values of the color patches;
The LAB print measurements for each color patch are computationally converted to their corresponding CMYK color values, i.e., actual CMYK color values.
S32, determining the corresponding relation between the LAB calculated value of each color block and the actual CMYK color value according to the LAB calculated value and the LAB printing measured value of each color block;
Since the LAB calculated value of each color patch corresponds to its LAB print measurement value, which in turn can be converted into its corresponding actual CMYK color value, the LAB calculated value of each color patch and the actual CMYK color value can be correlated.
S33, generating a multidimensional lookup table through interpolation processing according to the corresponding relation between the LAB calculated value and the CMYK color value of each color block.
Because the number of color blocks of the color target is limited, the multi-dimensional lookup table is regenerated after interpolation based on the corresponding relation in order to improve the accuracy. Wherein the interpolation method is preferably a tetrahedral interpolation method.
S4, correcting the multidimensional lookup table according to the preset color difference value and the original color target image.
The step is to correct the multidimensional lookup table generated in the step S3 by taking the preset color difference value as a standard, wherein the preset color difference value can be set according to the actual printing condition and the requirement on the printing effect.
As shown in fig. 2, the specific steps of correcting the multidimensional lookup table according to the preset color difference value and the original color target image include:
S41, producing an intermediate color target image according to the original color target image and the multidimensional lookup table;
as shown in fig. 4, in the present embodiment, the step of generating an intermediate color target image from the original color target image and the multi-dimensional lookup table includes:
S411, obtaining LAB calculated values of all color blocks in an original color target image;
S412, determining CMYK color values corresponding to the color patches according to the LAB calculated values of the color patches in the original color target image and the multidimensional lookup table;
and searching the CMYK color values corresponding to the LAB calculated values of the color blocks through a multidimensional lookup table.
S413, generating intermediate color blocks corresponding to the color blocks according to CMYK color values corresponding to the color blocks;
the CMYK color values found by the multidimensional lookup table generate an intermediate color patch in the printing apparatus determined by the CMYK color values. The number of intermediate color patches is the same as the number of color patches in the original color target image, and each color patch in the original color target image corresponds to one intermediate color patch.
S414, generating an intermediate color target image according to the intermediate color blocks corresponding to the color blocks.
All intermediate color patches eventually form a new color target image, i.e., an intermediate color target image. Each color lump in the intermediate color target image corresponds to each color lump in the original color target image one by one.
S42, comparing the LAB printing measured value of each color block of the intermediate color target image with the LAB calculated value of each color block corresponding to the original color target image;
As shown in fig. 3, the specific step of comparing the LAB print measurement value of each color patch of the intermediate color target image with the LAB calculation value of each color patch corresponding to the original color target image to obtain a color difference value includes:
S421, obtaining LAB printing measured values Lm, am and Bm of each color block of the intermediate color target image;
On the one hand, the intermediate color target image is printed by a printer, then the printed intermediate color target image is measured, and the measured LAB value is used as a LAB printing measured value.
S422, obtaining LAB calculated values Lc, ac and Bc of each color block in the original color target image;
on the other hand, the LAB calculated value of each color block in the original color target image is obtained through theoretical calculation.
S423, calculating color difference values (Δl, Δa, Δb) from LAB calculated values Lc, ac, bc and LAB print measured values Lm, am, bm, where Δl= (Lm-Lc), Δa= (Am-Ac), Δb= (Bm-Bc).
S43, correcting the multidimensional lookup table according to the color difference value to obtain a corrected multidimensional lookup table;
The method for correcting the multidimensional lookup table according to the color difference value to obtain the corrected multidimensional lookup table specifically comprises the following steps:
S431, determining a correction coefficient f L,fA,fB according to the color difference value;
the specific steps of determining the correction coefficient according to the color difference value include:
S4311, obtaining a correction coefficient function fL (delta L), fA (delta a) and fB (delta b);
The correction coefficient functions are respectively cubic spline curves, and data are interpolated according to the difference value of the same color block in three dimensions and the numerical value of the current color block in the three dimensions as the output and input of the three-dimensional correction coefficient functions, so as to obtain a relation of the cubic spline.
S4312, calculating a correction coefficient according to the color difference value and the correction coefficient function, wherein fl=fl (Δl), fa=fa (Δa), fb=fb (Δb);
Substituting the color difference value into the correction coefficient function to obtain a corresponding correction coefficient.
S432, correcting the multidimensional lookup table according to the correction coefficient.
The corrected calculation formula is: values of Lr, ar, br are lr=l×fl (Δl), ar=a×fa (Δa), and br=b×fb (Δb), respectively, where Lr, ar, br is a corrected LAB value.
S44, repeating the steps S41 to S43 until the color difference value is smaller than a preset color difference value.
And comparing the color difference value with a preset color difference value after each correction, stopping cyclic correction if the color difference value is smaller than the preset color difference value, and continuing cyclic correction on the multidimensional lookup table if the color difference value is larger than or equal to the preset color difference value.
Example 2
Referring to fig. 5, an embodiment of the present invention provides a device for correcting a color cycle of a printer, including:
the image generation module is used for generating an original color target image;
The numerical value acquisition module is used for acquiring LAB calculated values and LAB printing measured values of all color blocks in the original color target image;
The multi-dimensional lookup table generation module is used for generating a multi-dimensional lookup table according to the LAB calculated value and the LAB printing measured value of each color block;
The multi-dimensional lookup table correction module is used for correcting the multi-dimensional lookup table according to the preset color difference value and the original color target image.
Example 3
In addition, the printer color cycle correction method of the embodiment of the present invention described in connection with fig. 6 may be implemented by a printer color cycle correction apparatus. Fig. 6 shows a schematic hardware configuration of a printer color cycle correction apparatus according to an embodiment of the present invention.
The printer color cycle correction apparatus may include a processor 401 and a memory 402 storing computer program instructions.
In particular, the processor 401 may include a Central Processing Unit (CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present invention.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may comprise a hard disk drive (HARD DISK DRIVE, HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a universal serial bus (Universal Serial Bus, USB) drive, or a combination of two or more of the foregoing. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. Memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor 401 implements the data addressing method of random area printing in any of the above embodiments by reading and executing computer program instructions stored in the memory 402.
The printer color cycle correction apparatus may further include a communication interface 403 and a bus 410 in one example. As shown in fig. 6, the processor 401, the memory 402, and the communication interface 403 are connected by a bus 410 and perform communication with each other.
The communication interface 403 is mainly used to implement communication between each module, device, unit and/or apparatus in the embodiment of the present invention.
Bus 410 includes hardware, software, or both, that couple components of the printer color cycle correction to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 410 may include one or more buses, where appropriate. Although embodiments of the invention have been described and illustrated with respect to a particular bus, the invention contemplates any suitable bus or interconnect.
Example 4
In addition, in connection with the printer color cycle correction in the above-described embodiments, embodiments of the present invention may be implemented by providing a computer-readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the printer color cycle correction methods, apparatus, devices, and storage device methods of the above embodiments.
The above is a detailed description of the method, the device, the equipment and the storage equipment for correcting the color cycle of the printer provided by the embodiment of the invention.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. The method processes of the present invention are not limited to the specific steps described and shown, but various changes, modifications and additions, or the order between steps may be made by those skilled in the art after appreciating the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. The present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
In the foregoing, only the specific embodiments of the present invention are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present invention is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and they should be included in the scope of the present invention.
Claims (5)
1. A method for color cycle correction in a printer, the method comprising:
S1, generating an original color target image;
S2, obtaining LAB calculated values and LAB printing measured values of all color blocks in the original color target image;
S3, generating a multidimensional lookup table according to the LAB calculated value and the LAB printing measured value of each color block;
s4, correcting the multidimensional lookup table according to the preset color difference value and the original color target image;
the step S3 includes:
s31, determining the actual CMYK color values corresponding to the color patches according to the LAB printing measurement values of the color patches;
s32, determining the corresponding relation between the LAB calculated value of each color block and the actual CMYK color value according to the LAB calculated value and the LAB printing measured value of each color block;
s33, generating a multidimensional lookup table through interpolation processing according to the corresponding relation between the LAB calculated value and the actual CMYK color value of each color block;
the step S4 of correcting the multidimensional lookup table according to the preset color difference value and the original color target image comprises the following steps:
s41, generating an intermediate color target image according to the original color target image and the multidimensional lookup table;
S42, comparing the LAB printing measured value of each color block of the intermediate color target image with the LAB calculated value of each color block corresponding to the original color target image;
S43, correcting the multidimensional lookup table according to the color difference value to obtain a corrected multidimensional lookup table;
S44, repeating the steps S41 to S43 until the color difference value is smaller than a preset color difference value;
The step S42 of comparing the LAB print measurement value of each color patch of the intermediate color target image with the LAB calculation value of each color patch corresponding to the original color target image to obtain a color difference value includes:
S421, obtaining LAB printing measured values Lm, am and Bm of each color block of the intermediate color target image;
S422, obtaining LAB calculated values Lc, ac and Bc of each color block in the original color target image;
S423, calculating color difference values according to LAB calculated values Lc, ac, bc and LAB printing measured values Lm, am and Bm, wherein DeltaL= (Lm-Lc), deltaa= (Am-Ac) and Deltab= (Bm-Bc);
the step S43 of correcting the multidimensional lookup table according to the color difference value to obtain a corrected multidimensional lookup table includes:
s431, determining a correction coefficient fL, fA and fB according to the color difference value;
S432, correcting the multidimensional lookup table according to the correction coefficient;
The step S431 determines the correction coefficient fL, fB according to the color difference value, including:
S4311, obtaining a correction coefficient function fL (delta L), fL (delta a), and fB (delta b);
S4312, calculating a correction coefficient according to the color difference value and the correction coefficient function, wherein fl=fl (Δl), fa=fa (Δa), fb=fb (Δb);
Wherein the correction coefficient functions are cubic spline curves respectively.
2. The printer color recycling correction method according to claim 1, wherein the step S41 of generating an intermediate color target image from the original color target image and the multi-dimensional lookup table comprises:
S411, obtaining LAB calculated values of all color blocks in an original color target image;
S412, determining CMYK color values corresponding to the color patches according to the LAB calculated values of the color patches in the original color target image and the multidimensional lookup table;
S413, generating intermediate color blocks corresponding to the color blocks according to CMYK color values corresponding to the color blocks;
s414, generating an intermediate color target image according to the intermediate color blocks corresponding to the color blocks.
3. A printer color cycle correction apparatus, the apparatus comprising:
the image generation module is used for generating an original color target image;
The numerical value acquisition module is used for acquiring LAB calculated values and LAB printing measured values of all color blocks in the original color target image;
The multi-dimensional lookup table generating module is used for generating a multi-dimensional lookup table according to the LAB calculated value and the LAB printing measured value of each color block, and comprises the following steps:
s31, determining the actual CMYK color values corresponding to the color patches according to the LAB printing measurement values of the color patches;
s32, determining the corresponding relation between the LAB calculated value of each color block and the actual CMYK color value according to the LAB calculated value and the LAB printing measured value of each color block;
s33, generating a multidimensional lookup table through interpolation processing according to the corresponding relation between the LAB calculated value and the actual CMYK color value of each color block;
The multi-dimensional lookup table correction module is used for correcting the multi-dimensional lookup table according to the preset color difference value and the original color target image;
the correcting the multidimensional lookup table according to the preset color difference value and the original color target image comprises the following steps:
s41, generating an intermediate color target image according to the original color target image and the multidimensional lookup table;
S42, comparing the LAB printing measured value of each color block of the intermediate color target image with the LAB calculated value of each color block corresponding to the original color target image;
S43, correcting the multidimensional lookup table according to the color difference value to obtain a corrected multidimensional lookup table;
S44, repeating the steps S41 to S43 until the color difference value is smaller than a preset color difference value;
The step S42 of comparing the LAB print measurement value of each color patch of the intermediate color target image with the LAB calculation value of each color patch corresponding to the original color target image to obtain a color difference value includes:
S421, obtaining LAB printing measured values Lm, am and Bm of each color block of the intermediate color target image;
S422, obtaining LAB calculated values Lc, ac and Bc of each color block in the original color target image;
S423, calculating color difference values according to LAB calculated values Lc, ac, bc and LAB printing measured values Lm, am and Bm, wherein DeltaL= (Lm-Lc), deltaa= (Am-Ac) and Deltab= (Bm-Bc);
The step S43 of correcting the multidimensional lookup table according to the color difference value to obtain a corrected multidimensional lookup table includes: s431, determining a correction coefficient fL, fA and fB according to the color difference value;
S432, correcting the multidimensional lookup table according to the correction coefficient;
The step S431 determines the correction coefficient fL, fB according to the color difference value, including:
S4311, obtaining a correction coefficient function fL (delta L), fL (delta a), and fB (delta b);
S4312, calculating a correction coefficient according to the color difference value and the correction coefficient function, wherein fl=fl (Δl), fa=fa (Δa), fb=fb (Δb);
Wherein the correction coefficient functions are cubic spline curves respectively.
4. A printer color cycle correction device comprising at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of any one of claims 1-2.
5. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911179126.9A CN110851094B (en) | 2019-11-27 | 2019-11-27 | Printer color cycle correction method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911179126.9A CN110851094B (en) | 2019-11-27 | 2019-11-27 | Printer color cycle correction method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110851094A CN110851094A (en) | 2020-02-28 |
CN110851094B true CN110851094B (en) | 2024-06-18 |
Family
ID=69605030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911179126.9A Active CN110851094B (en) | 2019-11-27 | 2019-11-27 | Printer color cycle correction method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110851094B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112477437B (en) * | 2020-11-13 | 2021-09-21 | 深圳汉弘软件技术有限公司 | Color difference processing method and device, ink-jet printer and storage medium |
CN112532872B (en) * | 2020-11-16 | 2022-03-29 | 北京五一视界数字孪生科技股份有限公司 | Method and device for adjusting camera parameters, storage medium and electronic equipment |
CN113256535B (en) * | 2021-06-17 | 2023-06-16 | 浙江汇诚汇捷影像数码科技有限公司 | Thermo-sensitive film imaging optimization method and device |
CN114013033B (en) * | 2021-10-28 | 2023-08-22 | 齐鲁工业大学 | A method for controlling the color of photosensitive resin type full-color 3D printing |
CN114356253B (en) * | 2021-12-29 | 2023-08-29 | 厦门汉印电子技术有限公司 | Method, device, equipment and storage medium for acquiring lookup table of gray level value |
CN114801737B (en) * | 2022-04-18 | 2022-11-04 | 黑龙江天有为电子股份有限公司 | Color matching method of automobile instrument panel and manufacturing method of backlight piece |
CN114801738B (en) * | 2022-04-18 | 2022-11-25 | 黑龙江天有为电子股份有限公司 | Color matching method for automobile instrument panel display area and manufacturing method of backlight piece |
CN116012245B (en) * | 2022-12-30 | 2024-12-24 | 当纳利(广东)印务有限公司 | Color compensation method and computer-readable storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873736A (en) * | 2012-12-17 | 2014-06-18 | 北大方正集团有限公司 | Color closed-loop correction method and system based on multi-dimensional table |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020180998A1 (en) * | 2001-06-05 | 2002-12-05 | Yifeng Wu | Methods and arrangements for calibrating a color printing device using multi-dimensional look-up tables |
JP2004112470A (en) * | 2002-09-19 | 2004-04-08 | Fuji Xerox Co Ltd | Color tone correcting method, image processing system, image processing apparatus, program, storage medium |
JP2005197953A (en) * | 2004-01-06 | 2005-07-21 | Ricoh Co Ltd | Image processor, image forming apparatus, method for generating printer profile, computer program, and recording medium |
JP2007008097A (en) * | 2005-07-01 | 2007-01-18 | Seiko Epson Corp | Color correction information acquisition apparatus, color correction information acquisition method, color correction information acquisition program, printing apparatus, image processing apparatus, image processing method, and image processing program. |
JP4569474B2 (en) * | 2006-01-05 | 2010-10-27 | 富士ゼロックス株式会社 | Color gamut creation device, color gamut creation method, and color gamut creation program |
-
2019
- 2019-11-27 CN CN201911179126.9A patent/CN110851094B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873736A (en) * | 2012-12-17 | 2014-06-18 | 北大方正集团有限公司 | Color closed-loop correction method and system based on multi-dimensional table |
Also Published As
Publication number | Publication date |
---|---|
CN110851094A (en) | 2020-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110851094B (en) | Printer color cycle correction method, device, equipment and storage medium | |
EP0448330B1 (en) | Method and apparatus for processing image | |
US20060251296A1 (en) | Color proofing method and apparatus, and recorded medium on which color proofing program is recorded | |
US10834292B2 (en) | Image processing apparatus, image processing method, and non-transitory computer-readable storage medium | |
US10129440B2 (en) | Image processing apparatus, image processing method, and recording medium | |
JP6834495B2 (en) | Image processing equipment, image processing method and image processing program | |
US20040114166A1 (en) | Color image processing method, color image processing apparatus, color image processing program, and record medium | |
US20020131063A1 (en) | Method of adapting a printing process while maintaining the black build-up | |
CN102082893A (en) | Digital proof color correcting method and digital proof color correcting device | |
KR100278430B1 (en) | A system, method and program for converting an externally defined four dimensional colorant (cmyk) into an equivalent four dimensional colorant defined in terms of the four inks (c'm'y'k') that are associated with a given printer by using a three dimensional to four dimensional conversion process | |
JP2002354278A (en) | Method and device for calibrating printer and storage medium storing calibration method | |
US7733525B2 (en) | Gamut mapping method and apparatus | |
CN101365042A (en) | Method for high-fidelity print outputting L*a*b* image | |
CN100375499C (en) | Image signal processing method and image signal processing apparatus | |
JPH1169186A (en) | How to set the color correction function | |
US8111423B2 (en) | Image processing device and image processing method | |
CN101287061A (en) | Image forming apparatus and control method thereof | |
CN110888612B (en) | Evaluation method, device, equipment and medium for printing target color gamut | |
CN102075666A (en) | Method and device used for removing background colors from image | |
CN112040088A (en) | Correction method for analog equipment characteristic file for proofing | |
CN105681625A (en) | Color signal processing device and color signal processing method | |
JP2010098527A (en) | Method of creating look-up table, and printing apparatus | |
US20030019381A1 (en) | Method of generating color conversion table of high accuracy, color conversion method, and color conversion program | |
CN117527987A (en) | Wide color gamut mapping method and system | |
US8086033B2 (en) | Device, method, and program storage medium for color conversion, device, method, and program storage medium for color conversion coefficient generation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong Applicant after: Shenzhen Hansen Software Co.,Ltd. Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000 Applicant before: SHENZHEN HOSONSOFT Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |