CN117636820A - Color debugging method, device, equipment and computer readable storage medium - Google Patents

Color debugging method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN117636820A
CN117636820A CN202311581695.2A CN202311581695A CN117636820A CN 117636820 A CN117636820 A CN 117636820A CN 202311581695 A CN202311581695 A CN 202311581695A CN 117636820 A CN117636820 A CN 117636820A
Authority
CN
China
Prior art keywords
color
target
feature
characteristic
debugging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311581695.2A
Other languages
Chinese (zh)
Inventor
何鹏
陈奕鑫
林煜森
黄瀚海
谢仁礼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN202311581695.2A priority Critical patent/CN117636820A/en
Publication of CN117636820A publication Critical patent/CN117636820A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Image Processing (AREA)

Abstract

The application discloses a color debugging method, a device, equipment and a computer readable storage medium, wherein the method comprises the following steps: obtaining color matching characteristics of a sample to be adjusted; determining target color to be mixed characteristics according to a white solid color theory and pixel values of each color channel of the color to be mixed characteristics; adjusting preset standard color characteristics according to the target color characteristics to be mixed to obtain target standard color characteristics; and performing color debugging on the sample waiting machine according to the target color waiting characteristic and the target standard color characteristic. The color adjustment method has the advantages that the color adjustment characteristics to be adjusted are achieved through the white solid color theory and the pixel values of all color channels, the preset standard color characteristics are adjusted according to the target color adjustment characteristics, the accuracy of the color adjustment expression of the color adjustment characteristics and the standard color characteristics is improved, the color adjustment is carried out on the sample machine to be adjusted based on the adjusted color adjustment characteristics and the standard color characteristics, and the efficiency and the accuracy of the color adjustment are improved.

Description

