CN115588405A - Display parameter adjusting method, device, equipment and storage medium - Google Patents

Display parameter adjusting method, device, equipment and storage medium Download PDF

Info

Publication number
CN115588405A
CN115588405A CN202211189427.1A CN202211189427A CN115588405A CN 115588405 A CN115588405 A CN 115588405A CN 202211189427 A CN202211189427 A CN 202211189427A CN 115588405 A CN115588405 A CN 115588405A
Authority
CN
China
Prior art keywords
target
value
display
parameter
tristimulus
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
CN202211189427.1A
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.)
Beijing Eswin Computing Technology Co Ltd
Original Assignee
Beijing Eswin Computing 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 Beijing Eswin Computing Technology Co Ltd filed Critical Beijing Eswin Computing Technology Co Ltd
Priority to CN202211189427.1A priority Critical patent/CN115588405A/en
Publication of CN115588405A publication Critical patent/CN115588405A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/13Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on liquid crystals, e.g. single liquid crystal display cells
    • G02F1/133Constructional arrangements; Operation of liquid crystal cells; Circuit arrangements
    • G02F1/1333Constructional arrangements; Manufacturing methods
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/066Adjustment of display parameters for control of contrast
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature

Abstract

The embodiment of the application discloses a method, a device, equipment and a storage medium for adjusting display parameters, wherein the method for adjusting the display parameters comprises the following steps: analyzing a first display parameter in an image displayed by a display screen to obtain an initial tristimulus value; acquiring a target tristimulus value corresponding to a target display parameter; determining a tristimulus difference value between the initial tristimulus value and the target tristimulus value; determining an adjusting parameter matched with the tri-stimulus difference value on the basis of the target display parameter under the condition that the tri-stimulus difference value meets a preset condition; iteratively adjusting the first display parameter based on a reduction coefficient associated with an iterative process and the adjustment parameter until the image is displayed on the display screen with a second display parameter; and the difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is a middle difference value, and the fusion difference value corresponding to the middle difference value is smaller than a preset threshold value.

Description

