A multi-point constrained chroma calibration method and device and storage medium

By employing synchronous measurement and multi-point constrained colorimetric calibration methods, the problem of failing to differentiate key color regions in the colorimetric space in existing technologies has been solved, enabling high-precision measurement and long-term stability of the colorimeter under complex light source conditions.

CN122900705BActive Publication Date: 2026-11-27SUZHOU SEICHI INTELLIGENT EQUIPMENT TECHNOLOGIES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611392950.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-09
Publication Date
2026-11-27
Estimated Expiration
2046-09-09

AI Technical Summary

Technical Problem

Existing colorimeter calibration methods fail to assign differentiated calibration weights to key color regions in the color space based on human visual sensitivity and color gamut shape characteristics. This results in the sacrifice of local accuracy in key color regions in the pursuit of minimizing overall error, affecting the overall performance of colorimeters in critical color management tasks.

Method used

By simultaneously measuring standard samples with a colorimeter and a reference measuring device, a training dataset is established, key color constraint points are selected and constraint weights are assigned, a multi-point constraint set is constructed, a colorimetric mapping model is established and constraint optimization is performed, and a color calibration model is obtained to achieve high-precision nonlinear compensation of colorimeter measurements.

Benefits of technology

It improves the measurement accuracy of colorimeters under complex spectral light source conditions, ensures the calibration accuracy of key color regions, and adapts to device aging and environmental changes through a model update mechanism to maintain long-term measurement accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122900705B_ABST
    Figure CN122900705B_ABST
Patent Text Reader

Abstract

The application discloses a multi-point constraint chroma calibration method and device and a storage medium, which are used for obtaining a color calibration model of a colorimeter and improving the measurement accuracy of the colorimeter. The application comprises the following steps: for a plurality of standard samples, a to-be-calibrated colorimeter and a reference measurement device are controlled to perform measurement respectively, and colorimeter measurement values and reference measurement values corresponding to the standard samples are obtained; a training sample of each standard sample is established, and the training samples are summarized to obtain a training data set; a plurality of key color constraint points are determined based on the training data set, constraint weights are assigned to each key color constraint point, and a multi-point constraint set is established; a chroma mapping model is established based on the training data set; the chroma mapping model is optimized based on the multi-point constraint set, and a color calibration model is obtained; target measurement values output by the to-be-calibrated colorimeter are acquired, the target measurement values are input into the color calibration model, and corresponding calibration measurement values are output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optoelectronic display technology, and in particular to a multi-point constrained colorimetric calibration method, apparatus and storage medium. Background Technology

[0002] Colorimeters are widely used in display manufacturing, LED testing, light source testing, and color quality control. Colorimeters typically use tristimulus filters to simulate the CIE standard observer response curve, obtaining the XYZ tristimulus values ​​by measuring the light signal, and then calculating chromaticity coordinates, luminance, and related color parameters. However, due to differences between the spectral response curve of the actual filter and the CIE standard observer curve, and the influence of various factors, systematic errors usually exist between the colorimeter measurement results and the true color values.

[0003] To improve measurement accuracy, existing calibration methods primarily rely on linear matrix correction, polynomial fitting, or empirical calibration models built from a finite number of light source samples. These methods typically treat all training samples as equally weighted inputs when constructing the calibration model, optimizing parameters with the goal of minimizing global error. However, in practical applications, different color regions have varying requirements for measurement accuracy. For example, the white point region affects color temperature and neutral color reproduction, primary color regions determine the color gamut coverage, while wide color gamut boundary regions are related to the accurate reproduction of highly saturated colors. Simultaneously, the human visual system exhibits significant differences in its sensitivity to color differences across different color regions. Existing calibration models fail to assign differentiated calibration weights to key color regions in the color space based on human visual sensitivity and color gamut shape characteristics. This results in sacrificing local accuracy in key color regions while pursuing the minimum overall error, thus limiting the overall performance of colorimeters in critical color management tasks. Summary of the Invention

[0004] This application discloses a multi-point constrained colorimetric calibration method, apparatus, and storage medium for obtaining a colorimetric calibration model and improving the measurement accuracy of the colorimeter.

[0005] In a first aspect, this application discloses a multi-point constrained colorimetric calibration method, including: For several standard samples, the colorimeter to be calibrated and the reference measurement device are controlled to perform measurements to obtain the colorimeter measurement value and the reference measurement value corresponding to the standard sample. Training samples are established for each standard sample, and the training samples are aggregated to obtain a training dataset. The training samples include the colorimeter measurement value and the reference measurement value corresponding to the standard sample. Based on the training dataset, several key color constraint points are determined, constraint weights are assigned to each key color constraint point, and a multi-point constraint set is established. Based on the training dataset, a colorimetric mapping model is established to characterize the mapping relationship between the colorimeter measurement value and the reference measurement value. According to the multi-point constraint set, the colorimetric mapping model is constrained and optimized to obtain a color calibration model. The target measurement value output by the colorimeter to be calibrated is obtained, the target measurement value is input into the color calibration model, and the corresponding calibration measurement value is output.

[0006] Optionally, determining several key color constraint points based on the training dataset includes: First constraint training samples corresponding to the target white point, RGB three primary color points and CMY secondary color points are selected from the training dataset. The colorimeter measurement value and the reference measurement value corresponding to each first constraint training sample are extracted to form a basic key color candidate point set. And / or, based on the color gamut distribution range of the training dataset, select a predetermined number of second constraint training samples at multiple preset locations on the color gamut boundary, extract the colorimeter measurement value and the reference measurement value corresponding to each second constraint training sample, and form a color gamut boundary candidate point set; At least the set of basic key color candidate points or the set of color gamut boundary candidate points are determined as the set of constraint candidate points; The set of candidate constraint points is deduplicated and its color uniformity is checked to determine the final set of key color constraint points.

[0007] Optionally, assigning constraint weights to each of the key color constraint points and establishing a multi-point constraint set includes: Based on the importance of each key color constraint point to the color region, its sensitivity to color changes, and calibration requirements, all key color constraint points are divided into multiple weight levels. According to the preset correspondence between the weight level and the constraint weight, the corresponding constraint weight is assigned to the key color constraint point; Each key color constraint point is bound to a corresponding constraint weight, and all key color constraint points are aggregated to generate a multi-point constraint set.

[0008] Optionally, establishing a chromaticity mapping model based on the training dataset includes: Extract the key color constraint points as the centers of the radial basis functions; Based on the radial basis functions, calculate the spatial distance response value between each colorimeter measurement value in the training dataset and the center of each radial basis function; A chromaticity mapping model is constructed based on the spatial distance response value and the preset low-order compensation term.

