CN114356253B - Method, device, equipment and storage medium for acquiring lookup table of gray level value - Google Patents

Method, device, equipment and storage medium for acquiring lookup table of gray level value Download PDF

Info

Publication number
CN114356253B
CN114356253B CN202111634145.3A CN202111634145A CN114356253B CN 114356253 B CN114356253 B CN 114356253B CN 202111634145 A CN202111634145 A CN 202111634145A CN 114356253 B CN114356253 B CN 114356253B
Authority
CN
China
Prior art keywords
gray scale
values
gray
value
space
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
Application number
CN202111634145.3A
Other languages
Chinese (zh)
Other versions
CN114356253A (en
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Hanyin Electronic Technology Co Ltd
Original Assignee
Xiamen Hanyin Electronic Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xiamen Hanyin Electronic Technology Co Ltd filed Critical Xiamen Hanyin Electronic Technology Co Ltd
Priority to CN202111634145.3A priority Critical patent/CN114356253B/en
Publication of CN114356253A publication Critical patent/CN114356253A/en
Application granted granted Critical
Publication of CN114356253B publication Critical patent/CN114356253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the application provides a method, a device, equipment and a storage medium for acquiring a lookup table of gray scale values, and relates to the technical field of printers. Wherein, this acquisition method includes: s1, respectively acquiring OD values of a plurality of color blocks printed by a printer. S2, expanding the first correction gray scale values to a second gray scale space to obtain a plurality of second correction gray scale values. And S3, fitting according to the OD values of the color blocks and the corresponding second correction gray scale values to obtain a fitting model. And S4, acquiring a theoretical model according to the OD values of the color blocks and the gray scale dimension of the second gray scale space. S5, acquiring a gray scale value lookup table of the corresponding relation between the theoretical gray scale value and the correction gray scale value according to the theoretical model and the fitting model. More fitting points can be obtained by expanding the correction gray scale value from the first gray scale space to the second gray scale space, so that the fitting model is smoother, a desired image is printed more smoothly, and a better printing effect is obtained.

Description

Method, device, equipment and storage medium for acquiring lookup table of gray level value
Technical Field
The present application relates to the technical field of printers, and in particular, to a method, an apparatus, a device, and a storage medium for acquiring a lookup table of gray-scale values.
Background
The printer is used to print the desired content on the associated media. In the prior art, when printing continuously variable images, especially gray images with continuously variable gray values, gray values representing hues cannot be smooth enough, and the problem of printing distortion caused by excessive and insufficient smoothness when printing continuous levels, namely faults which are not smooth enough, can occur, so that the look and feel can be influenced.
In view of the above, the applicant has studied the prior art and has made the present application.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for acquiring a lookup table of gray scale values, so as to improve the technical problems.
A first aspect,
The embodiment of the application provides a method for acquiring a lookup table of gray scale values, which comprises steps S1 to S5.
S1, respectively acquiring OD values of a plurality of color blocks printed by a printer. The plurality of color blocks are printed by the printer according to a plurality of first correction gray scale values in a first gray scale space.
S2, expanding the first correction gray scale values to a second gray scale space to obtain a plurality of second correction gray scale values corresponding to the OD values of the color blocks in the second gray scale space. The gray scale dimension of the second gray scale space is larger than that of the first gray scale space.
And S3, fitting according to the OD values of the plurality of color blocks and the corresponding plurality of second correction gray scale values to obtain a fitting model between the OD values and the correction gray scale values in a second gray scale space.
S4, obtaining a theoretical model between the OD value and the theoretical gray scale value in the second gray scale space according to the OD values of the plurality of color patches and the gray scale dimension of the second gray scale space.
S5, acquiring a gray scale value lookup table of the corresponding relation between the theoretical gray scale value and the correction gray scale value according to the theoretical model and the fitting model. The gray level value lookup table is used for searching correction gray level values corresponding to pixel points of an image to be printed during printing.
In an alternative embodiment, the plurality of first corrected gray scale values includes a maximum gray scale value of the first gray scale space.
In an alternative embodiment, step S4 specifically includes:
s41, at least extracting the maximum OD value according to the OD values of the plurality of color blocks so as to obtain a value range of the OD value.
S42, generating a theoretical model between the OD value and the theoretical scale value in the second gray scale space according to the value range of the OD value and the gray scale dimension of the second gray scale space. Wherein the theoretical model is a linear model.
In an alternative embodiment, step S2 is specifically used to:
and multiplying 257 the first correction gray scale values respectively to obtain a plurality of second correction gray scale values corresponding to the OD values of the color blocks in the second gray scale space.
In an alternative embodiment, the first gray-scale space is a 1-byte 0-255-dimensional gray-scale value space. The second gray scale space is a 2-byte 0-65535 dimension gray scale value space.
In an alternative embodiment, step S3 is specifically used to:
and fitting according to the OD values of the plurality of color blocks and the corresponding plurality of second correction gray scale values by using a pattern line fitting function to obtain a fitting model between the OD values and the correction gray scale values in a second gray scale space.
A second aspect,
The embodiment of the application provides a device for acquiring a lookup table of gray scale values, which comprises the following steps:
and the OD value acquisition module is used for respectively acquiring the OD values of the plurality of color blocks printed by the printer. The plurality of color blocks are printed by the printer according to a plurality of first correction gray scale values in a first gray scale space.
And the expansion module is used for expanding the first correction gray scale values to a second gray scale space so as to obtain a plurality of second correction gray scale values corresponding to the OD values of the color blocks in the second gray scale space. The gray scale dimension of the second gray scale space is larger than that of the first gray scale space.
And the fitting module is used for fitting according to the OD values of the plurality of color blocks and the corresponding plurality of second correction gray scale values to obtain a fitting model between the OD values and the correction gray scale values in the second gray scale space.
And the theoretical module is used for acquiring a theoretical model between the OD value and the theoretical gray scale value in the second gray scale space according to the OD values of the plurality of color patches and the gray scale dimension of the second gray scale space.
And the relation module is used for acquiring a gray-scale value lookup table of the corresponding relation between the theoretical gray-scale value and the correction gray-scale value according to the theoretical model and the fitting model. The gray level value lookup table is used for searching correction gray level values corresponding to pixel points of an image to be printed during printing.
In an alternative embodiment, the plurality of first corrected gray scale values includes a maximum gray scale value of the first gray scale space.
In an alternative embodiment, the theoretical module specifically includes:
and the range unit is used for extracting the maximum OD value according to the OD values of the plurality of color blocks so as to obtain a value range of the OD value.
And the theoretical unit is used for generating a theoretical model between the OD value and the theoretical scale value in the second gray scale space according to the value range of the OD value and the gray scale dimension of the second gray scale space. Wherein the theoretical model is a linear model.
In an alternative embodiment, the expansion module is specifically configured to:
and multiplying 257 the first correction gray scale values respectively to obtain a plurality of second correction gray scale values corresponding to the OD values of the color blocks in the second gray scale space.
In an alternative embodiment, the first gray-scale space is a 1-byte 0-255-dimensional gray-scale value space. The second gray scale space is a 2-byte 0-65535 dimension gray scale value space.
In an alternative embodiment, the fitting module is specifically configured to:
and fitting according to the OD values of the plurality of color blocks and the corresponding plurality of second correction gray scale values by using a pattern line fitting function to obtain a fitting model between the OD values and the correction gray scale values in a second gray scale space.
A third aspect,
The embodiment of the application provides a device for acquiring a lookup table of gray scale values, which comprises a processor, a memory and a computer program stored in the memory. The computer program is executable by the processor to implement a method of obtaining a look-up table of gray-scale values as described in any of the paragraphs of the first aspect.
A fourth aspect,
An embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where when the computer program runs, the device where the computer readable storage medium is located is controlled to execute a method for obtaining a lookup table of gray-scale values according to any one of the sections of the first aspect.
By adopting the technical scheme, the application can obtain the following technical effects:
more fitting points can be obtained by expanding the correction gray scale value from the first gray scale space to the second gray scale space, so that the fitting model is smoother, a desired image is printed more smoothly, and a better printing effect is obtained.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for obtaining a lookup table of gray-scale values according to a first embodiment of the present application.
Fig. 2 is a CMYK ink quantity hundred color chart.
Fig. 3 is a graph of cyan channels.
Fig. 4 is a schematic structural diagram of a lookup table obtaining device for gray-scale values according to a second embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
For a better understanding of the technical solution of the present application, the following detailed description of the embodiments of the present application refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
References to "first\second" in the embodiments are merely to distinguish similar objects and do not represent a particular ordering for the objects, it being understood that "first\second" may interchange a particular order or precedence where allowed. It is to be understood that the "first\second" distinguishing aspects may be interchanged where appropriate, such that the embodiments described herein may be implemented in sequences other than those illustrated or described herein.
The application is described in further detail below with reference to the attached drawings and detailed description:
embodiment one:
referring to fig. 1, a first embodiment of the present application provides a method for obtaining a lookup table of gray-scale values, which can be executed by a printer. In particular, steps S1 to S5 are implemented by one or more processors within the printer.
S1, respectively acquiring OD values of a plurality of color blocks printed by a printer. The plurality of color blocks are printed by the printer according to a plurality of first correction gray scale values in the first gray scale space.
In general, when a printer prints an image, there is a certain error in color between the printed image and a theoretical image. This is because the gray-scale value of the theoretical color is uniformly changed, that is, the correspondence between the theoretical gray-scale value and the OD value is a linear straight line. In practice, when the printer prints an image, the gray-scale values of the colors do not change uniformly, i.e., the correspondence between the actual gray-scale values and the OD values is a curve. As shown in fig. 3, the correspondence lookup table between the theoretical gray-scale value and the actual gray-scale value can be established by the actual gray-scale value and the theoretical gray-scale value respectively corresponding to the same OD value on the linear line and the curve.
When the image is printed, the corresponding actual gray scale value is adopted for printing according to the theoretical gray scale value of the image, so that the image with more accurate color is obtained. However, images printed according to the prior art look-up tables often have faults of colors, and the colors on the images cannot be smoothed excessively.
As shown in fig. 2, a color mode commonly used in printers is CMYK, and the color of a printed pixel is adjusted by controlling the ink output (percentage) of each channel of CMYK during printing. It will be appreciated that the parameters of the image include the gray scale values of the individual color channels, and that the parameters required at the time of printing are the percentage of ink output of the individual color channels. In the printer, the ink discharge amount and the gradation are in one-to-one correspondence. Therefore, the gradation value in the present application can also be understood as the ink output amount of the printing channel. In the application, the gray scale value or the percentage of the ink output is used in the process of obtaining the lookup table, and the gray scale value and the percentage of the ink output are not particularly limited, and the gray scale value and the percentage of the ink output are used as one-to-one equivalent characteristics and belong to the protection scope of the application.
The application only describes the method for acquiring the lookup table of the gray level value of one channel, and in practical application, the method for acquiring the lookup table disclosed by the application needs to be carried out on each channel respectively. Of course, in a black and white printer, a look-up table need only be acquired for one channel. The application does not limit the number of channels of the printer.
Specifically, the plurality of color patches are used for generating a curve and correcting the curve. The first gray scale space is a 1-byte 0-255-dimensional gray scale value space. The first correction gray-scale values are manually set in the first gray-scale space, for example, 20 color blocks with gray-scale values (ink volume percentage) of every 5% are printed, and the actual gray-scale values corresponding to the color blocks are respectively 0, 12, 25, … and 255 (in other test, the first correction gray-scale values may be gray-scale values of other numbers and intervals, which is not particularly limited in the present application). OD values represent the optical density of the color patch, measured using an OD meter.
S2, expanding the first correction gray scale values to a second gray scale space to obtain a plurality of second correction gray scale values corresponding to the OD values of the color blocks in the second gray scale space. The gray scale dimension of the second gray scale space is larger than that of the first gray scale space. Specifically, the second gray-scale space is a 2-byte 0-65535 dimension gray-scale value space. The step S2 is specifically used for:
the plurality of first corrected gray scale values are multiplied by 257 respectively to obtain a plurality of second corrected gray scale values corresponding to the OD values of the plurality of color patches in the second gray scale space.
The first correction gray scale value is expanded into a second gray scale space with larger dimension, so that the gray scale dimension is more refined.
The first correction gray scale value is expanded into the second gray scale space without increasing the number of color blocks measured in the earlier stage, so that the workload of the earlier stage measurement is reduced, and the method has good practical significance.
It should be noted that, in other embodiments, the first gray-scale space and the second gray-scale space may be gray-scale spaces with other gray-scale dimensions, which is not particularly limited in the present application. As long as the gray-scale dimension of the second gray-scale space is larger than the gray-scale dimension of the first gray-scale space.
And S3, fitting according to the OD values of the color blocks and the corresponding second correction gray scale values to obtain a fitting model between the OD values and the correction gray scale values in the second gray scale space. Specifically, according to the OD values of the plurality of color blocks and the corresponding plurality of second correction gray scale values, a fitting model between the OD values and the correction gray scale values in the second gray scale space is obtained through fitting by a pattern line fitting function.
It can be understood that, according to the prior art, the fitting function (such as the curve shown in fig. 3) of the curve is obtained by fitting a plurality of points, which is not described herein.
Each second gray scale dimension of the second gray scale space corresponds to an OD value obtained by fitting. Therefore, after the first correction gray scale value is expanded to the second gray scale space, the fitting model obtained by fitting is smoother and more natural in transition.
And S4, acquiring a theoretical model between the OD value and the theoretical gray scale value in the second gray scale space according to the OD values of the plurality of color patches and the gray scale dimension of the second gray scale space. Preferably, the plurality of first corrected gray scale values includes a maximum gray scale value of the first gray scale space. Specifically, step S4 specifically includes:
s41, at least extracting the maximum OD value according to the OD values of the plurality of color blocks so as to obtain the value range of the OD value.
S42, generating a theoretical model between the OD value and the theoretical scale value in the second gray scale space according to the value range of the OD value and the gray scale dimension of the second gray scale space. Wherein the theoretical model is a linear model.
In the present embodiment, a patch at the time of 0 ink amount (i.e., gray level value of 0) is not printed out, but is directly defaulted to 0 value. In other embodiments, due to differences in print media, the OD value (i.e., minimum OD value) at a gray level of 0 (i.e., where the print media is blank) may be measured and set to the minimum value of the OD value. Thereby obtaining a more accurate value range of the OD value. It should be noted that, the minimum value of the value range of the OD value takes 0 or the OD value at the blank of the paper belongs to the protection range of the present application.
Specifically, the OD value and the gray scale dimension are in one-to-one correspondence. Theoretically, the two are in a straight line relationship. Therefore, a theoretical model of a linear straight line (straight line as shown in fig. 3) is obtained with the minimum OD value as a starting point and (maximum OD value-minimum OD value)/65535 as a step value.
S5, acquiring a gray scale value lookup table of the corresponding relation between the theoretical gray scale value and the correction gray scale value according to the theoretical model and the fitting model. The gray level value lookup table is used for searching correction gray level values corresponding to pixel points of the image to be printed during printing.
When the gray-scale value lookup table obtained by the application is used for printing, the CMYK ink percentage ratio after image color separation is firstly converted into the value of 65536 steps of the interval which is actually output through the lookup table, and then the halftone pattern which is actually printed is generated based on the halftone threshold lookup table. Printing according to the halftone pattern.
More fitting points can be obtained by expanding the correction gray scale value from the first gray scale space to the second gray scale space, so that the fitting model is smoother, and therefore, a fault does not appear in an image required by smoother printing, and a better printing effect is obtained.
Embodiment II,
The embodiment of the application provides a device for acquiring a lookup table of gray scale values, which comprises the following steps:
the OD value obtaining module 1 is configured to obtain OD values of a plurality of color patches printed by the printer. The plurality of color blocks are printed by the printer according to a plurality of first correction gray scale values in the first gray scale space.
The expansion module 2 is configured to expand the plurality of first corrected gray scale values to a second gray scale space, so as to obtain a plurality of second corrected gray scale values corresponding to the OD values of the plurality of color blocks in the second gray scale space. The gray scale dimension of the second gray scale space is larger than that of the first gray scale space.
And the fitting module 3 is used for fitting to obtain a fitting model between the OD values and the corrected gray scale values in the second gray scale space according to the OD values of the plurality of color blocks and the corresponding plurality of second corrected gray scale values.
And the theoretical module 4 is used for acquiring a theoretical model between the OD value and the theoretical gray scale value in the second gray scale space according to the OD values of the plurality of color patches and the gray scale dimension of the second gray scale space.
And the relation module 5 is used for acquiring a gray level value lookup table of the corresponding relation between the theoretical gray level value and the correction gray level value according to the theoretical model and the fitting model. The gray level value lookup table is used for searching correction gray level values corresponding to pixel points of the image to be printed during printing.
In an alternative embodiment, the plurality of first corrected gray scale values includes a maximum gray scale value of the first gray scale space.
In an alternative embodiment, the theoretical module 4 specifically comprises:
and the range unit is used for extracting the maximum OD value according to the OD values of the plurality of color blocks so as to obtain the value range of the OD value.
And the theoretical unit is used for generating a theoretical model between the OD value and the theoretical gray scale value in the second gray scale space according to the value range of the OD value and the gray scale dimension of the second gray scale space. Wherein the theoretical model is a linear model.
In an alternative embodiment, the expansion module 2 is specifically configured to:
the plurality of first corrected gray scale values are multiplied by 257 respectively to obtain a plurality of second corrected gray scale values corresponding to the OD values of the plurality of color patches in the second gray scale space.
In an alternative embodiment, the first gray-scale space is a 1 byte 0-255 dimension gray-scale value space. The second gray scale space is a 2 byte 0-65535 dimension gray scale value space.
In an alternative embodiment, the fitting module 3 is specifically configured to:
and fitting according to the OD values of the color blocks and the corresponding second correction gray scale values by using a pattern line fitting function to obtain a fitting model between the OD values and the correction gray scale values in the second gray scale space.
Third embodiment,
The embodiment of the application provides a device for acquiring a lookup table of gray scale values, which comprises a processor, a memory and a computer program stored in the memory. The computer program can be executed by a processor to implement the method for obtaining a lookup table of gray-scale values as described in any of the paragraphs of the embodiments.
Fourth embodiment,
The embodiment of the application provides a computer readable storage medium, which comprises a stored computer program, wherein the computer readable storage medium is controlled to execute the method for acquiring the lookup table of the gray scale value according to any section of the embodiment when the computer program runs.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus and method embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes. It should be noted that, in this document, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. The method for obtaining the lookup table of the gray level value is characterized by comprising the following steps:
OD values of a plurality of color blocks printed by a printer are respectively obtained; the plurality of color blocks are obtained by printing the printer according to a plurality of first correction gray scale values in a first gray scale space;
expanding the first correction gray scale values to a second gray scale space to obtain a plurality of second correction gray scale values corresponding to the OD values of the color blocks in the second gray scale space; the gray scale dimension of the second gray scale space is larger than that of the first gray scale space;
fitting according to the OD values of the plurality of color blocks and the corresponding plurality of second correction gray scale values to obtain a fitting model between the OD values and the correction gray scale values in a second gray scale space;
obtaining a theoretical model between the OD value and the theoretical gray scale value in the second gray scale space according to the OD values of the plurality of color patches and the gray scale dimension of the second gray scale space;
acquiring a gray scale value lookup table of the corresponding relation between the theoretical gray scale value and the correction gray scale value according to the theoretical model and the fitting model; the gray level value lookup table is used for searching correction gray level values corresponding to pixel points of an image to be printed during printing.
2. The method of claim 1, wherein the plurality of first corrected gray-scale values includes a maximum gray-scale value of a first gray-scale space;
according to the OD values of the plurality of color patches and the gray scale dimension of the second gray scale space, obtaining a theoretical model between the OD values and the theoretical gray scale values in the second gray scale space specifically includes:
extracting at least the maximum OD value according to the OD values of the plurality of color blocks to obtain a value range of the OD value;
generating a theoretical model between the OD value and the theoretical scale value in the second gray scale space according to the value range of the OD value and the gray scale dimension of the second gray scale space; wherein the theoretical model is a linear model.
3. The method for obtaining a lookup table of gray scale values according to claim 1, wherein expanding the plurality of first corrected gray scale values to a second gray scale space to obtain a plurality of second corrected gray scale values corresponding to OD values of the plurality of color blocks in the second gray scale space, specifically comprises:
and multiplying 257 the first correction gray scale values respectively to obtain a plurality of second correction gray scale values corresponding to the OD values of the color blocks in the second gray scale space.
4. A method of obtaining a lookup table of gray scale values as claimed in any one of claims 1 to 3 wherein said first gray scale space is a 1 byte 0-255 dimension gray scale value space; the second gray scale space is a 2-byte 0-65535 dimension gray scale value space.
5. The method for obtaining a lookup table of gray-scale values according to any one of claims 1 to 3, wherein fitting a fitting model between the OD values and the corrected gray-scale values in the second gray-scale space according to the OD values of the plurality of color patches and the corresponding plurality of second corrected gray-scale values specifically comprises:
and fitting according to the OD values of the plurality of color blocks and the corresponding plurality of second correction gray scale values by using a pattern line fitting function to obtain a fitting model between the OD values and the correction gray scale values in a second gray scale space.
6. An apparatus for obtaining a lookup table of gray-scale values, comprising:
the OD value acquisition module is used for respectively acquiring OD values of a plurality of color blocks printed by the printer; the plurality of color blocks are obtained by printing the printer according to a plurality of first correction gray scale values in a first gray scale space;
the expansion module is used for expanding the plurality of first correction gray scale values to a second gray scale space so as to obtain a plurality of second correction gray scale values corresponding to the OD values of the plurality of color blocks in the second gray scale space; the gray scale dimension of the second gray scale space is larger than that of the first gray scale space;
the fitting module is used for fitting according to the OD values of the plurality of color blocks and the corresponding plurality of second correction gray scale values to obtain a fitting model between the OD values and the correction gray scale values in a second gray scale space;
the theoretical module is used for acquiring a theoretical model between the OD value and the theoretical gray scale value in the second gray scale space according to the OD values of the plurality of color patches and the gray scale dimension of the second gray scale space;
the relation module is used for acquiring a gray-scale value lookup table of the corresponding relation between the theoretical gray-scale value and the correction gray-scale value according to the theoretical model and the fitting model; the gray level value lookup table is used for searching correction gray level values corresponding to pixel points of an image to be printed during printing.
7. The apparatus according to claim 6, wherein the plurality of first corrected gray-scale values includes a maximum gray-scale value of the first gray-scale space;
the theoretical module specifically comprises:
the range unit is used for extracting the maximum OD value according to the OD values of the plurality of color blocks so as to obtain a value range of the OD value;
the theoretical unit is used for generating a theoretical model between the OD value and the theoretical scale value in the second gray scale space according to the value range of the OD value and the gray scale dimension of the second gray scale space; wherein the theoretical model is a linear model.
8. The device for obtaining a lookup table of gray-scale values according to claim 6, wherein said expansion module is specifically configured to:
and multiplying 257 the first correction gray scale values respectively to obtain a plurality of second correction gray scale values corresponding to the OD values of the color blocks in the second gray scale space.
9. An acquisition device of a lookup table of gray-scale values, characterized by comprising a processor, a memory, and a computer program stored in the memory; the computer program is executable by the processor to implement a method of obtaining a look-up table of gray-scale values as claimed in any one of claims 1 to 5.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform a method of obtaining a look-up table of gray-scale values according to any one of claims 1 to 5.
CN202111634145.3A 2021-12-29 2021-12-29 Method, device, equipment and storage medium for acquiring lookup table of gray level value Active CN114356253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111634145.3A CN114356253B (en) 2021-12-29 2021-12-29 Method, device, equipment and storage medium for acquiring lookup table of gray level value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111634145.3A CN114356253B (en) 2021-12-29 2021-12-29 Method, device, equipment and storage medium for acquiring lookup table of gray level value

Publications (2)

Publication Number Publication Date
CN114356253A CN114356253A (en) 2022-04-15
CN114356253B true CN114356253B (en) 2023-08-29

Family

ID=81104351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111634145.3A Active CN114356253B (en) 2021-12-29 2021-12-29 Method, device, equipment and storage medium for acquiring lookup table of gray level value

Country Status (1)

Country Link
CN (1) CN114356253B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658679A (en) * 2004-02-16 2005-08-24 钰瀚科技股份有限公司 Method of color correction
CN102279535A (en) * 2010-06-09 2011-12-14 佳能株式会社 image forming apparatus capable of performing accurate gradation correction
CN103165096A (en) * 2013-04-08 2013-06-19 深圳市华星光电技术有限公司 Liquid crystal display panel driving method, driving circuit and liquid crystal display device
CN103204001A (en) * 2012-01-16 2013-07-17 三菱电机株式会社 Thermal transfer printer
CN108039155A (en) * 2017-12-28 2018-05-15 深圳市华星光电技术有限公司 The method for obtaining the over-driving look-up table of liquid crystal display
CN110851094A (en) * 2019-11-27 2020-02-28 深圳市汉森软件有限公司 Printer color cycle correction method, device, equipment and storage medium
CN112397036A (en) * 2019-08-14 2021-02-23 京东方科技集团股份有限公司 Time schedule controller, liquid crystal display device and display driving method
CN113242416A (en) * 2021-04-23 2021-08-10 苏州天准科技股份有限公司 Method for correcting gray scale nonlinearity of digital projector, storage medium and projection system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658679A (en) * 2004-02-16 2005-08-24 钰瀚科技股份有限公司 Method of color correction
CN102279535A (en) * 2010-06-09 2011-12-14 佳能株式会社 image forming apparatus capable of performing accurate gradation correction
CN103204001A (en) * 2012-01-16 2013-07-17 三菱电机株式会社 Thermal transfer printer
CN103165096A (en) * 2013-04-08 2013-06-19 深圳市华星光电技术有限公司 Liquid crystal display panel driving method, driving circuit and liquid crystal display device
CN108039155A (en) * 2017-12-28 2018-05-15 深圳市华星光电技术有限公司 The method for obtaining the over-driving look-up table of liquid crystal display
CN112397036A (en) * 2019-08-14 2021-02-23 京东方科技集团股份有限公司 Time schedule controller, liquid crystal display device and display driving method
CN110851094A (en) * 2019-11-27 2020-02-28 深圳市汉森软件有限公司 Printer color cycle correction method, device, equipment and storage medium
CN113242416A (en) * 2021-04-23 2021-08-10 苏州天准科技股份有限公司 Method for correcting gray scale nonlinearity of digital projector, storage medium and projection system

Also Published As

Publication number Publication date
CN114356253A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
US6381037B1 (en) Dynamic creation of color test patterns for improved color calibration
US6441923B1 (en) Dynamic creation of color test patterns based on variable print settings for improved color calibration
EP3013028A1 (en) Multilevel halftoning module with non-uniformity compensation
US5608549A (en) Apparatus and method for processing a color image
US7706034B2 (en) Multi-Dimensional look-up table generation via adaptive node selection based upon color characteristics of an input image
US20020140985A1 (en) Color calibration for clustered printing
US8049939B2 (en) Method, apparatus and computer program for generating transfer functions to be used in a printiing system
CN112385204B (en) Printing calibration process and method and printing system configured to perform printing therewith
US7123379B2 (en) Color proofing method and apparatus, and recorded medium on which color proofing program is recorded
US6693726B2 (en) Automatic color map conversion
US9396419B2 (en) Data-processing apparatus generating color conversion data
US20160129715A1 (en) Method and Apparatus for Print Control
CN114356253B (en) Method, device, equipment and storage medium for acquiring lookup table of gray level value
US20070285679A1 (en) Image processing apparatus, image processing method and image processing program
JPH11187278A (en) Method and device for correcting print gradation
JP2001203901A (en) Method for image data converting process and recording medium with recorded image data conversion processing program
US7407242B2 (en) Derivation of multicolor text colorant limits from single color text colorant limit
JP2001203902A (en) Method for profile generation and computer-readable recording medium with recorded profile generating program
US6567186B1 (en) Method for determining gray values in a printer
US20130308144A1 (en) Color processing apparatus and method, and non-transitory computer readable medium
EP2733919B1 (en) Color separation condition determination device, method and storage medium
JP2016019288A (en) Method for calculating alternate color of special color
JP2003170617A (en) Distribution curve generating unit and program thereof
CN112073594B (en) Ash balance adjusting method and device and computer readable storage medium
US10133522B2 (en) Method for generating color correspondence information capable of reducing consumption amount of colorant consumed in printing

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
GR01 Patent grant
GR01 Patent grant