Color debugging method, device, equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of display technologies, and in particular, to a color debugging method, device, apparatus, and computer readable storage medium.
Background
For devices with display screens such as computers, televisions and mobile phones, the backlight and the panel determine color performances such as color gamut, brightness and contrast of the display screen foundation, but due to differences of components, the color performances of different display screens can have certain differences with standard color performances even in the same image quality state, the differences are generally eliminated through a color management module at present, and the color management module is generally used for manually debugging in an HSL space, so that the debugging efficiency is low, the manual debugging has certain subjectivity, and the debugging accuracy is low. Therefore, how to improve the efficiency and accuracy of color debugging is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a color debugging method, device, equipment and computer readable storage medium, which can improve the efficiency and accuracy of color debugging.
In a first aspect, an embodiment of the present application provides a color debugging method, where the method includes:
obtaining color matching characteristics of a sample to be adjusted;
determining target color to be mixed characteristics according to a white solid color theory and pixel values of each color channel of the color to be mixed characteristics;
adjusting preset standard color characteristics according to the target color characteristics to be mixed to obtain target standard color characteristics;
And performing color debugging on the sample waiting machine according to the target color waiting characteristic and the target standard color characteristic.
In a second aspect, embodiments of the present application provide a color debugging device,
the acquisition unit is used for acquiring the color matching characteristics of the sample machine to be adjusted;
the determining unit is used for determining target color-to-be-mixed characteristics according to a white solid color theory and the pixel values of the color channels of the color-to-be-mixed characteristics;
the adjusting unit is used for adjusting preset standard color characteristics according to the target color characteristics to be mixed to obtain target standard color characteristics;
and the debugging unit is used for carrying out color debugging on the sample waiting machine according to the target color waiting characteristic and the target standard color characteristic.
In a third aspect, embodiments of the present application further provide a color debugging device, including a memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps of any of the color debugging methods provided by the embodiments of the present application.
In a fourth aspect, embodiments of the present application further provide a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of any one of the color debugging methods provided by the embodiments of the present application.
In a fifth aspect, embodiments of the present application also provide a computer program product comprising a computer program or instructions which, when executed by a processor, implement steps in any of the color debugging methods provided by the embodiments of the present application.
The method comprises the steps of obtaining color mixing characteristics of a sample machine to be adjusted by adopting the scheme of the embodiment; determining target color to be mixed characteristics according to a white solid color theory and pixel values of each color channel of the color to be mixed characteristics; adjusting preset standard color characteristics according to the target color characteristics to be mixed to obtain target standard color characteristics; and performing color debugging on the sample waiting machine according to the target color waiting characteristic and the target standard color characteristic. The color adjustment method has the advantages that the color adjustment characteristics to be adjusted are achieved through the white solid color theory and the pixel values of all color channels, the preset standard color characteristics are adjusted according to the target color adjustment characteristics, the accuracy of the color adjustment expression of the color adjustment characteristics and the standard color characteristics is improved, the color adjustment is carried out on the sample machine to be adjusted based on the adjusted color adjustment characteristics and the standard color characteristics, and the efficiency and the accuracy of the color adjustment are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a first embodiment of a color debugging method provided in the present application;
FIG. 2 is a schematic diagram of a post-debug application flow of the color debug method provided by the present application;
FIG. 3 is a schematic view of a color adjustment device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a color debugging device provided in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application. Meanwhile, in the description of the embodiments of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The embodiment of the application provides a color debugging method, device, equipment and a computer readable storage medium.
In particular, the present embodiment will be described from the perspective of a color debugging device, which may be integrated in a color debugging apparatus in particular, i.e. the color debugging method of the present embodiment may be performed by the color debugging apparatus.
The color debugging method provided by the embodiment of the application can be applied to equipment such as intelligent terminals, pc equipment and the like.
The following describes in detail the embodiments, taking the color debugging device as an example of the execution subject. The following description of the embodiments is not intended to limit the preferred embodiments. Although a logical order is depicted in the flowchart, in some cases the steps shown or described may be performed in an order different than depicted in the figures.
Referring to fig. 1, a first embodiment of the present application is presented, and the specific flow of the color debugging method includes the following steps:
step 101, obtaining color matching characteristics of a sample machine to be adjusted;
step 102, determining target color to be mixed features according to a white solid color theory and pixel values of each color channel of the color to be mixed features;
Step 103, adjusting preset standard color characteristics according to the target color characteristics to be mixed to obtain target standard color characteristics;
and 104, performing color debugging on the sample waiting machine according to the target color waiting characteristic and the target standard color characteristic.
In this embodiment, the sample machine to be adjusted may be a device with a display screen, such as a computer, a television, a mobile phone, etc., when the sample machine to be adjusted needs to be color adjusted, the color adjusting device obtains the color feature to be adjusted of the sample machine to be adjusted, and adjusts the color feature to be adjusted according to the white solid color theory and the pixel value of each color channel of the color feature to be adjusted to determine the target color feature to be adjusted; the color debugging equipment acquires preset standard color characteristics corresponding to a standard prototype, wherein the standard prototype can be equipment with a display screen, such as a computer, a television, a mobile phone and the like, capable of displaying standard colors, and adjusts the standard color characteristics according to target color characteristics to be adjusted to obtain target standard color characteristics; the color debugging equipment generates a corresponding color characteristic lookup table according to the target color characteristic to be debugged and the target standard color characteristic, and performs color debugging on the sample machine to be debugged based on the color characteristic lookup table.
The color debugging equipment of the embodiment obtains the color characteristic to be mixed of the sample machine to be debugged; determining target color characteristics to be mixed according to a white solid color theory and pixel values of each color channel of the color characteristics to be mixed; adjusting preset standard color characteristics according to target color characteristics to be mixed to obtain target standard color characteristics; and generating a corresponding color characteristic lookup table according to the target color characteristic to be adjusted and the target standard color characteristic, and performing color adjustment on the sample machine to be adjusted based on the color characteristic lookup table. The color adjustment method comprises the steps of adjusting color characteristics to be adjusted through a white solid color theory and pixel values of all color channels, adjusting preset standard color characteristics according to target color characteristics to be adjusted, improving the accuracy of color characteristics to be adjusted and standard color characteristic adjustment expression, generating a corresponding color characteristic lookup table to carry out color adjustment on a sample machine to be adjusted based on the adjusted color characteristics to be adjusted and the standard color characteristics, and improving the efficiency and accuracy of color adjustment.
Specifically, each step is described in detail below:
step 101, obtaining color matching characteristics of a sample machine to be adjusted;
in the step, the color debugging equipment responds to a color debugging instruction, firstly determines a sample machine to be debugged, then controls the sample machine to be debugged to display various colors, and further obtains the color characteristic to be debugged of the sample machine to be debugged; specifically, in order to obtain the color characteristics to be adjusted of the sample machine to be adjusted, the X/Y/Z data of the W/R/G/B pure color picture of the N-order is generally collected. The values of W/R/G/B are 0, 255 in RGB color space, i.e. W/R/G/B can be equal to 0/1/2 … … or 256 values. When white W is required to be a solid color, r=g=b is required, and only 256R/G/B combinations satisfying the condition are required. Similarly, red R is a pure color request g=b=0, green G is a pure color request r=b=0, and blue B is a pure color request r=g=0, and only 256R/G/B combinations satisfying the condition are provided. In order to obtain the color feature to be adjusted of the sample machine, the 1024 (4 times of N) R/G/B values can be used as input of the sample machine to be adjusted, and meanwhile, the X/Y/Z values of the display color of the sample machine to be adjusted in the CIEXYZ color space are respectively measured to obtain the color feature to be adjusted of the sample machine to be adjusted.
Step 102, determining target color to be mixed features according to a white solid color theory and pixel values of each color channel of the color to be mixed features;
in the step, the color debugging equipment determines target color to be adjusted characteristics according to a white solid color theory and pixel values of all color channels of the color to be adjusted characteristics; it can be understood that the color feature to be adjusted comprises three color channels R/G/B, the pixel value range of each color channel is [0, 255], the pixel value grades are divided according to the pixel value of each color channel of the color feature to be adjusted, further, the target weight corresponding to each pixel value grade is determined according to the white solid color theory and the color feature to be adjusted, and the target color feature to be adjusted is determined based on the target weight corresponding to each pixel value grade and the color feature to be adjusted.
Specifically, step 102 includes:
step 1021, dividing the pixel value level according to the pixel value of each color channel corresponding to the color feature to be mixed;
in the step, the color debugging equipment divides the pixel value grades according to the pixel value of each color channel corresponding to the color feature to be color-mixed; the color feature to be adjusted comprises three R/G/B color channels, the pixel value range of each color channel is [0, 255], and preferably, the color debugging equipment determines each pixel value of 0-255 to be divided into a pixel value grade; optionally, the color debugging device divides a pixel value level in the value range [0, 255] at intervals of a preset length according to the preset length.
Step 1022, calculating the white color feature corresponding to the pixel value level according to the white solid color theory for each pixel value level;
in this step, the color debugging device calculates, for each pixel value level, a white color feature corresponding to the pixel value level according to the white solid color theory after dividing the pixel value level. Specifically, the white solid color theory is the W solid color theory, and if the color feature to be tinted of the sample machine to be tinted is strictly linear, the following formula should be satisfied when r=g=b=n (0+.n (integer). Ltoreq.255):
Xwn=Xrn+Xgn+Xbn
Ywn=Yrn+Ygn+Ybn
Zwn=Zrn+Zgn+Zbn
wherein Xwn/Ywn/Zwn is the X/Y/Z value of the display color of the sample to be modulated measured when R/G/B=n/n/n, the display color of the sample to be modulated is white, xwn/Ywn/Zwn is a white color feature, when n takes different values, xwn/Ywn/Zwn corresponds to a white color feature of the pixel value class, R/G/B=n/0/0 measures Xrn/Yrn/Zrn corresponds to a red color feature, R/G/B=0/n/0 measures Xgn/Ygn/Zgn corresponds to a green color feature, and R/G/B=0/0/n measures Xbn/Ybn/Zbn corresponds to a blue color feature. That is, the white color feature is calculated from the red color feature, the green color feature, and the blue color feature.
Step 1023, calculating a target weight corresponding to the pixel value grade according to the to-be-tinted color characteristic and the corresponding white color characteristic in the pixel value grade;
in the step, the color debugging equipment calculates a target weight corresponding to the pixel value grade according to the to-be-color-mixed characteristic and the corresponding white color characteristic in the pixel value grade; specifically, the color feature to be tuned of the sample machine to be tuned is not strictly linear, and the concept of R/G/B weight coefficients of each stage needs to be introduced, which are respectively Prn, pgn and Pbn, and when r=g=b=n (0+.n (integer). Ltoreq.255), the following formula should be satisfied:
Xwn=Prn*Xrn+Pgn*Xgn+Pbn*Xbn
Ywn=Prn*Yrn+Pgn*Ygn+Pbn*Ybn
Zwn=Prn*Zrn+Pgn*Zgn+Pbn*Zbn
because the X/Y/Z value of the W/R/G/B solid color is a known test quantity, the n-th-stage R/G/B weight coefficient is obtained as follows:
that is, the color debugging apparatus calculates the target weights Prn, pgn, and Pbn (0.ltoreq.n (integer). Ltoreq.255) corresponding to the respective pixel value ranks from the white color feature Xwn/Ywn/Zwn of the respective pixel value ranks and the to-be-toned color feature Xrn/Yrn/Zrn, xgn/Ygn/Zgn, xbn/Ybn/Zbn of the respective pixel value ranks.
Step 1024, adjusting the to-be-tinted feature according to the target weight corresponding to each pixel value level, and determining a target to-be-tinted feature.
In the step, the color debugging equipment adjusts the color feature to be adjusted according to the target weight corresponding to each pixel value grade, and determines the target color feature to be adjusted. Specifically, the color to be toned features include Xrn/Yrn/Zrn, xgn/Ygn/Zgn, xbn/Ybn/Zbn,9 feature values, xrn is the value of n for the red channel on the X-axis of the color to be toned feature in the CIEXYZ color space, xgn is the value of n for the green channel on the Y-axis of the color to be toned feature in the CIEXYZ color space, zbn is the value of n for the blue channel on the Z-axis of the color to be toned feature in the CIEXYZ color space, and other feature value understanding can refer to the above explanation and will not be repeated herein. The values n of the characteristic values are different, and colors represented by the to-be-tinted characteristic are also different, so that the size of the to-be-tinted characteristic in each color channel pixel value needs to be determined, the pixel value grade of each color channel pixel value is determined, the target weight corresponding to each color channel pixel value is further determined, the to-be-tinted characteristic is adjusted based on the target weight, and the target to-be-tinted characteristic is determined.
Specifically, step 1024 includes:
step 10241, for each to-be-tinted feature, determining the pixel value grade to which each color channel pixel value belongs according to the size of each color channel pixel value corresponding to the to-be-tinted feature;
In the step, the color debugging equipment determines the pixel value grade of each color channel pixel value according to the size of each color channel pixel value corresponding to each color feature to be color-blended; illustratively, the to-be-tinted color features include Xr5/Yr30/Zr100, xg5/Yg30/Zg100, xb5/Yb30/Zb100, and correspondingly, each color channel pixel value is determined to include 5, 30, and 100, and further, the pixel value level to which each color channel pixel value belongs is determined to include a 5 th level, a 30 th level, and a 100 th level.
Step 10242, determining the target weight corresponding to each color channel pixel value according to the pixel value grade to which each color channel pixel value belongs;
in this step, the color debugging device determines the target weight corresponding to each color channel pixel value according to the pixel value level to which each color channel pixel value belongs. For example, the to-be-tinted color features include Xr5/Yr30/Zr100, xg5/Yg30/Zg100, xb5/Yb30/Zb100, and correspondingly, each color channel pixel value is determined to include 5, 30 and 100, and further, the pixel value level to which each color channel pixel value belongs is determined to include a 5 th level, a 30 th level and a 100 th level, and then the target weights corresponding to each color channel pixel value are respectively the target weight corresponding to the 5 th level, the target weight corresponding to the 30 th level and the target weight corresponding to the 100 th level.
Step 10243, calculating the target color feature to be mixed according to the color channel features corresponding to the color feature to be mixed and the target weights corresponding to the pixel values of the color channels.
In the step, the color debugging equipment calculates target color to be adjusted according to the color channel characteristics corresponding to the color to be adjusted and the target weights corresponding to the pixel values of the color channels. Specifically, the formula for calculating the target color feature to be mixed is as follows:
Xijk=Pri*Xri+Pgj*Xgj+Pbk*Xbk
Yijk=Pri*Yri+Pgj*Ygj+Pbk*Ybk
Zijk=Pri*Zri+Pgj*Zgj+Pbk*Zbk
the color matching method comprises the steps of taking Xijk/YIjk/Zijk as a target color to be matched, taking Pri as a target weight corresponding to the color to be matched when the value of a red channel on an XYZ axis in a CIEXYZ color space is i, taking Pgj as a target weight corresponding to the color to be matched when the value of a green channel on an XYZ axis in the CIEXYZ color space is j, taking Pbk as a target weight corresponding to the color to be matched when the value of a blue channel on an XYZ axis in the CIEXYZ color space is k, and taking Xri/Yrj/Zrk, xgi/Ygj/Zgk and Xbi/Ybj/Zbk as color channel characteristics corresponding to the color to be matched respectively, wherein the values of the color to be matched on the XYZ axis of the color to be matched are the same, and the values of the color to be matched on the XYZ axis of the green channel in the CIEXYZ color space are the same.
Further, the values of the red channels of the color to be mixed on the XYZ axes in the CIEXYZ color space may be different, the values of the green channels of the color to be mixed on the XYZ axes in the CIEXYZ color space may be different, the values of the blue channels of the color to be mixed on the XYZ axes in the CIEXYZ color space may be different, and at this time, the formula for calculating the target color to be mixed features is as follows:
Xabc=Pra*Xra+Pgb*Xgb+Pbc*Xbc
Ydef=Prd*Yrd+Pge*Yge+Pbf*Ybf
Zghi=Prg*Zrg+Pgh*Zgh+Pbi*Zbi
at this time, the color debugging device needs to determine the target weights corresponding to the a-i9 pixel value grades, and further calculate the target color feature to be adjusted.
Step 103, adjusting preset standard color characteristics according to the target color characteristics to be mixed to obtain target standard color characteristics;
in the step, the color debugging equipment adjusts preset standard color characteristics according to the target color characteristics to be adjusted to obtain target standard color characteristics. It should be noted that, the preset standard color characteristic is obtained from the standard prototype by the color debugging device, and the color gamut, brightness and color temperature of the standard prototype and the color gamut, brightness and color temperature of the sample to be debugged have certain differences, so that the preset standard color characteristic is required to be adjusted to obtain the target standard color characteristic, so that the color gamut, brightness and color temperature expressed in the target standard color characteristic are consistent with the color gamut, brightness and color temperature of the sample to be debugged, and the accuracy of subsequent color debugging is improved.
It should be noted that, regarding the color gamut, it is generally required that the sample to be adjusted has an optical scheme similar to that of the standard sample, for example, when the sample to be adjusted and the target sample are both liquid crystal televisions, it is required to ensure that the backlight types (normal powder/new red powder/quantum dots) and the panel color resistance (material/thickness) states of the sample to be adjusted are consistent, and so on, therefore, the standard sample having an optical scheme similar to that of the sample to be adjusted is generally selected, and the color gamut difference between the sample to be adjusted and the standard sample is eliminated; for brightness and color temperature differences, brightness normalization and color temperature debugging processing is generally performed.
Specifically, step 103 includes:
step 1031, adjusting the pixel values of each color channel corresponding to the target color feature to be mixed and the preset standard color feature to be the same;
in the step, the color debugging equipment adjusts the pixel values of all color channels corresponding to the target color feature to be mixed and the preset standard color feature to be the same; illustratively, r=g=b=m is adjusted so that the standard prototype displays white, the corresponding standard white color features have the same values of three red, green and blue channels on XYZ axes in the CIEXYZ color space, the standard white color features are Xtm/Ytm/Ztm so that the sample to be sampled displays white, the corresponding color features to be whitened have the same values of three red, green and blue channels on XYZ axes in the CIEXYZ color space, and the color feature to be whitened is Xdm/Ydm/Zdm.
Step 1032, calculating an adjustment coefficient according to the target color feature to be adjusted and the pixel value of each color channel after the adjustment of the preset standard color feature;
in the step, the color debugging equipment calculates an adjustment coefficient according to the target color feature to be adjusted and the pixel value of each color channel after the adjustment of the preset standard color feature; specifically, when the sample to be adjusted and the standard sample have only brightness difference, namely only the brightness adjustment coefficient is needed to be calculated, and the brightness adjustment coefficient is set as C1 at this time, so that the brightness adjustment coefficient meets the following conditions: c1 The luminance adjustment coefficient is calculated according to the values of the three channels of red, green and blue on the Y axis in the CIEXYZ color space of the target color feature to be adjusted and the values of the three channels of red, green and blue on the Y axis in the CIEXYZ color space of the standard color feature to be adjusted. When the brightness and color temperature difference exists between the sample machine to be regulated and the standard sample machine, namely the brightness and color temperature adjustment coefficient needs to be calculated, and the brightness adjustment coefficient is set as C2 at the moment, so that the brightness adjustment coefficient meets the following requirements: c2 The brightness and color temperature adjustment coefficients are calculated according to the values of three channels of red, green and blue on the XYZ axis in the CIEXYZ color space of the target color feature to be adjusted and the values of three channels of red, green and blue on the XYZ axis in the CIEXYZ color space of the standard color feature to be adjusted.
Step 1033, calculating a target standard color feature according to the adjustment coefficient and the standard color feature.
In this step, the color debugging device calculates a target standard color feature based on the adjustment coefficient and the standard color feature. Specifically, when there is only a brightness difference between the sample machine to be adjusted and the standard sample machine, the Xtm/Ytm/Ztm value of the target sample machine is adjusted to be Xt1/Yt1/Zt1 by the brightness adjustment coefficient C1, that is, xt1= Xtm ×c1, yt1=ytm×c1, zt1= Ztm ×c1, and the obtained xt1/yt1/Zt1 is the target standard color feature. When the brightness and color temperature difference exists between the sample to be adjusted and the standard sample, the Xtm/Ytm/Ztm value of the target sample is adjusted to be Xt 2/Ytm 2/Zt2 through the brightness and color temperature adjustment coefficient C2, namely Xt2= Xtm ×c2, yt2=ytm×c2, zt2= Ztm ×c2, and the obtained Xt2/yt2/Zt2 is the target standard color characteristic.
And 104, performing color debugging on the sample waiting machine according to the target color waiting characteristic and the target standard color characteristic.
In the step, the color debugging equipment performs color debugging on the sample to be debugged according to the target color feature to be debugged and the target standard color feature after obtaining the target color feature to be debugged and the target standard color feature. Specifically, the color debugging equipment performs color debugging on the target color feature to be debugged according to the target standard color feature, further determines a reference color feature in the target color feature to be debugged, and uses the reference color feature in the sample machine to be debugged.
Specifically, step 104 includes:
step 1041, converting the target color feature to be color-adjusted and the target color feature to an LAB color space to obtain a target color LAB feature to be color-adjusted and a target standard color LAB feature;
in the step, the color debugging equipment converts the target color characteristic to be color-mixed and the target color characteristic into an LAB color space to obtain the target color LAB characteristic to be color-mixed and the target standard color LAB characteristic; specifically, the target color feature to be tinted and the target color feature are color features in the CIEXYZ color space, so that the target color feature to be tinted and the target color feature need to be converted into the LAB color space, so that the color difference can be calculated conveniently. It should be noted that, the CIELAB/CIEXYZ color space conversion method is a mature technology, and will not be repeated here.
Step 1042, generating a color feature lookup table according to the target color LAB feature to be adjusted and the target standard color LAB feature, and performing color adjustment on the sample machine to be adjusted based on the color feature lookup table.
In the step, the color debugging equipment calculates the color difference between the target color LAB characteristic to be debugged and the target standard color LAB characteristic based on the CIEDE2000 color difference calculation method, further determines the reference color characteristic in the target color characteristic to be debugged according to the color difference to finish debugging the target color characteristic to be debugged, and then adds the reference color characteristic into the color characteristic lookup table to be applied to a sample machine to be debugged. It should be noted that, the CIEDE2000 color difference calculation method is a mature technology, and is not repeated here.
Further, step 1042 comprises:
step 10421, calculating, for each target standard color LAB feature, a color difference between each target color LAB feature to be color-mixed and the target standard color LAB feature, and obtaining a reference color LAB feature corresponding to the minimum color difference;
in the step, color debugging equipment calculates color differences between each target color LAB characteristic to be adjusted in a sample machine and each target standard color LAB characteristic based on a CIEDE2000 color difference calculation method, and obtains the target color LAB characteristic to be adjusted corresponding to the minimum color difference from each target color LAB characteristic to be adjusted as a reference color LAB characteristic. The method comprises the steps of determining target standard color LAB characteristics corresponding to purple in all target standard color LAB characteristics, calculating chromatic aberration between each target color LAB characteristic to be tinted in a sample machine to be tinted and the target standard color LAB characteristics corresponding to the purple based on a CIEDE2000 chromatic aberration calculation method, and obtaining target color LAB characteristics corresponding to the minimum chromatic aberration between each target color LAB characteristic to be tinted and the target standard color LAB characteristics corresponding to the purple as reference color LAB characteristics of the sample machine to be tinted; it will be appreciated that for each color that the sample machine to be adapted is capable of displaying, the reference color LAB characteristics corresponding to each color may be determined in the exemplary manner described above.
Preferably, the color debugging device determines target standard color LAB features corresponding to target colors in all target standard color LAB features, acquires target color LAB feature sets capable of representing the target colors in all target color LAB features, calculates color differences between each target color LAB feature to be color-blended in the target color LAB feature sets representing the target colors and the target standard color LAB features corresponding to the target colors based on a CIEDE2000 color difference calculation method, and further selects target color LAB features to be color-blended with the smallest color differences in the target color LAB feature sets representing the target colors as reference color LAB features of the target colors to be subjected to sample debugging.
Step 10422, summarizing the reference color LAB features corresponding to the target standard color LAB features to obtain a color feature lookup table.
In the step, the color debugging equipment gathers reference color LAB characteristics corresponding to each target standard color LAB characteristic, converts the reference color LAB characteristics from a CIELAB color space to a CIEXYZ color space to obtain reference color characteristics in the CIEXYZ color space, wherein the reference color characteristics are some color characteristics in target color characteristics to be debugged in a sample machine to be debugged, adds all the reference color characteristics into a color characteristic lookup table, and applies the color characteristic lookup table to the sample machine to be debugged, and the color debugging of the sample machine to be debugged is completed.
Further, as shown in fig. 2, after the debugging is completed, the method includes the steps of:
step 105, responding to the display instruction, and determining a target color;
step 106, searching the color characteristics corresponding to the target color in the color characteristic lookup table;
step 107, generating and displaying the target color based on the color feature.
In steps 105 to 107, after finishing debugging, obtaining a target prototype, entering an application scene, responding to a display instruction by the target prototype, determining a target color, randomly determining a color feature to be mixed which can represent the target color, inputting the color feature to be mixed into a color feature lookup table, and searching a color feature corresponding to the target color, wherein the color feature is a reference color feature of the target color displayed by the sample to be debugged determined in the debugging stage, and the target prototype generates and displays the target color based on the color feature, so that the displayed target color can be close to or equal to a standard display state corresponding to the target color.
The color debugging equipment of the embodiment obtains the color characteristic to be mixed of the sample machine to be debugged; determining target color characteristics to be mixed according to a white solid color theory and pixel values of each color channel of the color characteristics to be mixed; adjusting preset standard color characteristics according to target color characteristics to be mixed to obtain target standard color characteristics; and generating a corresponding color characteristic lookup table according to the target color characteristic to be adjusted and the target standard color characteristic, and performing color adjustment on the sample machine to be adjusted based on the color characteristic lookup table. The color adjustment method comprises the steps of adjusting color characteristics to be adjusted through a white solid color theory and pixel values of all color channels, adjusting preset standard color characteristics according to target color characteristics to be adjusted, improving the accuracy of color characteristics to be adjusted and standard color characteristic adjustment expression, generating a corresponding color characteristic lookup table to carry out color adjustment on a sample machine to be adjusted based on the adjusted color characteristics to be adjusted and the standard color characteristics, and improving the efficiency and accuracy of color adjustment.
The present embodiment also provides a color adjustment device, which may be integrated in a color adjustment apparatus, a clothes dryer, and other apparatuses, as shown in fig. 3, where the color adjustment device may include:
an obtaining unit 1001, configured to obtain a color feature to be adjusted of the sample machine to be adjusted;
a determining unit 1002, configured to determine a target color feature to be colored according to a white solid color theory and pixel values of each color channel of the color feature to be colored;
an adjusting unit 1003, configured to adjust a preset standard color feature according to the target color feature to be adjusted, so as to obtain a target standard color feature;
and the debugging unit 1004 is configured to perform color debugging on the sample waiting machine according to the target color feature to be debugged and the target standard color feature.
In an alternative example, the determining unit is further configured to:
dividing the pixel value grade according to the pixel value of each color channel corresponding to the color feature to be mixed;
calculating a white color characteristic corresponding to each pixel value level according to a white solid color theory;
calculating a target weight corresponding to the pixel value grade according to the to-be-tinted color characteristic and the corresponding white color characteristic in the pixel value grade;
And adjusting the color feature to be adjusted according to the target weight corresponding to each pixel value level, and determining the target color feature to be adjusted.
In an alternative example, the determining unit is further configured to:
for each color feature to be colored, determining the pixel value grade of each color channel pixel value according to the size of each color channel pixel value corresponding to the color feature to be colored;
determining the target weight corresponding to each color channel pixel value according to the pixel value grade of each color channel pixel value;
and calculating target color to be mixed features according to the color channel features corresponding to the color to be mixed features and target weights corresponding to pixel values of the color channels.
In an alternative example, the adjusting unit is further configured to:
adjusting the pixel values of all color channels corresponding to the target color feature to be mixed and the preset standard color feature to be the same;
calculating an adjustment coefficient according to the target color feature to be adjusted and the pixel value of each color channel after the adjustment of the preset standard color feature;
and calculating target standard color characteristics according to the adjustment coefficient and the standard color characteristics.
In an alternative example, the debug unit is further configured to:
converting the target color characteristic to be mixed and the target color characteristic to an LAB color space to obtain a target color LAB characteristic to be mixed and a target standard color LAB characteristic;
and generating a color characteristic lookup table according to the target color LAB characteristics to be adjusted and the target standard color LAB characteristics, and performing color adjustment on the sample to be adjusted based on the color characteristic lookup table.
In an alternative example, the debug unit is further configured to:
calculating color difference between each target color LAB feature to be mixed and each target standard color LAB feature aiming at each target standard color LAB feature, and obtaining a reference color LAB feature corresponding to the minimum color difference;
and summarizing the reference color LAB characteristics corresponding to the target standard color LAB characteristics to obtain a color characteristic lookup table.
In an alternative example, the color debugging device further comprises a display unit for:
determining a target color in response to the display instruction;
searching the color characteristics corresponding to the target color in the color characteristic lookup table;
the target color is generated and displayed based on the color characteristics.
By adopting the scheme of the embodiment, the color matching characteristic of the sample to be adjusted is obtained; determining target color characteristics to be mixed according to a white solid color theory and pixel values of each color channel of the color characteristics to be mixed; adjusting preset standard color characteristics according to target color characteristics to be mixed to obtain target standard color characteristics; and generating a corresponding color characteristic lookup table according to the target color characteristic to be adjusted and the target standard color characteristic, and performing color adjustment on the sample machine to be adjusted based on the color characteristic lookup table. The color adjustment method comprises the steps of adjusting color characteristics to be adjusted through a white solid color theory and pixel values of all color channels, adjusting preset standard color characteristics according to target color characteristics to be adjusted, improving the accuracy of color characteristics to be adjusted and standard color characteristic adjustment expression, generating a corresponding color characteristic lookup table to carry out color adjustment on a sample machine to be adjusted based on the adjusted color characteristics to be adjusted and the standard color characteristics, and improving the efficiency and accuracy of color adjustment.
Correspondingly, the embodiment of the application also provides a color debugging device, as shown in fig. 4, and fig. 4 is a schematic structural diagram of the color debugging device provided in the embodiment of the application. The color debugging device 1100 includes a processor 1101 having one or more processing cores, a memory 1102 having one or more computer readable storage media, and a computer program stored on the memory 1102 and executable on the processor. The processor 1101 is electrically connected to the memory 1102. It will be appreciated by those skilled in the art that the color debugging device structure shown in the drawings does not constitute a limitation of the color debugging device, and may include more or less components than shown, or may combine certain components, or may be arranged in different components.
The processor 1101 is a control center of the color debugging device 1100, connects various parts of the entire electronic device 1100 using various interfaces and lines, and performs various functions of the electronic device 1100 and processes data by running or loading software programs and/or units stored in the memory 1102 and calling data stored in the memory 1102, thereby performing overall monitoring of the color debugging device 1100. The processor 1101 may be a processor CPU, a graphics processor GPU, a network processor (Network Processor, NP), etc., that may implement or perform the methods, steps and logic blocks disclosed in embodiments of the present application.
In this embodiment, the processor 1101 in the color debugging device 1100 loads instructions corresponding to the processes of one or more application programs into the memory 1102 according to the following steps, and the processor 1101 executes the application programs stored in the memory 1102 to perform any of the color debugging methods provided in the embodiments of the present application.
Optionally, as shown in fig. 4, the color debugging device 1100 further includes: a touch display 1103, a radio frequency circuit 1104, an audio circuit 1105, an input unit 1106, and a power supply 1107. The processor 1101 is electrically connected to the touch display 1103, the radio frequency circuit 1104, the audio circuit 1105, the input unit 1106, and the power supply 1107, respectively. It will be appreciated by those skilled in the art that the color debugging device structure shown in fig. 4 does not constitute a limitation of the electronic device, and may include more or fewer components than shown, or may combine certain components, or may be a different arrangement of components.
The touch display 1103 may be used to display a graphical user interface and receive an operation instruction generated by a user acting on the graphical user interface. The touch display 1103 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of the electronic device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 1101, and can receive and execute commands sent from the processor 1101. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 1101 to determine the type of touch event, and the processor 1101 then provides a corresponding visual output on the display panel based on the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display 1103 to implement the input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch screen 1103 may also implement an input function as part of the input unit 1106.
The rf circuit 1104 may be configured to receive and transmit rf signals to and from a network device or other electronic device via wireless communication to and from the network device or other electronic device.
The audio circuit 1105 may be used to provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 1105 may transmit the received electrical signal after audio data conversion to a speaker, where the electrical signal is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 1105 and converted into audio data, which are processed by the audio data output processor 1101, and transmitted to, for example, another electronic device via the radio frequency circuit 1104, or the audio data are output to the memory 1102 for further processing. The audio circuit 1105 may also include an ear bud jack to provide communication of the peripheral headphones with the electronic device.
The input unit 1106 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
A power supply 1107 is used to power the various components of the electronic device 1100. Alternatively, the power supply 1107 may be logically connected to the processor 1101 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system. The power supply 1107 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 4, the electronic device 1100 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium having stored therein a plurality of computer programs that can be loaded by a processor to perform any of the color debugging methods provided by embodiments of the present application.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the computer readable storage medium can execute any color debugging method provided in the embodiments of the present application, the beneficial effects that any color debugging method provided in the embodiments of the present application can achieve can be achieved, which are detailed in the previous embodiments and are not described herein.
According to one aspect of the present application, there is also provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the electronic device to perform the methods provided in the various alternative implementations of the embodiments described above.
In the embodiments of the color debugging apparatus, the computer readable storage medium, the color debugging device and the computer program product, the descriptions of the embodiments are focused on, and for the parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and the beneficial effects of the color debugging device, the computer readable storage medium, the computer program product, the color debugging apparatus and the corresponding units described above may be referred to the description of the color debugging method in the above embodiments, which is not repeated here.
The foregoing has outlined some of the more detailed description of the color debugging method, apparatus, device and computer readable storage medium and computer program product according to the embodiments of the present application, wherein specific examples are provided herein to illustrate the principles and implementations of the present application, and the above description of the embodiments is only for the purpose of aiding in the understanding of the method and core concept of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A color debugging method, the method comprising:
obtaining color matching characteristics of a sample to be adjusted;
determining target color to be mixed characteristics according to a white solid color theory and pixel values of each color channel of the color to be mixed characteristics;
adjusting preset standard color characteristics according to the target color characteristics to be mixed to obtain target standard color characteristics;
and performing color debugging on the sample waiting machine according to the target color waiting characteristic and the target standard color characteristic.
2. The method for color debugging according to claim 1, wherein said determining the target color to be toned feature according to the white solid color theory and the pixel values of the color channels of the color to be toned feature comprises:
Dividing the pixel value grade according to the pixel value of each color channel corresponding to the color feature to be mixed;
calculating a white color characteristic corresponding to each pixel value level according to a white solid color theory;
calculating a target weight corresponding to the pixel value grade according to the to-be-tinted color characteristic and the corresponding white color characteristic in the pixel value grade;
and adjusting the color feature to be adjusted according to the target weight corresponding to each pixel value level, and determining the target color feature to be adjusted.
3. The color debugging method according to claim 2, wherein said adjusting the to-be-color feature according to the target weight corresponding to each pixel value level, determining a target to-be-color feature, comprises:
for each color feature to be colored, determining the pixel value grade of each color channel pixel value according to the size of each color channel pixel value corresponding to the color feature to be colored;
determining the target weight corresponding to each color channel pixel value according to the pixel value grade of each color channel pixel value;
and calculating target color to be mixed features according to the color channel features corresponding to the color to be mixed features and target weights corresponding to pixel values of the color channels.
4. The color debugging method according to claim 1, wherein the adjusting the preset standard color characteristic according to the target color feature to be color-blended to obtain the target standard color feature comprises:
adjusting the pixel values of all color channels corresponding to the target color feature to be mixed and the preset standard color feature to be the same;
calculating an adjustment coefficient according to the target color feature to be adjusted and the pixel value of each color channel after the adjustment of the preset standard color feature;
and calculating target standard color characteristics according to the adjustment coefficient and the standard color characteristics.
5. The color debugging method according to claim 1, wherein the color debugging the sample machine according to the target color feature to be debugged and the target standard color feature comprises:
converting the target color characteristic to be mixed and the target color characteristic to an LAB color space to obtain a target color LAB characteristic to be mixed and a target standard color LAB characteristic;
and generating a color characteristic lookup table according to the target color LAB characteristics to be adjusted and the target standard color LAB characteristics, and performing color adjustment on the sample to be adjusted based on the color characteristic lookup table.
6. The color tuning method of claim 5, wherein the generating a color feature lookup table from the target color LAB feature to be tuned and the target standard color LAB feature comprises:
calculating color difference between each target color LAB feature to be mixed and each target standard color LAB feature aiming at each target standard color LAB feature, and obtaining a reference color LAB feature corresponding to the minimum color difference;
and summarizing the reference color LAB characteristics corresponding to the target standard color LAB characteristics to obtain a color characteristic lookup table.
7. The color debugging method according to any one of claims 1-6, wherein after the color debugging of the sample machine to be debugged according to the target color feature to be debugged and the target standard color feature, comprising:
determining a target color in response to the display instruction;
searching the color characteristics corresponding to the target color in the color characteristic lookup table;
the target color is generated and displayed based on the color characteristics.
8. A color debugging device, the device comprising:
the acquisition unit is used for acquiring the color matching characteristics of the sample machine to be adjusted;
the determining unit is used for determining target color-to-be-mixed characteristics according to a white solid color theory and the pixel values of the color channels of the color-to-be-mixed characteristics;
The adjusting unit is used for adjusting preset standard color characteristics according to the target color characteristics to be mixed to obtain target standard color characteristics;
and the debugging unit is used for carrying out color debugging on the sample waiting machine according to the target color waiting characteristic and the target standard color characteristic.
9. A color debugging device, comprising a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to perform the steps of the color debugging method of any of claims 1-7.
10. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the color debugging method of any of claims 1-7.
CN202311581695.2A 2023-11-23 2023-11-23 Color debugging method, device, equipment and computer readable storage medium Pending CN117636820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311581695.2A CN117636820A (en) 2023-11-23 2023-11-23 Color debugging method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311581695.2A CN117636820A (en) 2023-11-23 2023-11-23 Color debugging method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117636820A true CN117636820A (en) 2024-03-01