[0009] Optionally, calculating the spatial distance response value between each colorimeter measurement value in the training dataset and the center of each radial basis function, based on the radial basis functions, includes: Calculate the Euclidean distance between each colorimeter measurement value in the training dataset and the center of each radial basis function in the three-dimensional color space to obtain the spatial distance parameter corresponding to the colorimeter measurement value; Based on the radial basis functions, the spatial distance parameters are nonlinearly transformed to output the spatial distance response value corresponding to the center of each radial basis function for each colorimeter measurement value.

[0010] Optionally, the step of constructing a chromaticity mapping model based on the spatial distance response value and a preset low-order compensation term includes: Construct a chromaticity mapping model based on the following formula: ; Where F(M) represents the chromaticity mapping model, Indicates the weight to be determined. Represents radial basis functions. Let P(M) represent the spatial distance parameter between the j-th colorimeter measurement and the center of the i-th radial basis function, and let φ( ) indicates that the spatial distance parameter The spatial distance response value is calculated by substituting the Gaussian radial basis function.

[0011] Optionally, the step of performing constraint optimization on the chromaticity mapping model based on the multi-point constraint set to obtain a color calibration model includes: Based on the overall color error corresponding to the training dataset and the color error corresponding to each key color constraint point in the multi-point constraint set, an optimization objective function is established. By iteratively adjusting the weights to be determined in the chromaticity mapping model, the optimization objective function is minimized, and the optimal model parameters are obtained. The optimal model parameters are substituted into the colorimetric mapping model to obtain the color calibration model, which is used to convert the colorimeter measurement values ​​into the corresponding reference measurement values.

[0012] Optionally, after obtaining the target measurement value output by the colorimeter to be calibrated, inputting the target measurement value into the color calibration model, and outputting the corresponding calibration measurement value, the multi-point constrained colorimetric calibration method further includes: The color calibration model is updated based on the error between the calibration measurement and the reference measurement.

[0013] Secondly, this application provides a multi-point constrained colorimetric calibration device, comprising: The measurement unit is used to control the colorimeter to be calibrated and the reference measurement device to measure several standard samples respectively, and to obtain the colorimeter measurement value and the reference measurement value corresponding to the standard sample; The first establishment unit is used to establish training samples for each of the standard samples and to summarize the training samples to obtain a training dataset. The training samples include the colorimeter measurement values ​​and the reference measurement values ​​corresponding to the standard samples. The acquisition unit is used to determine several key color constraint points based on the training dataset, assign constraint weights to each key color constraint point, and establish a multi-point constraint set. The second establishment unit is used to establish a colorimetric mapping model based on the training dataset. The colorimetric mapping model is used to characterize the mapping relationship between the colorimeter measurement value and the reference measurement value. An optimization unit is used to perform constraint optimization on the chromaticity mapping model based on the multi-point constraint set to obtain a color calibration model; The calibration unit is used to acquire the target measurement value output by the colorimeter to be calibrated, input the target measurement value into the color calibration model, and output the corresponding calibration measurement value.

[0014] Optionally, the device further includes: An update unit is used to update the color calibration model based on the error between the calibration measurement value and the reference measurement value.

[0015] A third aspect of this application provides a computer-readable storage medium on which a program is stored, which, when executed on a computer, performs the methods described in the first aspect and any optional methods of the first aspect.

[0016] As can be seen from the above technical solutions, the embodiments of this application have the following advantages: By controlling the colorimeter to be calibrated and the reference measuring device to synchronously measure the same standard samples, it is possible to ensure that the colorimeter measurements and reference measurements are strictly aligned in terms of time and light source conditions, eliminating additional errors introduced by light source fluctuations or asynchronous measurement sequences. By pairing the colorimeter measurements of each standard sample with the reference measurements to establish training samples, and summing all training samples to obtain the training dataset, the training dataset can cover multiple light source types, ensuring the breadth and representativeness of the training samples in the color space, thus providing sufficient sample support for model training. Based on the training dataset, key color constraint points are selected, and constraint weights are further assigned to each key color constraint point to construct a multi-point constraint set. This allows different key color constraint points to be assigned different optimization priorities during model optimization, achieving differentiated processing of key color regions that affect the accuracy of colorimeter measurements.

[0017] A colorimetric mapping model was established based on the training dataset to characterize the mapping relationship between colorimeter measurements and reference measurements, providing a model foundation for subsequent error compensation. Building upon this, the colorimetric mapping model was jointly optimized using a multi-point constraint set, ensuring that model training simultaneously considers the global and local fitting accuracy of the overall color space and key color regions. Prioritizing the calibration accuracy of key color regions while ensuring overall error control is maintained, the trained color calibration model was applied to the actual measurement process of the colorimeter to be calibrated. The target measurement value output by the colorimeter was mapped through the color calibration model to obtain the corresponding calibration measurement value, achieving high-precision nonlinear compensation for colorimeter measurement errors and effectively improving the measurement accuracy of the colorimeter under complex spectral light source conditions. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of an embodiment of the multi-point constrained colorimetric calibration method in this application; Figure 2 This is a schematic diagram of an embodiment for determining key color constraint points in this application; Figure 3 A schematic diagram illustrating an embodiment of assigning constraint weights and establishing a multi-point constraint set in this application; Figure 4 This is a schematic diagram of an embodiment of the chromaticity mapping model established in this application; Figure 5This is a schematic diagram of an embodiment for calculating the spatial distance response value in this application; Figure 6 This is a schematic diagram of an embodiment of the color calibration model obtained in this application; Figure 7 This is a schematic diagram of the multi-point constrained colorimetric calibration device in this application. Detailed Implementation

[0020] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0021] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0022] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0023] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0024] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0025] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not an embodiment," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0026] Based on this, this application discloses a multi-point constrained colorimetric calibration method, apparatus and storage medium for obtaining a colorimeter color calibration model and improving the measurement accuracy of the colorimeter.

[0027] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0028] The method of this application can be applied to servers, devices, terminals, or other devices with logical processing capabilities; therefore, this application does not limit its application. For ease of description, the following description uses a system as the executing entity.

[0029] Please see Figure 1 This application provides an embodiment of a multi-point constrained colorimetric calibration method, comprising: 101. For several standard samples, control the colorimeter to be calibrated and the reference measuring device to perform measurements to obtain the colorimeter measurement value and the reference measurement value corresponding to the standard sample.

