Generation method and printing method of color conversion configuration file, electronic equipment, storage medium and computer program product

By dividing the input color gamut space into color mapping intervals with different brightness ranges and optimizing the color conversion function, the problem of inaccurate color conversion in the existing technology is solved, and the color printing consistency and accuracy of the printer are improved.

CN118732968APending Publication Date: 2024-10-01ZHEJIANG HUANYU TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411225330.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-10-01

Smart Images

  • Figure CN118732968A_ABST
    Figure CN118732968A_ABST
Patent Text Reader

Abstract

The invention provides a color conversion configuration file generation method, electronic equipment, a storage medium and a computer program product, and the method comprises the steps: dividing an input color gamut space into a plurality of color mapping intervals corresponding to different brightness ranges based on a preset division rule; sampling a plurality of color parameters in each color mapping interval; the target printer is controlled to call the initial color conversion configuration file, and color samples corresponding to the color parameters of each color mapping interval are printed; obtaining a measurement result of each color sample, determining a comparison result between the measurement result of each color sample and the color parameter, and obtaining a plurality of comparison results; and determining a color conversion function of each color mapping interval according to the plurality of comparison results corresponding to each color mapping interval, and constructing an optimized color conversion configuration file according to the color conversion functions of all the color mapping intervals. According to the scheme, the color printing quality consistency and the color accuracy in different brightness ranges are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of color management of printers, and in particular to a method for generating a color conversion profile, a printing method, an electronic device, a computer-readable storage medium, and a computer program product. Background Art

[0002] In the field of printer color management, ICC (International Color Consortium) profiles play a vital role. ICC profiles (hereinafter referred to as color conversion profiles) contain the color characteristics of the device and also provide the data required for color space conversion. When the printer receives a print instruction for a specific color, it can convert the value of the color space in the print instruction through the color conversion profile to obtain printing parameters that the printer can recognize, and then print out a specific color based on the printing parameters.

[0003] However, in the related art, the color conversion profile has a certain tendency when performing conversion processing, and may only be able to effectively convert part of the colors in the color space, while the conversion results for other colors are not accurate enough. This makes it impossible for the printer to accurately print all colors in the color space based on the color conversion profile, and the output stability and color accuracy of the printer are not ideal. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method for generating a color conversion profile, a printing method, an electronic device, a storage medium, and a computer program product, so as to improve the consistency of color printing quality and color accuracy within different brightness ranges.

[0005] In one aspect, the present application provides a method for generating a color conversion profile, comprising: Based on a preset division rule, the input color gamut space is divided into a plurality of color mapping intervals corresponding to different brightness ranges; Sampling a plurality of color parameters in each color mapping interval; Controlling the target printer to call the initial color conversion configuration file and print color samples corresponding to multiple color parameters in each color mapping interval; Obtaining a measurement result of each color sample, and determining a comparison result between the measurement result of each color sample and the color parameter, to obtain a plurality of comparison results; According to the multiple comparison results corresponding to each color mapping interval, the color conversion function of each color mapping interval is determined, and according to the color conversion functions of all color mapping intervals, an optimized color conversion configuration file is constructed.

[0006] In one embodiment, the following steps are used to replace the step “based on a preset division rule, dividing the input color gamut space into a plurality of color mapping intervals corresponding to different brightness ranges; sampling a plurality of color parameters in each color mapping interval; controlling the target printer to call the initial color conversion configuration file to print color samples corresponding to the plurality of color parameters in each color mapping interval; obtaining a measurement result of each color sample, and determining a comparison result between the measurement result of each color sample and the color parameter to obtain a plurality of comparison results;”: Control the target printer to call the initial color conversion configuration file and print the color samples corresponding to the multiple color parameters in the preset printing set; Obtaining a measurement result of each color sample, and determining a comparison result between the measurement result of each color sample and the color parameter, to obtain a plurality of comparison results; According to the multiple comparison results, a division rule is generated or modified to divide the input color gamut space into multiple color mapping intervals corresponding to different brightness ranges.

[0007] In one embodiment, determining the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval includes: According to the brightness range corresponding to each color mapping interval, a color gamut mapping algorithm of the color mapping interval is determined; wherein the color gamut mapping algorithm is used to map color parameters into printing parameters.

[0008] In one embodiment, the color mapping interval includes a first color mapping interval, a second color mapping interval, and a third color mapping interval, the brightness range corresponding to the first color mapping interval is greater than the brightness range corresponding to the second color mapping interval, and the brightness range corresponding to the second color mapping interval is greater than the brightness range corresponding to the third color mapping interval; Determining the color gamut mapping algorithm of each color mapping interval according to the brightness range corresponding to the color mapping interval includes: determining a perceptible color gamut mapping algorithm for the first color mapping interval; Determining a saturation-first color gamut mapping algorithm for the second color mapping interval; For the third color mapping interval, a color gamut mapping algorithm of absolute contrast is determined.

[0009] In one embodiment, the color conversion function includes a plurality of output channel components; Determining the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval includes: Based on the brightness range corresponding to each color mapping interval, the component ratio scheme of the color mapping interval is determined to obtain the component ratio scheme of all color mapping intervals; wherein the component ratio scheme is used to determine the usage parameters of the multiple output channel components.

[0010] In one embodiment, determining the component ratio scheme of each color mapping interval based on the brightness range corresponding to the color mapping interval to obtain the component ratio schemes of all color mapping intervals includes: Based on the brightness range corresponding to each color mapping interval, the black starting point and color replacement scheme of the color mapping interval are determined to adjust the usage parameters of the black ink component corresponding to the color mapping interval.

[0011] In one embodiment, the color mapping interval includes a first color mapping interval, a second color mapping interval, and a third color mapping interval, the brightness range corresponding to the first color mapping interval is greater than the brightness range corresponding to the second color mapping interval, and the brightness range corresponding to the second color mapping interval is greater than the brightness range corresponding to the third color mapping interval; The step of determining a black starting point and a color replacement scheme for each color mapping interval based on a brightness range corresponding to the color mapping interval includes: For the first color mapping interval, determining the color replacement scheme to be a gray component replacement scheme, and determining the black starting point to be a first specified value; For the second color mapping interval, determining the color replacement scheme to be a gray component replacement scheme, and determining the black starting point to be a second specified value; wherein the second specified value is greater than the first specified value; For the third color mapping interval, the color replacement scheme is determined to be a background color removal scheme, and the black starting point is determined to be a third specified value; wherein the third specified value is greater than the second specified value.