Family

ID=90021026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311581695.2A Pending CN117636820A (en) 2023-11-23 2023-11-23 Color debugging method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117636820A (en)

Similar Documents

Publication Publication Date Title
KR101464742B1 (en) Apparatus and method for providing visibility enhancement in portable terminal
CN108810507B (en) A kind of gamut conversion method and gamut converter, display device
JP4109702B1 (en) Image quality adjustment apparatus, image quality adjustment method, and image quality adjustment program
CN105336286A (en) Spliced screen color adjusting method and device
CN107079078A (en) By image/video content map to the target display devices with variable-brightness level and/or viewing condition
CN103747223A (en) Color gamut adjusting device, color gamut adjusting method and display system
CN101404148A (en) Method for regulating terminal screen display effect and terminal unit
CN112289280A (en) Screen brightness adjusting method and device, computer readable medium and electronic equipment
CN111968590B (en) Picture display adjusting method and device, storage medium and display equipment
WO2022174651A1 (en) Projection device control method and apparatus, medium, and electronic device
JP2005189795A (en) Luminance adjusting method for display
CN116382540A (en) Display method and device for electronic paper, electronic equipment and storage medium
CN104376834B (en) A kind of luminance regulating method and electronic equipment
US20030156073A1 (en) Apparatus for adjusting proximate video monitors to output substantially identical video images and corresponding methods therefor
JP5102351B2 (en) Video signal processing circuit, display device, portable terminal, and program
CN105609059B (en) The method of photosensitive display system and operation sense light display system
TWI602419B (en) Adjusting method and display apparatus using same
CN117636820A (en) Color debugging method, device, equipment and computer readable storage medium
CN112969088A (en) Screen projection control method and device, electronic equipment and readable storage medium
CN112199065A (en) Method and device for determining local display area compensation value, storage medium and terminal equipment
CN100473128C (en) Image processing apparatus and its method
CN113838436B (en) Color temperature adjusting method, device, storage medium and electronic equipment
US10506209B2 (en) Image output control device, image output control method, image output system, and recording medium
CN112185307B (en) Display apparatus and display control method
JP4248320B2 (en) White chromaticity measuring device for color monitor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination