CN112261397A - White balance verification method, terminal device and readable storage medium - Google Patents

White balance verification method, terminal device and readable storage medium Download PDF

Info

Publication number
CN112261397A
CN112261397A CN202011118648.0A CN202011118648A CN112261397A CN 112261397 A CN112261397 A CN 112261397A CN 202011118648 A CN202011118648 A CN 202011118648A CN 112261397 A CN112261397 A CN 112261397A
Authority
CN
China
Prior art keywords
color coordinate
target color
target
white balance
coordinate
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.)
Granted
Application number
CN202011118648.0A
Other languages
Chinese (zh)
Other versions
CN112261397B (en
Inventor
何鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202011118648.0A priority Critical patent/CN112261397B/en
Publication of CN112261397A publication Critical patent/CN112261397A/en
Application granted granted Critical
Publication of CN112261397B publication Critical patent/CN112261397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/02Diagnosis, testing or measuring for television systems or their details for colour television signals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The invention discloses a white balance verification method, a terminal device and a readable storage medium, wherein the method comprises the following steps: receiving a white balance verification request, and acquiring a color coordinate corresponding to the verification request; calculating the slope of the color temperature corresponding to the target color coordinate on the Planck curve, and calculating the color coordinate range corresponding to the target color coordinate; obtaining a corresponding target color coordinate interval according to the color coordinate range and the slope; judging whether the color coordinate corresponding to the verification request is in the target color coordinate interval or not; and if so, generating white balance verification passing information. And if the white balance verification passes, generating white balance verification passing information, so that a user can know that the white balance parameters are matched with the television conveniently.

Description

White balance verification method, terminal device and readable storage medium
Technical Field
The present invention relates to the field of display technologies, and in particular, to a white balance verification method, a terminal device, and a readable storage medium.
Background
The white balance is an important color parameter of a television, the television white balance debugging is an important content in image quality debugging, the white balance parameter of the current television is debugged on a prototype by a user, all televisions in the same batch use the same set of white balance parameters, and partial white balance deviation is too large due to color temperature difference of a television body, so that the white balance parameter is not matched with partial televisions, but the user cannot specifically know which televisions the white balance parameter is matched with.
Disclosure of Invention
The invention provides a white balance verification method, terminal equipment and a readable storage medium, and aims to solve the problem that a user cannot specifically know whether a white balance parameter is matched with a television or not.
In order to achieve the above object, the present invention provides a white balance verification method, including:
receiving a white balance verification request, and acquiring a color coordinate corresponding to the verification request;
calculating the slope of the color temperature corresponding to the target color coordinate on the Planck curve, and calculating the color coordinate range corresponding to the target color coordinate;
obtaining a corresponding target color coordinate interval according to the color coordinate range and the slope;
judging whether the color coordinate corresponding to the verification request is in the target color coordinate interval or not;
and if so, generating white balance verification passing information.
Optionally, the step of calculating the color coordinate range corresponding to the target color coordinate includes:
acquiring a preset color tolerance;
and calculating the color coordinate range according to the preset color tolerance and the target color coordinate.
Optionally, the step of calculating the color coordinate range according to the preset color tolerance and the target color coordinate includes:
obtaining an abscissa value range corresponding to the target color coordinate according to the abscissa in the target color coordinate and a preset color tolerance, and obtaining an ordinate value range corresponding to the target color coordinate according to the ordinate in the target color coordinate and the preset color tolerance; or
And obtaining a vertical coordinate value range corresponding to the target color coordinate according to the vertical coordinate in the target color coordinate and the preset color tolerance, and obtaining an horizontal coordinate value range corresponding to the target color coordinate according to the horizontal coordinate in the target color coordinate and the preset color tolerance.
Optionally, the step of obtaining a corresponding target color coordinate interval according to the color coordinate range and the slope includes:
obtaining a color coordinate function according to the slope and the color coordinate range;
obtaining a value range of a vertical coordinate of a corresponding target color coordinate interval according to a preset first compensation value, a preset second compensation value and the color coordinate function;
f(x)-Δy2<y<f(x)+Δy1
wherein, f (x) is a color coordinate function, Δ y1 is a preset first compensation value, and Δ y2 is a preset second compensation value;
the target color coordinate interval is a point satisfying the following conditions:
x0-α<x<x0+α,
f(x)-Δy2<y<f(x)+Δy1
where α is the color tolerance, x0Is the abscissa of the target color coordinate, and (x, y) represents the target color coordinate interval.
Optionally, the step of obtaining a corresponding target color coordinate interval according to the color coordinate range and the slope further includes:
obtaining a color coordinate function taking an abscissa in an abscissa value range as a variable according to the slope and the color coordinate range;
obtaining a value range of a vertical coordinate of a corresponding target color coordinate interval according to a preset first compensation value, a preset second compensation value, the color coordinate function and a color coordinate range;
f(x)-Δy2<y<f(x)+Δy1
y0-α<y<y0+α,
wherein f (x) is a color coordinate function, Δ y1 is a predetermined first compensation value, Δ y2 is a predetermined second compensation value, α is a color tolerance, y is a color tolerance0Is the ordinate of the target color coordinate;
the target color coordinate interval is a point satisfying the following conditions:
x0-α<x<x0+α,
y0-α<y<y0+α,
f(x)-Δy2<y<f(x)+Δy1
wherein x is0Is the abscissa of the target color coordinate, and (x, y) represents the target color coordinate interval.
Optionally, the color coordinate function is f (x) ax (x-x)0)+y0
Wherein A is a slope, x is an abscissa of a target color coordinate interval, and x is0As the abscissa of the target color coordinate, y0Is the ordinate of the target color coordinate.
Optionally, before the step of calculating the slope of the color temperature corresponding to the target color coordinate on the pramk curve, the method further includes:
determining a corresponding environment color temperature value according to the current environment light parameter;
determining a corresponding target screen color temperature value according to the environment color temperature value, and obtaining a target color coordinate according to the target screen color temperature value;
before the step of calculating the slope of the color temperature corresponding to the target color coordinate on the pramk curve, the method further comprises the following steps:
and acquiring a target color coordinate corresponding to the verification request.
Optionally, after the step of determining whether the color coordinate corresponding to the verification request is within the target color coordinate interval, the method further includes:
and if not, generating white balance verification failing information.
In addition, to achieve the above object, the present invention also provides a terminal device, including: a communication module, a memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the white balance verification method as described above.
Furthermore, to achieve the above object, the present invention also provides a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the white balance verification method as described above.
The invention further judges whether the color coordinate corresponding to the verification request is in the target color coordinate interval, namely in the allowable error range, by receiving the white balance verification request, if so, the invention says that the balance parameter verification is passed, and then the white balance verification passing information is generated, thereby being convenient for a user to know that the white balance parameter is adapted to the television.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a white balance verification method according to the present invention;
FIG. 3 is a schematic view of a color coordinate range of an embodiment of a white balance verification method according to the invention;
FIG. 4 is a schematic diagram of a color coordinate function according to another embodiment of the white balance verification method of the present invention;
fig. 5 and 6 are schematic diagrams of color coordinate intervals according to still another embodiment of the white balance verification method of the present invention.
Detailed Description
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a terminal device provided by the present invention. The terminal device may include components such as a communication module 10, a memory 20, and a processor 30 in a hardware structure. In the terminal device, the processor 30 is connected to the memory 20 and the communication module 10, respectively, the memory 20 having stored thereon a computer program that is executed by the processor 30 at the same time, the computer program implementing the steps of the method embodiments described below when executed.
The communication module 10 may be connected to an external communication device through a network. The communication module 10 may receive a request from an external communication device, and may also send a request, an instruction, and information to the external communication device. The external communication device may be a user terminal or other system server, etc.
The memory 20 may be used to store software programs as well as various data. The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (for example, obtaining the color coordinates and the target color coordinates corresponding to the authentication request), and the like; the storage data area may include a database, and the storage data area may store data or information created according to the use of the terminal device, or the like. Further, the memory 20 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 30, which is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 20 and calling data stored in the memory 20, thereby integrally monitoring the terminal device. Processor 30 may include one or more processing units; alternatively, the processor 30 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 30.
Although not shown in fig. 1, the terminal device may further include a circuit control module for connecting to a power supply to ensure the normal operation of other components. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 1 is not intended to be limiting of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Based on the hardware structure, various embodiments of the method of the invention are provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a white balance verification method according to the present invention, in which the method includes:
step S10, receiving a white balance verification request, and acquiring a color coordinate corresponding to the verification request;
the embodiment can verify the white balance of the smart television, and connects the smart television with the terminal device, so that the terminal device is used for verifying the parameters corresponding to the white balance of the smart television. And the color coordinate corresponding to the verification request is the color coordinate corresponding to the white balance of the intelligent television needing white balance verification.
Step S20, calculating the corresponding slope of the color temperature corresponding to the target color coordinate on the Planck curve, and calculating the color coordinate range corresponding to the target color coordinate;
the planck curve in this embodiment is a curve formed by connecting white colors at different color temperatures on a chromaticity diagram. Wherein, the corresponding slope is the tangent slope obtained by tangent line of the point of the color temperature corresponding to the target color coordinate on the Planck curve. The corresponding color coordinate range can be obtained according to the target color coordinate, the color coordinate range comprises an abscissa value range and an ordinate value range corresponding to the target color coordinate, the debugging of the target color coordinate is generally considered to be successful in the color coordinate range of the target color coordinate, but the color coordinate range is large, and even if the actual color coordinate is in the color coordinate range, the phenomenon of bluish or bluish can occur, so that the color display effect is not good, and therefore, the color coordinate range needs to be further corrected.
Step S30, obtaining a corresponding target color coordinate interval according to the color coordinate range and the slope;
in this embodiment, the color temperature corresponding to the target color coordinate is calculated by using a color temperature formula, the slope of the color temperature corresponding to the target color temperature on the pramk curve is calculated, and the color coordinate range corresponding to the target color coordinate is calculated, where a point in the color coordinate range has a suitable distance from the target color coordinate, and the color coordinate range includes an abscissa value range and an ordinate value range corresponding to the target color coordinate. White balanceCertain errors are allowed during debugging, and in one embodiment, the abscissa value range corresponding to the color coordinate range is x0-α<x<x0+ alpha, the range of the ordinate value corresponding to the range of the color coordinates is y0-α<y<y0+ α, α is a color tolerance parameter set by a person skilled in the art according to his own needs; in another embodiment, the color coordinate range is a predetermined distance from the target color coordinate, and the color coordinate range is all coordinates within a circular area with the target color coordinate as a center and the predetermined distance as a radius. It will be understood by those skilled in the art that the calculation rule of the color coordinate range can be set according to the actual requirement.
Further, a target color coordinate interval is obtained through the color coordinate range and the slope, and the value ranges of the abscissa and the ordinate can be further limited through the color coordinate range to obtain a target color coordinate interval based on the target color coordinate. Specifically, a target color coordinate interval is calculated according to the color coordinate range and the slope, and when the color coordinate corresponding to the verification request is in the target color coordinate interval, the white balance verification is considered to be passed.
Step S40, determining whether the color coordinate corresponding to the verification request is within the target color coordinate interval;
in step S50, if yes, white balance verification pass information is generated.
The embodiment judges whether the color coordinate corresponding to the verification request is in the target color coordinate interval, and when the color coordinate corresponding to the verification request is in the target color coordinate interval, the balance verification is passed, and then the white balance verification passing information is generated, so that the user can know that the white balance parameter is adaptive to the television.
Further, after step S40, the method further includes:
in step S400, if not, white balance verification failure information is generated.
In this embodiment, when the color coordinate corresponding to the verification request is not in the target color coordinate interval, it is said that the balance verification fails, and then white balance verification failure information is generated to prompt the user that the white balance verification fails, so that the user can know that the white balance parameter is not adapted to the television, and the user or the display device can debug the white balance parameter again.
In this embodiment, by receiving the white balance verification request, it is further determined whether the color coordinate corresponding to the verification request is within the target color coordinate interval, that is, within the allowable error range, if so, it is said that the balance parameter verification is passed, and white balance verification passing information is generated, so that the user can know that the white balance parameter is not adapted to the television.
Further, a second embodiment of the white balance verification method of the present invention is proposed based on the first embodiment of the white balance verification method of the present invention, and in this embodiment, the step of calculating the color coordinate range corresponding to the target color coordinate in step S20 includes:
step S21, acquiring a preset color tolerance;
and step S22, calculating the color coordinate range according to the preset color tolerance and the target color coordinate.
The color tolerance is a color tolerance parameter set by a person skilled in the art according to self needs, the preset color tolerance can be a fixed value set by the person skilled in the art, a color coordinate range is calculated according to the preset color tolerance and the target color coordinate, the color coordinate range comprises an abscissa value range and an ordinate value range corresponding to the target color coordinate, and the color coordinate range can be obtained by directly adding or subtracting the target color coordinate and the preset color tolerance. In another embodiment, the color coordinate range may also be obtained by multiplying or dividing the target color coordinate by a preset tolerance.
Further, a third embodiment of the white balance verification method of the present invention is proposed based on the second embodiment of the white balance verification method of the present invention, and in this embodiment, step S22 includes:
step S210, obtaining an abscissa value range corresponding to the target color coordinate according to the abscissa in the target color coordinate and a preset color tolerance, and obtaining an ordinate value range corresponding to the target color coordinate according to the ordinate in the target color coordinate and the preset color tolerance; or
And obtaining a vertical coordinate value range corresponding to the target color coordinate according to the vertical coordinate in the target color coordinate and the preset color tolerance, and obtaining an horizontal coordinate value range corresponding to the target color coordinate according to the horizontal coordinate in the target color coordinate and the preset color tolerance.
Referring to FIG. 3, the target color coordinate is (x)0,y0) Adding the abscissa of the target color coordinate and a preset color tolerance to obtain the upper limit of the abscissa corresponding to the target color coordinate, namely x < x0+ α, where α is the color tolerance, x0The abscissa is the target color coordinate; subtracting the abscissa of the target color coordinate from the preset color tolerance to obtain the lower limit of the abscissa, namely x, corresponding to the target color coordinate0- α < x; combining the upper limit and the lower limit of the abscissa to obtain the numeric area of the abscissa corresponding to the target color coordinate, namely x0-α<x<x0+ α. Adding the ordinate of the target color coordinate with the preset color tolerance to obtain the upper limit of the ordinate corresponding to the target color coordinate, namely y < y0+ α, where α is the color tolerance, y0Is the ordinate of the target color coordinate; subtracting the preset chromatic tolerance from the ordinate of the target chromatic coordinate to obtain the lower limit of the ordinate, namely y, corresponding to the target chromatic coordinate0- α < y; combining the upper limit and the lower limit of the ordinate to obtain the value range of the ordinate, namely y, corresponding to the target color coordinate0-α<y<y0+ α, FIG. 3 (x)0+α,y0+α)、(x0+α,y0-α)、(x0-α,y0- α) and (x)0-α,y0The square surrounded by the + α) coordinate points is the color coordinate range, and generally, the color coordinate corresponding to the verification request is considered to be successfully debugged if the color coordinate is within the square, but the color coordinate range is wide, so the color coordinate range needs to be corrected.
In another embodiment, the abscissa of the target color coordinate is multiplied by the preset color tolerance to obtain the upper abscissa limit corresponding to the target color coordinate, the abscissa of the target color coordinate is divided by the preset color tolerance to obtain the lower abscissa limit corresponding to the target color coordinate, and the upper abscissa limit and the lower abscissa limit are combined to obtain the numeric area of the abscissa corresponding to the target color coordinate. And multiplying the ordinate of the target color coordinate by the preset color tolerance to obtain an upper ordinate limit corresponding to the target color coordinate, dividing the ordinate of the target color coordinate by the preset color tolerance to obtain a lower ordinate limit corresponding to the target color coordinate, and combining the upper ordinate limit and the lower ordinate limit to obtain a value range of the ordinate corresponding to the target color coordinate.
Further, a fourth embodiment of the white balance verification method of the present invention is proposed based on the second embodiment of the white balance verification method of the present invention, and in this embodiment, step S30 includes:
step S100, obtaining a color coordinate function according to the slope and the color coordinate range;
step S101, obtaining a value range of a vertical coordinate of a corresponding target color coordinate interval according to a preset first compensation value, a preset second compensation value and the color coordinate function;
f(x)-Δy2<y<f(x)+Δy1
wherein, f (x) is a color coordinate function, Δ y1 is a preset first compensation value, and Δ y2 is a preset second compensation value;
the target color coordinate interval is a point satisfying the following conditions:
x0-α<x<x0+α,
f(x)-Δy2<y<f(x)+Δy1
where α is the color tolerance, x0Is the abscissa of the target color coordinate, and (x, y) represents the target color coordinate interval.
In this embodiment, a color coordinate function is obtained according to the slope and the color coordinate range, please refer to fig. 4, where f (x) in fig. 4 is the color coordinate function, the color coordinate function is the optimal color temperature function passing through the target color coordinate, the preset first compensation value and the preset second compensation value are set by the skilled in the art as needed, the preset first compensation value and the preset second compensation value may be the same or different, and the range of the vertical coordinate in the target color coordinate interval, that is, f (x) - Δ y, is obtained according to the preset first compensation value, the preset second compensation value and the color coordinate function2<y<f(x)+Δy1Where f (x) is a color coordinate function, Δ y1 is a preset first compensation value, Δ y2 is a preset second compensation value, and the target color coordinate interval is a coordinate point satisfying two conditions: x is the number of0-α<x<x0+α,f(x)-Δy2<y<f(x)+Δy1If the color coordinate corresponding to the verification request is in the target color coordinate interval, the balance verification is passed, verification passing information can be generated, and a user can conveniently know whether the white balance parameter is matched with the television or not. And correcting the color coordinate range to obtain a target color coordinate interval, and if the target color coordinate interval passes the verification, the color display effect is better, and the white balance debugging is not needed.
Further, a fifth embodiment of the white balance verification method of the present invention is proposed based on the second embodiment of the white balance verification method of the present invention, and in this embodiment, the step S30 further includes:
step S200, obtaining a color coordinate function taking an abscissa in an abscissa value range as a variable according to the slope and the color coordinate range;
step S201, obtaining a value range of a vertical coordinate of a corresponding target color coordinate interval according to a preset first compensation value, a preset second compensation value, the color coordinate function and a color coordinate range;
f(x)-Δy2<y<f(x)+Δy1
y0-α<y<y0+α,
wherein f (x) is a color coordinate function, Δ y1 is a predetermined first compensation value, Δ y2 is a predetermined second compensation value, α is a color tolerance, y is a color tolerance0Is the ordinate of the target color coordinate;
the target color coordinate interval is a point satisfying the following conditions:
x0-α<x<x0+α,
y0-α<y<y0+α,
f(x)-Δy2<y<f(x)+Δy1
wherein x is0Is the abscissa of the target color coordinate, and (x, y) represents the target color coordinate interval.
In this embodiment, a color coordinate function is obtained according to the slope and the color coordinate range, please refer to fig. 5, where f (x) in fig. 5 is the color coordinate function, the color coordinate function is the optimal color temperature function of the target color coordinate, and a first compensation value and a pre-set value are presetThe second compensation value is set by the person skilled in the art according to the need, the preset first compensation value and the preset second compensation value can be the same or different, and the first compensation value delta y is preset according to the preset first compensation value1Presetting a second compensation value delta y2The color coordinate function and the ordinate dereferencing range corresponding to the target color temperature in the color coordinate range obtain the range of the ordinate of the target color coordinate interval, namely f (x) -delta y2<y<f(x)+Δy1,y0-α<y<y0+ α, where f (x) is a function of color coordinates, Δ y1To preset the first compensation value, Δ y2To preset the second compensation value, please refer to FIG. 5, f1(x)=f(x)+△y1,f2(x)=f(x)-△y2,f1(x)、f2(x) And (x) are parallel to each other, and the target color coordinate interval is a coordinate point which simultaneously satisfies three conditions: x is the number of0-α<x<x0+α,y0-α<y<y0+α,f(x)-Δy2<y<f(x)+Δy1If the color coordinate corresponding to the verification request is in the target color coordinate interval, that is, in the solid line of fig. 5, it is said that the balance verification is passed, verification passing information can be generated, so that the user can know whether the white balance parameter is adapted to the television or not. And correcting the color coordinate range to obtain a target color coordinate interval, and if the target color coordinate interval passes the verification, the color display effect is better, and the white balance debugging is not needed.
Further, according to a sixth embodiment of the white balance verification method of the present invention, the color coordinate function is f (x) a × (x-x)0)+y0
Wherein A is a slope, x is an abscissa of a target color coordinate interval, and x is0As the abscissa of the target color coordinate, y0Is the ordinate of the target color coordinate.
In this embodiment, the color coordinate function is an optimal color temperature function, the color coordinate point corresponding to the function includes a target color coordinate, if the color coordinate corresponding to the verification request is the color coordinate in the optimal color temperature function, it is said that the balance verification is passed, and the target color coordinate interval is obtained through correcting the color coordinate range, and if the verification is passed, it is indicated that the color display effect is better at this time, and the white balance debugging is not required.
Referring to fig. 6, in another embodiment, if the slope is equal to 1 and the predetermined first compensation value, the predetermined second compensation value and the predetermined color tolerance are equal, f1(x)=f(x)+△y1,f2(x)=f(x)-△y2,f1(x)、f2(x) And (x) are parallel to each other, and the target color coordinate interval is a coordinate point which simultaneously satisfies three conditions: x is the number of0-α<x<x0+α,y0-α<y<y0+α,x-x0+y0-α<y<x-x0+y0+ α, if the color coordinate corresponding to the verification request is in the target color coordinate interval, that is, in the solid line of fig. 6, it is said that the balance verification is passed, verification passing information can be generated, so that the user can know whether the white balance parameter is adapted to the television or not. And correcting the color coordinate range to obtain a target color coordinate interval, and if the target color coordinate interval passes the verification, the color display effect is better, and the white balance debugging is not needed.
Further, in the seventh embodiment of the white balance verification method according to the present invention, before step S20, the method further includes:
step S400, determining a corresponding environment color temperature value according to the current environment light parameter;
step S401, determining a corresponding target screen color temperature value according to the environment color temperature value, and obtaining a target color coordinate according to the target screen color temperature value;
in this embodiment, a corresponding ambient color temperature value is determined according to the current ambient light parameter, a corresponding target screen color temperature value, that is, a target screen color temperature value of the smart television is determined according to the ambient color temperature value, and a target color coordinate is further obtained according to the target screen color temperature value of the smart television.
Further, step S20 is preceded by:
and step S500, acquiring a target color coordinate corresponding to the verification request.
The target color coordinate in this embodiment may also be directly obtained, and after receiving the white balance verification request, the white balance verification request may be analyzed to obtain the target color coordinate corresponding to the verification request. The target color coordinate can be obtained through two modes, and the color temperature corresponding to the target color coordinate is the optimal color temperature. Usually, after the white balance is debugged, the actual color coordinate is not necessarily equal to the target color coordinate, and the purpose of debugging is only to make the color coordinate corresponding to the verification request approach to the target color coordinate, so the color coordinate and the target color coordinate need to be compared to judge whether the debugging is successful.
The invention also proposes a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium may be a Memory in the terminal device of fig. 1, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, a terminal, or a network device) having a processor to execute the method according to the embodiments of the present invention.
In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, and those skilled in the art can understand the specific meanings of the above terms in the present invention according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although the embodiment of the present invention has been shown and described, the scope of the present invention is not limited thereto, it should be understood that the above embodiment is illustrative and not to be construed as limiting the present invention, and that those skilled in the art can make changes, modifications and substitutions to the above embodiment within the scope of the present invention, and that these changes, modifications and substitutions should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method of white balance verification, the method comprising the steps of:
receiving a white balance verification request, and acquiring a color coordinate corresponding to the verification request;
calculating the slope of the color temperature corresponding to the target color coordinate on the Planck curve, and calculating the color coordinate range corresponding to the target color coordinate;
obtaining a corresponding target color coordinate interval according to the color coordinate range and the slope;
judging whether the color coordinate corresponding to the verification request is in the target color coordinate interval or not;
and if so, generating white balance verification passing information.
2. The white balance verification method according to claim 1, wherein the step of calculating the color coordinate range corresponding to the target color coordinate comprises:
acquiring a preset color tolerance;
and calculating the color coordinate range according to the preset color tolerance and the target color coordinate.
3. The white balance verification method according to claim 2, wherein the step of calculating the color coordinate range based on a preset color tolerance and a target color coordinate comprises:
obtaining an abscissa value range corresponding to the target color coordinate according to the abscissa in the target color coordinate and a preset color tolerance, and obtaining an ordinate value range corresponding to the target color coordinate according to the ordinate in the target color coordinate and the preset color tolerance; or
And obtaining a vertical coordinate value range corresponding to the target color coordinate according to the vertical coordinate in the target color coordinate and the preset color tolerance, and obtaining an horizontal coordinate value range corresponding to the target color coordinate according to the horizontal coordinate in the target color coordinate and the preset color tolerance.
4. The white balance verification method according to claim 3, wherein the step of obtaining the corresponding target color coordinate interval from the color coordinate range and the slope includes:
obtaining a color coordinate function according to the slope and the color coordinate range;
obtaining a value range of a vertical coordinate of a corresponding target color coordinate interval according to a preset first compensation value, a preset second compensation value and the color coordinate function;
f(x)-Δy2<y<f(x)+Δy1
wherein, f (x) is a color coordinate function, Δ y1 is a preset first compensation value, and Δ y2 is a preset second compensation value;
the target color coordinate interval is a point satisfying the following conditions:
x0-α<x<x0+α,
f(x)-Δy2<y<f(x)+Δy1
where α is the color tolerance, x0Is the abscissa of the target color coordinate, and (x, y) represents the target color coordinate interval.
5. The white balance verification method according to claim 3, wherein the step of obtaining the corresponding target color coordinate interval from the color coordinate range and the slope further comprises:
obtaining a color coordinate function taking an abscissa in an abscissa value range as a variable according to the slope and the color coordinate range;
obtaining a value range of a vertical coordinate of a corresponding target color coordinate interval according to a preset first compensation value, a preset second compensation value, the color coordinate function and a color coordinate range;
f(x)-Δy2<y<f(x)+Δy1
y0-α<y<y0+α,
wherein f (x) is a color coordinate function, Δ y1 is a predetermined first compensation value, Δ y2 is a predetermined second compensation value, α is a color tolerance, y is a color tolerance0Is the ordinate of the target color coordinate;
the target color coordinate interval is a point satisfying the following conditions:
x0-α<x<x0+α,
y0-α<y<y0+α,
f(x)-Δy2<y<f(x)+Δy1
wherein x is0Is the abscissa of the target color coordinate, and (x, y) represents the target color coordinate interval.
6. The white balance verification method according to claim 4 or 5, wherein the color coordinate function is f (x) Ax (x-x)0)+y0
Wherein A is a slope, x is an abscissa of a target color coordinate interval, and x is0As the abscissa of the target color coordinate, y0Is the ordinate of the target color coordinate.
7. The white balance verification method according to claim 1, wherein the step of calculating the slope of the color temperature corresponding to the target color coordinate on the pramk curve further comprises:
determining a corresponding environment color temperature value according to the current environment light parameter;
determining a corresponding target screen color temperature value according to the environment color temperature value, and obtaining a target color coordinate according to the target screen color temperature value;
before the step of calculating the slope of the color temperature corresponding to the target color coordinate on the pramk curve, the method further comprises the following steps:
and acquiring a target color coordinate corresponding to the verification request.
8. The white balance verification method according to claim 1, wherein after the step of determining whether the color coordinate corresponding to the verification request is within the target color coordinate interval, the method further comprises:
and if not, generating white balance verification failing information.
9. A terminal device, characterized in that the terminal device comprises: a communication module, a memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the white balance verification method according to any one of claims 1 to 8.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the white balance verification method according to any one of claims 1-8.
CN202011118648.0A 2020-10-19 2020-10-19 White balance verification method, terminal device and readable storage medium Active CN112261397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011118648.0A CN112261397B (en) 2020-10-19 2020-10-19 White balance verification method, terminal device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011118648.0A CN112261397B (en) 2020-10-19 2020-10-19 White balance verification method, terminal device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112261397A true CN112261397A (en) 2021-01-22
CN112261397B CN112261397B (en) 2023-05-23