[0012] In one embodiment, the color conversion function includes a plurality of output channel components; Determining the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval includes: Based on the brightness range corresponding to each color mapping interval, the ink output usage limit of the color mapping interval is determined, and the ink output usage limits of all color mapping intervals are obtained.

[0013] In one embodiment, the color mapping interval includes a first color mapping interval, a second color mapping interval, and a third color mapping interval, the brightness range corresponding to the first color mapping interval is greater than the brightness range corresponding to the second color mapping interval, and the brightness range corresponding to the second color mapping interval is greater than the brightness range corresponding to the third color mapping interval; The step of determining the ink output usage limit of each color mapping interval based on the brightness range corresponding to the color mapping interval includes: determining a first ink output usage limit for the first color mapping interval; determining a second ink output usage limit for the second color mapping interval; wherein the second ink output usage limit is greater than the first ink output usage limit; A third ink output usage limit is determined for the third color mapping interval; wherein the third ink output usage limit is greater than the second ink output usage limit.

[0014] In one embodiment, the color conversion function includes a plurality of output channel components, the plurality of output channel components including at least one color ink component and a transparent ink component; Determining the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval includes: Based on the brightness range corresponding to each color mapping interval, a transparent ink control template for the color mapping interval is determined; wherein the transparent ink control template is used to determine the usage parameters of the transparent ink component to supplement the usage parameters of the color ink component of the color mapping interval.

[0015] In one embodiment, the method further comprises: For each color mapping interval, a plurality of color parameters are sampled in a sampling area corresponding to a specified brightness value in the color mapping interval; Controlling the target printer to call the initial color conversion configuration file and print color samples corresponding to multiple color parameters in each color mapping interval; Obtaining a measurement result of each color sample, and calculating a mean square error based on the measurement result of each color sample and a color parameter, and adjusting a color conversion function of the color mapping interval by using the mean square error; Repeat the above process. When the mean square error corresponding to any color mapping interval tends to be stable, the color conversion function of the color mapping interval is used as the final color conversion function, and the optimized color conversion profile is constructed according to the final color conversion functions of all color mapping intervals.

[0016] In one embodiment, the method further comprises: The optimized color conversion configuration file and the device model of the target printer are stored in association.

[0017] On the other hand, the present application provides a printing method, applied to a target printer, comprising: In response to a print control instruction, parsing a target color parameter from the print control instruction; The optimized color conversion configuration file is called to convert the target color parameters into target printing parameters, and the printing task is executed with the target printing parameters.

[0018] Furthermore, the present application provides an electronic device, the electronic device comprising: processor; a memory for storing processor-executable instructions; The processor is configured to execute the above-mentioned method for generating a color conversion profile or the above-mentioned printing method.

[0019] Furthermore, the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can be executed by a processor to complete the above-mentioned method for generating a color conversion profile or the above-mentioned printing method.

[0020] In addition, the present application provides a computer program product, including a computer program / instruction, which implements the above-mentioned method for generating a color conversion profile or the above-mentioned printing method when executed by a processor.

[0021] The present application scheme performs differentiated processing on the color characteristics of different brightness ranges, divides different color mapping intervals and adjusts different color conversion functions to optimize the color conversion profile, thereby improving the consistency of color printing quality and color accuracy within different brightness ranges. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings required for use in the embodiments of the present application are briefly introduced below.

[0023] Figure 1 A schematic diagram of an application scenario of a method for generating a color conversion configuration file provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application; Figure 3 A schematic diagram of a flow chart of a method for generating a color conversion configuration file provided in an embodiment of the present application; Figure 4 A schematic diagram of a flow chart of a method for generating a color conversion configuration file provided by another embodiment of the present application; Figure 5 A schematic diagram of a flow chart of a method for optimizing a color conversion configuration file provided in an embodiment of the present application; Figure 6 A block diagram of a device for generating a color conversion configuration file provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0025] Similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0026] Figure 1 Schematic diagram of an application scenario of the method for generating a color conversion configuration file provided in an embodiment of the present application. Figure 1 As shown, the application scenario includes a client 20 and a server 30; the client 20 can be a printer, which is used to receive print control instructions sent by the server 30 and execute print tasks; the server 30 can be a host, a server, a server cluster or a cloud computing center, which can execute the task of generating a color conversion profile based on the measurement results of the color samples printed by the printer.

[0027] like Figure 2 As shown, this embodiment provides an electronic device 1, including: at least one processor 11 and a memory 12, Figure 2 A processor 11 is taken as an example. The processor 11 and the memory 12 are connected via a bus 10. The memory 12 stores instructions that can be executed by the processor 11. The instructions are executed by the processor 11 so that the electronic device 1 can execute all or part of the process of the method in the following embodiment. In one embodiment, the electronic device 1 can be the above-mentioned server 30, which is used to execute the method for generating a color conversion profile.

[0028] The memory 12 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0029] The present application also provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by the processor 11 to complete the method for generating a color conversion profile provided by the present application.

[0030] The present application also provides a computer program product, including a computer program / instruction, which implements the method for generating a color conversion profile provided by the present application when the computer program / instruction is executed by a processor.

[0031] First, several names that will appear in this application document are defined: Print Collection: Includes a set of color parameters used to evaluate and calibrate the color output of a printer. It contains colors sampled at various dimensions of the input color gamut space and is used to evaluate the performance of the printer under different color conditions.

[0032] Input color gamut space: the color space where the color parameters of the input printer are located. The input color gamut space is a standard color space, usually CIEXYZ or CIELAB color space. The input color gamut space has nothing to do with the specific device and can transmit color information between different devices.

[0033] Color parameter: A numerical representation used to describe color. In different color spaces, color parameters are expressed differently. For example, in the Lab color space, L represents brightness, and a and b represent color components. In the RGB color space, R, G, and B represent the intensity of the three primary colors, red, green, and blue, respectively.

[0034] Printing parameters: specific settings used to control printer output, including the usage parameters of output channel components. For example, in a printing device with four CMYK printing channels, the usage parameter of the output channel component can be the concentration of CMKY.

[0035] Color sample: a sample representing the color printing effect that the printer can obtain based on the specified material under the printing parameters. The specified material is set according to the application requirements. For example, the specified material can be paper, cloth, etc.

[0036] Measurement results: The results of collecting and measuring color samples using instruments such as spectrophotometers and colorimeters. The measurement results are usually expressed in the form of spectral data, chromaticity values, etc., which can be compared with color parameters directly or after conversion.