[0030] In the standard sample measurement phase, several standard samples are first selected. These standard samples are typically standard color patches uniformly distributed in the color space, covering the colorimetric range that the colorimeter to be calibrated is expected to measure. For each selected standard sample, the colorimeter to be calibrated and the reference measuring device are measured under the same environmental conditions. The colorimeter to be calibrated is a colorimetric measuring device that requires color measurement accuracy calibration, while the reference measuring device is a standard device that has passed metrological traceability and has high measurement accuracy.

[0031] For the same standard sample, the colorimeter to be calibrated outputs the corresponding colorimeter measurement value, and the reference measuring device outputs the corresponding reference measurement value. For example, several standard color patches such as red, green, blue, and gray are selected, and each color patch is measured sequentially using both the colorimeter to be calibrated and the reference measuring device, recording two sets of measurement data for each color patch. After all standard samples have been measured, the colorimeter measurement value and reference measurement value corresponding to each standard sample are obtained, serving as the data basis for subsequent steps.

[0032] 102. Establish training samples for each standard sample and summarize the training samples to obtain the training dataset. The training samples include the colorimeter measurement values ​​and reference measurement values ​​corresponding to the standard samples.

[0033] After obtaining the colorimeter measurements and reference measurements corresponding to each standard sample, the training dataset construction phase begins. For each standard sample, the colorimeter measurements and reference measurements corresponding to the standard sample are combined to create a training dataset for that standard sample. This training dataset represents the correspondence between the output value of the colorimeter to be calibrated when measuring that standard sample and the output value of the reference measuring device when measuring the same standard sample. For example, for a red standard sample, its corresponding colorimeter measurement value Mi=(X m Y m Z m ) and the reference measurement value Ri=(X r Y r Z r ) are combined into a training sample.

[0034] The training samples from all the established standard samples are aggregated to form the training dataset: Di = {(Mi,Ri)|i = 1, 2, ..., K}; Where Di represents the training dataset. The value represents the colorimeter measurement, Ri represents the reference measurement, and K represents the number of training samples (preferably no less than 500 sets, more preferably more than 1000 sets, to improve model stability and generalization ability).

[0035] This training dataset is used to characterize the correspondence between the colorimeter measurements to be calibrated and the reference measurements within the global color space, providing a unified data source for subsequent determination of key color constraint points and establishment of a colorimetric mapping model.

[0036] 103. Based on the training dataset, determine several key color constraint points, assign constraint weights to each key color constraint point, and establish a multi-point constraint set.

[0037] Based on the training dataset, several key color constraint points are identified, and the corresponding colorimeter measurements and reference measurements for each key color constraint point are obtained. Measurement information from all training samples within the training dataset is read, and training samples corresponding to various key colors are selected as basic candidate points. Then, based on the color gamut distribution covered by the dataset, training samples at the gamut boundary positions are selected as gamut boundary candidate points. The two types of candidate points are merged, and several key color constraint points are determined from the merged candidate point set.

[0038] The specific determination of key color constraint points will be described in detail in subsequent embodiments, and will not be repeated here.

[0039] After identifying each key color constraint point, a corresponding constraint weight is assigned to each key color constraint point. The constraint weight characterizes the importance of that key color constraint point in subsequent model optimization. For example, for a red key color constraint point, if the deviation of this point is large and has a significant impact on the model optimization accuracy, a larger constraint weight is assigned; for key color constraint points with smaller deviations, a smaller constraint weight is assigned. By setting different weights, key color regions receive higher priority during model training, thereby ensuring that the calibration model has higher accuracy in these regions.

[0040] The constraint weights corresponding to each key color constraint point can be the same or different. The specific weight values ​​are determined comprehensively based on the position of each key color constraint point in the color space, the degree of deviation, and the degree of impact on the calibration accuracy.

[0041] For each key color constraint point and its corresponding constraint weight, a constraint set is established. This multi-point constraint set is used to impose constraints on multiple color points on the chromaticity mapping model in subsequent steps.

[0042] 104. Based on the training dataset, establish a colorimetric mapping model, which is used to characterize the mapping relationship between colorimeter measurements and reference measurements.

[0043] Based on the established training dataset, a colorimetric mapping model is built. Specifically, according to the colorimeter measurements and reference measurements contained in each training sample in the training dataset, a pre-defined fitting or regression method is used to construct a mathematical model that characterizes the mapping relationship between the colorimeter measurements and the reference measurements. The input of this mathematical model is the colorimeter measurement, and the output is the estimated value of the corresponding reference measurement.

[0044] During the model building process, the training dataset is used to fit the various parameters of the model, so that the colorimetric mapping model can fit the correspondence between the colorimeter measurement value and the reference measurement value well in the global range.

[0045] The specific details of establishing the chromaticity mapping model will be provided in subsequent embodiments and will not be repeated here.

[0046] 105. Based on the multi-point constraint set, perform constraint optimization on the chromaticity mapping model to obtain the color calibration model.

[0047] After establishing the chromaticity mapping model and the multi-point constraint set, the chromaticity mapping model is optimized based on the multi-point constraint set to obtain the color calibration model. Specifically, the colorimeter measurements and reference measurements corresponding to each key color constraint point in the multi-point constraint set are used as constraints, and the constraint weights corresponding to each key color constraint point are used as weight coefficients for each constraint condition to perform constraint-based optimization and adjustment of the model parameters of the chromaticity mapping model. For example, if the constraint weight assigned to the red key color constraint point is larger, then during the optimization process, the output value of the chromaticity mapping model corresponding to the red colorimeter measurement input will more closely approximate the red reference measurement value.

[0048] After constraint optimization, the model parameters of the chromaticity mapping model are finally determined under the condition that the constraint requirements of all key color constraint points are met. At this time, the model is the color calibration model.

[0049] 106. Obtain the target measurement value output by the colorimeter to be calibrated, input the target measurement value into the color calibration model, and output the corresponding calibration measurement value.

[0050] After obtaining the color calibration model, the target measurement value output by the colorimeter to be calibrated when measuring the target object is obtained. This target measurement value is the colorimetric value directly output by the colorimeter to be calibrated after measuring the color of the target object.

[0051] The target measurement value is used as input data and input into the color calibration model. Based on the mapping relationship within the color calibration model, the input target measurement value is mapped and calculated, and the corresponding calibration measurement value is output.

[0052] Output the corresponding calibration measurement value according to the following formula: ; Where R represents the calibration measurement value, F represents the color calibration model, and M represents the target measurement value.

[0053] For example, the colorimeter to be calibrated outputs a target measurement value M for a certain color patch. This target measurement value M is input into the color calibration model F. The color calibration model F calculates based on the mapping relationship optimized by multi-point constraints and outputs a calibration measurement value R. The calibration measurement value R is the calibrated colorimetric measurement result, which can be used as the final colorimetric measurement output of the colorimeter to be calibrated for the target object. Through the above process, single-point input and calibration output of the measurement value of the colorimeter to be calibrated are achieved.