Display parameter adjusting method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of display control, in particular to a method, a device, equipment and a storage medium for adjusting display parameters.
Background
In the related art, when the display parameters of the display screen are adjusted, the RGB data corresponding to the target display parameters are directly lighted on the display screen, and the lighted display screen is measured for the display result through the optical device; thus, there is usually a large display error, and it needs to be corrected many times; therefore, the problems of low adjusting efficiency and low adjusting precision exist in the adjusting process of the display parameters of the display screen.
Disclosure of Invention
The embodiment of the application provides a technical scheme for adjusting display parameters.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a method for adjusting display parameters, which comprises the following steps: analyzing a first display parameter in an image displayed by a display screen to obtain an initial tristimulus value; acquiring a target tristimulus value corresponding to a target display parameter; determining a tristimulus difference value between the initial tristimulus value and the target tristimulus value; determining an adjusting parameter matched with the tri-stimulus difference value on the basis of the target display parameter under the condition that the tri-stimulus difference value meets a preset condition; iteratively adjusting the first display parameter based on a reduction coefficient associated with an iterative process and the adjustment parameter until the image is displayed on the display screen with a second display parameter; and the difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is a middle difference value, and the fusion difference value corresponding to the middle difference value is smaller than a preset threshold value.
The embodiment of the application provides a display parameter's adjusting device, the device includes: the analysis module is used for analyzing a first display parameter in an image displayed by the display screen to obtain an initial tristimulus value; the acquisition module is used for acquiring a target tristimulus value corresponding to the target display parameter; a determination module for determining a tristimulus difference value between the initial tristimulus value and the target tristimulus value; the determining module is further configured to determine, based on the target display parameter, an adjustment parameter matched with the tri-stimulus difference value when the tri-stimulus difference value meets a preset condition; the adjusting module is used for iteratively adjusting the first display parameter based on a reduction coefficient associated with an iterative process and the adjusting parameter until the image is displayed on the display screen by using a second display parameter; and the difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is a middle difference value, and the fusion difference value corresponding to the middle difference value is smaller than a preset threshold value.
The embodiment of the application provides computer equipment, the computer equipment comprises a memory and a processor, wherein computer executable instructions are stored on the memory, and the processor can realize the adjusting method of the display parameters when running the computer executable instructions on the memory.
The embodiment of the application provides a computer storage medium, wherein computer-executable instructions are stored on the computer storage medium, and after being executed, the method for adjusting the display parameters can be realized.
The embodiment of the application provides a method, a device, equipment and a storage medium for adjusting display parameters, wherein the method for adjusting the display parameters comprises the following steps: firstly, analyzing a first display parameter in an image displayed by a display screen to obtain an initial tristimulus value, and simultaneously obtaining a target tristimulus value corresponding to a target display parameter; thus, an initial tristimulus value is obtained by analyzing a first display parameter in an image displayed by a display screen, and the obtained target display parameter is subjected to relevant processing to obtain a corresponding target tristimulus value; therefore, a parameter basis can be provided for the subsequent adjustment to the target display parameter based on the first display parameter, and the first display parameter and the target display parameter are simultaneously converted into the same adjustment parameter, namely the tristimulus value, so that the relevant convenience can be provided for the subsequent adjustment; secondly, determining a tri-stimulus difference value between the initial tri-stimulus value and the target tri-stimulus value, and determining an adjusting parameter matched with the tri-stimulus difference value on the basis of the target display parameter under the condition that the tri-stimulus difference value meets a preset condition; therefore, the corresponding adjusting parameters are matched based on different target display parameters, application of different scenes is provided for subsequent adjustment, the scheme is more convenient to execute, the application range is wider, and condition limitation is given at the same time: namely, under the condition that the tri-stimulus difference value meets the preset condition, subsequent adjustment parameter determination is carried out and relevant adjustment is carried out based on the determined adjustment parameter, so that the efficiency of the device in the adjustment process of the display parameter can be improved; finally, iteratively adjusting the first display parameter based on a reduction coefficient associated with an iterative process and the adjustment parameter until the image is displayed on the display screen with a second display parameter; the difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is a middle difference value, and the fusion corresponding to the middle difference value is smaller than a preset threshold value; thus, the first display parameter is iteratively adjusted by adaptively adjusting the adjustment step length corresponding to the adjustment parameter until the image is displayed on the display screen with a second display parameter close enough to the target display parameter; therefore, the adjustment parameters corresponding to the display parameters and the step length of the adjustment parameters can be adjusted in a self-adaptive manner, so that the display parameters of the display images of the display screen are closer to the target display parameters on the basis that the adjustment process of the display parameters is more convenient, and the display parameters of the display images of the display screen are more accurate.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the technical solutions provided by the embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
fig. 1 is a schematic flowchart illustrating a first method for adjusting display parameters according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart illustrating a second method for adjusting display parameters according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a third method for adjusting display parameters according to an embodiment of the present disclosure;
fig. 4 is a schematic overall flowchart corresponding to a method for adjusting display parameters according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart illustrating a method for adjusting display parameters according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating the direct addition of the tuning parameters to the tristimulus values corresponding to the first display parameter measurement in the embodiment of the present application;
fig. 7 is a schematic diagram illustrating that the adjustment parameter is reduced by a preset step size and is superimposed on the tristimulus value corresponding to the first display parameter measurement in the embodiment of the present application;
fig. 8 is a schematic diagram illustrating that the adjustment parameter is reduced based on different reduction coefficients and superimposed on the tristimulus values corresponding to the first display parameter measurement in the embodiment of the present application;
fig. 9 is a schematic structural diagram illustrating an adjusting apparatus for displaying parameters according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram of a component mechanism of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, specific technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are intended to illustrate the examples of the present application, but are not intended to limit the scope of the examples of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, so as to enable the embodiments of the application described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the embodiments of this application belong. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of embodiments of the present application.
Before further detailed description of the embodiments of the present application, terms and expressions referred to in the embodiments of the present application will be described, and the terms and expressions referred to in the embodiments of the present application will be used for the following explanation.
1) Tristimulus values: is an expression of the amount of stimulus levels of three primary colors causing a certain color sensation to the human retina, which can be expressed using X (red primary color stimulus amount), Y (green primary color stimulus amount), and Z (blue primary color stimulus amount).
2) Gamma: is a physical property of the display, fixed, invariant, uncorrectable. The display Gamma has different meanings in different context environments, one means distortion of an output image of the display to an input signal, and the other means a specific value of the distortion; one of the applications of Gamma correction is brightness and gray scale calculation formulas.
3) The International Commission on illumination (CIE) standard colorimetry system: the CIE defined principle of color measurement, basic data and calculation, i.e. the system of CIE standard colorimetry, the core content of CIE standard colorimetry is to express colors by tristimulus values and their derived parameters.
4) Chromaticity coordinates (chromaticity coordinates): the relative weight of each of the three primary colors in the total amount of tristimulus values.
An exemplary application of the device for adjusting display parameters provided in the embodiments of the present application is described below, and the device provided in the embodiments of the present application may be implemented as various types of user terminals such as a notebook computer, a tablet computer, a desktop computer, a camera, a mobile device (e.g., a personal digital assistant, a dedicated messaging device, and a portable game device) capable of running code, and may also be implemented as a server. In the following, an exemplary application will be explained when the device is implemented as a terminal or a server.
The method can be applied to a computer device, and the functions realized by the method can be realized by calling a program code by a processor in the computer device, of course, the program code can be stored in a computer storage medium, and the computer device at least comprises the processor and the storage medium.
An embodiment of the present application provides a method for adjusting a display parameter, which is shown in fig. 1 and is a schematic flow chart of a first method for adjusting a display parameter provided in an embodiment of the present application; the following is described in conjunction with the steps shown in FIG. 1:
step 101, analyzing a first display parameter in an image displayed by a display screen to obtain an initial tristimulus value.
In some embodiments, the device may be a display parameter adjusting device, and analyzes a first display parameter in an image displayed on a display screen included in the device to obtain an initial tristimulus value; or the adjusting device of the display parameters analyzes the first display parameters in the images displayed by the display screens of other devices to obtain the initial tristimulus values; the first display parameter is a current display parameter in an image displayed by the display screen, or can be expressed as an initial display parameter.
In some embodiments, the display screen may be a display screen (display screen), and the display may be an Input/Output (I/O) device of a computer, that is, the display screen is a display tool for displaying certain electronic files on the screen through a specific transmission device.
In some embodiments, the Display screen may be a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) Display, or the like.
In some embodiments, the number of images displayed by the display screen may be one frame, or two or more frames, and the images may be three primary color (Red Green Blue, RGB) images, etc.; here, the first display parameter in the image displayed by the display screen includes, but is not limited to: and displaying the color temperature, brightness, RGB data, chromaticity coordinates and the like corresponding to the image.
In some embodiments, the adjusting device for the display parameter may use a color analyzer to perform color analysis on the first display parameter in the image displayed on the display screen, so as to obtain the initial tristimulus value.
In some embodiments, the initial tristimulus values include: an initial primary red color stimulus value, an initial primary green color stimulus value, and an initial primary blue color stimulus value.
And 102, acquiring a target tristimulus value corresponding to the target display parameter.
In some embodiments, the adjusting device of the display parameter may obtain a preset target display parameter; the target display parameter may be a parameter that is input to the adjustment device of the display parameter by the relevant operation user through the input/output module, or a parameter that is sent by the device capable of performing information interaction with the adjustment device of the display parameter and is received by the adjustment device of the display parameter.
In some embodiments, the target display parameters may be composed of a target color temperature and a target brightness. When the target color temperature included in the target display parameters is the standard white light color temperature, the display parameters in the image displayed by the display screen are adjusted based on the target display parameters and the first display parameters, which can be equivalent to adjusting the brightness of the image displayed by the display screen; in the case that the target color temperature included in the target display parameters is not the standard white light color temperature, the adjustment of the display parameters in the image displayed on the display screen is realized based on the target display parameters and the first display parameters, which may be equivalent to the adjustment of the color temperature of the image displayed on the display screen.
Here, if the target color temperature included in the target display parameter is the standard white color temperature, in the process of adjusting the display parameters of the image displayed on the display screen for a plurality of times, the corresponding chromaticity coordinates are not changed, and the corresponding brightness changes based on the target brightness included in the target display parameter, that is, the brightness of the image displayed on the display screen can be equivalently adjusted.
In some embodiments, the target display parameters may be color space-converted, or the color temperature parameters and the brightness parameters included in the target display parameters may be numerically converted to obtain corresponding target tristimulus values.
Here, the target tristimulus values may include: a target red primary color stimulus value, a target green primary color stimulus value, and a target blue primary color stimulus value.
And 103, determining a tristimulus difference value between the initial tristimulus value and the target tristimulus value.
In some embodiments, a difference calculation may be performed on the target tri-stimulus value and the initial tri-stimulus value to determine a corresponding tri-stimulus difference value.
In some embodiments, the tri-stimulus difference value may include: a first difference between the target primary red color stimulus value and the initial primary red color stimulus value, a second difference between the target primary green color stimulus value and the initial primary green color stimulus value, and a third difference between the target primary blue color stimulus value and the initial primary blue color stimulus value; here, the first difference, the second difference, and the third difference included in the tri-stimulus difference may be partially the same, may be all the same, or may be all different.
And 104, determining an adjusting parameter matched with the tri-stimulus difference value based on the target display parameter under the condition that the tri-stimulus difference value meets a preset condition.
In some embodiments, adjustment parameters matching the tristimulus differences may be determined based on the difference in attributes of the target display parameters; wherein the tuning parameters include, but are not limited to: RGB data, RGB drive voltages, etc.
In some embodiments, the tristimulus difference value satisfies the preset condition, and may be included in the tristimulus difference value: a first difference between the target primary red color stimulus value and the initial primary red color stimulus value, a second difference between the target primary green color stimulus value and the initial primary green color stimulus value, and a third difference between the target primary blue color stimulus value and the initial primary blue color stimulus value, each satisfying a preset, for example: the first difference, the second difference and the third difference are all larger than a third value; or, one of the three satisfies the relevant condition, such as: the first difference is greater than the first value, or the second difference is greater than the second value, or the third difference is greater than the third value; or a fusion difference obtained by adding the square of the first difference, the square of the second difference and the square of the third difference is larger than a value.
Here, the preset condition may be a preset judgment condition, and in a case that the tristimulus difference value satisfies the preset condition and is greater than or equal to a preset threshold value, where the preset threshold value may be a preset numerical value, and the preset threshold value may be determined based on an attribute parameter of the display screen, where the attribute parameter of the display screen includes but is not limited to: resolution of the display screen, pixel pitch of the display screen, etc.
Here, in the case where the target display parameters include a target color temperature other than the standard white light color temperature, RGB data adjusting parameters matching the tristimulus difference values may be determined; under the condition that the target color temperature included by the target display parameters is the standard white light color temperature, determining RGB driving voltage adjusting parameters matched with the three stimulus difference values; the RGB driving voltage is a voltage value input to the display screen corresponding to each pixel point in the display screen in the RGB three channels.
And 105, iteratively adjusting the first display parameter based on the reduction coefficient associated with the iterative process and the adjustment parameter until the image is displayed on the display screen by using the second display parameter.
In some embodiments, a difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is a middle difference value, and a fusion difference value corresponding to the middle difference value is smaller than a preset threshold.
In some embodiments, first, fusion may be performed based on the associated reduction coefficient and the adjustment parameter in the iterative process, for example, the reduction coefficient and the adjustment parameter associated in the iterative process may be multiplied to obtain a target adjustment parameter for each round in the iterative process; then, carrying out iterative superposition on the first display parameter and the display parameter corresponding to the current wheel by adopting the target adjusting parameter of each wheel until the image is displayed on the display screen by using the second display parameter; wherein the reduction coefficient and the adjustment parameter are dynamically changed with the related parameters in the iterative process. The first display parameter can be iteratively overlapped by adopting a real-time dynamically changed adjusting parameter until the image is displayed on the display screen by a second display parameter close to the target display parameter; judging whether the second display parameter is close to the target display parameter or not, and determining whether a fusion difference value corresponding to a middle difference value is smaller than a preset threshold value or not, wherein the middle difference value between a tristimulus value corresponding to the second display parameter and a target tristimulus value is a middle difference value; here, the preset threshold may be any value set in advance, or may be determined based on the attribute information of the display screen.
In some embodiments, the reduction factor associated with the iterative process may be a positive number less than 1; for example: 1/2/, 1/3, 1/4, etc. And the reduction coefficient can be changed in real time along with the iteration process. Here, the adjustment parameter may be associated with an iterative process, for example, the adjustment parameter may be: and adjusting parameters matched with the difference value between the tristimulus value corresponding to the display parameter determined in each round in the iteration process and the target tristimulus value.
In some embodiments, first, the display parameters of round 1 are acquired; the display parameters of the 1 st round are parameters obtained by superposing the first display parameters based on the adjustment parameters of the 1 st round; the adjustment parameter of the 1 st round is a parameter obtained by multiplying the initial reduction coefficient by the adjustment parameter, and here, the default initial adjustment parameter of the 1 st round is the adjustment parameter determined in the above step 104; secondly, determining a reduction coefficient of the 2 nd round based on the reduction coefficient of the 1 st round, a display parameter of the 1 st round and a target tristimulus value, determining an initial adjustment parameter of the 2 nd round based on a difference value between the tristimulus value corresponding to the display parameter of the 1 st round and the target tristimulus value, and further multiplying the reduction coefficient of the 2 nd round and the initial adjustment parameter of the 2 nd round to obtain an adjustment parameter of the 2 nd round; then, based on the adjustment parameters of the 2 nd round, the display parameters of the 1 st round are superposed to obtain the display parameters of the 2 nd round; then, determining a reduction coefficient of the 3 rd round based on the reduction coefficient of the 1 st round, the reduction coefficient of the 2 nd round, the display parameter of the 1 st round, the display parameter of the 2 nd round and the target display parameter; meanwhile, determining the initial adjusting parameter of the 3 rd round based on the difference value between the tristimulus value corresponding to the display parameter of the 2 nd round and the target tristimulus value, and further multiplying the reducing coefficient of the 3 rd round by the initial adjusting parameter of the 3 rd round to obtain the adjusting parameter of the 3 rd round; in this manner, the overlay process is iterated a plurality of times until the display parameter indicating image of the nth round is displayed on the display screen with a second display parameter sufficiently close to the target display parameter.
In some embodiments, the first display parameter is iteratively adjusted based on a reduction factor and an adjustment parameter associated with the iterative process until the image is displayed on the display screen with a second display parameter sufficiently close to the target display parameter; in the following embodiments of the present application, color temperature adjustment and brightness adjustment may be respectively performed on a first display parameter in an image displayed on a display screen according to different values of a target color temperature included in a target display parameter.
In some embodiments, first, a first display parameter (for example, an initial color temperature and an initial brightness) in an image currently displayed on a display screen is obtained, and color analysis is performed on the first display parameter to obtain an initial tristimulus value; secondly, acquiring preset target display parameters (such as target color temperature and target brightness), and converting the target color temperature and the target brightness to obtain a corresponding target tristimulus value; then, determining a tri-stimulus difference value between the target tri-stimulus value and the initial tri-stimulus value, and determining an adjusting parameter matched with the tri-stimulus difference value on the basis of the target display parameter under the condition that the tri-stimulus difference value meets a preset condition; finally, based on the reduction coefficient and the adjustment parameter associated with the iterative process (i.e., the reduction coefficient that is dynamically adjustable in real time and the adjustment parameter that changes in real time with the iterative process), iteratively adding the first display parameter until the image is displayed on the display screen with a second display parameter that is sufficiently close to the target display parameter; therefore, the related images can be accurately and quickly displayed on the display screen by the second display parameters based on the step length corresponding to the self-adaptive adjustment parameters and the dynamic adjustment parameters changing in real time; here, in the present scheme, based on different values of the target color temperature included in the target display parameters, color temperature adjustment and brightness adjustment can be respectively performed on the first display parameter in the image displayed on the display screen.
According to the method for adjusting the display parameters, firstly, a first display parameter in an image displayed by a display screen is analyzed to obtain an initial tristimulus value, and meanwhile, a target tristimulus value corresponding to a target display parameter is obtained; thus, an initial tristimulus value is obtained by analyzing a first display parameter in an image displayed by a display screen, and the obtained target display parameter is subjected to relevant processing to obtain a corresponding target tristimulus value; therefore, a parameter basis can be provided for the subsequent adjustment to the target display parameter based on the first display parameter, and the first display parameter and the target display parameter are simultaneously converted into the same adjustment parameter, namely the tristimulus value, so that the relevant convenience can be provided for the subsequent adjustment; secondly, determining a tri-stimulus difference value between the initial tri-stimulus value and the target tri-stimulus value, and determining an adjusting parameter matched with the tri-stimulus difference value on the basis of the target display parameter under the condition that the tri-stimulus difference value meets a preset condition; therefore, the corresponding adjusting parameters are matched based on different target display parameters, application of different scenes is provided for subsequent adjustment, the scheme is more convenient to execute, the application range is wider, and condition limitation is given at the same time: the subsequent determination of the adjusting parameters and the relevant adjustment based on the determined adjusting parameters are executed under the condition that the three-stimulus difference value meets the preset condition, so that the efficiency of the equipment in the adjustment process of the display parameters can be improved; finally, iteratively adjusting the first display parameter based on a reduction coefficient associated with an iterative process and the adjustment parameter until the image is displayed on the display screen with a second display parameter; the difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is a middle difference value, and a fusion difference value corresponding to the middle difference value is smaller than a preset threshold value; thus, the first display parameter is iteratively adjusted by adaptively adjusting the adjustment step length corresponding to the adjustment parameter and the adjustment parameter changing in real time in the iterative process until the image is displayed on the display screen with the second display parameter close enough to the target display parameter; therefore, the adjustment parameters corresponding to the display parameters and the step length of the adjustment parameters can be adjusted in a self-adaptive manner, so that the display parameters of the display images of the display screen are closer to the target display parameters on the basis that the adjustment process of the display parameters is more convenient, and the display parameters of the display images of the display screen are more accurate.
In some embodiments, first, a target color temperature included in the target display parameters is determined, and a target chromaticity coordinate of the target color temperature in a chromaticity coordinate system is determined; therefore, the related display parameters can be converted into chromaticity coordinates, and the relative weight factors of part of the primary colors in the three primary colors in the total amount of the tristimulus values can be determined; then, determining a target tristimulus value based on the target chromaticity coordinate and the target brightness included by the target display parameter; in this way, each primary color stimulation value in the corresponding target tristimulus values can be derived and calculated based on the related brightness parameters under the condition of determining the target chromaticity coordinates; therefore, each primary color stimulus value in the target tristimulus values can be deduced and calculated accurately directly on the basis of the related target chromaticity coordinates and the related brightness information; that is, step 102 provided in the foregoing embodiment may be implemented by the following steps 201 to 203, as shown in fig. 2, which are a schematic flow chart of a second method for adjusting display parameters provided in the embodiment of the present application, and the following description is made with reference to the steps shown in fig. 1 and fig. 2:
step 201, obtaining a target color temperature included in the target display parameter.
In some embodiments, the target display parameters generally include a target color temperature and a target luminance, wherein the target color temperature may be converted into corresponding chromaticity coordinates in a chromaticity coordinate system.
Step 202, according to the conversion relation between the color temperature and the chromaticity coordinate, determining the chromaticity coordinate of the target color temperature in the chromaticity coordinate system as a target chromaticity coordinate.
In some embodiments, a target chromaticity coordinate of a target color temperature included in the target display parameters in a chromaticity coordinate system may be determined; wherein, any chromaticity coordinate in the chromaticity coordinate system is expressed in (x, y), i.e. the target color temperature can be expressed in the form of chromaticity coordinate (x, y). Here, the chromaticity coordinate system may be a coordinate system corresponding to any one of the CIE1931 standard chromaticity system or the CIE1964 standard chromaticity system.
In some embodiments, the chromaticity coordinate of the target color temperature included in the target display parameters in the chromaticity coordinate system is determined as the corresponding target chromaticity coordinate; here, in the case that the target color temperature is a non-standard white color temperature, color temperature adjustment of display parameters of a display image of the display screen can be realized; under the condition that the target color temperature is the standard white light color temperature, the brightness adjustment of the display parameters of the display image of the display screen can be realized; therefore, the corresponding target chromaticity coordinate can be determined based on the target color temperature in the target display parameter, and a parameter basis can be further provided for subsequently determining the target tristimulus value.
Here, the color temperature is a unit of measure indicating that a color component is contained in the light. Wherein, the black body temperature refers to the color of the absolute black body after being heated from absolute zero degree (-273 ℃). After being heated, the black body gradually turns from black to red, turns yellow and becomes white, and finally emits blue light. When heated to a certain temperature, the light emitted by a black body contains spectral components, referred to as the color temperature at that temperature, measured in "K" (kelvin).
Step 203, determining the target tristimulus value based on the target chromaticity coordinate and the target brightness included by the target display parameter.
In some embodiments, the values corresponding to the target chromaticity coordinates and the values corresponding to the target luminance may be correlated to determine the target tristimulus values (i.e., the target erythrogen stimulus values, and the target erythrogen stimulus values).
In some possible implementation manners, firstly, based on the definition of the primary green color stimulus value in the practical application, a numerical value corresponding to the target brightness can be directly determined as a target primary green color stimulus value in the target tristimulus value; then, calculating and deducing a target red primary color stimulus value and a target blue primary color stimulus value in the target tristimulus values based on the conversion relation between the tristimulus values and the chromaticity coordinates; thus, the accuracy of the determined target tristimulus value is higher through partial numerical calculation, that is, the step 203 can be realized through the following processes:
firstly, determining a numerical value corresponding to the target brightness as a target primary green stimulus value in the target tristimulus values.
It should be noted that human eyes feel a green spectrum brighter than red or blue under the same illumination intensity. Based on this fact, CIE defines Y in the tristimulus values as the luminance, and Y also contains green information in the color space of CIE, so that the value corresponding to the target luminance can be directly determined as the target primary green stimulus value.
And step two, multiplying the numerical value corresponding to the abscissa in the target chromaticity coordinate by a preset ratio to obtain a target erythropoiesis stimulation value in the target tristimulus values.
In some embodiments, the preset ratio is a ratio between the target green primary color stimulus value and a value corresponding to an ordinate in the target chromaticity coordinate.
And thirdly, subtracting the preset reference value from the intermediate value to obtain a value to be processed.
In some embodiments, the intermediate value is a value obtained by adding a value corresponding to an abscissa and a value corresponding to an ordinate in the target chromaticity coordinate.
In some embodiments, the predetermined reference value is generally 1.
And fourthly, multiplying the numerical value to be processed by the preset ratio to obtain a target primary blue stimulus value in the target tristimulus values.
In some embodiments, before determining the adjustment parameters for the tri-stimulus difference matching, it may be evaluated whether an adjustment of the relevant display parameters is required based on the fusion difference corresponding to the tri-stimulus difference; here, when the fusion difference corresponding to the three stimulation differences is smaller than a preset threshold, the first display parameter may not be adjusted because the change of the display parameter is small, that is, the first display parameter is close enough to the target display parameter; similarly, under the condition that the fusion difference value corresponding to the three stimulation difference values is larger than or equal to a preset threshold value, the first display parameter is adjusted to be close to the target display parameter enough; thus, the adjustment efficiency and the adjustment accuracy of the display parameters in the display image of the display screen can be further improved, that is, before the step 104 provided in the foregoing embodiment, the following step 301 may be further performed, as shown in fig. 3, for a flowchart of a third method for adjusting the display parameters provided in this embodiment, the following steps are described with reference to fig. 1 and fig. 3:
step 301, determining a fusion difference value matched with the tri-stimulus difference value.
In some embodiments, the fusion difference value matched with the three stimulation difference values may be obtained by directly fusing a red primary color stimulation difference value, a green primary color stimulation difference value, and a blue primary color stimulation difference value included in the three stimulation difference values, or may be obtained by initially calculating the red primary color stimulation difference value, the green primary color stimulation difference value, and the blue primary color stimulation difference value, respectively, to obtain a corresponding first difference value, a corresponding second difference value, and a corresponding third difference value, and then fusing the first difference value, the second difference value, and the third difference value to obtain a corresponding fusion difference value.
In some embodiments, the fused difference value is a positive number.
In some possible implementation manners, the squares corresponding to the red primary color stimulus difference value, the green primary color stimulus difference value, and the blue primary color stimulus difference value in the three stimulus difference values may be determined first, so as to obtain a corresponding first square value, second square value, and third square value, and then the first square value, the second square value, and the third square value are fused to obtain the fusion difference value; therefore, the determined fusion difference value can better reflect the adjustment range corresponding to the tri-stimulus difference value by performing the square calculation and then performing the numerical fusion, so that the related judgment is performed based on the fusion difference value, and the accuracy is higher, that is, the step 301 can be realized by the following process:
firstly, determining the square of the red primary color stimulation difference value in the three stimulation difference values to obtain a first square value.
And secondly, determining the square of the green primary color stimulation difference value in the three stimulation difference values to obtain a second square value.
And thirdly, determining the square of the blue primary color stimulation difference value in the three stimulation difference values to obtain a third square value.
And fourthly, fusing the first square value, the second square value and the third square value to obtain the fusion difference value.
Here, in the case where a fusion difference matching the tristimulus difference is determined, it is evaluated whether or not adjustment of the relevant display parameter is required based on a magnitude comparison between the fusion difference and a preset threshold; in this way, the efficiency of adjusting the display parameters can be improved, that is, the above embodiment providing step 104 can be implemented based on the following step 302:
and 302, determining an adjusting parameter matched with the tri-stimulus difference value based on the target display parameter under the condition that the fusion difference value is greater than or equal to the preset threshold value.
In some embodiments, the preset threshold may be set in advance, and may also be a numerical value determined based on the related attributes of the display screen, wherein the related attributes of the display screen include, but are not limited to: display color range, etc.
In some embodiments, the preset threshold is the preset threshold in step 105 related to the above embodiments.
In some possible implementations, in the process of performing color temperature adjustment, that is, in the case that the target color temperature included in the target display parameters is not the standard white color temperature, the three-stimulus difference value may be converted into corresponding RGB adjustment parameters based on a conversion matrix corresponding to the display screen and used for performing color space conversion; therefore, the initial RGB parameters corresponding to the first display parameters can be directly adjusted, and the convenience of subsequent color temperature adjustment can be improved; that is, the above step 302 can be realized based on the following step 3021 and step S3022 (not shown in the figure):
step 3021, when the fusion difference value is greater than or equal to the preset threshold value and the target color temperature included in the target display parameters is not the standard white light color temperature, acquiring a first conversion matrix for performing color space conversion.
In some embodiments, the first conversion matrix for color space conversion may be determined in advance based on image data displayed by the display screen.
In some possible implementation manners, the first conversion matrix may be obtained by analyzing tristimulus values obtained by analyzing RGB data based on the RGB data corresponding to the image actually displayed by the display screen; firstly, acquiring an RGB data set corresponding to a multi-frame image actually displayed by a display screen, then performing color analysis on the RGB data set to obtain a tristimulus value set, and finally analyzing the RGB data set and the tristimulus value set to obtain the first conversion matrix; therefore, color analysis can be carried out on the multi-frame images displayed on the display screen to obtain the conversion matrix, and the accuracy of the first conversion matrix obtained through analysis is higher based on the data accumulation of the multi-frame images. That is, "acquiring the first conversion matrix for color space conversion" in the above step 3021 may be realized by the following procedure:
first, a reference RGB data set in a first image set displayed by the display screen is obtained.
In some embodiments, the first set of images includes at least one frame of the first image.
In some embodiments, when the display screen displays a plurality of frames of first images, the display screen may be subjected to data acquisition by using a related color acquisition device to obtain an RGB data set, or the RGB data set may be directly acquired from a processing center corresponding to the display screen; the data volume of the RGB data included in the RGB data set is the same as the data volume of the first image included in the first image set.
Here, the display screen may or may not display the RGB data in different first images.
Secondly, a color analyzer is adopted to perform color analysis on the RGB data set to obtain a first tri-stimulus value set.
In some embodiments, a color analyzer may be used to perform color analysis on each RGB data in the RGB data set, so as to obtain a tristimulus value corresponding to each RGB data, and further obtain a corresponding first tristimulus value set.
Then, determining a conversion relation between the RGB data set and the first third stimulus value set to obtain the first conversion matrix.
In some embodiments, data conversion may be performed on each RGB data in the RGB data set and each first tristimulus value in the first tristimulus value set to obtain a plurality of intermediate conversion matrices, and then the plurality of intermediate conversion matrices are subjected to fusion arrangement to obtain a first conversion matrix; or performing difference calculation on adjacent RGB data in the RGB data set to obtain a corresponding RGB difference data set, performing difference calculation on adjacent first tristimulus values in the first tristimulus value set to obtain a corresponding first tristimulus difference value set, then calculating a conversion relationship between the RGB difference data set and the first tristimulus difference value set, and determining the first conversion matrix.
And step 3022, performing color space conversion on the three-stimulus difference value based on the inverse matrix corresponding to the first conversion matrix to obtain RGB adjustment parameters.
In some embodiments, the three-stimulus difference values may be directly color-space-converted based on the inverse matrix corresponding to the first conversion matrix, so as to obtain corresponding RGB adjustment parameters.
In other possible implementations, in the process of performing brightness adjustment, that is, in the case that the target color temperature included in the target display parameters is a standard white color temperature, the three stimulus difference values may be converted into corresponding RGB driving voltage adjustment parameters based on a conversion matrix corresponding to the display screen and used for performing brightness space conversion; in this way, the initial RGB driving voltage parameter corresponding to the first display parameter can be adjusted subsequently, so that convenience of brightness adjustment can be improved, that is, the step 302 can be implemented based on the following steps 3023 and S3024 (not shown in the figure):
and step 3023, acquiring a second conversion matrix for performing luminance space conversion when the fusion difference is greater than or equal to the preset threshold and the target color temperature included in the target display parameters is the standard white color temperature.
In some embodiments, the second transformation matrix for luminance spatial transformation may be determined in advance based on image data displayed on the display screen.
In some possible implementation manners, the second conversion matrix may be obtained by analyzing tristimulus values obtained by performing color analysis on RGB driving voltage data based on RGB driving voltage data corresponding to an image actually displayed by the display screen; firstly, acquiring an RGB driving voltage data set corresponding to a multi-frame image actually displayed by a display screen, then carrying out color analysis on the RGB driving voltage data set to obtain a tristimulus value set, and finally analyzing the RGB driving voltage data set and the tristimulus value set to obtain a second conversion matrix; therefore, color analysis can be carried out on the multi-frame images displayed on the display screen to obtain the conversion matrix, and the accuracy of the second conversion matrix obtained through analysis is higher based on the data accumulation of the multi-frame images. That is, the above-mentioned "acquiring the second conversion matrix for luminance spatial conversion" in step 3023 may be implemented by the following procedure:
firstly, an RGB driving voltage data set in a second image set displayed by the display screen is obtained.
In some embodiments, the second set of images includes at least one frame of the second image; the second image set may be the same as, partially the same as, or completely different from the first image set.
In some embodiments, when the display screen displays multiple frames of second images, the display screen may be subjected to data acquisition by using a related color acquisition device to obtain an RGB driving voltage data set (i.e., a voltage value corresponding to a related gray scale), or the RGB driving voltage data set may be directly acquired from a processing center corresponding to the display screen; the data amount of the RGB driving voltage data included in the RGB driving voltage data set is the same as the data amount of the second image included in the second image set.
Here, the display panel may display RGB driving voltage data in different second images, which may be different or the same.
Secondly, a color analyzer is adopted to perform color analysis on the RGB driving voltage data set to obtain a second tri-stimulus value set.
In some embodiments, a color analyzer may be used to perform color analysis on each RGB driving voltage data in the RGB driving voltage data set, so as to obtain a tristimulus value corresponding to each RGB driving voltage data, and further obtain a corresponding second tristimulus value set. Here, a color analyzer may be further used to perform color analysis on the second RGB data set in the second image set displayed on the display screen to obtain a second tristimulus value set, and further determine a conversion relationship between the RGB driving voltage data set and the second tristimulus value set, thereby obtaining a second conversion matrix.
And then, determining a conversion relation between the RGB driving voltage data set and the second third stimulus value set to obtain a second conversion matrix.
In some embodiments, data conversion may be performed on each RGB driving voltage data in the RGB driving voltage data set and each second tristimulus value in the second tristimulus value set to obtain a plurality of intermediate conversion matrices, and then the plurality of intermediate conversion matrices are subjected to fusion arrangement to obtain a second conversion matrix; or performing difference calculation on adjacent RGB driving voltage data in the RGB driving voltage data set to obtain a corresponding RGB driving voltage difference data set, performing difference calculation on adjacent second tristimulus values in the second tristimulus value set to obtain a corresponding second tristimulus difference value set, then calculating a conversion relationship between the RGB driving voltage difference data set and the second tristimulus difference value set, and determining the second conversion matrix.
And step 3024, performing brightness space conversion on the three-stimulus difference value based on the inverse matrix corresponding to the second conversion matrix to obtain RGB driving voltage adjustment parameters.
In some embodiments, the luminance space conversion may be directly performed on the three stimulation difference values based on the inverse matrix corresponding to the second conversion matrix, so as to obtain the corresponding RGB driving voltage adjustment parameters.
In some possible implementations, a first display parameter may be iteratively adjusted in multiple rounds based on a dynamically adjustable reduction coefficient and an adjustment parameter that varies in real-time with the iterative process until the image is displayed on the display screen with a second display parameter that is sufficiently close to the target display parameter; that is to say, in the process of performing multi-turn superposition on the first display parameter based on the adjustment parameter, the adjustment process of the display parameter can be more in line with real-time requirements and more flexible based on the adaptive reduction coefficient and the adjustment parameter which changes in real time along with the iterative process, that is, the display parameter of the display image of the display screen can be close to the target display parameter enough on the basis that the adjustment process of the display parameter is more convenient, that is, the display parameter of the display image of the display screen is more accurate; that is, the above embodiment providing step 105 can be implemented by the following steps 303 to 305, and the following description is made with continued reference to the steps shown in fig. 1 and 3:
and step 303, acquiring the reduction coefficient of the n-i round and the display parameter of the n-i round.
In some embodiments, the display parameter characterizes a parameter of the display screen displaying the image presentation; n is an integer greater than 1; the reduction coefficient of the 1 st round is an initial reduction coefficient; the display parameters of the 1 st round are parameters obtained by superposing the first display parameters based on the adjustment parameters of the 1 st round; the adjusting parameter of the 1 st round is a parameter obtained by multiplying the initial reducing coefficient and the initial adjusting parameter of the 1 st round; i is a positive integer less than n; the initial adjustment parameter of the 1 st round is the adjustment parameter.
In some embodiments, where n is 4, i may be 3,2,1; and further acquiring the reduction coefficient of the n-i th round and the display parameter of the n-i th round, namely acquiring the reduction coefficient of the 1 st round, the reduction coefficient of the 2 nd round, the reduction coefficient of the 3 rd round, the display parameter of the 1 st round, the display parameter of the 2 nd round and the display parameter of the 3 rd round.
It should be noted that the reduction coefficient of the n-i th round and the display parameter of the n-i th round are obtained, that is, the reduction coefficient of each round and the display parameter of each round in the iterative adjustment process that has been performed are obtained.
Here, the reduction coefficient of the 1 st round may be a value set in advance, and may be, for example, 1/2; meanwhile, the initial reduction factor of the 1 st round is the adjustment parameter determined in step 104 in the above embodiment.
And step 304, determining an adjustment parameter of the nth round based on the display parameter of the nth round, the target tristimulus values and the reduction coefficient of the nth round.
In some embodiments, the display parameter of each round that has been previously executed and the target display parameter may be compared to evaluate whether the reduction coefficient of each round that has been previously executed is reasonable, and based on the evaluation result, the reduction coefficient of the current round, i.e., the nth round, is determined; meanwhile, the initial adjustment parameter of the nth round can be determined based on the difference value between the tristimulus value corresponding to the display parameter of the most recently executed round, namely the nth-1 round and the target tristimulus value; and obtaining the adjusting parameter of the nth round based on the reduction coefficient of the nth round and the initial adjusting parameter of the nth round.
In some possible implementation manners, first, the initial adjustment parameter of the next round, that is, the nth round, needs to be determined based on the previously executed iterative process, that is, the difference value (that is, the tri-stimulus difference value) between the tri-stimulus value corresponding to the display parameter of the (n-1) th round and the target tri-stimulus value can be determined first, and then the adjustment parameter matched with the difference value is determined as the initial adjustment parameter of the nth round; then, based on the difference between the tristimulus value corresponding to the display parameter of each round in the previously executed iteration process and the target tristimulus value, evaluating whether the reduction coefficient used in the previously executed iteration process (i.e. the n-i round) is reasonable, and further determining the reduction coefficient of the n-i round based on the evaluation result (here, the reduction coefficient of the n-i round may be adjusted); finally, multiplying the reduction coefficient of the nth round with the initial adjustment parameter of the nth round to obtain the adjustment parameter of the nth round; in this way, the reduction coefficients and the adjustment parameters involved in the iterative process are dynamically changed in real time, wherein the reduction coefficients and the corresponding adjustment parameters (including the initial adjustment parameters) of each round are evaluated and determined based on the related results obtained in the iterative process which is executed previously; in this way, the whole iterative process better conforms to the actual display result of the display image of the display screen, and further the adjustment process corresponding to the display parameter of the display image of the display screen is more accurate, that is, the step 304 can be implemented by the following steps 3041 to 3043 (not shown in the figure):
step 3041, determining the initial adjustment parameter of the nth round based on the difference between the tristimulus value corresponding to the display parameter of the (n-1) th round and the target tristimulus value.
In some embodiments, the difference between the tri-stimulus value corresponding to the display parameter of the (n-1) th round and the target tri-stimulus value may be determined as the tri-stimulus difference value of the (n-1) th round, and then the adjustment parameter matched with the tri-stimulus difference value of the (n-1) th round may be determined as the initial adjustment parameter of the (n) th round.
Here, the difference between the tristimulus value corresponding to the display parameter of the (n-1) th round and the target tristimulus value, i.e., the tristimulus difference value of the (n-1) th round, includes: a first difference value of the n-1 th round between the target red primary color stimulus value and the red primary color stimulus value of the n-1 th round, a second difference value of the n-1 st round between the target green primary color stimulus value and the green primary color stimulus value of the n-1 th round, and a third difference value of the n-1 st round between the target blue primary color stimulus value and the blue primary color stimulus value of the n-1 th round.
In the iterative adjustment process, the fusion difference value corresponding to the difference value between the tristimulus value corresponding to the display parameter of each round and the target tristimulus value needs to be compared in real time to determine whether the fusion difference value is greater than or equal to a preset threshold value; here, the difference between the tristimulus value corresponding to the display parameter of each round and the target tristimulus value may be fused, and then, based on the comparison between the fused value and the preset threshold, it may be determined whether the iterative process needs to be continuously performed. Here, the fusion difference value corresponding to the difference value between the tristimulus value corresponding to the display parameter of each round and the target tristimulus value may be obtained by: firstly, determining the squares corresponding to the red primary color stimulation difference value, the green primary color stimulation difference value and the blue primary color stimulation difference value in the difference values, and further fusing the squares obtained by the respective corresponding squares to obtain a fused difference value.
Step 3042, adjusting the reduction coefficient of the n-i round based on the difference between the tristimulus value corresponding to the display parameter of the n-i round and the target tristimulus value, to obtain the reduction coefficient of the n round.
With continued reference to the description above, where n is 4, i may be 3,2,1; and further evaluating whether the reduction coefficient of each round that has been performed is reasonable based on the reduction coefficient of round 1, the reduction coefficient of round 2, the reduction coefficient of round 3, the display parameter of round 1, the display parameter of round 2, the display parameter of round 3, and the target tristimulus value, and determining the reduction coefficient of round 4 based on the evaluation result, that is, determining the reduction coefficient of round 4 based on the reduction coefficient of round 1, the reduction coefficient of round 2, and the reduction coefficient of round 3.
For example, the reduction factor of round 2 may be determined based on the reduction factor of round 1, the tristimulus value corresponding to the display parameter of round 1, and the target tristimulus value; comparing the tristimulus value corresponding to the display parameter of the 1 st round with the target tristimulus value, and if the tristimulus value corresponding to the display parameter of the 1 st round is far smaller than the target tristimulus value; here, the difference between any one of the tristimulus values (red primary color stimulus value, green primary color stimulus value, or blue primary color stimulus value) corresponding to the display parameter of the 1 st round and the corresponding tristimulus value in the target tristimulus value may be compared, or the difference between the fused value obtained by fusing the tristimulus values corresponding to the display parameter of the 1 st round and the fused value obtained by fusing the target tristimulus values may be compared; and if the tristimulus value corresponding to the display parameter of the 1 st round is close to the target tristimulus value, the reduction coefficient of the 1 st round is considered to be larger, and the reduction coefficient of the 2 nd round is adjusted and determined to be smaller than the reduction coefficient of the 1 st round. Likewise, a reduction factor for round 3 may be determined based on the reduction factor for round 1, the reduction factor for round 2, the display parameter for round 1, the display parameter for round 2, and the target tristimulus value; wherein, under the condition that the tristimulus values corresponding to the display parameters of the 1 st round and the tristimulus values corresponding to the display parameters of the 2 nd round are far away from the target tristimulus values, and the proximity between the tristimulus values corresponding to the display parameters of the 2 nd round and the target tristimulus values is not obvious relative to the tristimulus values corresponding to the display parameters of the 1 st round, the reduction coefficient of the 3 rd round can be properly adjusted to be larger than the reduction coefficient of the 2 nd round and the reduction coefficient of the 1 st round; in the case that the tristimulus value corresponding to the display parameter of the 2 nd round is closer to the target tristimulus value than the tristimulus value corresponding to the display parameter of the 1 st round, the reduction coefficient can be reduced appropriately, that is, the reduction coefficient of the 3 rd round is reduced relative to the reduction coefficient of the 2 nd round.
In some embodiments, the reduction factor of the n-i round is suitably evaluated based on the magnitude relationship between the tri-stimulation value corresponding to the display parameter of the n-i round and the target tri-stimulation value, thereby determining the reduction factor of the n round. Illustratively, the tristimulus values corresponding to the display parameters of the n-i th round are compared with the target tristimulus values, which may be based on comparison of green primary color stimulus values in the tristimulus values corresponding to the display parameters of the n-i th round with green primary color stimulus values in the target tristimulus values, or may be based on comparison of red primary color stimulus values or blue primary color stimulus values in the red primary color stimulus values and the blue primary color stimulus values in the target tristimulus values.
Step 3043, multiplying the reduction coefficient of the nth round with the initial adjustment parameter of the nth round to obtain the adjustment parameter of the nth round.
In some embodiments, the reduction coefficient of the nth round is directly multiplied by the initial adjustment parameter of the nth round, thereby obtaining the adjustment parameter of the nth round.
And 305, overlapping the display parameters of the (n-1) th round based on the adjustment parameters of the nth round until the display parameters of the nth round indicate that the image is displayed on the display screen with the second display parameters.
In some embodiments, the display parameters of the n-1 th round are superimposed based on the adjustment parameters of the nth round until the display parameters of the nth round indicate that the image is displayed on the display screen with a second display parameter sufficiently close to the target display parameter; here, the difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is an intermediate difference value, and the fusion difference value corresponding to the intermediate difference value is smaller than a preset threshold value.
It should be noted that the iterative process stops after the display parameter indication image of the nth round is displayed on the display screen with the second display parameter.
In some possible implementations, in a case where the target color temperature included in the target display parameter is not the standard white color temperature, the three stimulus difference values may be converted into corresponding RGB adjustment parameters based on a first conversion matrix corresponding to the display screen for performing color space conversion, or, in a case where the target color temperature included in the target display parameter is the standard white color temperature, the three stimulus difference values may be converted into corresponding RGB driving voltage adjustment parameters based on a second conversion matrix corresponding to the display screen for performing luminance space conversion, that is, the step 305 may be divided into the following two cases based on different values corresponding to the target color temperature included in the target display parameter:
the first condition is as follows: and when the adjusting parameters comprise RGB adjusting parameters and the target color temperature included by the target display parameters is not the standard white light color temperature, based on the RGB adjusting parameters of the nth round, superposing the RGB data corresponding to the display parameters of the (n-1) th round until the display parameters of the nth round indicate that the image is displayed on the display screen by preset RGB data.
In some embodiments, the tristimulus values corresponding to the preset RGB data are tristimulus values corresponding to the second display parameters.
In some embodiments, based on the RGB adjustment parameters of the current round, the RGB data corresponding to the display parameters of the previous round are superimposed until the display parameter indication image of the nth round is displayed on the display screen by using the preset RGB data (where the tristimulus value corresponding to the preset RGB data is the tristimulus value corresponding to the second display parameter).
Case two: and when the adjusting parameters comprise RGB driving voltage adjusting parameters and the target color temperature comprising the target display parameters is the color temperature of the standard white light, superposing the RGB driving voltages corresponding to the display parameters of the (n-1) th round based on the RGB driving voltage adjusting parameters of the (n) th round until the display parameters of the (n) th round indicate that the image is displayed on the display screen by preset RGB driving voltages.
In some embodiments, the tristimulus values corresponding to the preset RGB driving voltages are tristimulus values corresponding to the second display parameters.
In some embodiments, based on the RGB driving voltage adjustment parameter of the current round, the RGB driving voltages corresponding to the display parameter of the previous round are superimposed until the display parameter of the nth round indicates that the image is displayed on the display screen with the preset RGB driving voltage data (where the tristimulus value corresponding to the preset RGB driving voltage data is the tristimulus value corresponding to the second display parameter).
It should be noted that, in the process of performing color temperature adjustment on an image displayed on the display screen (that is, a target color temperature included in the target display parameters is a color temperature of non-standard white light), RGB adjustment parameters of each round in the adjustment process may be stored, and similarly, in the process of performing brightness adjustment on an image displayed on the display screen (that is, a target color temperature included in the target display parameters is a color temperature of standard white light), RGB driving voltage adjustment parameters of each round in the adjustment process may be stored, so as to provide reference for adjustment parameters in the subsequent processes of color temperature adjustment and brightness adjustment.
The foregoing method for adjusting display parameters is described below with reference to a specific embodiment, but it should be noted that the specific embodiment is only for better describing the embodiments of the present application, and should not be construed as an inappropriate limitation to the embodiments of the present application.
The display luminance of a display (display panel or display screen) is represented by L (luminance), and the display chromaticity is represented by chromaticity coordinates (x, y) of CIE1964 standard chromaticity; wherein, the color can be represented by brightness and chroma; in the related art, the brightness adjustment and the chromaticity adjustment of the display are usually performed by determining CIE tristimulus values (X, Y, Z) according to chromaticity coordinates (X, Y) and luminance L, converting the CIE tristimulus values (X, Y, Z) into RGB data according to a related conversion matrix, and then measuring whether the result meets the requirement through an optical device after the RGB data is lighted on the display; thus, often, the result obtained by one adjustment cannot meet the requirement, and the result needs to be corrected for many times and needs to be adjusted for many times (tuning); therefore, the corresponding accuracy of the finally obtained brightness and the chromaticity is low, meanwhile, the time spent in the tuning process is long, and the corresponding adjustment efficiency is low.
Based on this, the embodiment of the application provides a method for adjusting display parameters, wherein a step length for adjusting the adjustment parameters in a self-adaptive manner and an adjustment parameter which dynamically changes in real time are provided, and the adjustment parameter of each round in an iterative adjustment process is dynamically changed, so that the display parameters of the display images on the display screen can be close to the preset target display parameters on the basis that the adjustment process of the display parameters is more convenient, and further the display parameters of the display images on the display screen are more accurate. As shown in fig. 4, a schematic overall flow chart corresponding to the method for adjusting display parameters provided by the embodiment of the present application is shown; wherein 401 is a display, that is, a display which needs to be adjusted in display parameters; 402 is a color analyzer, the specific model of which can be determined according to the actual requirement; 403 is the chromaticity and brightness obtained by analyzing the color of the display needing parameter adjustment, namely the display 401, by the color analyzer based on 402; 404 is an adjusting algorithm related to the scheme; 405 is a numerical value obtained after the adjustment of the chromaticity and the brightness of 403 based on the adjustment algorithm according to the scheme, and the numerical value is stored in a register, namely the corresponding register setting; 406 is the corresponding value of 405 is output on the display, which in turn results in display 407 being output with the target display parameter.
Based on the adjustment method for display parameters provided in the embodiment of the present application, taking color temperature adjustment (i.e. target color temperature of non-standard white light color temperature in target display parameters) as an example, as shown in fig. 5, a flowchart of the adjustment method for display parameters provided in the embodiment of the present application is shown, and its corresponding implementation steps are as follows:
first, a first display parameter 501 is obtained, which may be initial RGB data of a display, and may be a current initial tristimulus value 502 measured by a color analyzer.
Second, preset target display parameters (target color temperature and target brightness) are obtained, namely 503, where target chromaticity coordinates (x, y) can be generated through the correspondence of color temperature and chromaticity coordinates, and the target brightness L is known. The target tristimulus value is determined 504 according to the following equation (1). Here, the target luminance L is directly given to the Y value among the target tristimulus values.
Figure BDA0003868753230000171
Third, the target tristimulus value of 504 and the initial tristimulus value of 502 are subtracted, i.e. execution 505, resulting in a tristimulus difference value 506, i.e.: Δ X, Δ Y, Δ Z.
The fourth step is to determine whether diff _ XYZ satisfies the threshold (diff _ XYZ = (Δ X) 2 +ΔY 2 +ΔZ 2 ) 507, if diff _ XYZ is smaller than the preset threshold, the first display parameter may be considered to be close enough to the target display parameter, and further, without any processing, the first display parameter 501 is directly determined as the second display of the display image on the display screenParameters, i.e., 510; if the value is greater than or equal to the preset threshold, Δ X, Δ Y, and Δ Z need to be converted into Δ R, Δ G, and Δ B through the matrix M, which is the adjustment parameter 508.
Here, the matrix M is a Panel matrix, which can convert RGB data into XYZ tristimulus values. The conversion relationship is shown in equation (2):
Figure BDA0003868753230000172
the determination process of the matrix M is shown in formula (3), where k is the number of images, the images are reference images displayed by the display screen, and color analysis may be performed on RGB data corresponding to k frames of images displayed by the display screen based on a color analyzer to obtain XYZ values.
Figure BDA0003868753230000173
Here, when derivation is performed based on the transpose matrix and inverse matrix calculation, the M matrix calculation formula can be obtained as formula (4):
Figure BDA0003868753230000181
thus, in the case of determining the matrix M, from the inverse matrix of the matrix M, the following formula (5) is obtained:
Figure BDA0003868753230000182
further, the following formula (6) can be obtained:
Figure BDA0003868753230000183
here, when the first display parameter is RGB data, that is, when Δ R, Δ G, Δ B is added to the initial RGB data, new RGB data (that is, corresponding to 509 in fig. 5, which is an updated first display parameter, RGB data of the first round) can be obtained, and the new RGB data is subjected to color analysis by the color analyzer, that is, measurement of tristimulus values XYZ is performed. And if the measured difference value between the tristimulus values XYZ and the target tristimulus value is smaller than the threshold value, executing step 506 and step 507 again, and if the fusion difference value corresponding to the determined tristimulus difference value is smaller than the threshold value, starting a second iteration process, namely adding Δ R, Δ G, and Δ B to the new RGB data again.
Here, for the second round of iteration, the first display parameter 501 in fig. 5 is the RGB data of the first round, and the corresponding determined tristimulus difference value 506 is the difference value between the tristimulus value corresponding to the RGB data of the first round and the target tristimulus value 504.
Based on the practical application process, adding Δ R, Δ G, and Δ B to the initial RGB data may cause an over-adjustment problem, which is that the obtained tristimulus values continuously oscillate (slightly large) near the target tristimulus values because the step length of each adjustment is too large, and this situation is shown in fig. 6, which is a schematic diagram of directly superimposing the adjustment parameters to the tristimulus values corresponding to the first display parameter measurement in the embodiment of the present application; wherein, the abscissa is the number of times of superposition, and the ordinate is the corresponding numerical value (including XYZ) of each primary color stimulation value in the tristimulus values.
Based on the phenomenon shown in fig. 6, that is, the tristimulus values obtained after each superposition continuously oscillate (are larger) near the target tristimulus values; in the method for adjusting display parameters provided in this embodiment of the application, the step size of the adjustment parameter is dynamically adjusted, that is, as shown in 508 in fig. 5, the step size of the RGB change in each adjustment can be controlled by respectively dividing Δ R, Δ G, and Δ B by a preset step size (the step size is the reciprocal of the reduction coefficient related to the embodiment of the application, and the step size is a positive integer greater than 1). As shown in fig. 7, it is a schematic diagram of the embodiment of the present application that the adjustment parameter is reduced by a preset step length and is superimposed on the tristimulus value corresponding to the first display parameter measurement; from fig. 7, it can be derived that XYZ obtained for each adjustment approaches the target XYZ step by step. And oscillation does not occur, wherein the abscissa in fig. 7 is the number of times of superposition, and the ordinate is the numerical value corresponding to each primary color stimulation value in the tristimulus values.
For different target display parameters and first display parameters, the same step length often cannot meet the requirement. Needs to be adjusted according to actual conditions. The efficiency is the highest when the step length (step) in some adjusting processes is 2, the efficiency is the highest when the step length (step) in some adjusting processes is 3, and the like; aiming at different adjusting processes, a scheme for automatically adjusting the step length is further provided, and the size of the step length can be automatically adjusted according to the actual adjusting condition. Specifically, as shown in fig. 8, it is a schematic diagram of reducing the adjustment parameter based on different reduction coefficients and superimposing the reduced adjustment parameter on the tristimulus value corresponding to the first display parameter measurement in the embodiment of the present application.
Here, an initial step may be preset, the size of the initial step is appropriate to minimize the overall adjustment time, and then the sizes of the current tristimulus value and the target tristimulus value (here, Y in the current tristimulus value and Y in the target tristimulus value are taken as examples) are counted, Y in the current tristimulus value oscillates around Y in the target tristimulus value for more than a certain number of times, as shown in fig. 8, the result of the first adjustment is greater than Y in the target tristimulus value, but the result of the second adjustment is smaller than Y in the target tristimulus value; the result of the third adjustment is larger than Y in the target tristimulus value, Y in the fourth adjustment result and the fifth adjustment result is respectively smaller than Y in the target tristimulus value, the adjustment oscillates back and forth near the target, and step is increased when the adjustment amplitude is too large; thus, the approximation of Y in the current tristimulus value to Y in the target tristimulus value is slowed. Algorithmically step is 1.2 times the original. And the oscillation can be avoided by reducing the stride at each time. If the Y in the current tri-stimulus value approaches to the Y in the target tri-stimulus value slowly all the time and does not reach the target all the time, it indicates that the step of each adjustment is too small, i.e. step is too large, as shown in the 5,6,7,8 adjustment process in fig. 8, the result of the adjustment is always larger than the Y in the target tri-stimulus value, and the process of approaching the target is very slow, which indicates that the step needs to be reduced, i.e. the step of the adjustment is increased.
Here, in the process of adjusting the display parameters, the color temperature may be controlled by adjusting the color temperature of the target from the white screen 8bit (255, 255, 255), recording RGB values corresponding to the color temperature of the target, obtaining and storing the gain RGB values. Similarly, in the adjustment of Gamma, a target XYZ value is found, then for a certain gray scale, a corresponding register value is found, and the value of the voltage register is adjusted, so that the display screen emits the target brightness. Finally, the value of the register is saved.
According to the adjusting method of the display parameters, the step length of the adjusting parameters corresponding to the display parameters and the adjusting parameters of the real-time dynamic changes are adjusted in a self-adaptive mode, so that the display parameters of the display images of the display screen are closer to the target display parameters on the basis that the adjusting process of the display parameters is more convenient, and the display parameters of the display images of the display screen are more accurate.
Based on the foregoing embodiments, an apparatus for adjusting display parameters is further provided in an embodiment of the present application, as shown in fig. 9, which is a schematic structural diagram of the apparatus for adjusting display parameters provided in the embodiment of the present application, wherein the apparatus 900 for adjusting display parameters includes:
an analysis module 901, configured to analyze a first display parameter in an image displayed on a display screen to obtain an initial tristimulus value;
an obtaining module 902, configured to obtain a target tristimulus value corresponding to a target display parameter;
a determining module 903 for determining a tristimulus difference value between the initial tristimulus value and the target tristimulus value;
the determining module 903 is further configured to determine, based on the target display parameter, an adjusting parameter matched with the tristimulus difference value when the tristimulus difference value meets a preset condition;
an adjusting module 904, configured to iteratively adjust the first display parameter based on a reduction coefficient associated with an iterative process and the adjustment parameter until the image is displayed on the display screen with a second display parameter; and the difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is a middle difference value, and the fusion difference value corresponding to the middle difference value is smaller than a preset threshold value.
In some embodiments, the obtaining module 902 is further configured to obtain a target color temperature included in the target display parameter; determining the chromaticity coordinate of the target color temperature in a chromaticity coordinate system as a target chromaticity coordinate according to the conversion relation between the color temperature and the chromaticity coordinate; and determining the target tristimulus value based on the target chromaticity coordinate and the target brightness included by the target display parameter.
In some embodiments, the obtaining module 902 is further configured to determine a value corresponding to the target brightness as a target primary green stimulation value in the target tristimulus values; multiplying a numerical value corresponding to the abscissa in the target chromaticity coordinate by a preset ratio to obtain a target erythropoiesis stimulation value in the target tristimulus value; the preset ratio is the ratio between the target green primary color stimulation value and a numerical value corresponding to a vertical coordinate in the target chromaticity coordinate; subtracting the preset reference value from the intermediate value to obtain a value to be processed; the intermediate numerical value is a numerical value obtained by adding a numerical value corresponding to an abscissa and a numerical value corresponding to an ordinate in the target chromaticity coordinate; and multiplying the numerical value to be processed by the preset ratio to obtain a target primary blue stimulus value in the target tristimulus values.
In some embodiments, the determining module 903 is further configured to determine a fusion difference value matching the tri-stimulus difference value; and determining an adjusting parameter matched with the tri-stimulus difference value based on the target display parameter under the condition that the fusion difference value is greater than or equal to the preset threshold value.
In some embodiments, the determining module 903 is further configured to determine a square of a red primary color stimulus difference value in the three stimulus difference values to obtain a first square value; determining the square of the green primary color stimulation difference value in the three stimulation difference values to obtain a second square value; determining the square of the blue primary color stimulation difference value in the three stimulation difference values to obtain a third square value; and fusing the first square value, the second square value and the third square value to obtain the fusion difference value.
In some embodiments, the determining module 903 is further configured to obtain a first conversion matrix for performing color space conversion when the fusion difference is greater than or equal to the preset threshold and the target color temperature included in the target display parameters is not the standard white light color temperature; and performing color space conversion on the three-stimulus difference value based on an inverse matrix corresponding to the first conversion matrix to obtain RGB adjustment parameters.
In some embodiments, the determining module 903 is further configured to obtain an RGB data set in the first image set displayed by the display screen; wherein the first image set comprises at least one frame of a first image; adopting a color analyzer to perform color analysis on the RGB data set to obtain a first tri-stimulus value set; and determining a conversion relation between the RGB data set and the first tristimulus value set to obtain the first conversion matrix.
In some embodiments, the determining module 903 is further configured to obtain a second conversion matrix for performing luminance space conversion when the fusion difference is greater than or equal to the preset threshold and the target color temperature included in the target display parameters is a standard white light color temperature; and performing brightness space conversion on the three stimulation difference values based on the inverse matrix corresponding to the second conversion matrix to obtain RGB driving voltage adjusting parameters.
In some embodiments, the determining module 903 is further configured to obtain an RGB driving voltage data set in the second image set displayed by the display screen; wherein the second image set comprises at least one frame of second image; adopting a color analyzer to perform color analysis on the RGB driving voltage data set to obtain a second tri-stimulus value set; and determining a conversion relation between the RGB driving voltage data set and the second tristimulus value set to obtain a second conversion matrix.
In some embodiments, the adjusting module 904 is further configured to obtain a reduction coefficient of the n-i th round and a display parameter of the n-i th round; the display parameters represent parameters of the display screen for displaying the image presentation; n is an integer greater than 1; the reduction coefficient of the 1 st round is an initial reduction coefficient; the display parameter of the 1 st round is a parameter obtained by superposing the first display parameter based on the adjustment parameter of the 1 st round; the adjusting parameter of the 1 st round is a parameter obtained by multiplying the initial reducing coefficient and the initial adjusting parameter of the 1 st round; i is a positive integer less than n; the initial adjusting parameters of the 1 st round are adjusting parameters; determining a reduction coefficient of the nth round based on the display parameter of the nth-i round, the target third stimulation difference value and the reduction coefficient of the nth-i round; and overlapping the display parameters of the (n-1) th round based on the adjustment parameters of the nth round until the display parameters of the nth round indicate that the image is displayed on the display screen with the second display parameters.
In some embodiments, the adjusting module 904 is further configured to determine an initial adjustment parameter for the nth round based on a difference between a tristimulus value corresponding to the display parameter for the nth-1 round and the target tristimulus value; adjusting the reduction coefficient of the n-i round based on the difference value between the tristimulus value corresponding to the display parameter of the n-i round and the target tristimulus value to obtain the reduction coefficient of the n round; and multiplying the reduction coefficient of the nth round with the initial adjusting parameter of the nth round to obtain the adjusting parameter of the nth round.
In some embodiments, the adjusting module 904 is further configured to, when the adjustment parameter includes an RGB adjustment parameter and the target color temperature included in the target display parameter is not a standard white light color temperature, overlap, based on the RGB adjustment parameter of the nth round, RGB data corresponding to the display parameter of the (n-1) th round until the display parameter of the nth round indicates that the image is displayed on the display screen with preset RGB data; presetting the tristimulus values corresponding to the RGB data as the tristimulus values corresponding to the second display parameters; when the adjusting parameters comprise RGB driving voltage adjusting parameters and the target color temperature included by the target display parameters is the color temperature of standard white light, based on the RGB driving voltage adjusting parameters of the nth wheel, the RGB driving voltages corresponding to the display parameters of the (n-1) th wheel are superposed until the display parameters of the nth wheel indicate that the image is displayed on the display screen by preset RGB driving voltages; and the tristimulus values corresponding to the preset RGB driving voltages are tristimulus values corresponding to the second display parameters.
Here, it should be noted that: the above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the device embodiments of the present application, reference is made to the description of the method embodiments of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the adjustment method of the display parameter is implemented in the form of a software functional module and is sold or used as an independent product, the adjustment method may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application or portions of the technical solutions that contribute to the related art may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes several instructions for enabling an electronic device (which may be a smartphone with a camera, a tablet computer, or the like) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Based on the same technical concept, the embodiment of the present application provides a computer device, which is used for implementing the method for adjusting the display parameter described in the method embodiment. Fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application, and as shown in fig. 10, the computer device 1000 includes: a processor 1001, at least one communication bus 1004, a communication interface 1002, at least one external communication interface, and memory 1003. Wherein communications interface 1002 is configured to enable connected communications between these components. The communication interface 1002 may include a display screen, and the external communication interface may include a standard wired interface and a wireless interface. The processor 1001 is configured to execute a program in a memory to implement the method for adjusting display parameters provided in the foregoing embodiments.
Correspondingly, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for adjusting the display parameter as described in any of the above embodiments.
Accordingly, in an embodiment of the present application, a chip is further provided, where the chip includes a programmable logic circuit and/or a program instruction, and when the chip runs, the chip is configured to implement the method for adjusting the display parameter in any of the foregoing embodiments.
Accordingly, in an embodiment of the present application, a computer program product is further provided, and when the computer program product is executed by a processor of an electronic device, the computer program product is configured to implement the method for adjusting a display parameter in any of the above embodiments.
The above descriptions of the embodiments of the apparatus for adjusting display parameters, the computer device and the storage medium are similar to the above descriptions of the embodiments of the method, have similar technical descriptions and advantages to the corresponding embodiments of the method, and are limited by the text and can be according to the descriptions of the embodiments of the method, so that the descriptions thereof are omitted. For technical details not disclosed in the embodiments of the display parameter adjusting apparatus, the computer device and the storage medium in the embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the embodiments of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the above-mentioned processes do not imply an order of execution, and the order of execution of the processes should be determined by their functions and inherent logic, and should not limit the implementation processes of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit. Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit in the embodiment of the present application may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof that contribute to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code. The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the embodiments of the present application, and all the changes or substitutions should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A method for adjusting display parameters, the method comprising:
analyzing a first display parameter in an image displayed by a display screen to obtain an initial tristimulus value;
acquiring a target tristimulus value corresponding to a target display parameter;
determining a tristimulus difference value between the initial tristimulus value and the target tristimulus value;
determining an adjusting parameter matched with the tri-stimulus difference value on the basis of the target display parameter under the condition that the tri-stimulus difference value meets a preset condition;
iteratively adjusting the first display parameter based on a reduction coefficient associated with an iterative process and the adjustment parameter until the image is displayed on the display screen with a second display parameter; and the difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is a middle difference value, and the fusion difference value corresponding to the middle difference value is smaller than a preset threshold value.
2. The method according to claim 1, wherein the obtaining of the target tristimulus value corresponding to the target display parameter comprises:
acquiring a target color temperature included by the target display parameters;
determining the chromaticity coordinate of the target color temperature in the chromaticity coordinate system as the target chromaticity coordinate according to the conversion relation between the color temperature and the chromaticity coordinate;
and determining the target tristimulus value based on the target chromaticity coordinate and the target brightness included by the target display parameter.
3. The method of claim 2, wherein determining the target tristimulus value based on the target chromaticity coordinates and a target luminance comprised by the target display parameters comprises:
determining a numerical value corresponding to the target brightness as a target green primary color stimulation value in the target tristimulus values;
multiplying a numerical value corresponding to the abscissa in the target chromaticity coordinate by a preset ratio to obtain a target erythropoiesis stimulation value in the target tristimulus value; the preset ratio is the ratio between the target green primary color stimulation value and a numerical value corresponding to a vertical coordinate in the target chromaticity coordinate;
subtracting the preset reference value from the intermediate value to obtain a value to be processed; the intermediate numerical value is a numerical value obtained by adding a numerical value corresponding to an abscissa and a numerical value corresponding to an ordinate in the target chromaticity coordinate;
and multiplying the numerical value to be processed by the preset ratio to obtain a target primary blue stimulus value in the target tristimulus values.
4. The method according to any one of claims 1 to 3, wherein before determining the adjustment parameter matching the tristimulus difference based on the target display parameter in case that the tristimulus difference satisfies a preset condition, the method further comprises:
determining a fusion difference value matching the tri-stimulus difference value;
determining an adjustment parameter matched with the tristimulus difference value based on the target display parameter under the condition that the tristimulus difference value meets a preset condition, wherein the step of determining the adjustment parameter comprises the following steps:
and determining an adjusting parameter matched with the tri-stimulus difference value based on the target display parameter under the condition that the fusion difference value is greater than or equal to the preset threshold value.
5. The method of claim 4, wherein determining the fused difference value that matches the tri-stimulus difference value comprises:
determining the square of the red primary color stimulus difference value in the three stimulus difference values to obtain a first square value;
determining the square of the green primary color stimulation difference value in the three stimulation difference values to obtain a second square value;
determining the square of the blue primary color stimulation difference value in the three stimulation difference values to obtain a third square value;
and fusing the first square value, the second square value and the third square value to obtain the fusion difference value.
6. The method according to claim 4, wherein the determining, based on the target display parameter and in the case that the fusion difference is greater than or equal to the preset threshold, an adjustment parameter matching the tri-stimulus difference comprises:
acquiring a first conversion matrix for color space conversion under the condition that the fusion difference value is greater than or equal to the preset threshold value and the target color temperature included by the target display parameters is not the standard white light color temperature;
and performing color space conversion on the tri-stimulus difference value based on the inverse matrix corresponding to the first conversion matrix to obtain the RGB adjustment parameters of the three primary colors.
7. The method of claim 6, wherein obtaining a transformation matrix for color space transformation comprises:
acquiring an RGB data set in a first image set displayed by the display screen; wherein the first image set comprises at least one frame of a first image;
adopting a color analyzer to perform color analysis on the RGB data set to obtain a first tri-stimulus value set;
and determining a conversion relation between the RGB data set and the first tristimulus value set to obtain the first conversion matrix.
8. The method according to claim 4, wherein the determining, based on the target display parameter, an adjustment parameter matching the tristimulus difference value in the case that the fusion difference value is greater than or equal to the preset threshold value comprises:
acquiring a second conversion matrix for brightness space conversion when the fusion difference value is greater than or equal to the preset threshold value and the target color temperature included in the target display parameters is the standard white light color temperature;
and performing brightness space conversion on the three stimulation difference values based on the inverse matrix corresponding to the second conversion matrix to obtain RGB driving voltage adjusting parameters.
9. The method of claim 8, wherein obtaining the second transformation matrix for luminance spatial transformation comprises:
acquiring an RGB driving voltage data set in a second image set displayed by the display screen; wherein the second image set comprises at least one frame of a second image;
adopting a color analyzer to perform color analysis on the RGB driving voltage data set to obtain a second tri-stimulus value set;
and determining a conversion relation between the RGB driving voltage data set and the second tri-stimulus value set to obtain the second conversion matrix.
10. The method of claim 1, wherein iteratively adjusting the first display parameter until the image is displayed on the display screen at a second display parameter based on a reduction coefficient associated with the iterative process and the adjustment parameter comprises:
acquiring a reduction coefficient of an n-i wheel and a display parameter of the n-i wheel; the display parameters represent parameters of the display screen for displaying the image presentation; n is an integer greater than 1; the reduction coefficient of the 1 st round is an initial reduction coefficient; the display parameters of the 1 st round are parameters obtained by superposing the first display parameters based on the adjustment parameters of the 1 st round; the adjusting parameter of the 1 st round is a parameter obtained by multiplying the initial reduction coefficient and the initial adjusting parameter of the 1 st round; i is a positive integer less than n; the initial adjusting parameter of the 1 st round is the adjusting parameter;
determining an adjustment parameter of the nth round based on the display parameter of the nth-i round, the target tristimulus value and the reduction coefficient of the nth-i round;
and overlapping the display parameters of the n-1 th round based on the adjustment parameters of the n-th round until the display parameters of the n-th round indicate that the image is displayed on the display screen with the second display parameters.
11. The method of claim 10, wherein the determining the adjustment parameter for the nth round based on the display parameter for the nth-ith round, the target tristimulus value, and the reduction factor for the nth-ith round comprises:
determining an initial adjustment parameter of the nth round based on a difference value between a tristimulus value corresponding to the display parameter of the (n-1) th round and the target tristimulus value;
adjusting the reduction coefficient of the n-i round based on the difference value between the tristimulus value corresponding to the display parameter of the n-i round and the target tristimulus value to obtain the reduction coefficient of the n round;
and multiplying the reduction coefficient of the nth round by the initial adjusting parameter of the nth round to obtain the adjusting parameter of the nth round.
12. The method according to claim 10 or 11, wherein the overlaying the display parameters of the n-1 th round based on the adjustment parameters of the n-th round until the display parameters of the n-th round indicate that the image is displayed on the display screen with the second display parameters comprises:
when the adjusting parameters comprise RGB adjusting parameters and the target color temperature included by the target display parameters is not the standard white light color temperature, based on the RGB adjusting parameters of the nth round, the RGB data corresponding to the display parameters of the (n-1) th round are superposed until the display parameters of the nth round indicate that the image is displayed on the display screen by preset RGB data; the tristimulus values corresponding to the preset RGB data are the tristimulus values corresponding to the second display parameters;
when the adjusting parameters comprise RGB driving voltage adjusting parameters and the target color temperature included by the target display parameters is the color temperature of standard white light, based on the RGB driving voltage adjusting parameters of the nth wheel, the RGB driving voltages corresponding to the display parameters of the (n-1) th wheel are superposed until the display parameters of the nth wheel indicate that the image is displayed on the display screen by preset RGB driving voltages; and the tristimulus values corresponding to the preset RGB driving voltage are the tristimulus values corresponding to the second display parameters.
13. An apparatus for adjusting display parameters, the apparatus comprising:
the analysis module is used for analyzing a first display parameter in an image displayed by the display screen to obtain an initial tristimulus value;
the acquisition module is used for acquiring a target tristimulus value corresponding to the target display parameter;
a determination module for determining a tristimulus difference value between the initial tristimulus value and the target tristimulus value;
the determining module is further configured to determine, based on the target display parameter, an adjustment parameter matched with the tri-stimulus difference value when the tri-stimulus difference value meets a preset condition;
the adjusting module is used for iteratively adjusting the first display parameter based on a reduction coefficient associated with an iterative process and the adjusting parameter until the image is displayed on the display screen by using a second display parameter; and the difference value between the tristimulus value corresponding to the second display parameter and the target tristimulus value is a middle difference value, and the fusion difference value corresponding to the middle difference value is smaller than a preset threshold value.
14. A computer device comprising a memory and a processor, the memory having stored thereon computer-executable instructions, the processor being capable of implementing the method of adjusting display parameters of any one of claims 1 to 12 when executing the computer-executable instructions on the memory.
15. A computer storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions, when executed, enable the method of adjusting display parameters of any one of claims 1 to 12 to be implemented.
CN202211189427.1A 2022-09-28 2022-09-28 Display parameter adjusting method, device, equipment and storage medium Pending CN115588405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211189427.1A CN115588405A (en) 2022-09-28 2022-09-28 Display parameter adjusting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211189427.1A CN115588405A (en) 2022-09-28 2022-09-28 Display parameter adjusting method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115588405A true CN115588405A (en) 2023-01-10