[0037] Comparison results: By comparing the color parameters with the measurement results of the color samples corresponding to the color parameters, the difference data obtained is used to analyze the color deviation of the printer and guide the subsequent color correction.

[0038] Division rule: Division rule is the rule and method for dividing the input color gamut space into several sub-areas. Each sub-area is a color mapping interval. Division rule must be based on brightness, and may also include color attributes such as hue and saturation, and may also be customized in combination with printer characteristics.

[0039] Color conversion function: A function used to convert the color parameters input to the printer into printing parameters that the printer can understand and output.

[0040] A color conversion profile is a profile built based on a color conversion function.

[0041] See also Figure 3 , is a flow chart of a method for generating a color conversion configuration file provided by an embodiment of the present application, such as Figure 3 As shown, the method may include the following steps 310 to 340.

[0042] Step 310: Control the target printer to call the initial color conversion configuration file to print color samples corresponding to multiple color parameters in the preset print set.

[0043] The target printer is the printer for which a color conversion profile needs to be generated.

[0044] The initial color conversion configuration file is a color conversion configuration file initially generated for the target printer. Before executing step 310, an initial color conversion configuration file may be generated for the target printer.

[0045] Exemplarily, an electronic device executing the present solution can control the target printer to print each color block in the specified color block table to obtain a color sample corresponding to each color block. Here, the specified color block table can be configured as needed. Exemplarily, the specified color block table can indicate a series of color blocks composed of 12 hues corresponding to CMYK, ORBV (Orange Red Blue Violet) spot colors, and LCLMLKLLK (Light Cyan Light Magenta Light Key Light Light Key) light inks. Each color block corresponds to a color parameter. After obtaining multiple color samples, each color sample can be measured by a spectrophotometer to obtain corresponding measurement results. By comparing the measurement result of each color sample with its corresponding color parameter, multiple comparison results can be obtained, and then a corresponding color conversion curve can be constructed based on the multiple comparison results, and an initial color conversion profile can be constructed with the color conversion curve.

[0046] By sending a print control instruction carrying a print set to the target printer, the target printer can be controlled to call the local initial color conversion configuration file, convert each color parameter, obtain the print parameters, and print out color samples corresponding to multiple color parameters in the print set based on the print parameters.

[0047] Step 320: Obtain the measurement result of each color sample, and determine the comparison result between the measurement result of each color sample and the color parameter to obtain multiple comparison results.

[0048] The electronic device executing this solution can obtain the measurement result of each color sample, and compare the measurement result with the color parameter corresponding to the color sample to obtain the comparison result corresponding to each color parameter, thereby obtaining multiple comparison results.

[0049] Step 330: Generate or modify a division rule according to the multiple comparison results to divide the input color gamut space into multiple color mapping intervals corresponding to different brightness ranges.

[0050] After obtaining multiple comparison results, a division rule can be generated or modified according to the multiple comparison results to divide the input color gamut space into multiple color mapping intervals corresponding to different brightness ranges. Here, if there is no division rule in advance, the color mapping intervals corresponding to multiple different brightness ranges can be directly generated according to the difference distribution indicated by the multiple comparison results.

[0051] The following methods can be used to generate or modify the division rules. Method 1: Division adjustment based on threshold. Set a color difference threshold. When the average color difference or maximum color difference in a division interval exceeds the threshold, the interval is further divided into smaller sub-intervals. Method 2: Division adjustment based on color difference change rate. Calculate the rate of change of color difference with brightness or other color attributes, and add division points at the position where the change rate increases to adapt to the nonlinear characteristics of the color conversion function. Method 3: Division adjustment based on basic analysis. Treat the comparison results as multidimensional data points, and use algorithms to divide these data points into multiple clusters, each cluster corresponding to a division interval. Method 4: Division adjustment based on decision tree. Construct a decision tree model to predict the best division rule based on the comparison results.

[0052] The following is an example of threshold-based division adjustment. For example: multiple comparison results corresponding to color parameters with a brightness range of 0 to 20 are relatively close; multiple comparison results corresponding to color parameters with a brightness range of 21 to 70 are relatively close; multiple comparison results corresponding to color parameters with a brightness range of 71 to 100 are relatively close. In this case, the input color gamut space can be divided into a color mapping interval corresponding to a brightness range of 0 to 20, a color mapping interval corresponding to a brightness range of 21 to 70, and a color mapping interval corresponding to a brightness range of 71 to 100.

[0053] If the division rule is configured in advance, the configured division rule can be modified through multiple comparison results to obtain a new division rule, and then the input color gamut space is divided into color mapping intervals corresponding to multiple brightness ranges according to the new division rule.

[0054] Step 340: Determine the color conversion function corresponding to each color mapping interval according to the multiple comparison results, and construct an optimized color conversion configuration file according to the color conversion functions of all color mapping intervals.

[0055] After obtaining multiple color mapping intervals, the color conversion function corresponding to each color mapping interval can be determined according to multiple comparison results corresponding to multiple color parameters in each color mapping interval. Here, the specific measures for constructing the color conversion function according to multiple comparison results are described in detail below.

[0056] After obtaining the color conversion functions corresponding to each color mapping interval, an optimized color conversion configuration file can be constructed according to the multiple color conversion functions.

[0057] Through the above measures, after the target printer is controlled to call the initial color conversion configuration file to print color samples corresponding to multiple color parameters, multiple comparison results can be obtained by comparing the measurement results of each color parameter with its corresponding color sample, and then the difference of the printing results in different brightness ranges can be determined according to the multiple comparison results. Therefore, the division rules are generated or modified based on the multiple comparison results to divide the input color gamut space into multiple color mapping intervals corresponding to different brightness ranges. Since the human eye's perception of color brightness corresponds to the brightness of color expression, it is more sensitive than the perception of other dimensions of the color space, and the accuracy of brightness can bring obvious visual improvement. By dividing the input color gamut space based on the brightness range and generating color conversion functions for each color mapping interval, the optimized color conversion configuration file containing multiple color conversion functions can process color conversion more accurately, improve the accuracy of the color brightness value of the print output, so that the target printer can subsequently use the optimized color conversion configuration file to print colors with higher accuracy perceived by the human eye.

[0058] See also Figure 4 , is a flow chart of a method for generating a color conversion configuration file provided by another embodiment of the present application, such as Figure 4 As shown, the method may include the following steps 410 to 450.

[0059] Step 410: Based on a preset division rule, the input color gamut space is divided into a plurality of color mapping intervals corresponding to different brightness ranges.