[0054] In this embodiment, by controlling the colorimeter to be calibrated and the reference measurement device to simultaneously measure the same standard sample, it is ensured that the colorimeter measurement value and the reference measurement value are strictly aligned in terms of time dimension and light source conditions, eliminating additional errors introduced by light source fluctuations or asynchronous measurement sequences. By pairing the colorimeter measurement value of each standard sample with the reference measurement value to establish training samples, and summing all training samples to obtain the training dataset, the training dataset can cover multiple light source types, ensuring the breadth and representativeness of the training samples in the color space, thus providing sufficient sample support for model training. Based on the training dataset, key color constraint points are selected, and constraint weights are further assigned to each key color constraint point to construct a multi-point constraint set. This allows different key color constraint points to be assigned different optimization priorities during model optimization, achieving differentiated processing of key color regions that affect the colorimeter measurement accuracy.

[0055] A colorimetric mapping model was established based on the training dataset to characterize the mapping relationship between colorimeter measurements and reference measurements, providing a model foundation for subsequent error compensation. Building upon this, the colorimetric mapping model was jointly optimized using a multi-point constraint set, ensuring that model training simultaneously considers the global and local fitting accuracy of the overall color space and key color regions. Prioritizing the calibration accuracy of key color regions while ensuring overall error control is maintained, the trained color calibration model was applied to the actual measurement process of the colorimeter to be calibrated. The target measurement value output by the colorimeter was mapped through the color calibration model to obtain the corresponding calibration measurement value, achieving high-precision nonlinear compensation for colorimeter measurement errors and effectively improving the measurement accuracy of the colorimeter under complex spectral light source conditions.

[0056] In the above embodiments, after inputting the target measurement value of the colorimeter to be calibrated into the color calibration model and obtaining the calibration measurement value, the colorimeter's measurement characteristics will slowly change due to factors such as device aging and changes in environmental conditions during long-term use. The adaptability of the pre-trained color calibration model will gradually decrease. To adapt to changes in measurement characteristics during subsequent instrument use and maintain the continuous availability of colorimetric calibration, a model update step is added after the step of outputting the calibration measurement value. This step iteratively updates the color calibration model using measurement error information obtained during actual use.

[0057] The color calibration model is updated based on the error between the calibration measurement and the reference measurement.

[0058] After step 107 is completed, several calibration samples with known reference measurements are selected. The colorimeter to be calibrated is then controlled to perform measurement operations on the calibration samples to obtain the target measurement value output by the colorimeter. The target measurement value is input into the currently used color calibration model, and the corresponding calibration measurement value is output. The pre-known reference measurement values ​​of the calibration samples are retrieved, and the calibration measurement value and reference measurement value corresponding to the same calibration sample are compared to obtain the error data between them. For example, three sets of calibration light source samples of different colors are selected, and the corresponding reference measurement value is pre-saved for each set of calibration samples. After the colorimeter to be calibrated acquires the target measurement values ​​of each set, it is sent to the color calibration model to obtain the corresponding calibration measurement values ​​for each set. The error between the calibration measurement value and the reference measurement value is calculated for each set.

[0059] The obtained error data is imported into the existing training dataset. The operation logic of multi-point constraint set and joint optimization objective function is reused to iteratively adjust the weight parameters inside the color calibration model. After the parameter update is completed, the new model parameters are retained to obtain the updated color calibration model. Subsequent colorimeter measurement work calls the updated color calibration model to perform calculations.

[0060] Please see Figure 2 This application provides an embodiment for determining key color constraint points, including: 201. Select the first constraint training samples corresponding to the target white point, RGB three primary color points and CMY secondary color points respectively from the training dataset, and extract the colorimeter measurement value and reference measurement value corresponding to each first constraint training sample to form a basic key color candidate point set.

[0061] Based on the training dataset established in step 102, several basic key color candidate points that play a decisive role in the shape of the color gamut and the accuracy of color reproduction are selected.

[0062] Specifically, for the target white point, the corresponding first constraint training samples in the training dataset are selected, the Euclidean distance between the chromaticity coordinates of the reference measurement value of each first constraint training sample and the chromaticity coordinates of the preset standard white point is calculated, and the training sample with the smallest chromaticity distance is selected as the candidate sample of the target white point.

[0063] For the RGB primary color points, the reference measurement values ​​of all training samples in the training dataset are transformed to the CIE chromaticity coordinate system. Red, green and blue regions are set in the chromaticity diagram. The red region is located in the lower right corner of the chromaticity diagram, the green region is located in the upper left corner of the chromaticity diagram, and the blue region is located in the lower left corner of the chromaticity diagram. In each region, the first constrained training sample that is closest to the vertex of the corresponding chromaticity triangle is selected as the candidate sample for red primary color, green primary color, and blue primary color, respectively.

[0064] For CMY secondary color points, based on the chromaticity coordinates of the selected red, green, and blue primary color candidate samples, the mixing direction between red and blue is calculated to obtain the magenta direction, the mixing direction between red and green is calculated to obtain the yellow direction, and the mixing direction between green and blue is calculated to obtain the cyan direction. In each secondary color direction, the first constrained training sample with the smallest distance from the center line of that direction is selected and used as the cyan secondary color candidate sample, magenta secondary color candidate sample, and yellow secondary color candidate sample, respectively.

[0065] The colorimeter measurements and reference measurements of all the first-constraint training samples of the above candidates are extracted to form a basic key color candidate point set.

[0066] 202. And / or, based on the color gamut distribution range of the training dataset, select a predetermined number of second constraint training samples at multiple preset orientations of the color gamut boundary, extract the colorimeter measurement value and reference measurement value corresponding to each second constraint training sample, and form a candidate point set for the color gamut boundary.

[0067] To ensure the color calibration model maintains good fitting accuracy in the gamut boundary region, training samples located on the gamut boundary can be further selected from the training dataset as candidate gamut boundary points. Specifically, the colorimeter measurements of all training samples in the training dataset are mapped to a three-dimensional chromaticity space, where the three coordinate axes correspond to the XYZ tristimulus values. In the three-dimensional chromaticity space, the convex hull algorithm is used to calculate the convex hull surface formed by all colorimeter measurements; this convex hull surface represents the gamut boundary of the training dataset in the colorimeter measurement space.

[0068] Uniform sampling is performed on the convex hull surface at multiple preset orientations. These preset orientations include extreme regions of the gamut boundary along the six principal axes: positive X-axis, negative X-axis, positive Y-axis, negative Y-axis, positive Z-axis, and negative Z-axis, as well as multiple intermediate orientations between these principal axes. At each preset orientation, the second constrained training sample located within that orientation region and farthest from the origin is selected as the candidate gamut boundary sample for that orientation.