Family

ID=84773380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211189427.1A Pending CN115588405A (en) 2022-09-28 2022-09-28 Display parameter adjusting method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115588405A (en)

Similar Documents

Publication Publication Date Title
US9984658B2 (en) Displays with improved color accessibility
US8831343B2 (en) Image processing and displaying methods for devices that implement color appearance models
CN103080999B (en) For having the self-adaptation color correction of the indicating meter of backlight modulation
WO2017082993A1 (en) White point calibration and gamut mapping for a display
WO2014002324A1 (en) Method for converting data, display device, computing device and program incorporating same, and method for optimising coefficients and device and program incorporating same
US11410335B2 (en) Digital system and method for paint color matching
CN112292851B (en) Color gamut correction method and device
CN111429827A (en) Display screen color calibration method and device, electronic equipment and readable storage medium
CN114359305A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
US11651719B2 (en) Enhanced smoothness digital-to-analog converter interpolation systems and methods
US20240046836A1 (en) Image processing methods and apparatuses, electronic devices and storage media
WO2017082992A1 (en) White point calibration and gamut mapping for a display
US11875719B2 (en) Metameric stabilization via custom viewer color matching function
CN105895051A (en) Screen brightness adjustment method and device
Kirchner et al. Improving color reproduction accuracy of an OLED‐based mobile display
CN115588405A (en) Display parameter adjusting method, device, equipment and storage medium
WO2022040889A1 (en) Display method and apparatus, and electronic device
JP5058532B2 (en) Image display system and image display method
US20070146268A1 (en) Method of realizing images in a portable display apparatus
CN113724644A (en) Method for compensating brightness and chroma of display device and related equipment
JP6888503B2 (en) Display device primary color design system, display device primary color design method and program
US20220301469A1 (en) Factory calibration measurement data
US11928842B2 (en) Method and apparatus for measuring chromaticity of a target object
CN115131221A (en) Color correction method, correctable display method, electronic device and chip
CN116434694A (en) Display screen correction method and device in color gamut adjustment and nonvolatile storage medium

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