[0060] Exemplarily, the division rule divides the input color gamut space into a first color mapping interval with a brightness range of 67 to 100, a second color mapping interval with a brightness range of 34 to 66, and a third color mapping interval with a brightness range of 0 to 33.

[0061] Step 420: Sample a plurality of color parameters in each color mapping interval.

[0062] Preferably, the color differences of the multiple color parameters sampled in each color mapping interval are evenly distributed.

[0063] After obtaining multiple color mapping intervals, multiple color parameters can be sampled in each color mapping interval. When sampling from each color mapping interval, it can be ensured that the color difference of the sampled color parameters is evenly distributed.

[0064] Exemplarily, after the input color gamut space is divided into three brightness ranges, 3000 color parameters with uniform color difference distribution can be sampled from the first color mapping interval, the second color mapping interval, and the third color mapping interval.

[0065] Step 430: Control the target printer to call the initial color conversion configuration file to print color samples corresponding to the multiple color parameters in each color mapping interval.

[0066] After obtaining multiple color parameters corresponding to each color mapping interval, a print control instruction corresponding to each color mapping interval can be sent to the target printer, and the print control instruction carries multiple color parameters corresponding to the color mapping interval. When executing the print task, the target printer can call the initial color conversion configuration file, convert each color parameter through the color conversion function in the initial color conversion configuration file, obtain the print parameter, and print out the color sample corresponding to the color parameter based on the print parameter.

[0067] After printing color samples for multiple color blocks in each sampling area, multiple color samples corresponding to each brightness level can be obtained. For example, 3000 color blocks with uniform color difference distribution are sampled in the sampling area corresponding to the first brightness level (brightness between 67 and 100), and 3000 color samples can be printed.

[0068] Step 440: Obtain the measurement result of each color sample, and determine the comparison result between the measurement result of each color sample and the color parameter to obtain multiple comparison results.

[0069] The electronic device executing this solution can obtain the measurement result of each color sample, and compare the measurement result of each color sample with the color parameter corresponding to the color sample to obtain a comparison result, thereby obtaining multiple comparison results corresponding to each color mapping interval.

[0070] Step 450: Determine the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval, and construct an optimized color conversion configuration file according to the color conversion functions of all color mapping intervals.

[0071] According to the multiple comparison results corresponding to each color mapping interval, a color conversion function corresponding to the color mapping interval can be constructed. After the color conversion functions of the multiple color mapping intervals are obtained, an optimized color conversion configuration file can be constructed based on the multiple color conversion functions.

[0072] Through the above measures, after the input color gamut space is divided into multiple color mapping intervals corresponding to different brightness ranges, multiple color parameters can be sampled from each color mapping interval, and the target printer can be controlled to print multiple color samples corresponding to multiple color parameters, so as to determine multiple comparison results based on the measurement results and color parameters of multiple color samples, and then construct a color conversion function with multiple comparison results corresponding to each color mapping interval, and construct an optimized color conversion profile with multiple color conversion functions. In this process, since the human eye's perception of color brightness corresponds to the brightness of color expression, it is more sensitive than the perception of other dimensions of the color space, and the accuracy of brightness can bring obvious visual improvement. By dividing the input color gamut space based on the brightness range and generating color conversion functions for each color mapping interval, the optimized color conversion profile containing multiple color conversion functions can process color conversion more accurately, improve the accuracy of the color brightness value of the print output, so that the target printer can subsequently print colors with higher accuracy perceived by the human eye with the help of the optimized color conversion profile.

[0073] In one embodiment, when executing step 450 to construct a color conversion function, a color gamut mapping algorithm for each color mapping interval may be determined according to the brightness range corresponding to the color mapping interval, wherein the color gamut mapping algorithm is used to map color parameters to printing parameters.

[0074] Through this measure, each color mapping interval divided into the input color gamut space can construct a corresponding color gamut mapping algorithm.

[0075] In one embodiment, the color mapping interval includes a first color mapping interval, a second color mapping interval, and a third color mapping interval, the brightness range corresponding to the first color mapping interval is greater than the brightness range corresponding to the second color mapping interval, and the brightness range corresponding to the second color mapping interval is greater than the brightness range corresponding to the third color mapping interval.

[0076] In this case, when determining the color gamut mapping algorithm for each color mapping interval based on the brightness range corresponding to the color mapping interval, a perceptible color gamut mapping algorithm can be determined for the first color mapping interval; a saturation-priority color gamut mapping algorithm can be determined for the second color mapping interval; and an absolute contrast color gamut mapping algorithm can be determined for the third color mapping interval.

[0077] In the process of color gamut mapping, different color gamut mapping algorithms are selected for different brightness areas in order to optimize the color conversion effect and ensure the best visual experience at various brightness levels. The following are the reasons and principles behind the selection of these algorithms: First, the reasons for choosing the perceptual gamut mapping algorithm (Perceptual Rendering Intent) in low-brightness areas are as follows: Visual perception: In low-brightness areas, the human eye has a weaker ability to perceive color, and subtle color differences are not easy to detect. The perceptible color gamut mapping algorithm is designed to maintain visual consistency, and even if there is a certain amount of color distortion during the color conversion process, it will not significantly affect the visual effect.

[0078] Smooth transition: The algorithm adjusts the color to form a smooth transition in the target color space, avoiding color discontinuities or abrupt changes. This is especially important in low-brightness areas, where color discontinuities are more likely to occur.

[0079] Second, the reasons for choosing the saturation-first gamut mapping algorithm (Saturation Rendering Intent) in the mid-lightness area are as follows: Color saturation: In the medium-brightness area, the color saturation has a greater impact on the visual effect. The saturation-first color gamut mapping algorithm will try to maintain or enhance the color saturation, making the color look brighter and more vivid.

[0080] Visual appeal: This algorithm is suitable for scenes that require strong visual impact, such as advertising, display design, etc. By enhancing the saturation of colors, it can attract the audience's attention and enhance visual appeal.

[0081] Third, the reasons for choosing the Absolute ColorimetricRendering Intent in high-brightness areas are as follows: Color accuracy: In high-brightness areas, subtle differences in color are easily noticeable. Absolute Contrast's color gamut mapping algorithm tries to maintain color accuracy, ensuring that source and target colors are absolutely consistent.

[0082] Detail Preservation: This algorithm is suitable for scenarios where color details and accuracy need to be maintained, such as printing, art reproduction, etc. By maintaining color accuracy, you can ensure that the output results are consistent with the original design.