[0069] The colorimeter measurements and reference measurements of the above-mentioned candidate second constraint training samples are extracted to form a set of candidate points for the color gamut boundary.

[0070] 203. Determine at least the basic key color candidate point set or the color gamut boundary candidate point set as the constraint candidate point set.

[0071] In practical applications, a set of basic key color candidate points or a set of color gamut boundary candidate points can be selected separately according to actual data acquisition needs. Alternatively, both types of candidate point sets can be used together to determine the constraint candidate point set. Of course, in actual operation, constraint candidate points can also be determined based on only one or two of the aforementioned target white point, RGB primary color points, and CMY secondary color points. Furthermore, the sources of the constraint candidate set referred to in this invention are not limited to those listed above.

[0072] When merging the basic key color candidate point set and the gamut boundary candidate point set, an empty candidate point set is created. Each candidate point from the basic key color candidate point set is then added to this set, and vice versa. During the addition process, the colorimeter measurement value corresponding to each candidate point is used as a unique identifier for recording. Each candidate point's data includes its colorimeter measurement value, reference measurement value, and a source marker. The source marker indicates whether the candidate point originates from the basic key color candidate point set or the gamut boundary candidate point set.

[0073] When candidate points using the same colorimeter measurement exist in both the basic key color candidate point set and the gamut boundary candidate point set, only one record of that candidate point is retained during merging. Simultaneously, the source marker of that candidate point is updated to indicate that it originates from both candidate point sets. After all candidate points are added, a complete set of constraint candidate points is obtained.

[0074] 204. Perform deduplication and color uniformity verification on the candidate constraint point set to determine the final key color constraint points.

[0075] The set of candidate constraint points obtained in step 203 is subjected to deduplication and color uniformity verification to determine the final key color constraint points.

[0076] In the deduplication process, the chromaticity distance between any two candidate points in the constrained candidate point set is calculated. The chromaticity distance is calculated based on the Euclidean distance between the colorimeter measurements of the two candidate points in the three-dimensional chromaticity space. When the chromaticity distance between two candidate points is less than a preset deduplication distance threshold, these two candidate points are determined to be duplicate points and are merged into one point. The merged candidate point retains the colorimeter measurement value and reference measurement value of any one of the candidate points, while also retaining the source markers of each candidate point.

[0077] In the chromaticity uniformity verification, the spatial uniformity of all candidate points after deduplication is evaluated based on their distribution position in the 3D chromaticity space. Specifically, the chromaticity distance between each candidate point and its nearest neighbor is calculated. If all nearest neighbor distances are within a preset uniformity distance range, the candidate points are considered uniformly distributed, and the verification passes. If the nearest neighbor distance of a candidate point exceeds the upper limit of the preset uniformity distance range, a training sample from the training dataset closest to the center of that gap is selected as a new candidate point from the chromaticity space gap between that candidate point and its nearest neighbor. All candidate points after deduplication and chromaticity uniformity verification are determined as the final key color constraint points.

[0078] In this embodiment, training samples corresponding to the target white point, RGB primary color points, and CMY secondary color points are selected from the training dataset. Colorimeter measurements and reference measurements corresponding to each training sample are extracted to form a basic key color candidate point set. This selection process ensures that the basic key color candidate point set accurately covers the core color regions that affect the overall shape of the color gamut and the accuracy of color reproduction, providing a basic data source for the subsequent determination of key color constraint points. Based on the color gamut distribution range of the training dataset, a predetermined number of training samples are selected at multiple preset locations along the color gamut boundary. Colorimeter measurements and reference measurements corresponding to each training sample are extracted to form a color gamut boundary candidate point set. This process ensures that the color gamut boundary candidate point set fully characterizes the boundary distribution features of the training dataset in the color space, compensating for the insufficient coverage of the color gamut boundary region by the basic key color candidate point set.

[0079] Based on the candidate point set of basic key colors and / or the candidate point set of color gamut boundaries, a set of constraint candidate points is obtained, and a candidate constraint point system is constructed. Finally, the constraint candidate point set is deduplicated and its color uniformity is checked to avoid the situation where candidate points are over-concentrated in local areas or have blank areas, thus providing a high-quality constraint point data foundation for subsequent processing.

[0080] Please see Figure 3 This application provides an embodiment of assigning constraint weights and establishing a multi-point constraint set, including: 301. Based on the importance of each key color constraint point to the color region, the sensitivity to color changes, and the calibration requirements, all key color constraint points are divided into multiple weight levels.

[0081] Obtain all the final key color constraint points, and classify them into weight levels based on their type attributes and specific positions in the color space.

[0082] The specific criteria for classification include the following three aspects: First, the importance of key color constraint points to color regions is determined based on the target white point constraint point, which affects the reproduction benchmark of neutral colors. The RGB three primary color constraint points determine the overall coverage of the color gamut. The CMY secondary color constraint points affect the accuracy of secondary color reproduction. The color gamut boundary control points affect the color difference differentiation of the color gamut boundary area. Different types of key color constraint points have different importance to color calibration. Secondly, the judgment is based on the sensitivity of the human eye to color changes in the color region where the key color constraint point is located. The human visual system is more sensitive to color differences in neutral color regions and skin color regions, while it is relatively less sensitive to highly saturated color regions. Third, the determination should be made based on the calibration requirements of the specific application scenario. For example, in the scenario of monitor calibration, the calibration accuracy requirements for the white point and the three primary color areas are higher than those for other areas.

[0083] Based on the above three criteria, all key color constraint points are divided into multiple weight levels. The number of weight levels is determined according to the total number of key color constraint points, and different weight levels correspond to different optimization priorities.

[0084] 302. Assign corresponding constraint weights to key color constraint points according to the preset correspondence between weight levels and constraint weights.

[0085] A mapping relationship between weight levels and constraint weight values ​​is pre-established, and this relationship is stored in the system in the form of a mapping table.

[0086] In the mapping table, each weight level uniquely corresponds to a constraint weight value. The higher the weight level, the larger the corresponding constraint weight value. The constraint weight values ​​are represented by positive real numbers. Specifically, if the weight levels are divided into three levels, the first weight level corresponds to a constraint weight value of 1.0, the second weight level corresponds to a constraint weight value of 2.0, and the third weight level corresponds to a constraint weight value of 4.0.