Family

ID=74243855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011118648.0A Active CN112261397B (en) 2020-10-19 2020-10-19 White balance verification method, terminal device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112261397B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113270063A (en) * 2021-05-21 2021-08-17 北京京东方显示技术有限公司 Color coordinate calibration method, system, processing device and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340596A (en) * 2007-07-04 2009-01-07 深圳Tcl新技术有限公司 Apparatus and system for white balance debugging
US20090102944A1 (en) * 2007-10-22 2009-04-23 Nishizawa Yuka Color signal processing circuit, image pickup apparatus, and color signal processing method
JP2014023103A (en) * 2012-07-23 2014-02-03 Nikon Corp Image processing device, imaging devices, and program
CN103761948A (en) * 2013-12-30 2014-04-30 Tcl显示科技(惠州)有限公司 White balance debugging method and device and display method and device of displayer
WO2015018158A1 (en) * 2013-08-08 2015-02-12 京东方科技集团股份有限公司 White balance data adjustment method, device and system
US20150187243A1 (en) * 2013-12-31 2015-07-02 Shenzhen China Star Optoelectronics Technology Co. Ltd. Method and System for Adjusting White Balance, Method for Making Liquid Crystal Display
WO2017043811A1 (en) * 2015-09-09 2017-03-16 삼성전자 주식회사 Image processing apparatus and image processing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340596A (en) * 2007-07-04 2009-01-07 深圳Tcl新技术有限公司 Apparatus and system for white balance debugging
US20090102944A1 (en) * 2007-10-22 2009-04-23 Nishizawa Yuka Color signal processing circuit, image pickup apparatus, and color signal processing method
JP2014023103A (en) * 2012-07-23 2014-02-03 Nikon Corp Image processing device, imaging devices, and program
WO2015018158A1 (en) * 2013-08-08 2015-02-12 京东方科技集团股份有限公司 White balance data adjustment method, device and system
CN103761948A (en) * 2013-12-30 2014-04-30 Tcl显示科技(惠州)有限公司 White balance debugging method and device and display method and device of displayer
US20150187243A1 (en) * 2013-12-31 2015-07-02 Shenzhen China Star Optoelectronics Technology Co. Ltd. Method and System for Adjusting White Balance, Method for Making Liquid Crystal Display
WO2017043811A1 (en) * 2015-09-09 2017-03-16 삼성전자 주식회사 Image processing apparatus and image processing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ARJAN GIJSENIJ等: "Generalized Gamut Mapping using Image Derivative Structures for Color Constancy", 《 INTERNATIONAL JOURNAL OF COMPUTER VISION 》 *
罗福根: "LCD显示器色彩还原技术的研究与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113270063A (en) * 2021-05-21 2021-08-17 北京京东方显示技术有限公司 Color coordinate calibration method, system, processing device and computer storage medium
WO2022242062A1 (en) * 2021-05-21 2022-11-24 京东方科技集团股份有限公司 Method and system for calibrating colour coordinates, processing device, and computer storage medium
CN113270063B (en) * 2021-05-21 2023-02-28 北京京东方显示技术有限公司 Color coordinate calibration method, system, processing device and computer storage medium