[0083] In summary, different color gamut mapping algorithms are selected to optimize the color conversion effect in different brightness areas. Low brightness area: The perceptible color gamut mapping algorithm can maintain visual consistency and smooth transition, which is suitable for low brightness areas with weak visual perception. Medium brightness area: The saturation-first color gamut mapping algorithm can enhance the saturation of the color and improve the visual appeal, which is suitable for medium brightness areas that require bright colors. High brightness area: The absolute contrast color gamut mapping algorithm can maintain the accuracy and details of the color, which is suitable for high brightness areas that require high-precision color reproduction.

[0084] By selecting the appropriate color gamut mapping algorithm for different brightness areas, the best visual effects and color reproduction can be ensured at all brightness levels.

[0085] By selecting the option of the color gamut mapping algorithm in the color management software, the corresponding color gamut mapping algorithm can be selected for each color mapping interval.

[0086] In one embodiment, the color conversion function includes a plurality of output channel components, wherein the output channel components represent the ink usage of each printing channel (such as CMYK channel).

[0087] When executing step 450 to determine the color conversion function of each color mapping interval, the component ratio scheme of the color mapping interval can be determined based on the brightness range corresponding to each color mapping interval to obtain the component ratio scheme of all color mapping intervals. The component ratio scheme is used to determine the usage parameters of multiple output channel components.

[0088] Print channels need to be adjusted according to different brightness ranges. For example, high brightness areas may occupy more yellow and cyan, while low brightness areas may require more black and magenta. By dividing multiple color mapping intervals based on the brightness range and determining the component ratio scheme for each color mapping interval, the output of each print channel within the specified brightness range can be optimized, thereby improving the accuracy and consistency of color conversion.

[0089] In one embodiment, when determining the component ratio scheme of each color mapping interval based on the brightness range corresponding to the color mapping interval, the black starting point and color replacement scheme of the color mapping interval can be determined based on the brightness range corresponding to each color mapping interval to adjust the usage parameters of the black ink component corresponding to the color mapping interval.

[0090] In one embodiment, the color mapping interval includes a first color mapping interval, a second color mapping interval, and a third color mapping interval, the brightness range corresponding to the first color mapping interval is greater than the brightness range of the second color mapping interval, and the brightness range of the second color mapping interval is greater than the brightness range of the third color mapping interval.

[0091] When determining the black starting point and color replacement scheme of each color mapping interval based on the brightness range corresponding to the color mapping interval, the color replacement scheme can be determined as a gray component replacement (GCR) scheme for the first color mapping interval, and the black starting point is determined to be a first specified value. The first specified value can be an empirical value, and its value range can be between 15% and 25%. Preferably, the first specified value is 20%. Here, the gray component replacement scheme replaces black with a certain proportion of cyan, magenta and yellow to reduce the amount of black and maintain light edges and details.

[0092] For the second color mapping interval, the color replacement scheme may be determined as a gray component replacement scheme, and the black starting point may be determined as a second specified value. The second specified value is greater than the first specified value. The second specified value may be an empirical value, and its value range may be between 35% and 45%. Preferably, the second specified value is 40%.

[0093] For the third color mapping interval, the color replacement scheme can be determined as an Under Color Removal (UCR) scheme, and the black starting point is determined to be a third specified value. The third specified value is greater than the second specified value. The third specified value can be an empirical value, and its value range can be between 55% and 65%. Preferably, the third specified value is 60%. Here, the under color removal scheme reduces the amount of cyan, magenta and yellow in the dark area, and mainly uses black to present the color, so as to reduce the total amount of ink and printing cost.

[0094] During the color mapping process, choosing different color replacement schemes and black starting point values ​​can optimize the color conversion effect and ensure the best visual effect and color reproduction at various brightness levels. The following are the specific schemes and reasons: First, the reason why the gray component replacement (GCR) is used in the high-brightness color mapping interval color replacement is that in the high-brightness area, the subtle difference in color is easy to be noticed. The use of gray component replacement can effectively reduce the use of color inks by increasing black ink to replace part of the gray component, thereby maintaining color accuracy and consistency.

[0095] The reason why the black starting point is the first specified value is that the color of the high-brightness area is brighter in itself. Setting the black starting point lower (the first specified value) can prevent excessive black ink from affecting brightness and color purity.

[0096] Second, the reason why the color replacement scheme in the mid-lightness color mapping interval adopts the gray component replacement scheme (GCR) is that in the mid-lightness area, color saturation and visual effects are equally important. The use of gray component replacement can reduce the use of color ink while maintaining color saturation, thereby improving printing efficiency and stability.

[0097] The reason why the black starting point is the second specified value (greater than the first specified value) is that the colors in the mid-lightness area are richer. Setting the black starting point higher (the second specified value) can more effectively replace the gray component and maintain the color saturation and visual effect.

[0098] Third, the reason why the color replacement scheme for the low-brightness color mapping interval uses the Under Color Removal (UCR) scheme is that in the low-brightness area, the color itself is darker, and the Under Color Removal scheme can reduce the use of color inks and maintain the depth and consistency of the color by increasing black ink. This can avoid color turbidity and inaccuracy caused by too much color ink.

[0099] The reason why the black starting point is the third specified value is that the color of the low-lightness area is darker. Setting the black starting point to the highest setting (the third specified value) can ensure that the black ink is fully used, thereby maintaining the depth and consistency of the color.

[0100] In summary, the color conversion effect can be optimized by choosing appropriate color replacement schemes and black starting point values ​​for different lightness areas, as follows: High lightness color mapping range: color replacement scheme is gray component replacement scheme (GCR), black starting point is the first specified value (lower).

[0101] Mid-lightness color mapping interval: color replacement scheme is gray component replacement scheme (GCR), and the black starting point is the second specified value (higher).

[0102] Low-lightness color mapping range: the color replacement scheme is the undercolor removal scheme (UCR), and the black starting point is the third specified value (highest).

[0103] Through the above measures, it is possible to ensure that black is reduced when printing the colors in the first color mapping interval; when printing the colors in the second color mapping interval, black is used appropriately to keep the colors bright; when printing the colors in the third color mapping interval, the total amount of ink is reduced to reduce the cost of ink use. This strategy can ensure the best visual effects and color reproduction at all brightness levels, while improving printing efficiency and stability.

[0104] In one embodiment, the color conversion function includes multiple output channel components. When executing step 450 to determine the color conversion function of each color mapping interval, the ink output usage limit of each color mapping interval can be determined based on the brightness range corresponding to each color mapping interval, and the ink output usage limit of all color mapping intervals can be obtained. The ink output usage limit represents the limit on the total amount of ink output of multiple output channels.