[0087] After completing the weight level division in step 301, the weight level of each key color constraint point is obtained. Based on this weight level, a mapping table is consulted to find the corresponding constraint weight value, which is then assigned to the key color constraint point. This search and assignment operation is performed on all key color constraint points one by one until each key color constraint point receives its corresponding constraint weight. All key color constraint points belonging to the same weight level receive the same assigned constraint weight value.

[0088] 303. Bind each key color constraint point to a one-to-one correspondence with the constraint weight, and summarize all key color constraint points to generate a multi-point constraint set.

[0089] After assigning constraint weights to each key color constraint point in step 302, each key color constraint point is bound and stored one-to-one with its corresponding constraint weight. Specifically, for the j-th key color constraint point, the constraint weight assigned to that constraint point in step 302 is obtained, and the colorimeter measurement value, reference measurement value, and constraint weight are combined into a constraint point record.

[0090] Perform the binding operation described above on each of the N key color constraint points, resulting in N constraint point records. Aggregate all constraint point records into a single data set, where each record contains complete information about a key color constraint point, thus generating a multi-point constraint set. C={(C1,ω1),(C2,ω2),...(Cn,ωn)}; Where Cn represents the nth constraint point; ωn represents the weight of the nth constraint point; and n represents the number of constraint points. The generated multi-point constraint set is used to provide the location information of each key color constraint point and its corresponding constraint weight when performing constraint optimization on the chromaticity mapping model in the subsequent step 106.

[0091] In this embodiment, based on the importance of each key color constraint point to the color region, the sensitivity to color changes, and the calibration requirements, all key color constraint points are divided into multiple weight levels, establishing a reasonable level basis for the differentiated allocation of subsequent constraint weights.

[0092] Based on a pre-defined correspondence between weight levels and constraint weights, corresponding constraint weights are assigned to key color constraint points. This pre-defined correspondence maps each weight level to a specific constraint weight value, ensuring that the weight level division results can be accurately converted into constraint weights that can participate in numerical calculations, thus guaranteeing the objectivity and consistency of constraint weight allocation. Furthermore, each key color constraint point is bound to a constraint weight, and all key color constraint points are aggregated to generate a multi-point constraint set. This multi-point constraint set integrates all associated records into a unified data structure, providing a directly callable constraint data foundation for subsequent constraint optimization of the chromaticity mapping model. This allows different key color constraint points to obtain differentiated optimization priorities according to their respective bound constraint weights during model optimization.

[0093] Please see Figure 4 This application provides an embodiment for establishing a chromaticity mapping model, including: 401. Extract key color constraint points as radial basis function centers.

[0094] Obtain all identified key color constraint points, and use the colorimeter measurement value of each key color constraint point as the center of the radial basis function. Specifically, the total number of key color constraint points is denoted as N, and the colorimeter measurement value of each key color constraint point is a three-dimensional vector, with the three components being the X-channel measurement value, Y-channel measurement value, and Z-channel measurement value, respectively. Record the colorimeter measurements of all key color constraint points according to their distribution position in the color space. The coordinates of the Nth radial basis function center are represented as ( , , ), where a∈N.

[0095] 402. Based on the radial basis functions, calculate the spatial distance response between each colorimeter measurement value and the center of each radial basis function in the training dataset.

[0096] Obtain all radial basis function centers determined in step 401. For each training sample in the training dataset, traverse all N radial basis function centers and calculate the spatial distance parameter between the colorimeter measurement value of the training sample and each radial basis function center and the corresponding radial basis function response value. Finally, N spatial distance response values ​​are obtained for each training sample.

[0097] The specific calculation process for the spatial distance response value is described in detail in subsequent embodiments and will not be repeated here.

[0098] 403. Construct a chromaticity mapping model based on spatial distance response values ​​and preset low-order compensation terms.

[0099] Based on the spatial distance response values ​​corresponding to each training sample calculated in step 402, and combined with the preset low-order compensation terms, a complete chromaticity mapping model is constructed.

[0100] Construct a chromaticity mapping model based on the following formula: ; Where F(M) represents the chromaticity mapping model, Indicates the weight to be determined. Represents radial basis functions. Let P(M) represent the spatial distance parameter between the j-th colorimeter measurement and the center of the i-th radial basis function, and let φ( ) indicates that the spatial distance parameter The spatial distance response value is calculated by substituting the Gaussian radial basis function.

[0101] Using the spatial distance response values ​​of all training samples as model inputs and the corresponding reference measurements as model outputs, K sets of equations are formed, where K is the total number of training samples. After solving all the equations simultaneously, the least squares method is used to solve for the weight coefficients and low-order compensation coefficients corresponding to the centers of each radial basis function, thus completing the structure construction and parameter initialization of the chromaticity mapping model.

[0102] In this embodiment, key color constraint points are extracted as radial basis function centers, providing a high-quality reference point foundation for subsequent spatial distance calculations. Then, based on the radial basis functions, the spatial distance response values ​​between each colorimeter measurement and each radial basis function center in the training dataset are calculated, providing input feature data for the subsequent construction of the chromaticity mapping model. On this basis, a chromaticity mapping model is constructed based on the spatial distance response and a preset low-order compensation term. This model can use the radial basis function component to fit the nonlinear error relationship between the colorimeter measurement and the reference measurement, while simultaneously using the low-order compensation term to correct the overall trend, providing an initial model foundation for subsequent constraint optimization.

[0103] Please see Figure 5 This application provides an embodiment for calculating spatial distance response values, including: 501. Calculate the Euclidean distance between each colorimeter measurement value and the center of each radial basis function in the three-dimensional color space in the training dataset to obtain the spatial distance parameter corresponding to the colorimeter measurement value; For the i-th training sample in the training dataset, its chromaticity measurement value Mi=(X m Y m Z m ). Calculate its relationship with each radial basis function center ( ). , , Spatial distance parameters between ) The spatial distance parameter is calculated using three-dimensional Euclidean distance, and the specific calculation formula is as follows: ; The calculation is performed N times for each training sample, corresponding to N radial basis function centers. After all calculations are completed, each training sample has N spatial distance parameters, each of which characterizes the distance between the colorimeter measurement of the training sample and each radial basis function center in the three-dimensional chromaticity space.

[0104] 502. Based on the radial basis functions, perform a nonlinear transformation on the spatial distance parameters and output the spatial distance response value corresponding to the center of each radial basis function for each colorimeter measurement.

[0105] Obtain the spatial distance parameters between each colorimeter measurement value calculated in step 501 and the center of each radial basis function, and substitute each spatial distance parameter into the preset radial basis function for nonlinear transformation.

[0106] The radial basis functions chosen are Gaussian radial basis functions, whose expression is:

[0107] in, σ represents the spatial distance parameter between the j-th colorimeter measurement and the center of the i-th radial basis function, and σ represents the preset width parameter, which is used to control the radial range of the radial basis function.