Also Published As

Publication number Publication date
CN112261397B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN109883003B (en) Control method of air conditioner, air conditioner and computer readable storage medium
CN108363507B (en) Touch screen dead zone compensation method and device, electronic equipment and storage medium
CN112019279A (en) Line loss calibration method, device and system and computer readable storage medium
CN112360788A (en) Fan stability testing method and device, computer equipment and storage medium
US20180200890A1 (en) Offline programming device and position-parameter correcting method
CN112261397A (en) White balance verification method, terminal device and readable storage medium
CN111400167A (en) Redfish service compliance verification method, device, equipment and medium
CN111412580A (en) Baud rate calibration method, air conditioner and computer readable storage medium
CN108253593B (en) Current threshold value correction method, multi-split air conditioner and storage medium
CN107563188B (en) Application security evaluation method and device and computer storage medium
CN108717357B (en) Page display code conversion method, device, equipment and computer storage medium
CN112583617B (en) Fault determination method, server, control terminal and storage medium
CN106325937A (en) Third-party application calling method and electronic equipment
CN109981188A (en) Power of communication equipment calibration method, device and computer readable storage medium
CN115550546A (en) Focal length adjusting method, device, equipment and storage medium
JP4224469B2 (en) Power supply device, power supply control method and power supply control program, and maintenance device, maintenance method and maintenance program
CN114419033A (en) Defect identification method, defect identification device, electronic device and readable storage medium
CN115797267A (en) Image quality evaluation method, system, electronic device, and storage medium
CN114069803A (en) Portable emergency energy storage power supply detection method, device, equipment and storage medium
CN114285909A (en) Scanning method, system, computer device and storage medium for magnetic resonance device
CN106130815A (en) Board level test method and device
CN107330051B (en) Noise reduction database calling method and device
CN110166630B (en) Method and system for monitoring mobile phone network security based on Type-C interface
CN114615482B (en) White balance debugging method, storage medium and intelligent television
CN117457550B (en) Wafer alignment method and related device

Legal Events

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