[0105] In the printing process, the amount of ink used and the coverage are closely related to the brightness. High brightness areas require less ink, while low brightness areas require more ink coverage. By dividing the brightness range into multiple color mapping intervals and determining the ink output limit for each color mapping interval accordingly, it is possible to improve ink usage management and avoid ink color deviation caused by too much or too little ink.

[0106] In one embodiment, the color mapping interval includes a first color mapping interval, a second color mapping interval, and a third color mapping interval, the brightness range corresponding to the first color mapping interval is greater than the brightness range corresponding to the second color mapping interval, and the brightness range corresponding to the second color mapping interval is greater than the brightness range corresponding to the third color mapping interval.

[0107] When determining the ink output usage limit of each color mapping interval based on the brightness range corresponding to the color mapping interval, a first ink output usage limit may be determined for the first color mapping interval, a second ink output usage limit may be determined for the second color mapping interval, and a third ink output usage limit may be determined for the third color mapping interval. The second ink output usage limit is greater than the first ink output usage limit, and the third ink output usage limit is greater than the second ink output usage limit.

[0108] For example, the output amount of the third ink corresponding to the lightness range of 0 to 33 is limited to 100%, that is, when printing colors within this lightness range, 100% of the total ink can be output. The output amount of the second ink corresponding to the lightness range of 34 to 66 is limited to 80%, that is, when printing colors within this lightness range, 80% of the total ink can be output. The output amount of the first ink corresponding to the lightness range of 67 to 100 is limited to 40%, that is, when printing colors within this lightness range, 40% of the total ink can be output.

[0109] In the color mapping process, the ink output limit for each color mapping interval is determined according to the brightness range, which can effectively control the printing quality and ink consumption. The specific solutions and reasons are as follows: First, the ink output usage limit for the high-brightness color mapping interval adopts the first ink output usage limit. The reason is that the color in the high-brightness area is brighter, and too much ink will cause the color to be oversaturated, affecting the visual effect. Therefore, the ink output volume needs to be strictly controlled to maintain the brightness and purity of the color. Limitation: First ink output usage limit (minimum). For example, the specific value is based on the specific printing equipment and materials, usually between 20%-50%.

[0110] Second, the ink output usage limit for the medium-brightness color mapping interval adopts the second ink output usage limit. The reason is that the colors in the medium-brightness area are richer, and the ink output needs to be increased appropriately to ensure the color saturation and visual effect. In this interval, the ink output usage limit needs to be slightly higher than that in the high-brightness interval. Limit: Second ink output usage limit (medium). Exemplary, specific value: usually between 50%-80%.

[0111] Third, the ink output usage limit for the low-brightness color mapping interval adopts the third ink output usage limit because the color in the low-brightness area is darker and more ink is needed to ensure the depth and consistency of the color. Therefore, in this interval, the ink output usage limit needs to be the highest. Limit: The third ink output usage limit (maximum). For example, the specific value is usually between 80%-100%.

[0112] In summary, this strategy ensures the best visual effects and color reproduction at all brightness levels, while effectively controlling the use of ink to avoid waste and excessive consumption. The specific values ​​can be fine-tuned according to the actual printing equipment and materials.

[0113] Through this measure, the color mapping intervals corresponding to different brightness ranges are configured with ink output usage limits that are adapted to the brightness of the brightness range indication, which can avoid oversaturation and ink diffusion, and ensure the stability of the printed output and the accuracy of the color. This configuration process can be performed in the color management software.

[0114] In one embodiment, the color conversion function includes multiple output channel components, and the multiple output channel components include at least one color ink component and a transparent ink component. When executing step 450 to determine the color conversion function of each color mapping interval, a transparent ink control template of the color mapping interval can be determined based on the brightness range corresponding to each color mapping interval. The transparent ink control template is used to determine the usage parameter of the transparent ink component to supplement the usage parameter of the color ink component of the color mapping interval.

[0115] The larger the brightness range corresponding to the color mapping interval is, the larger the usage parameter of the transparent ink component indicated by the corresponding transparent ink control template is.

[0116] Through this measure, a corresponding transparent ink control template can be configured for the color mapping interval based on its different brightness range, so as to ensure that the color conversion function of each subsequent color mapping interval can achieve the accuracy and consistency of color conversion.

[0117] In one embodiment, after executing step 450 to obtain the optimized color conversion profile, the optimized profile may be further optimized. Figure 5 , is a flow chart of a method for optimizing a color conversion profile provided by an embodiment of the present application, such as Figure 5 As shown, the method may include the following steps 510 to 540.

[0118] Step 510: For each color mapping interval, sample a plurality of color parameters in a sampling area corresponding to a specified brightness value in the color mapping interval.

[0119] The specified brightness value in any brightness range can be configured as needed. For example, the specified brightness value can be the minimum brightness value, maximum brightness value or median value in the brightness range. For example, the specified brightness value in the brightness range corresponding to the first color mapping interval (brightness value between 67 and 100) can be 75; the specified brightness value in the brightness range corresponding to the second color mapping interval (brightness value between 34 and 66) can be 50; the specified brightness value in the brightness range corresponding to the third color mapping interval (brightness value between 0 and 33) can be 25.

[0120] After determining the specified brightness value in any color mapping interval, all colors corresponding to the specified brightness value in the color mapping interval are used as sampling areas, and multiple color parameters can be sampled therefrom. The number of color parameters sampled from each sampling area can be configured as needed. For example, each sampling area can sample 1000 color parameters with uniform color difference distribution.

[0121] Step 520: Control the target printer to call the initial color conversion configuration file to print color samples corresponding to the multiple color parameters in each color mapping interval.

[0122] For multiple color parameters corresponding to a specified brightness value within any brightness range, a print control instruction corresponding to the specified brightness value can be sent to the target printer, and the print control instruction carries multiple color parameters corresponding to the specified brightness value. In this case, the target printer can call the color conversion function corresponding to the brightness range where the specified brightness value is located in the optimized color conversion configuration file, convert each color parameter through the color conversion function, obtain the printing parameters, and print out the color sample corresponding to the color parameter based on the printing parameters. Here, the color sample can be obtained by printing based on the specified material, and the specified material is set according to the application requirements.

[0123] After printing out color samples for multiple color parameters corresponding to each specified lightness value, multiple color samples corresponding to each specified lightness value can be obtained. For example, 1000 color parameters with uniform color difference distribution are sampled from the sampling area corresponding to the specified lightness value 25, and 1000 color samples can be printed out.