[0108] For the spatial distance parameter of the i-th training sample The spatial distance response value is calculated by substituting this value into the Gaussian radial basis function. This Gaussian radial basis function maps the spatial distance parameter to a spatial distance response value between zero and one through a nonlinear transformation. A smaller spatial distance parameter results in a larger spatial distance response value, indicating that the colorimeter measurement is closer to coinciding with the center of the radial basis function; conversely, a larger spatial distance parameter results in a smaller spatial distance response value, or a value approaching zero, indicating that the colorimeter measurement is farther from the center of the radial basis function.

[0109] For each training sample, its N spatial distance parameters are substituted into the Gaussian radial basis functions, and the N spatial distance response values ​​corresponding to the centers of the N radial basis functions are output. After the spatial distance response values ​​of all training samples are calculated, a complete response value matrix is ​​formed.

[0110] In this embodiment, the Euclidean distance between each colorimeter measurement and each radial basis function center in the training dataset within the three-dimensional color space is calculated, yielding spatial distance parameters corresponding to each colorimeter measurement. These spatial distance parameters precisely quantify the proximity of each training sample's colorimeter measurement to each radial basis function center in the three-dimensional chromaticity space, providing a clear spatial distance metric basis for subsequent nonlinear transformations. After obtaining the spatial distance parameters, a nonlinear transformation is performed on each spatial distance parameter based on the radial basis functions, outputting the spatial distance response value corresponding to each radial basis function center for each colorimeter measurement. This characterizes the influence strength of each radial basis function center on measurement values ​​at different locations in the chromaticity space, providing a response value data foundation for the subsequent construction of a chromaticity mapping model.

[0111] Please see Figure 6 This application provides an embodiment for obtaining a color calibration model, comprising: 601. Based on the overall color error corresponding to the training dataset and the color error corresponding to each key color constraint point in the multi-point constraint set, establish an optimization objective function.

[0112] The overall color error corresponding to the training dataset is specifically represented as the color difference between the colorimeter measurement value of each training sample in the training dataset, obtained after mapping by the colorimetric mapping model, and the reference measurement value.

[0113] The color error corresponding to each key color constraint point in the multi-point constraint set is specifically expressed as the color difference between the colorimeter measurement value of each key color constraint point in the multi-point constraint set, obtained after mapping by the colorimetric mapping model, and the reference measurement value.

[0114] Adding the two items together, we get the complete optimization objective function: ; Where λ represents the preset balance coefficient, and N represents the total number of key color constraint points. Indicates overall color error. This indicates the color error at the key color constraint points. This indicates the constraint weight corresponding to the key color constraint point.

[0115] λ is used to weigh which type of error is dominant. The value of λ within the positive range depends on whether the goal is to minimize keypoint errors or overall error, and can be determined based on test data. The preset balance coefficient λ is greater than zero. When λ is small, the optimization process focuses on reducing overall color error; when λ is large, the optimization process focuses on reducing the weighted color error of key color constraint points.

[0116] 602. By iteratively adjusting the weights to be determined in the chromaticity mapping model, the objective function is minimized, and the optimal model parameters are obtained.

[0117] To obtain a chroma mapping model and optimize the objective function to its minimum value, the weights to be determined are iteratively adjusted. Specifically, the weights to be determined in the chroma mapping model are first initialized to obtain initial weight coefficients: ΦW=R; Where Φ represents the response value matrix, W represents the weight matrix to be determined, and R represents the reference measurement matrix of all training samples.

[0118] Based on the initialization, gradient descent is used to iteratively solve the objective function. In each iteration, the partial derivative of the objective function with respect to each weight is calculated, and the weights are updated along the negative gradient direction. The update step size is controlled by a preset learning rate. After each weight update, the objective function value under the current weight is recalculated, and the current objective function value is compared with the value from the previous iteration. The difference between the two is calculated. If the difference is greater than a preset convergence threshold, the next iteration continues; if the difference is less than or equal to the preset convergence threshold, the objective function is considered to have reached its minimum, and the iteration process terminates.

[0119] Since key color regions correspond to larger weighting coefficients, the optimization process prioritizes reducing the measurement error in these regions rather than simply minimizing the overall average error.

[0120] 603. Substitute the optimal model parameters into the colorimetric mapping model to obtain the color calibration model. The color calibration model is used to convert the colorimeter measurement values ​​into the corresponding reference measurement values.

[0121] Obtain the optimal model parameters obtained in step 602. These optimal model parameters include the optimal weight coefficients corresponding to the centers of each radial basis function and the optimal compensation coefficients corresponding to the low-order compensation terms.

[0122] Substituting the optimal model parameters into the colorimetric mapping model yields the color calibration model. This color calibration model takes colorimeter measurements as input and corresponding reference measurements as output, with the output data being a three-dimensional XYZ tristimulus vector.

[0123] In this embodiment, an optimization objective function is established based on the overall color error corresponding to the training dataset and the color error corresponding to each key color constraint point in the multi-point constraint set. This allows the model parameter optimization process to simultaneously consider both global fitting accuracy and key region fitting accuracy. By iteratively adjusting the weights to be determined in the chromaticity mapping model, the optimization objective function is minimized to obtain the optimal model parameters. Substituting the optimal model parameters into the chromaticity mapping model yields the color calibration model.

[0124] Please see Figure 7 This application provides an embodiment of a multi-point constrained colorimetric calibration device, comprising: The measurement unit 701 is used to control the colorimeter to be calibrated and the reference measurement device to perform measurements on several standard samples, respectively, to obtain the colorimeter measurement value and the reference measurement value corresponding to the standard sample; The first establishment unit 702 is used to establish training samples for each standard sample and summarize the training samples to obtain a training dataset. The training samples include the colorimeter measurement values ​​and reference measurement values ​​corresponding to the standard samples. The acquisition unit 703 is used to determine several key color constraint points based on the training dataset, assign constraint weights to each key color constraint point, and establish a multi-point constraint set. The second establishment unit 704 is used to establish a colorimetric mapping model based on the training dataset. The colorimetric mapping model is used to characterize the mapping relationship between the colorimeter measurement value and the reference measurement value. The optimization unit 705 is used to perform constraint optimization on the chromaticity mapping model based on the multi-point constraint set to obtain the color calibration model; The calibration unit 706 is used to acquire the target measurement value output by the colorimeter to be calibrated, input the target measurement value into the color calibration model, and output the corresponding calibration measurement value.

[0125] Optionally, the device also includes: The update unit 707 is used to update the color calibration model based on the error between the calibration measurement value and the reference measurement value.

