Methods, devices, equipment, and media for obtaining the light and dark color matching curves of inkjet printers.
By generating a light and dark color mixing curve in the inkjet printer, the problem of uneven ink transition is solved, resulting in better printing quality and efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2026-03-13
AI Technical Summary
In existing technologies, inkjet printers struggle to achieve a smooth transition between dark and light inks, resulting in unsatisfactory printing quality.
By printing preset color swatches using dark, light, and very light channels respectively, color data is collected, mapping curves are obtained and converted into proportion curves, the mapping relationship between light and dark colors is optimized, and a better proportion curve of light and dark colors is generated.
It achieves a smooth transition between dark and light inks, ensuring better printing results, improving print detail and density while reducing the complexity of manual adjustments.
Smart Images

Figure CN119526917B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of inkjet printing technology, and in particular to a method, apparatus, equipment, and medium for obtaining the color matching curve of an inkjet printer. Background Technology
[0002] As the requirements for fine detail in industrial printing become increasingly stringent, multi-head, multi-color printing equipment is being used more and more. Here, "multi-head" refers to multiple printheads, and "multi-color" refers to multiple colors. For example, an 8-color printing equipment means that in addition to using the four colors of ink (C (cyan), M (magenta), Y (yellow), and K (black) inks (called dark inks), it also uses light or very light-colored inks such as LC (light cyan), LM (light magenta), LK (light black), and LLK (light black).
[0003] In inkjet printing, using dark inks results in low dot density and a grainy appearance after printing. Using light inks increases dot density, reduces graininess, and produces a smoother finish. Using even lighter inks, such as very light inks, yields even higher dot density, resulting in a smoother, more delicate finish. However, light or very light inks, due to their pale color, may not achieve the required density when printing dark images, failing to accurately represent the darker areas. Conversely, using only dark inks results in insufficient detail. Therefore, a combination of dark, light, and very light inks can be used to print the same color, simultaneously satisfying both density and detail requirements. The key is controlling the ink output from these three channels to ensure a smooth transition between different ink shades. Current methods typically use pre-set light and dark color mixing curves to control the ink output from these channels, then manually adjust based on the printing results. However, this method is time-consuming, labor-intensive, and the results are not ideal. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a method, apparatus, device and medium for obtaining the color mixing curve of an inkjet printer, in order to solve the problem that it is difficult to achieve a smooth transition of inks when printing with mixed light and dark inks in the prior art.
[0005] In a first aspect, embodiments of the present invention provide a method for obtaining a color depth ratio curve for an inkjet printer, the method comprising:
[0006] Print preset color block images using the dark channel, the light channel, and the light-light channel respectively to obtain dark color block images, light color block images, and light-light color block images;
[0007] Collect color data from the dark color block image, light color block image, and very light color block image, and obtain dark color data, light color data, and very light color data respectively;
[0008] Based on the dark color data, obtain the first dark color mapping curve and the second dark color mapping curve;
[0009] The first dark color mapping curve and the second dark color mapping curve are respectively converted into a first light color ratio curve and a second light color ratio curve;
[0010] Based on the dark color data, the light color data, and the very light color data, obtain the dark-to-light color mapping relationship and the dark-to-very light color mapping relationship;
[0011] First color data is obtained based on the first light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship.
[0012] The second color data is obtained based on the second light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship;
[0013] A third light and dark color matching curve is obtained based on the first color data and the second color data.
[0014] Preferably, obtaining the first dark mapping curve and the second dark mapping curve based on the dark color data includes:
[0015] Obtain the dark curve based on the dark color data;
[0016] Obtain the maximum and minimum points in the dark curve;
[0017] A first reference curve is established based on the maximum and minimum points, wherein the first reference curve is a straight line;
[0018] A second reference curve and a third parameter curve are obtained based on the first reference curve; wherein the second reference curve is an upward convex curve and the third reference curve is a downward concave curve;
[0019] Obtain the mapping curves of the second reference curve and the third parameter curve relative to the dark curve to obtain the first dark mapping curve and the second dark mapping curve.
[0020] Preferably, converting the first dark color mapping curve and the second dark color mapping curve into a first light-dark color ratio curve and a second light-dark color ratio curve respectively includes:
[0021] Determine the starting point, ending point, and starting point, maximum point, and ending point of the preset dark color ratio curve and the preset light color ratio curve;
[0022] Based on the preset dark color ratio curve start point, the preset dark color ratio curve end point, the preset light color ratio curve start point, the preset light color ratio highest point, and the preset light color ratio curve end point, the first dark color mapping curve is converted into a first dark color ratio curve, a first light color ratio curve, and a first light color ratio curve. The first dark color ratio curve, the first light color ratio curve, and the first light color ratio curve constitute the first dark-light color ratio curve.
[0023] Based on the preset dark color ratio curve start point, the preset dark color ratio curve end point, the preset light color ratio curve start point, the preset light color ratio curve highest point, and the preset light color ratio curve end point, the second dark color mapping curve is converted into a second dark color ratio curve, a second light color ratio curve, and a second light color ratio curve. The second dark color ratio curve, the second light color ratio curve, and the second light color ratio curve constitute the second dark-light color ratio curve.
[0024] Preferably, obtaining the dark-to-light color mapping relationship and the dark-to-light color mapping relationship based on the dark color data, the light color data, and the light-to-light color data includes:
[0025] Obtain the dark curve based on the dark color data;
[0026] Obtain the light-colored curve based on the light-colored data;
[0027] Obtain the light color curve based on the light color data;
[0028] Establish a mapping relationship between the dark curve and the light curve to obtain the dark-light color mapping relationship;
[0029] Establish a mapping relationship between the dark curve and the light curve to obtain the dark-light color mapping relationship.
[0030] Preferably, obtaining the first color data based on the first light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship includes:
[0031] The first light color ink volume curve is obtained based on the first light color ratio curve and the dark-light color mapping relationship;
[0032] The first light color ink volume curve is obtained based on the first light color ratio curve and the dark-light color mapping relationship;
[0033] The first color block image is obtained by printing a preset color block image based on the first light and dark color ratio curve, the first light color ink volume curve and the first light color ink volume curve.
[0034] Collect the first color block image to obtain the first color data.
[0035] Preferably, obtaining the second color data based on the second light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship includes:
[0036] The second light color ink volume curve is obtained based on the second light color ratio curve and the dark-light color mapping relationship;
[0037] The second light color ink volume curve is obtained based on the second light color ratio curve and the dark-light color mapping relationship;
[0038] The second color block image is obtained by printing a preset color block image based on the second light and dark color ratio curve, the second light color ink volume curve and the second light and light ink volume curve;
[0039] Acquire the second color data by capturing the second color block image.
[0040] Preferably, obtaining the third light-dark color matching curve based on the first color data and the second color data includes:
[0041] Based on the first color data and the second color data, obtain the first reference total proportion curve and the second reference total proportion curve;
[0042] A third reference total proportion curve is obtained based on the first and second reference total proportion curves;
[0043] The third light and dark color ratio curve is obtained based on the third reference total ratio curve, the starting point of the preset dark color ratio curve, the ending point of the preset dark color ratio curve, the starting point of the preset light color ratio curve, the highest point of the preset light color ratio, and the ending point of the preset light color ratio curve.
[0044] Secondly, embodiments of the present invention provide a device for obtaining the color depth ratio curve of an inkjet printer, the device comprising:
[0045] The printing module is used to print preset color block images using the dark channel, the light channel, and the light-light channel respectively, and to obtain dark color block images, light color block images, and light-light color block images;
[0046] The acquisition module is used to acquire color data from the dark color block image, the light color block image, and the very light color block image, and to obtain dark color data, light color data, and very light color data respectively;
[0047] The dark color mapping curve acquisition module is used to acquire a first dark color mapping curve and a second dark color mapping curve based on the dark color data.
[0048] The conversion module is used to convert the first dark color mapping curve and the second dark color mapping curve into a first light-dark color ratio curve and a second light-dark color ratio curve, respectively.
[0049] The mapping relationship acquisition module is used to acquire the dark-light color mapping relationship and the dark-light color mapping relationship based on the dark color data, the light color data and the light-light color data;
[0050] The first color data acquisition module is used to acquire first color data based on the first light and dark color ratio curve, the light and dark color mapping relationship and the light and dark color mapping relationship.
[0051] The second color data acquisition module is used to acquire second color data based on the second light and dark color matching curve, the light and dark color mapping relationship and the light and dark color mapping relationship.
[0052] The light and dark color ratio curve acquisition module is used to acquire a third light and dark color ratio curve based on the first color data and the second color data.
[0053] Thirdly, embodiments of the present invention provide an inkjet printer color matching curve acquisition device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein when the computer program instructions are executed by the processor, the method of the first aspect described above is implemented.
[0054] Fourthly, embodiments of the present invention provide a storage medium storing computer program instructions, which, when executed by a processor, implement the method of the first aspect described above.
[0055] In summary, the beneficial effects of the present invention are as follows:
[0056] The inkjet printer color depth ratio curve acquisition method, apparatus, device, and medium provided in this invention acquire dark color data, light color data, and light-light color data by controlling the ink output of the dark channel, light channel, and light-light channel respectively. A dark curve is obtained based on the dark color data and converted into different first and second color depth ratio curves. Then, the first and second color depth ratio curves are optimized and smoothed according to the mapping relationship between the dark, light, and light color data to obtain a better third color depth ratio curve. When controlling the ink output of the dark, light, and light channels according to this third color depth ratio curve, the transition between dark and light inks, and between dark and light inks, is smoother, ensuring better printing results. Attached Figure Description
[0057] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, and these are all within the protection scope of the present invention.
[0058] Figure 1 This is a schematic diagram of the light and dark color matching curve according to an embodiment of the present invention.
[0059] Figure 2 This is a schematic diagram of the light and dark color matching curve according to an embodiment of the present invention.
[0060] Figure 3 This is a schematic diagram of the starting point of the preset light color ratio curve, the highest point of the preset light color ratio curve, etc., in an embodiment of the present invention.
[0061] Figure 4 This is a flowchart illustrating the method for obtaining the light and dark color matching curve of an inkjet printer according to an embodiment of the present invention.
[0062] Figure 5 This is a schematic diagram of a preset color block diagram according to an embodiment of the present invention.
[0063] Figure 6 These are schematic diagrams of dark color block diagrams, light color block diagrams, and very light color block diagrams according to embodiments of the present invention.
[0064] Figure 7 This is a schematic diagram of the dark curve and the first reference curve in an embodiment of the present invention.
[0065] Figure 8 This is a schematic diagram of the second and third reference curves in an embodiment of the present invention.
[0066] Figure 9 This is a schematic diagram of the sampling points in an embodiment of the present invention.
[0067] Figure 10 This is a schematic diagram of the light and dark color matching curve according to an embodiment of the present invention.
[0068] Figure 11 This is a schematic diagram illustrating the mapping relationship between dark ink volume curves and light ink volume curves according to an embodiment of the present invention.
[0069] Figure 12 This is a schematic diagram of the first reference total proportion curve and the second reference total proportion curve in an embodiment of the present invention.
[0070] Figure 13 This is a schematic diagram of the structure of the inkjet printer light and dark color ratio curve acquisition device according to an embodiment of the present invention.
[0071] Figure 14This is a schematic diagram of the structure of the inkjet printer light and dark color matching curve acquisition device according to an embodiment of the present invention. Detailed Implementation
[0072] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.
[0073] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0074] Example 1
[0075] This invention provides a method for obtaining the color depth ratio curve of an inkjet printer. This method is applicable to inkjet printing equipment, including reciprocating scanning inkjet printers and single-pass inkjet printers. The inkjet printer includes at least a printhead, a control board, and an ink cartridge. The control board controls the printhead to eject ink from the ink cartridge onto the printing medium to form a printed image.
[0076] To achieve a more delicate and smooth tones in printed images, a mixture of dark, light, and very light inks can be used. The key is controlling the ink ejection of these three types during printing. Currently, this is often achieved by creating preset color mixing profiles to control the printhead's ink concentration levels for different shades. These preset color mixing profiles are ink ejection control profiles created based on the types of inks used in the printer. If using dark, light, and very light inks, a corresponding preset color mixing profile is needed, including profiles for dark, light, and very light inks. Similarly, if only dark and light inks are used, a preset color mixing profile is needed, including profiles for both dark and light inks. For example,... Figure 1 and Figure 2 The preset light and dark color mixing curve shown represents the input ink concentration on the horizontal axis and the output ink concentration on the vertical axis. For example... Figure 1 The preset light and dark color mixing curves shown only include light and dark color mixing curves, indicating that only dark and light inks are used together during printing. Figure 1 According to the preset light and dark color mixing curves, when the ink concentration supplied to the printer is 0%, the printer will eject (output) ink with a concentration of 0%. When the ink concentration supplied to the printer is less than 25%, the printer will eject (output) light ink according to the light color mixing curve, and the ink concentration will be determined based on the light color mixing curve. For example, when the input ink concentration is 10%, the output will be light ink with a concentration of 14%. When the ink concentration supplied to the printer is greater than or equal to 25%, the printer will mix and print (output) light and dark inks according to the light color mixing curve. The output light ink concentration will be determined by the light color mixing curve, and the output dark ink concentration will be determined by the dark color mixing curve. For example, when the input ink concentration is 60%, the output light ink concentration will be 15%, and the output dark ink concentration will be 55%.
[0077] like Figure 2 The preset light and dark color mixing curves shown include a light-to-light color mixing curve, a light color mixing curve, and a dark color mixing curve, indicating the use of light-to-light, dark-to-light, and light-to-dark inks during printing, according to... Figure 2According to the preset light and dark color mixing curves, when the ink concentration supplied to the printer is 0%, the printer will eject (output) ink with a concentration of 0%. When the ink concentration supplied to the printer is less than 25%, the printer will eject (output) light ink according to the light color mixing curve, and the ink concentration will be determined based on the light color mixing curve. When the ink concentration supplied to the printer is greater than or equal to 25% and less than 40%, the printer will mix and eject (output) light ink and very light ink. The concentration of the output very light ink is determined by the very light color mixing curve, and the concentration of the output light ink is determined by the very light color mixing curve. When the ink concentration supplied to the printer is greater than or equal to 40%, all three types of ink will be mixed and ejected. The concentration of the output very light ink is determined by the very light color mixing curve, and the concentration of the output dark ink is determined by the very dark color mixing curve.
[0078] The above-mentioned method for creating the preset light and dark color mixing curves is as follows: Based on the actual production conditions such as printer status and ink batches, set the following key coordinate points (or key parameters): dark color mixing curve start point, dark color mixing curve highest point, dark color mixing curve end point, light color mixing curve start point, light color mixing curve highest point, light color mixing curve end point, light-light color mixing curve start point, light-light color mixing curve highest point, and light-light color mixing curve end point. Here, the dark color mixing curve start point refers to the coordinate point in the dark color mixing curve that represents the beginning of dark ink output; the dark color mixing curve highest point is the point with the largest ordinate value in the dark color mixing curve; and the dark color mixing curve end point is the coordinate point corresponding to an input ink concentration of 100%, representing the output ink concentration corresponding to a dark color mixing curve when the input ink concentration is 100%. The starting point of the light-colored mixing curve refers to the coordinate point on the light-colored mixing curve that represents the beginning of light-colored ink output. The ending point of the light-colored mixing curve refers to the coordinate point on the light-colored mixing curve that represents the end of light-colored ink output. The highest point of the light-colored mixing curve is the point on the light-colored mixing curve with the largest ordinate value. Similarly, the starting point of the very light-colored mixing curve refers to the coordinate point on the very light-colored mixing curve that represents the beginning of light-colored ink output. The ending point of the very light-colored mixing curve is the coordinate point on the very light-colored mixing curve that represents the end of light-colored ink output. The highest point of the very light-colored mixing curve is the point on the very light-colored mixing curve with the largest ordinate value.
[0079] For example, such as Figure 3As shown, point I0 (40%, 0%) is set as the starting point of the dark color proportion curve, point E0 (100%, 100%) is set as the highest point of the dark color proportion curve, and point E0 is also the ending point of the dark color proportion curve. Data processing (including but not limited to fitting, interpolation, and smoothing) is performed based on these two points I0 and E0 to obtain the dark color proportion curve. In other embodiments, more points can be set for fitting the dark color proportion curve. The more points set, the more accurate the fitted dark color proportion curve, and the more precise the control of ink density output by the printer. Similarly, point F (25%, 0%) is set as the starting point of the light color proportion curve, point G0 (60%, 25%) is set as the highest point of the light color proportion curve, and point H (100%, 0%) is set as the ending point of the light color proportion curve. Fitting (such as cubic spline fitting) is performed based on points F0, G0, and H0 to obtain the light color proportion curve. Point A0 (0%, 0%) is set as the starting point of the light color proportion curve, point B0 (25%, 25%) as the highest point of the light color, and point D0 (65%, 0%) as the ending point of the light color proportion curve. Data processing (including but not limited to fitting, interpolation, and smoothing) is performed on points A0, B0, and D0 to obtain the light color proportion curve. This results in a preset light-dark color proportion curve that includes the dark color proportion curve, the light color proportion curve, and the light-dark color proportion curve. However, to obtain a better proportioning effect, multiple adjustments (such as adjusting the above key point parameters) are needed to obtain a relatively optimal preset light-dark color proportion curve. This method requires high manual intervention and is time-consuming and labor-intensive. In other embodiments, before obtaining the preset light-dark color proportion curve, the optimal value range of each key point parameter can be determined based on historical printing data, thereby optimizing the key point parameters to obtain a better preset light-dark color proportion curve. For example, based on historical printing data, it can be seen that when the maximum ink concentration of light-colored ink is between 17% and 27%, adding light-colored ink at this time can ensure that the image printing is both delicate and meets the requirements of image printing density. Therefore, the highest point of the light-colored ink ratio curve can be set between 17% and 27%, and the starting point of the light-colored ink ratio curve can be set within the range of the horizontal axis corresponding to the vertical axis of the light-colored ink ratio curve between 17% and 27%. Similarly, the value ranges of key points such as the highest point of the light-colored ink ratio curve and the starting point of the dark-colored ink ratio curve can be obtained. Based on the corresponding value ranges of each key point, it is possible to quickly determine and ensure that the key points obtained are all optimal points. Thus, based on these key points, an optimal preset light-dark ink ratio curve can be obtained.
[0080] This invention provides a method for generating a light-dark color ratio curve. This method automatically generates a light-dark color ratio curve using the color data and mapping relationships corresponding to the dark, light, and very light channels. It achieves a better light-dark color ratio curve without the need for repeated manual adjustments and optimizations. Please refer to... Figure 4 The method for obtaining the color matching curve of the inkjet printer includes the following steps:
[0081] Print preset color block images using the dark channel, the light channel, and the light-light channel respectively to obtain dark color block images, light color block images, and light-light color block images;
[0082] Collect color data from the dark color block image, light color block image, and very light color block image, and obtain dark color data, light color data, and very light color data respectively;
[0083] Based on the dark color data, obtain the first dark color mapping curve and the second dark color mapping curve;
[0084] The first dark color mapping curve and the second dark color mapping curve are respectively converted into a first light and dark color matching curve and a second light and dark color matching curve;
[0085] Obtain the dark-to-light color mapping relationship based on the dark color data and the light color data;
[0086] The dark-to-light color mapping relationship is obtained based on the number of dark colors and the light color data.
[0087] First color data is obtained based on the first light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship.
[0088] The second color data is obtained based on the second light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship;
[0089] A third light and dark color matching curve is obtained based on the first color data and the second color data.
[0090] Specifically, the ink output of the dark channel, light channel, and very light channel is controlled separately to print a preset color swatch image. This preset color swatch image includes several color swatches with different ink volumes. For example, such as... Figure 5As shown, the preset color block diagram includes 21 color blocks with different ink volumes, arranged in ascending order of ink volume. Assuming the minimum ink volume of the printer is 0 and the maximum is 100, the ink volume interval between each color block in the preset color block diagram is 5, and the ink volume of each color block is sequentially 0, 5, 10, 15, ..., 100. It is worth noting that the minimum and maximum ink volumes in the preset color block diagram are not necessarily 0 and 100; they can be determined according to the actual printing situation. The ink volume interval between each color block and the number of color blocks can also be set according to the actual application and are not limited here. To obtain the color data of the dark channel, light channel, and very light channel, in this invention, the ink output of the dark channel, light channel, and very light channel is controlled to print the preset color block diagram. It is worth pointing out that in practical applications, the printer's ink output channels include not only the channels corresponding to the four CMYK colors, but may also include channels for light and very light inks such as LC, LM, LY, LK and LLC, LLM, LLY, LLK. For example, black ink includes a deep black (K) channel, a light black (LK) channel, and a very light black (LLK) channel; cyan ink includes a deep cyan (C) channel, a light cyan (LC) channel, and a very light cyan (LLC) channel. For different colored inks, corresponding light and dark color mixing curves need to be created to control the output of the dark, light, and very light inks within that color. In this embodiment of the invention, black ink is used as an example to illustrate how to obtain the corresponding light and dark color mixing curve for black ink; the method for creating the light and dark color mixing curves for other colored inks is the same as for black ink.
[0091] like Figure 6 As shown, the dark channel (corresponding to K ink), light channel (corresponding to LK ink), and light light channel (corresponding to LLK ink) of black ink are controlled to output ink and print a preset color block image, resulting in the image shown. Figure 6The diagram shows dark, light, and very light color swatches. Color data for each swatch in each of these diagrams was collected using a spectrophotometer or scanner, yielding the corresponding dark, light, and very light color data. This color data can be brightness, density, concentration (ink volume), color difference, LAB data, XYZ data, or spectral data for each swatch. Furthermore, based on this data, corresponding dark, light, and very light color curves can be obtained. For example, the ink volume values of each color block in the preset color block image and the actual ink volume values of each color block in the printed dark color block image are obtained. A two-dimensional Cartesian coordinate system is established with the horizontal axis representing the input ink volume and the vertical axis representing the output ink volume. The ink volume values corresponding to each color block in the preset color block image (i.e., the input ink volume) are used as the horizontal axis values, and the actual ink volume values of each color block in the dark color block image (i.e., the output ink volume) are used as the vertical axis values, resulting in multiple points on the two-dimensional Cartesian coordinate system (e.g., printed). Figure 5 The above describes obtaining 21 coordinate points from a preset color block image. Using these points for curve fitting or interpolation yields the dark curve. In other embodiments, it can also involve acquiring the brightness data (or LAB data, etc.) of each color block, the ink volume values of each color block in the preset color block image, and the actual brightness values or actual LAB values of each color block in the printed dark color block image. A two-dimensional Cartesian coordinate system is then established with the horizontal axis representing the input ink volume and the vertical axis representing the output brightness (or LAB value, etc.), thereby obtaining the corresponding dark curve. Similarly, light and very light color curves are obtained.
[0092] Preferably, obtaining the first dark mapping curve and the second dark mapping curve based on the dark color data includes:
[0093] Obtain the dark curve based on the dark color data;
[0094] Obtain the maximum and minimum points in the dark curve;
[0095] A first reference curve is established based on the maximum and minimum points, wherein the first reference curve is a straight line;
[0096] A second reference curve and a third parameter curve are obtained based on the first reference curve; wherein the second reference curve is an upward convex curve and the third reference curve is a downward concave curve;
[0097] Obtain the mapping curves of the second reference curve and the third parameter curve relative to the dark curve to obtain the first dark mapping curve and the second dark mapping curve.
[0098] Specifically, the dark curve is obtained based on the dark color data as described above. For example, the obtained dark curve is as follows: Figure 7As shown, the maximum point N and minimum point M in the dark curve are obtained, and a straight line is connected between points M and N to obtain the first reference curve. After obtaining the first reference curve, it is multiplied by an upper convex function and a lower concave function respectively to generate the curve shown below. Figure 8 The convex and concave curves shown are denoted as the second reference curve and the concave curve as the third reference curve. The mapping curve of the second reference curve relative to the darker curve is obtained, for example, as shown below. Figure 9 As shown, multiple sampling points Q1, Q2, ..., Qn are selected on the dark curve. Points O1, O2, ..., On with the same output ink volume as the sampling point Q are obtained on the convex curve. A mapping relationship is established between Q1, Q2, ..., Qn and O1, O2, ..., On to obtain the first dark mapping curve. For example, the input values corresponding to Q1, Q2, ..., Qn are used as the abscissa values, and O1, O2, ..., On are used as the ordinate values to obtain multiple mapping points of the dark curve corresponding to the convex curve. Curve fitting or interpolation is performed on these mapping points to obtain the first dark mapping curve. Similarly, points P1, P2, ..., Pn with the same output ink volume as the sampling point Q are obtained on the concave curve. A mapping relationship is established between Q1, Q2, ..., Qn and P1, P2, ..., Pn to obtain the first dark mapping curve. For example, the input values corresponding to Q1, Q2, ..., Qn are used as the abscissa values, and P1, P2, ..., Pn are used as the ordinate values to obtain multiple mapping points of the dark curve corresponding to the concave curve. Curve fitting or interpolation is performed on these mapping points to obtain the second dark mapping curve.
[0099] Preferably, the step of converting the first dark color mapping curve and the second dark color mapping curve into a first light-dark color ratio curve and a second light-dark color ratio curve respectively includes:
[0100] Determine the starting point, ending point, and starting point, maximum point, and ending point of the preset dark color ratio curve and the preset light color ratio curve;
[0101] Based on the preset dark color ratio curve start point, the preset dark color ratio curve end point, the preset light color ratio curve start point, the preset light color ratio highest point, and the preset light color ratio curve end point, the first dark color mapping curve is converted into a first dark color ratio curve, a first light color ratio curve, and a first light color ratio curve. The first dark color ratio curve, the first light color ratio curve, and the first light color ratio curve constitute the first dark-light color ratio curve.
[0102] Based on the preset dark color ratio curve start point, the preset dark color ratio curve end point, the preset light color ratio curve start point, the preset light color ratio curve highest point, and the preset light color ratio curve end point, the second dark color mapping curve is converted into a second dark color ratio curve, a second light color ratio curve, and a second light color ratio curve. The second dark color ratio curve, the second light color ratio curve, and the second light color ratio curve constitute the second dark-light color ratio curve.
[0103] similar Figure 3 As shown, settings should be configured according to the actual production conditions, such as printer status and ink levels. Figure 10 The key coordinate points (or key parameters) shown are: the starting point I1 of the dark color ratio curve, the ending point E1 of the dark color ratio curve, the starting point A1 of the light color ratio curve, the highest point B1 of the light color ratio curve, and the ending point D1 of the light color ratio curve. A first light color ratio curve is fitted based on the starting point A1, the highest point B1, and the ending point D1 of the light color ratio curve. A first dark color ratio curve is fitted based on the starting point I1 and the ending point E1 of the dark color ratio curve. The first light color ratio curve and the first dark color ratio curve are then subtracted from the first dark color mapping curve to obtain the first light color ratio curve. For example, by obtaining the mathematical expressions corresponding to the first dark color mapping curve, the first dark color ratio curve, and the first light color ratio curve, and then subtracting the mathematical expressions of the first dark color mapping curve and the first light color ratio curve from the mathematical expressions of the first dark color mapping curve, the mathematical expression corresponding to the first light color ratio curve is obtained, thus yielding the corresponding first light color ratio curve. In other embodiments, the starting point, highest point, and ending point of the light color ratio curve, the starting point, highest point, and ending point of the light color ratio curve, the light-light color ratio curve, and the light-light color ratio curve can be preset in advance to fit a first light color ratio curve and a first light-light color ratio curve. Then, the first light color ratio curve and the first light-light color ratio curve are obtained by subtracting the first light color ratio curve and the first light-light color ratio curve from the first dark color mapping curve. Alternatively, the starting point, highest point, and ending point of the light color ratio curve, the starting point and ending point of the dark color ratio curve can be preset in advance to fit a first light color ratio curve and a first dark color ratio curve. Then, the first light-light color ratio curve and the first dark color ratio curve are obtained by subtracting the first light color ratio curve and the first dark color ratio curve from the first dark color mapping curve.
[0104] Similarly, the second dark color mapping curve is converted into a second dark-light color ratio curve that includes the second dark color ratio curve, the second light color ratio curve, and the second light-light color ratio curve.
[0105] After obtaining the first and second dark color ratio curves, a third dark color ratio curve with a smoother transition is obtained based on the first and second dark color ratio curves.
[0106] Specifically, firstly, based on the dark color data, the light color data, and the very light color data, the dark-to-light color mapping relationship and the dark-to-very light color mapping relationship are obtained:
[0107] Obtain the dark curve based on the dark color data;
[0108] Obtain the light-colored curve based on the light-colored data;
[0109] Obtain the light color curve based on the light color data;
[0110] Establish a mapping relationship between the dark curve and the light curve to obtain the dark-light color mapping relationship;
[0111] Establish a mapping relationship between the dark curve and the light curve to obtain the dark-light color mapping relationship.
[0112] As described above, after obtaining the dark color curve, light color curve, and light-light color curve respectively based on the dark color data, a mapping relationship between dark and light colors or a mapping relationship curve between dark and light colors is established. For example... Figure 11 As shown, multiple sampling points S are obtained in the dark curve, and simultaneously, sampling points T with the same output value as the S points are obtained in the light curve. Then, a dark-to-light color mapping relationship or a dark-to-light color mapping relationship curve is obtained based on the multiple S points and T points. The specific process is the same as described above. Figure 9 The process of obtaining the first dark color mapping curve is similar and will not be repeated here. Similarly, the dark-to-light color mapping relationship curve or the dark-to-light color mapping relationship curve is obtained based on the dark color curve and the light color curve.
[0113] Preferably, obtaining the first color data based on the first light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship includes:
[0114] The first light color ink volume curve is obtained based on the first light color ratio curve and the dark-light color mapping relationship;
[0115] The first light color ink volume curve is obtained based on the first light color ratio curve and the dark-light color mapping relationship;
[0116] The first color block image is obtained by printing a preset color block image based on the first light and dark color ratio curve, the first light color ink volume curve and the first light color ink volume curve.
[0117] Collect the first color block image to obtain the first color data.
[0118] Specifically, based on the dark-light color mapping relationship, the first light color ratio curve in the first dark-light color ratio curve is converted into a first light color ink volume curve that controls the ink output of the light color channel during printing, thereby obtaining the actual output light color ink volume. For example, multiple sampling points in the first light color ratio curve are obtained, and the mapped (ink volume) values corresponding to the output (ink volume) values of these multiple sampling points are obtained according to the dark-light color mapping relationship. Based on the input (ink volume) values and mapped (ink volume) values of these sampling points, multiple points in the first light color ink volume curve are obtained, and these points are fitted or interpolated to obtain the first light color ink volume curve. Similarly, based on the dark-light color mapping relationship, the first light color ratio curve in the first dark-light color ratio curve is converted into a first light color ink volume curve. Then, ink is output and printed according to the first dark-light color ratio curve, the first light color ink volume curve, and the first light color ink volume curve. Figure 5 The preset color block image shown is used to obtain the first color block image. The color data of the first color block image is collected to obtain the first color data. Similarly, the first color data can be any one of brightness data, density data, concentration (ink volume) data, color difference data, LAB data, XYZ data, or spectral data.
[0119] Preferably, obtaining the second color data based on the second light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship includes:
[0120] The second light color ink volume curve is obtained based on the second light color ratio curve and the dark-light color mapping relationship;
[0121] The second light color ink volume curve is obtained based on the second light color ratio curve and the dark-light color mapping relationship;
[0122] The second color block image is obtained by printing a preset color block image based on the second light and dark color ratio curve, the second light color ink volume curve and the second light and light ink volume curve;
[0123] Acquire the second color data by capturing the second color block image.
[0124] Specifically, the method for obtaining the second color data is similar to that for obtaining the first color data, and will not be repeated here. Similarly, the first color data can be any of the following: luminance data, density data, concentration (ink volume) data, color difference data, LAB data, XYZ data, or spectral data. However, the first color data and the second color data must be of the same type, such as both being concentration (ink volume) data or both being LAB data.
[0125] Preferably, obtaining the third light-dark color matching curve based on the first color data and the second color data includes:
[0126] Based on the first color data and the second color data, obtain the first reference total proportion curve and the second reference total proportion curve;
[0127] A third reference total proportion curve is obtained based on the first and second reference total proportion curves;
[0128] The third light and dark color ratio curve is obtained based on the third reference total ratio curve, the starting point of the preset dark color ratio curve, the ending point of the preset dark color ratio curve, the starting point of the preset light color ratio curve, the highest point of the preset light color ratio, and the ending point of the preset light color ratio curve.
[0129] Specifically, similar to the method described above for obtaining the dark curve based on dark color data, the curves obtained from the first color data and the second color data are respectively denoted as the first reference total proportion curve and the second reference total proportion curve. A more optimized third reference total proportion curve is obtained based on the first reference total proportion curve and the second reference total proportion curve. The obtained first reference total proportion curve and second reference total proportion curve are as follows: Figure 12 As shown, a straight line connects the two intersection points of the first and second reference total proportion curves to obtain a fourth reference curve. A sampling point R1 is obtained from the first reference total proportion curve, and a sampling point R2 with the same input (horizontal coordinate) value as sampling point R1 is obtained from the second reference total proportion curve. A sampling point R3 with the same input (horizontal coordinate) value as sampling point R1 is obtained from the fourth reference curve. Let the output value of R1 be k1, the output value of R2 be k2, the difference between the output (vertical coordinate) values of sampling points R1 and R2 be d1, and the difference between the output (vertical coordinate) values of sampling points R4 and R2 be d2. Sampling point R3 is obtained based on R1 and R2, where the horizontal coordinate value (input value) of R3 is the same as that of R1 or R2, and the vertical coordinate value (output value) of R3 is: k3 = d2(k1-k2) / d1+k2.
[0130] Similarly, obtain multiple R1 and R2 sampling points with different x-axis values (input values), and obtain multiple R3 sampling points based on these sampling points. Fit or interpolate these R3 sampling points to obtain the third reference overall proportion curve. Similar to obtaining the first and second light-dark color proportion curves, first fit the third light-dark color proportion curve based on the starting point, highest point, and ending point of the light-dark color proportion curve. Fit the third dark color proportion curve based on the starting point and ending point of the dark color proportion curve. Subtract the third light-dark color proportion curve and the third dark color proportion curve from the third reference overall proportion curve to obtain the third light color proportion curve, thus obtaining the third light-dark color proportion curve. Because the third light-dark color ratio curve is obtained based on the mapping relationship between dark color data, light color data and light-light color data, controlling the ink output of the dark color channel, light color channel and light-light color channel according to the third light-dark color ratio curve can make the transition between dark ink and light ink, and between dark ink and light-light ink smoother, thus ensuring better printing results.
[0131] In summary, the inkjet printer light and dark color ratio curve acquisition method provided by this invention involves printing preset color swatches using the dark channel, the light channel, and the light-light channel respectively to obtain dark color swatches, light color swatches, and light-light color swatches; collecting color data from the dark color swatches, light color swatches, and light-light color swatches to obtain dark color data, light color data, and light-light color data respectively; obtaining a first dark color mapping curve and a second dark color mapping curve based on the dark color data; and dividing the first dark color mapping curve and the second dark color mapping curve into... The process involves converting the data into a first light-dark color ratio curve and a second light-dark color ratio curve; obtaining a light-dark color mapping relationship and a dark-light-light color mapping relationship based on the dark color data, the light color data, and the light-light color data; obtaining first color data based on the first light-dark color ratio curve, the light-dark color mapping relationship, and the light-light color mapping relationship; obtaining second color data based on the second light-dark color ratio curve, the light-dark color mapping relationship, and the light-light-light color mapping relationship; and obtaining a third light-dark color ratio curve based on the first color data and the second color data. The inkjet printer's method for obtaining the color depth ratio curve involves controlling the ink output of the dark, light, and light-light channels separately to acquire dark, light, and light color data. Based on the dark color data, a dark curve is obtained and converted into different first and second color depth ratio curves. Then, based on the mapping relationship between the dark, light, and light color data, the first and second color depth ratio curves are optimized and smoothed to obtain a better third color depth ratio curve. Controlling the ink output of the dark, light, and light-light channels according to this third color depth ratio curve allows for smoother transitions between dark and light inks, and between dark and light-light inks, ensuring better printing results.
[0132] Example 2
[0133] Please see Figure 13 This invention provides a device 200 for obtaining the color depth ratio curve of an inkjet printer, the device 200 comprising:
[0134] Printing module 201 is used to print preset color block images using the dark channel, the light channel and the light-light channel respectively, and to obtain dark color block images, light color block images and light-light color block images;
[0135] The acquisition module 202 is used to acquire the color data of the dark color block image, the light color block image and the light-light color block image, and to obtain the dark color data, the light color data and the light-light color data respectively;
[0136] Dark color mapping curve acquisition module 203 is used to acquire a first dark color mapping curve and a second dark color mapping curve based on the dark color data;
[0137] The conversion module 204 is used to convert the first dark color mapping curve and the second dark color mapping curve into a first light color ratio curve and a second light color ratio curve, respectively.
[0138] The mapping relationship acquisition module 205 is used to acquire the dark-light color mapping relationship and the dark-light color mapping relationship based on the dark color data, the light color data and the light-light color data;
[0139] The first color data acquisition module 206 is used to acquire first color data based on the first light and dark color matching curve, the light and dark color mapping relationship and the light and dark color mapping relationship.
[0140] The second color data acquisition module 207 is used to acquire second color data based on the second light and dark color matching curve, the light and dark color mapping relationship and the light and dark color mapping relationship.
[0141] The light and dark color matching curve acquisition module 208 is used to acquire a third light and dark color matching curve based on the first color data and the second color data.
[0142] Preferably, the dark mapping curve acquisition module 203 includes:
[0143] Dark curve acquisition unit, used to acquire a dark curve based on the dark color data;
[0144] A point acquisition unit is used to acquire the maximum and minimum points in the dark curve.
[0145] The first reference curve acquisition unit is used to establish a first reference curve based on the maximum point and the minimum point, wherein the first reference curve is a straight line.
[0146] The second reference curve acquisition unit is used to acquire a second reference curve and a third parameter curve based on the first reference curve; wherein the second reference curve is an upward convex curve and the third reference curve is a downward concave curve.
[0147] The mapping curve acquisition unit is used to acquire the mapping curves of the second reference curve and the third parameter curve relative to the dark curve, so as to obtain the first dark mapping curve and the second dark mapping curve.
[0148] Preferably, the conversion module 204 includes:
[0149] The determining unit is used to determine the starting point of the preset dark color ratio curve, the ending point of the preset dark color ratio curve, the starting point of the preset light color ratio curve, the highest point of the preset light color ratio, and the ending point of the preset light color ratio curve.
[0150] The first dark-light color ratio curve acquisition unit is used to convert the first dark color mapping curve into a first dark color ratio curve, a first light color ratio curve, and a first light color ratio curve based on the preset dark color ratio curve start point, the preset dark color ratio curve end point, the preset light color ratio curve start point, the preset light color ratio highest point, and the preset light color ratio curve end point. The first dark color ratio curve, the first light color ratio curve, and the first light color ratio curve constitute the first dark-light color ratio curve.
[0151] The second dark-light color curve acquisition unit is used to convert the second dark color mapping curve into a second dark color ratio curve, a second light color ratio curve, and a second light color ratio curve according to the preset dark color ratio curve start point, the preset dark color ratio curve end point, the preset light color ratio curve start point, the preset light color ratio curve highest point, and the preset light color ratio curve end point. The second dark color ratio curve, the second light color ratio curve, and the second light color ratio curve constitute the second dark-light color ratio curve.
[0152] Preferably, the mapping relationship acquisition module 205 includes:
[0153] Dark curve acquisition unit, used to acquire a dark curve based on the dark color data;
[0154] A light-colored curve acquisition unit is used to acquire a light-colored curve based on the light-colored data;
[0155] A light-colored curve acquisition unit is used to acquire a light-colored curve based on the light-colored data;
[0156] The first establishing unit is used to establish the mapping relationship between the dark curve and the light curve, and to obtain the dark-light mapping relationship;
[0157] The second establishment unit is used to establish the mapping relationship between the dark curve and the light curve, and to obtain the dark-light mapping relationship.
[0158] Preferably, the first color data acquisition module 206 includes:
[0159] The first light-colored ink quantity curve acquisition unit is used to acquire the first light-colored ink quantity curve based on the first light-colored mixing ratio curve and the dark-light color mapping relationship.
[0160] The first light-colored ink quantity curve acquisition unit is used to acquire the first light-colored ink quantity curve based on the first light-colored mixing ratio curve and the dark-light-colored mapping relationship.
[0161] The first printing unit is used to obtain the first color block image by printing a preset color block image based on the first light and dark color ratio curve, the first light color ink volume curve and the first light color ink volume curve.
[0162] The first acquisition unit is used to acquire the first color block image to obtain the first color data.
[0163] Preferably, the second color data acquisition module 207 includes:
[0164] The second light-colored ink quantity curve acquisition unit is used to acquire the second light-colored ink quantity curve based on the second light-colored mixing ratio curve and the dark-light color mapping relationship;
[0165] The second light-colored ink quantity curve acquisition unit is used to acquire the second light-colored ink quantity curve according to the second light-colored mixing ratio curve and the dark-light-colored mapping relationship;
[0166] The second printing unit is used to obtain the second color block image by printing a preset color block image based on the second light and dark color ratio curve, the second light color ink quantity curve and the second light and light ink quantity curve.
[0167] The second acquisition unit is used to acquire the second color block image to obtain the second color data.
[0168] Preferably, the light and dark color matching curve acquisition module 208 includes:
[0169] The second reference total proportion curve acquisition unit is used to acquire the first reference total proportion curve and the second reference total proportion curve based on the first color data and the second color data;
[0170] The third reference total proportion curve acquisition unit is used to acquire the third reference total proportion curve based on the first reference total proportion curve and the second reference total proportion curve.
[0171] The third light and dark color ratio curve acquisition unit is used to acquire the third light and dark color ratio curve based on the third reference total ratio curve and the preset dark color ratio curve start point, the preset dark color ratio curve end point, the preset light color ratio curve start point, the preset light color ratio highest point, and the preset light color ratio curve end point.
[0172] In summary, the inkjet printer color matching curve acquisition device provided in this embodiment of the invention acquires dark color data, light color data, and light-light color data by controlling the ink output of the dark channel, light channel, and light-light channel respectively. It then acquires a dark curve based on the dark color and converts it into different first and second color matching curves. Finally, it optimizes and smooths the first and second color matching curves based on the mapping relationship between the dark, light, and light color data, thereby obtaining a better third color matching curve. Controlling the ink output of the dark, light, and light channels according to this third color matching curve allows for smoother transitions between dark and light inks, and between dark and light-light inks, ensuring better printing results.
[0173] Example 3
[0174] In addition, the method for obtaining the light and dark color ratio curve of an inkjet printer according to the present invention can be implemented by an inkjet printer light and dark color ratio curve acquisition device. Figure 14 A schematic diagram of the hardware structure of the inkjet printer light and dark color ratio curve acquisition device provided in an embodiment of the present invention is shown.
[0175] The inkjet printer's color mixing curve acquisition device may include a processor 301 and a memory 302 storing computer program instructions.
[0176] Specifically, the processor 301 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.
[0177] Memory 302 may include mass storage for data or instructions. For example, and not limitingly, memory 302 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 302 may include removable or non-removable (or fixed) media. Where appropriate, memory 302 may be internal or external to a data processing device. In a particular embodiment, memory 302 is a non-volatile solid-state memory. In a particular embodiment, memory 302 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0178] The processor 301 reads and executes computer program instructions stored in the memory 302 to implement any of the inkjet printer light and dark color ratio curve acquisition methods in the above embodiments.
[0179] In one example, the inkjet printer's color mixing curve acquisition device may also include a communication interface 303 and a bus 310. For example, Figure 14 As shown, the processor 301, memory 302, and communication interface 303 are connected through bus 310 and complete communication with each other.
[0180] The communication interface 303 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0181] Bus 310 includes hardware, software, or both, that couples components of an inkjet printer's color gradation curve acquisition device together. For example, and not as a limitation, bus 310 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel 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 buses, or combinations of two or more of these. Where appropriate, bus 310 may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.
[0182] Example 4
[0183] Furthermore, in conjunction with the inkjet printer light and dark color ratio curve acquisition method in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by the processor 301, they implement any of the inkjet printer light and dark color ratio curve acquisition methods in the above embodiments.
[0184] In summary, the inkjet printer color depth ratio curve acquisition method, apparatus, device, and medium provided in this embodiment of the invention acquire dark color data, light color data, and light-light color data by controlling the ink output of the dark channel, light channel, and light-light channel respectively. Based on the dark color, a dark curve is obtained and converted into different first and second color depth ratio curves. Then, based on the mapping relationship between the dark color data, light color data, and light-light color data, the first and second color depth ratio curves are optimized and smoothed to obtain a better third color depth ratio curve. When controlling the ink output of the dark channel, light channel, and light-light channel according to this third color depth ratio curve, the transition between dark and light inks, and between dark and light inks, is smoother, ensuring better printing results.
[0185] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.
[0186] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0187] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0188] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. A method for obtaining the color depth ratio curve of an inkjet printer, characterized in that, The method includes: Print the preset color block image using the dark channel, light channel, and light light channel respectively to obtain the dark color block image, light color block image, and light light color block image; Collect color data from the dark color block image, light color block image, and very light color block image, and obtain dark color data, light color data, and very light color data respectively; Based on the dark color data, obtain the first dark color mapping curve and the second dark color mapping curve; The first dark color mapping curve and the second dark color mapping curve are respectively converted into a first light and dark color ratio curve and a second light and dark color ratio curve; Based on the dark color data, the light color data, and the light-light color data, obtain the dark-light color mapping relationship and the dark-light color mapping relationship; First color data is obtained based on the first light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship. The second color data is obtained based on the second light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship; A third light and dark color matching curve is obtained based on the first color data and the second color data.
2. The method for obtaining the light and dark color matching curve of an inkjet printer according to claim 1, characterized in that, The step of obtaining the first dark color mapping curve and the second dark color mapping curve based on the dark color data includes: Obtain the dark curve based on the dark color data; Obtain the maximum and minimum points in the dark curve; A first reference curve is established based on the maximum and minimum points, wherein the first reference curve is a straight line; A second reference curve and a third parameter curve are obtained based on the first reference curve; wherein the second reference curve is an upward convex curve and the third reference curve is a downward concave curve; Obtain the mapping curves of the second reference curve and the third parameter curve relative to the dark curve to obtain the first dark mapping curve and the second dark mapping curve.
3. The method for obtaining the light and dark color matching curve of an inkjet printer according to claim 1, characterized in that, The step of converting the first dark color mapping curve and the second dark color mapping curve into a first light-dark color ratio curve and a second light-dark color ratio curve respectively includes: Determine the starting point, ending point, and starting point, maximum point, and ending point of the preset dark color ratio curve and the preset light color ratio curve; Based on the preset dark color ratio curve start point, the preset dark color ratio curve end point, the preset light color ratio curve start point, the preset light color ratio highest point, and the preset light color ratio curve end point, the first dark color mapping curve is converted into a first dark color ratio curve, a first light color ratio curve, and a first light color ratio curve. The first dark color ratio curve, the first light color ratio curve, and the first light color ratio curve constitute the first dark-light color ratio curve. Based on the preset dark color ratio curve start point, the preset dark color ratio curve end point, the preset light color ratio curve start point, the preset light color ratio curve highest point, and the preset light color ratio curve end point, the second dark color mapping curve is converted into a second dark color ratio curve, a second light color ratio curve, and a second light color ratio curve. The second dark color ratio curve, the second light color ratio curve, and the second light color ratio curve constitute the second dark-light color ratio curve.
4. The method for obtaining the light and dark color matching curve of an inkjet printer according to claim 1, characterized in that, The step of obtaining the dark-to-light color mapping relationship and the dark-to-light color mapping relationship based on the dark color data, the light color data, and the light-to-light color data includes: Obtain the dark curve based on the dark color data; Obtain the light-colored curve based on the light-colored data; Obtain the light color curve based on the light color data; Establish a mapping relationship between the dark curve and the light curve to obtain the dark-light color mapping relationship; Establish a mapping relationship between the dark curve and the light curve to obtain the dark-light color mapping relationship.
5. The method for obtaining the light and dark color matching curve of an inkjet printer according to claim 3, characterized in that, The step of obtaining the first color data based on the first light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship includes: The first light color ink volume curve is obtained based on the first light color ratio curve and the dark-light color mapping relationship; The first light color ink volume curve is obtained based on the first light color ratio curve and the dark-light color mapping relationship; The first color block image is obtained by printing a preset color block image based on the first light and dark color ratio curve, the first light color ink volume curve and the first light color ink volume curve. Collect the first color block image to obtain the first color data.
6. The method for obtaining the light and dark color matching curve of an inkjet printer according to claim 3, characterized in that, The step of obtaining the second color data based on the second light-dark color ratio curve, the light-dark color mapping relationship, and the light-dark color mapping relationship includes: The second light color ink volume curve is obtained based on the second light color ratio curve and the dark-light color mapping relationship; The second light color ink volume curve is obtained based on the second light color mixing ratio curve and the dark-light color mapping relationship; The second color block image is obtained by printing a preset color block image based on the second light and dark color ratio curve, the second light color ink volume curve and the second light and light ink volume curve; Acquire the second color data by capturing the second color block image.
7. The method for obtaining the light and dark color matching curve of an inkjet printer according to claim 3, characterized in that, The step of obtaining the third light and dark color matching curve based on the first color data and the second color data includes: Based on the first color data and the second color data, obtain the first reference total proportion curve and the second reference total proportion curve; A third reference total proportion curve is obtained based on the first and second reference total proportion curves; The third light and dark color ratio curve is obtained based on the third reference total ratio curve, the starting point of the preset dark color ratio curve, the ending point of the preset dark color ratio curve, the starting point of the preset light color ratio curve, the highest point of the preset light color ratio, and the ending point of the preset light color ratio curve.
8. A device for obtaining the color depth ratio curve of an inkjet printer, characterized in that, The device includes: The printing module is used to print preset color block images using the dark channel, light channel, and light-light channel respectively, and to obtain dark color block images, light color block images, and light-light color block images; The acquisition module is used to acquire color data from the dark color block image, the light color block image, and the very light color block image, and to obtain dark color data, light color data, and very light color data respectively; The dark color mapping curve acquisition module is used to acquire a first dark color mapping curve and a second dark color mapping curve based on the dark color data. The conversion module is used to convert the first dark color mapping curve and the second dark color mapping curve into a first light-dark color ratio curve and a second light-dark color ratio curve, respectively. The mapping relationship acquisition module is used to acquire the dark-light color mapping relationship and the dark-light color mapping relationship based on the dark color data, the light color data and the light-light color data; The first color data acquisition module is used to acquire first color data based on the first light and dark color ratio curve, the light and dark color mapping relationship and the light and dark color mapping relationship. The second color data acquisition module is used to acquire second color data based on the second light and dark color matching curve, the light and dark color mapping relationship and the light and dark color mapping relationship. The light and dark color ratio curve acquisition module is used to acquire a third light and dark color ratio curve based on the first color data and the second color data.
9. A device for obtaining the color mixing ratio curve of an inkjet printer, characterized in that, include: 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 as described in any one of claims 1-7.
10. A storage medium storing computer program instructions thereon, characterized in that, The method as described in any one of claims 1-7 is implemented when the computer program instructions are executed by the processor.
Citation Information
Patent Citations
Dark and light color matching curve optimization method and device, equipment and storage medium
CN116540954A