[0124] Step 530: Obtain the measurement result of each color sample, and calculate the mean square error based on the measurement result of each color sample and the color parameter, and adjust the color conversion function of the color mapping interval with the mean square error.

[0125] Each color sample can be measured by a spectrophotometer to obtain a measurement result. For any specified lightness value, the mean square error (MSE) can be calculated between multiple color parameters of the specified lightness value and the measurement result, and the color conversion function of the lightness range of the specified lightness value can be adaptively adjusted based on the calculated mean square error.

[0126] For example, the direction and degree of color deviation (e.g., brightness and luminance are generally high or low) can be determined based on the mean square error, so that the color conversion function of the luminance range of the specified luminance value can be adaptively adjusted to compensate for the color deviation.

[0127] For example, based on the mean square error, it can be determined that the color samples show oversaturation or color accumulation (especially the color samples corresponding to the minimum specified lightness value). At this time, the total ink limit corresponding to the color conversion function can be adjusted to reduce the ratio to avoid oversaturation and ink accumulation problems.

[0128] For example, if it can be determined based on the mean square error that certain specific colors or color ranges deviate significantly from the expected storage, the color correction settings can be adjusted to fine-tune the specific colors or color ranges to improve the performance of the specific colors or color ranges.

[0129] Step 540: Repeat the above process. When the mean square error corresponding to any color mapping interval tends to be stable, the color conversion function of the color mapping interval is used as the final color conversion function, and an optimized color conversion profile is constructed based on the final color conversion functions of all color mapping intervals.

[0130] After executing the above-mentioned process from step 510 to step 530, the process may return to step 510 to start a new round of iterative adjustment. Through repeated iterations, when the mean square error corresponding to any brightness range tends to be stable, it can be considered that the color conversion function of the brightness range has been optimized, and at this time, the current color conversion function can be used as the final color conversion function.

[0131] After obtaining a plurality of final color conversion functions of all brightness ranges, a final optimized color conversion profile may be constructed based on the plurality of final color conversion functions.

[0132] Through the above measures, after obtaining the optimized color conversion profile, iterative optimization can be continued to obtain an optimized color conversion profile that can maintain color transmission consistency, ensuring the stability of subsequent target printer printouts and color accuracy.

[0133] In one embodiment, after the optimized color conversion configuration file is generated for the target printer, the optimized color conversion configuration file may be associated with the device model of the target printer and stored.

[0134] In this case, when you need to print any color in the input color gamut space, you can use the optimized color conversion profile to print on the printer indicated by the device model to ensure the consistency and accuracy of color communication.

[0135] The electronic device can store the optimized color conversion profile and the device model of the target printer in association on a color management website, so that the user can obtain the color conversion profile that can accurately convert the colors in the input color gamut space and the printer model suitable for the color conversion profile by visiting the color management website.

[0136] After the optimized color conversion profile and the device model of the printer are stored in association, when the to-be-processed color parameters of the input color gamut space are obtained, the to-be-processed color parameters can be converted using the optimized color conversion profile.

[0137] After the conversion process, printing parameters can be obtained, and based on the printing parameters, a printer corresponding to the device model of the target printer is controlled to print out the target sample.

[0138] Through this measure, in the color design scenario, the efficiency and accuracy of color design can be improved, meeting the designer's high-precision requirements for color, and improving the consistency of color communication, and improving the color communication efficiency between the color design end and the production supply end. In the printing and manufacturing scenario, it can improve production efficiency and product quality, and improve proofing production efficiency. In the field of e-commerce, it helps to improve the display effect of products and thus improve sales efficiency.

[0139] The present application also provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to complete the printing method provided by the present application.

[0140] The present application also provides a computer program product, including a computer program / instruction, which implements the printing method provided by the present application when the computer program / instruction is executed by a processor.

[0141] The present application provides a printing method applied to a target printer. The target printer can respond to a printing control instruction and parse a target color parameter from the printing control instruction. Here, the target color parameter is a color parameter that needs to be printed in an input color gamut space.

[0142] The optimized color conversion profile generated by the above method is preconfigured on the target printer. By calling the optimized color conversion profile, the target color parameters can be converted into target printing parameters, and the printing task can be executed with the target printing parameters.

[0143] Since the optimized color conversion profile has differentiated the color characteristics of different brightness ranges and provided different color conversion functions for the color mapping intervals of different brightness ranges, accurate colors can be printed by calling the optimized color conversion profile.

[0144] Figure 6 is a block diagram of a device for generating a color conversion profile according to an embodiment of the present invention. Figure 6 As shown, the device may include: A division module 610, configured to divide the input color gamut space into a plurality of color mapping intervals corresponding to different brightness ranges based on a preset division rule; A sampling module 620, for sampling a plurality of color parameters in each color mapping interval; The control module 630 is used to control the target printer to call the initial color conversion configuration file and print the color samples corresponding to the multiple color parameters of each color mapping interval; A determination module 640 is used to obtain a measurement result of each color sample, and determine a comparison result between the measurement result of each color sample and the color parameter to obtain a plurality of comparison results; The construction module 650 is used to determine the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval, and to construct an optimized color conversion configuration file according to the color conversion functions of all color mapping intervals.

[0145] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method for generating the color conversion configuration file, and will not be repeated here.

[0146] In several embodiments provided in the present application, the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0147] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0148] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

Claims

1. A method for generating a color conversion profile, characterized in that: include: Based on a preset division rule, the input color gamut space is divided into a plurality of color mapping intervals corresponding to different brightness ranges; Sampling a plurality of color parameters in each color mapping interval; Controlling the target printer to call the initial color conversion configuration file and print color samples corresponding to multiple color parameters in each color mapping interval; Obtaining a measurement result of each color sample, and determining a comparison result between the measurement result of each color sample and the color parameter, to obtain a plurality of comparison results; According to the multiple comparison results corresponding to each color mapping interval, the color conversion function of each color mapping interval is determined, and according to the color conversion functions of all color mapping intervals, an optimized color conversion configuration file is constructed.