[0126] For details on the implementation method of the multi-point constrained colorimetric calibration device, please refer to [link / reference]. Figures 1 to 6 Examples of these embodiments are not described in detail here.

[0127] This application provides a computer-readable storage medium on which a program is stored, and the program is executed when executed on a computer. Figures 1 to 6 The multi-point constrained colorimetric calibration method in [the context of the text].

[0128] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0129] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.

[0130] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0131] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0132] If the integrated unit is implemented as a software functional unit 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 this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A multi-point constrained colorimetric calibration method, characterized in that, include: For several standard samples, the colorimeter to be calibrated and the reference measuring device are controlled to perform measurements to obtain the colorimeter measurement value and the reference measurement value corresponding to the standard sample; Training samples are created for each of the standard samples, and the training samples are aggregated to obtain a training dataset. The training samples include the colorimeter measurement values ​​and the reference measurement values ​​corresponding to the standard samples. Based on the training dataset, several key color constraint points are determined, constraint weights are assigned to each key color constraint point, and a multi-point constraint set is established. Based on the training dataset, a colorimetric mapping model is established, which is used to characterize the mapping relationship between the colorimeter measurement value and the reference measurement value. Based on the set of multi-point constraints, the chromaticity mapping model is constrained and optimized to obtain a color calibration model; Obtain the target measurement value output by the colorimeter to be calibrated, input the target measurement value into the color calibration model, and output the corresponding calibration measurement value; The step of determining several key color constraint points based on the training dataset includes: First constraint training samples corresponding to the target white point, RGB three primary color points and CMY secondary color points are selected from the training dataset. The colorimeter measurement value and the reference measurement value corresponding to each first constraint training sample are extracted to form a basic key color candidate point set. And / or, based on the color gamut distribution range of the training dataset, select a predetermined number of second constraint training samples at multiple preset locations on the color gamut boundary, extract the colorimeter measurement value and the reference measurement value corresponding to each second constraint training sample, and form a color gamut boundary candidate point set; At least the set of basic key color candidate points or the set of color gamut boundary candidate points are determined as the set of constraint candidate points; The set of candidate constraint points is deduplicated and its color uniformity is checked to determine the final set of key color constraint points. The step of assigning constraint weights to each of the key color constraint points and establishing a multi-point constraint set includes: Based on the importance of each key color constraint point to the color region, its sensitivity to color changes, and calibration requirements, all key color constraint points are divided into multiple weight levels. According to the preset correspondence between the weight level and the constraint weight, the corresponding constraint weight is assigned to the key color constraint point; Each key color constraint point is bound to a corresponding constraint weight, and all key color constraint points are aggregated to generate a multi-point constraint set.

2. The multi-point constrained colorimetric calibration method according to claim 1, characterized in that, The steps for establishing a chromaticity mapping model based on the training dataset include: Extract the key color constraint points as the centers of the radial basis functions; Based on the radial basis functions, calculate the spatial distance response value between each colorimeter measurement value in the training dataset and the center of each radial basis function; A chromaticity mapping model is constructed based on the spatial distance response value and the preset low-order compensation term.

3. The multi-point constrained colorimetric calibration method according to claim 2, characterized in that, The step of calculating the spatial distance response value between each colorimeter measurement value in the training dataset and the center of each radial basis function based on the radial basis function includes: Calculate the Euclidean distance between each colorimeter measurement value in the training dataset and the center of each radial basis function in the three-dimensional color space to obtain the spatial distance parameter corresponding to the colorimeter measurement value; Based on the radial basis functions, the spatial distance parameters are nonlinearly transformed to output the spatial distance response value corresponding to the center of each radial basis function for each colorimeter measurement value.

4. The multi-point constrained colorimetric calibration method according to claim 2, characterized in that, The step of constructing a chromaticity mapping model based on the spatial distance response value and a preset low-order compensation term includes: Construct a chromaticity mapping model based on the following formula: ; Where F(M) represents the chromaticity mapping model, Indicates the weight to be determined. Represents radial basis functions. Let P(M) represent the spatial distance parameter between the j-th colorimeter measurement and the center of the i-th radial basis function, and let φ( ) indicates that the spatial distance parameter The spatial distance response value is calculated by substituting the Gaussian radial basis function.

5. The multi-point constrained colorimetric calibration method according to claim 4, characterized in that, The step of performing constraint optimization on the chromaticity mapping model based on the multi-point constraint set to obtain the color calibration model includes: Based on the overall color error corresponding to the training dataset and the color error corresponding to each key color constraint point in the multi-point constraint set, an optimization objective function is established. By iteratively adjusting the weights to be determined in the chromaticity mapping model, the optimization objective function is minimized, and the optimal model parameters are obtained. The optimal model parameters are substituted into the colorimetric mapping model to obtain the color calibration model, which is used to convert the colorimeter measurement values ​​into the corresponding reference measurement values.

6. The multi-point constrained colorimetric calibration method according to any one of claims 1 to 5, characterized in that, After obtaining the target measurement value output by the colorimeter to be calibrated, inputting the target measurement value into the color calibration model, and outputting the corresponding calibration measurement value, the multi-point constrained colorimetric calibration method further includes: The color calibration model is updated based on the error between the calibration measurement and the reference measurement.

7. A multi-point constrained colorimetric calibration device, applied to the multi-point constrained colorimetric calibration method according to any one of claims 1-6, characterized in that, include: The measurement unit is used to control the colorimeter to be calibrated and the reference measurement device to measure several standard samples respectively, and to obtain the colorimeter measurement value and the reference measurement value corresponding to the standard sample; The first establishment unit is used to establish training samples for each of the standard samples and to summarize the training samples to obtain a training dataset. The training samples include the colorimeter measurement values ​​and the reference measurement values ​​corresponding to the standard samples. The acquisition unit is used to determine several key color constraint points based on the training dataset, assign constraint weights to each key color constraint point, and establish a multi-point constraint set. The second establishment unit is used to establish a colorimetric mapping model based on the training dataset. The colorimetric mapping model is used to characterize the mapping relationship between the colorimeter measurement value and the reference measurement value. An optimization unit is used to perform constraint optimization on the chromaticity mapping model based on the multi-point constraint set to obtain a color calibration model; The calibration unit is used to acquire the target measurement value output by the colorimeter to be calibrated, input the target measurement value into the color calibration model, and output the corresponding calibration measurement value.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains a program that, when executed on a computer, performs the multi-point constrained colorimetric calibration method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Colorimeter Calibration

    CN105588642A

  • Area array chromaticity data multi-point correction method based on two-dimensional Gaussian basis RBF interpolation method

    CN122090795A