2. The method according to claim 1, characterized in that Replace step "with the following steps: based on a preset division rule, divide the input color gamut space into a plurality of color mapping intervals corresponding to different brightness ranges; Sampling multiple color parameters in each color mapping interval; controlling the target printer to call the initial color conversion configuration file to print color samples corresponding to the multiple color parameters in each color mapping interval; Obtaining a measurement result of each color sample, and determining a comparison result between the measurement result of each color sample and the color parameter, to obtain a plurality of comparison results; ”: Control the target printer to call the initial color conversion configuration file and print the color samples corresponding to the multiple color parameters in the preset printing set; Obtaining a measurement result of each color sample, and determining a comparison result between the measurement result of each color sample and the color parameter, to obtain a plurality of comparison results; According to the multiple comparison results, a division rule is generated or modified to divide the input color gamut space into multiple color mapping intervals corresponding to different brightness ranges.

3. The method according to claim 1 or 2, characterized in that: Determining the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval includes: According to the brightness range corresponding to each color mapping interval, a color gamut mapping algorithm of the color mapping interval is determined; wherein the color gamut mapping algorithm is used to map color parameters into printing parameters.

4. The method according to claim 3, characterized in that The color mapping interval includes a first color mapping interval, a second color mapping interval, and a third color mapping interval, the brightness range corresponding to the first color mapping interval is greater than the brightness range corresponding to the second color mapping interval, and the brightness range corresponding to the second color mapping interval is greater than the brightness range corresponding to the third color mapping interval; Determining the color gamut mapping algorithm of each color mapping interval according to the brightness range corresponding to the color mapping interval includes: determining a perceptible color gamut mapping algorithm for the first color mapping interval; Determining a saturation-first color gamut mapping algorithm for the second color mapping interval; For the third color mapping interval, a color gamut mapping algorithm of absolute contrast is determined.

5. The method according to claim 1 or 2, characterized in that: The color conversion function includes a plurality of output channel components; Determining the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval includes: Based on the brightness range corresponding to each color mapping interval, the component ratio scheme of the color mapping interval is determined to obtain the component ratio scheme of all color mapping intervals; wherein the component ratio scheme is used to determine the usage parameters of the multiple output channel components.

6. The method according to claim 5, characterized in that The step of determining the component ratio scheme of each color mapping interval based on the brightness range corresponding to the color mapping interval, and obtaining the component ratio scheme of all color mapping intervals, includes: Based on the brightness range corresponding to each color mapping interval, the black starting point and color replacement scheme of the color mapping interval are determined to adjust the usage parameters of the black ink component corresponding to the color mapping interval.

7. The method according to claim 6, characterized in that The color mapping interval includes a first color mapping interval, a second color mapping interval, and a third color mapping interval, the brightness range corresponding to the first color mapping interval is greater than the brightness range corresponding to the second color mapping interval, and the brightness range corresponding to the second color mapping interval is greater than the brightness range corresponding to the third color mapping interval; The step of determining a black starting point and a color replacement scheme for each color mapping interval based on a brightness range corresponding to the color mapping interval includes: For the first color mapping interval, determining the color replacement scheme to be a gray component replacement scheme, and determining the black starting point to be a first specified value; For the second color mapping interval, determining the color replacement scheme to be a gray component replacement scheme, and determining the black starting point to be a second specified value; wherein the second specified value is greater than the first specified value; For the third color mapping interval, the color replacement scheme is determined to be a background color removal scheme, and the black starting point is determined to be a third specified value; wherein the third specified value is greater than the second specified value.

8. The method according to claim 1 or 2, characterized in that: The color conversion function includes a plurality of output channel components; Determining the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval includes: Based on the brightness range corresponding to each color mapping interval, the ink output usage limit of the color mapping interval is determined, and the ink output usage limits of all color mapping intervals are obtained.

9. The method according to claim 8, characterized in that The color mapping interval includes a first color mapping interval, a second color mapping interval, and a third color mapping interval, the brightness range corresponding to the first color mapping interval is greater than the brightness range corresponding to the second color mapping interval, and the brightness range corresponding to the second color mapping interval is greater than the brightness range corresponding to the third color mapping interval; The step of determining the ink output usage limit of each color mapping interval based on the brightness range corresponding to the color mapping interval includes: determining a first ink output usage limit for the first color mapping interval; determining a second ink output usage limit for the second color mapping interval; wherein the second ink output usage limit is greater than the first ink output usage limit; A third ink output usage limit is determined for the third color mapping interval; wherein the third ink output usage limit is greater than the second ink output usage limit.

10. The method according to claim 1 or 2, characterized in that: The color conversion function includes a plurality of output channel components, the plurality of output channel components including at least one color ink component and a transparent ink component; Determining the color conversion function of each color mapping interval according to the multiple comparison results corresponding to each color mapping interval includes: Based on the brightness range corresponding to each color mapping interval, a transparent ink control template for the color mapping interval is determined; wherein the transparent ink control template is used to determine the usage parameters of the transparent ink component to supplement the usage parameters of the color ink component of the color mapping interval.

11. The method according to claim 1 or 2, characterized in that: The method further comprises: For each color mapping interval, a plurality of color parameters are sampled in a sampling area corresponding to a specified brightness value in the color mapping interval; Controlling the target printer to call the initial color conversion configuration file and print color samples corresponding to multiple color parameters in each color mapping interval; Obtaining a measurement result of each color sample, and calculating a mean square error based on the measurement result of each color sample and a color parameter, and adjusting a color conversion function of the color mapping interval by using the mean square error; Repeat the above process. When the mean square error corresponding to any color mapping interval tends to be stable, the color conversion function of the color mapping interval is used as the final color conversion function, and the optimized color conversion profile is constructed according to the final color conversion functions of all color mapping intervals.

12. The method according to claim 11, characterized in that The method further comprises: The optimized color conversion configuration file and the device model of the target printer are stored in association.

13. A printing method, applied to a target printer, characterized in that: include: In response to a print control instruction, parsing a target color parameter from the print control instruction; Calling the optimized color conversion configuration file according to any one of claims 1 to 12, converting the target color parameters into target printing parameters, and executing the printing task with the target printing parameters.

14. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method for generating a color conversion profile according to any one of claims 1 to 12 or the printing method according to claim 13.

15. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program can be executed by a processor to complete the method for generating a color conversion profile according to any one of claims 1 to 12 or the printing method according to claim 13.

16. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the method for generating a color conversion profile according to any one of claims 1 to 12 or the printing method according to claim 13 is implemented.

Citation Information

Patent Citations

  • Method of processing of a compressed image into a gamut mapped image using spatial frequency analysis

    CN101583040A

  • Configuration file processing devices and configuration file processing methods

    CN102270106A

  • Novel prinking ink optimization method

    CN103465624A

  • Color management method, printing method and color management system

    CN114691057A

  • Color managing system and color management method

    JP2005106607A