CN114697591A - Display picture adjusting method and device, storage medium and terminal equipment - Google Patents

Display picture adjusting method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN114697591A
CN114697591A CN202011608160.6A CN202011608160A CN114697591A CN 114697591 A CN114697591 A CN 114697591A CN 202011608160 A CN202011608160 A CN 202011608160A CN 114697591 A CN114697591 A CN 114697591A
Authority
CN
China
Prior art keywords
display
value
color temperature
temperature value
target
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
CN202011608160.6A
Other languages
Chinese (zh)
Inventor
曹芝勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011608160.6A priority Critical patent/CN114697591A/en
Publication of CN114697591A publication Critical patent/CN114697591A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/57Control of contrast or brightness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Abstract

The application discloses a display picture adjusting method, a display picture adjusting device, a storage medium and terminal equipment, wherein the method comprises the steps of determining a display color temperature value of a display picture to be adjusted; acquiring an environment brightness value, and determining a target color temperature value based on the environment brightness value; and adjusting the display parameters of the display picture to adjust the display picture based on the display color temperature value and the target color temperature value. According to the method and the device, when the target device displays the video image, the display picture of the target device is obtained, the display picture is adjusted based on the display color temperature value and the target color temperature value, so that the display picture is automatically adjusted, and the environment brightness value is used as a reference in the adjusting process of the display picture, so that the influence of environment information on the display picture can be avoided, and the display effect of the display picture can be improved.

Description

Display picture adjusting method and device, storage medium and terminal equipment
Technical Field
The present application relates to the field of image display technologies, and in particular, to a method and an apparatus for adjusting a display screen, a storage medium, and a terminal device.
Background
With the rapid development of economy and the improvement of living standard of people, the requirements of people on terminal equipment are higher and higher, wherein the display image quality of the terminal equipment is an important measurement index of the quality of the terminal equipment, and the use experience of users can be influenced by the quality of the display image quality. The existing terminal equipment generally adopts default configuration parameters to determine the display image quality of a display picture, when the display image quality of the display picture needs to be changed by a user, the display image quality of the display picture needs to be adjusted in a mode of the default configuration parameters of a manual target equipment, however, the operation is complex and the user requirements are difficult to meet due to the fact that the user lacks of understanding the image quality function and color knowledge in a manual adjustment mode.
Disclosure of Invention
The technical problem to be solved by the present application is to provide a method and an apparatus for adjusting a display screen, a storage medium, and a terminal device, aiming at the deficiencies of the prior art.
In order to solve the above technical problem, a first aspect of an embodiment of the present application provides a method for adjusting a display screen, where the method includes:
determining a display color temperature value of a display picture to be adjusted;
acquiring an environment brightness value, and determining a target color temperature value based on the environment brightness value;
and adjusting the display parameters of the display picture to adjust the display picture based on the display color temperature value and the target color temperature value.
The method for adjusting the display screen, wherein before determining the display color temperature value of the display screen to be adjusted, the method further comprises:
shooting a scene where target equipment is located through an image shooting device to obtain a scene image, wherein the target equipment is used for displaying the display picture;
and selecting a target image area corresponding to the display picture in the scene image, and taking the target image area as the display picture.
The adjusting method of the display frame is characterized in that the distance between the image shooting device and the target equipment is larger than a preset distance threshold.
The method for adjusting the display frame includes that the environment brightness value is an environment brightness value of an environment where the image capturing device is located.
The adjusting method of the display frame, wherein the determining the display color temperature value of the display frame to be adjusted specifically includes:
acquiring an R base color value, a G base color value and a B base color value corresponding to a display picture to be adjusted;
and determining a chromaticity coordinate corresponding to the display picture according to the R primary color value, the G primary color value and the B primary color value, and determining a display color temperature value corresponding to the display picture based on the chromaticity coordinate.
The display parameter comprises display brightness, chromaticity coordinate x and chromaticity coordinate y, and the display brightness, the chromaticity coordinate x and the chromaticity coordinate y are sequentially adjusted according to the sequence of the display brightness, the chromaticity coordinate y and the chromaticity coordinate x.
The adjusting method of the display frame, wherein the adjusting the display parameters of the display frame based on the display color temperature value and the target color temperature value specifically includes:
acquiring an initial display brightness value corresponding to the display color temperature value, and adjusting a G base color value and an R base color value of the display picture based on the environment brightness value and the initial display brightness value so as to adjust the display brightness of the display picture;
adjusting the G base color value and the B base color value of the display picture based on the target chromaticity coordinate y corresponding to the target color temperature value and the initial chromaticity coordinate y corresponding to the display color temperature value so as to adjust the chromaticity coordinate y of the display picture;
and adjusting the R base color value and the B base color value of the display picture based on the target chromaticity coordinate x corresponding to the target color temperature value and the initial chromaticity coordinate x corresponding to the display color temperature value so as to adjust the x color temperature coordinate of the display picture.
A second aspect of the present embodiment provides an adjusting apparatus for displaying a picture, wherein the adjusting apparatus includes:
the acquisition module is used for determining the display color temperature value of the display picture to be adjusted;
the determining module is used for acquiring an environment brightness value and determining a target color temperature value based on the environment brightness value;
an adjusting module for adjusting the display parameters of the display frame based on the display color temperature value and the target color temperature value to adjust the display frame
A third aspect of embodiments of the present application provides a computer-readable storage medium, which stores one or more programs, where the one or more programs are executable by one or more processors to implement the steps in the method for adjusting a display screen as described in any one of the above.
A fourth aspect of the embodiments of the present application provides a terminal device, including: a processor, a memory, and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes the connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the method for adjusting a display screen as described in any one of the above.
Has the advantages that: compared with the prior art, the method comprises the steps of determining the display color temperature value of the display picture to be adjusted; acquiring an environment brightness value, and determining a target color temperature value based on the environment brightness value; and adjusting the display parameters of the display picture to adjust the display picture based on the display color temperature value and the target color temperature value. According to the method and the device, when the target device displays the video image, the display picture of the target device is obtained, the display picture is adjusted based on the display color temperature value and the target color temperature value, so that the display picture is automatically adjusted, and the environment brightness value is used as a reference in the adjusting process of the display picture, so that the influence of environment information on the display picture can be avoided, and the display effect of the display picture can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings may be obtained according to the drawings without any inventive work.
Fig. 1 is a flowchart of a method for adjusting a display screen according to the present application.
Fig. 2 is a schematic view of angle ranges of four merging angles in the adjustment method of the display screen provided by the present application.
Fig. 3 is a schematic diagram of pixel grouping in four directions in the adjustment method for a display screen according to the present application.
Fig. 4 is a schematic diagram of a relationship curve between luminance and a color temperature value in the method for adjusting a display screen according to the present application.
Fig. 5 is a schematic structural diagram of an adjustment device for a display screen according to the present application.
Fig. 6 is a schematic structural diagram of a terminal device provided in the present application.
Detailed Description
In order to make the purpose, technical scheme and effect of the present application clearer and clearer, the present application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The inventor finds that with rapid development of economy and improvement of living standard of people, the requirements of people on terminal equipment are higher and higher, wherein the display image quality of the terminal equipment is an important measurement index of the quality of the terminal equipment, and the use experience of users is influenced by the quality of the display image quality. The existing terminal equipment generally adopts default configuration parameters to determine the display image quality of a display picture, when the display image quality of the display picture needs to be changed by a user, the display image quality of the display picture needs to be adjusted in a mode of the default configuration parameters of a manual target equipment, however, the operation is complex and the user requirements are difficult to meet due to the fact that the user lacks of understanding the image quality function and color knowledge in a manual adjustment mode.
In order to solve the above problem, in the embodiment of the present application, a display color temperature value of a display screen to be adjusted is determined; acquiring an environment brightness value, and determining a target color temperature value based on the environment brightness value; and adjusting the display parameters of the display picture to adjust the display picture based on the display color temperature value and the target color temperature value. According to the method and the device, when the target device displays the video image, the display picture of the target device is obtained, the display picture is adjusted based on the display color temperature value and the target color temperature value, so that the display picture is automatically adjusted, and the environment brightness value is used as a reference in the adjusting process of the display picture, so that the influence of environment information on the display picture can be avoided, and the display effect of the display picture can be improved.
The following further describes the content of the application by describing the embodiments with reference to the attached drawings.
The present embodiment provides a method for adjusting a display screen, as shown in fig. 1, the method includes:
and S10, determining the display color temperature value of the display picture to be adjusted.
Specifically, the display screen to be adjusted may be a display screen of a target device, where the target device is a terminal device with a display function, and the target device displays the display screen to be adjusted, in other words, the target device is configured with the terminal device of the display interface, and the display screen to be adjusted is displayed on the display interface of the target device, where the target device may be a smart television, a smart phone, a tablet computer, or the like. Therefore, in an application scenario of this embodiment, the target device is an intelligent television, a video picture is displayed on a display interface of the intelligent television, and the display picture to be adjusted is a video picture displayed on the display interface of the intelligent television.
In an implementation manner of this embodiment, when the target device plays a video frame, a user may have a certain distance to the target device, and particularly, when the target device is a smart television, when the user watches the smart television, the user may have a certain distance (e.g., 1 meter, 2 meters, etc.) to the smart television, and an ambient brightness value of a location where the user is located may be different from an ambient brightness value of a location where the smart television is located (e.g., the user is located at a direct lighting position, and the smart television is located at a backlight position, etc.). However, when the environment information of the location where the user is located is different from the environment information of the location where the target device is located, when the user views the video screen displayed by the target device, there is a problem that the screen effect is not good (for example, the screen brightness is too high, or the screen brightness is too dark).
Based on this, the display picture to be adjusted can be acquired by an image shooting device with a distance from the target equipment, and the distance between the position of the image shooting device and the position of a user watching the video picture to be adjusted meets the preset condition. Correspondingly, before determining the display color temperature value of the display picture to be adjusted, the method further includes:
a10, shooting a scene where a target device is located through an image shooting device to obtain a scene image, wherein the target device is used for displaying the display picture;
and A20, selecting a target image area corresponding to the display picture in the scene image, and taking the target image area as the display picture.
Specifically, the image capturing device is used for capturing a scene image of a scene in which the target device is located, for example, a mobile terminal or the like in which the image capturing device can be configured with a camera. The display interface of the target device is included in the scene image captured by the image capturing apparatus, in other words, the target device is located within the capturing range of the image capturing apparatus, and the display interface of the target device is also located within the capturing range of the image capturing apparatus, for example, the target device is located in front of the image capturing apparatus along the capturing direction of the image capturing apparatus, and the display interface of the target device faces the image capturing apparatus, so that the scene image including the display interface of the target device can be captured by the image capturing apparatus. In addition, the display picture to be adjusted is a video picture displayed on the display interface, so that the scene image comprises the display picture to be conditioned.
The distance between the position of the image capturing device and the position of a target user watching a video picture to be adjusted meets a preset condition, wherein the preset condition is used for limiting the position of the image capturing device, so that the similarity between the environment information of the position of the image capturing device and the environment information of the position of the target user reaches a preset threshold value, for example, the brightness difference between the environment brightness value of the position of the image capturing device and the environment brightness value of the position of the target user is smaller than the preset brightness threshold value. In a specific implementation manner, the preset condition may be that a distance between the location where the image capturing device is located and the location where the target user is located is smaller than a distance threshold, for example, 0.1 meter, 0.2 meter, and the like.
In one implementation manner of this embodiment, the scene image includes, in addition to the display screen to be adjusted, other scene information of the scene in which the target device is located, for example, a plant placed around the target device, or a small animal moved to the shooting range of the image capturing apparatus. Therefore, after the scene image is acquired, the scene image can be processed to remove an invalid image area except for the display picture to be adjusted in the scene image, so that the influence of the invalid image area on the subsequent display color temperature value is avoided, and the accuracy of the subsequently acquired display color temperature value can be improved. Therefore, after the scene image is acquired, the scene image is identified to select a target image area corresponding to the display picture, wherein the target image area can be obtained by identification of a trained image identification model, can also be obtained by identification of an edge identification method, can also be obtained by a traditional machine learning method, and the like.
In an implementation manner of this embodiment, the target image area is determined by an edge recognition method, and accordingly, a specific process of selecting the target image area corresponding to the display screen in the scene image may include:
identifying an interface edge of a display interface of a target device in a scene image based on a Canny operator;
and determining an image area surrounded by the interface edge, and taking the image area as a target image area corresponding to the display picture.
Specifically, the interface edge is a boundary between a display area and a non-display area of a display interface of the target device, an image area located in a closed curve surrounded by the interface edge is the display area of the display interface, and an image area located outside the closed curve surrounded by the interface edge is the non-display area of the display interface, so that after the interface edge is obtained, the image area surrounded by the interface edge can be used as a target image area corresponding to the display picture.
When the interface edge is identified in the scene image based on the Canny operator, firstly, denoising the scene image to remove the image noise in the scene image, and taking the scene image obtained by denoising as the scene image, wherein the denoising process can adopt a Gaussian function to smooth image denoising of the scene image. In an implementation manner of this embodiment, the Gaussian function may be a fixed value Gaussian function, and is stored in a terminal device for executing the method for adjusting a display screen provided in this embodiment, and when any scene image is denoised by using a Gaussian function smooth image, the fixed value Gaussian function is used, so that it is not necessary to calculate a Gaussian function value for the scene image, and the recognition speed of the interface edge of the scene image can be increased, thereby increasing the adjustment speed of the display screen. In a specific implementation manner, the fixed value Gaussian function G may be:
Figure BDA0002870794760000081
after denoising the scene image, for each pixel point in the denoised scene image, calculating a gradient value and a gradient direction angle of the pixel point a (x, y), wherein the calculation formulas of the gradient value and the gradient direction angle may be:
Figure BDA0002870794760000082
θ=arctan(Gy/Gx)
where | Δ ρ | represents a gradient mode value, θ represents a gradient direction angle, and GxRepresenting the difference value, G, of pixel a (x, y) in the horizontal directionyIndicating the difference value of the pixel point a (x, y) in the vertical direction. Wherein G isxAnd GyThe calculation formula of (c) may be:
Gx=Sx*A,Gy=Sy*A
wherein S isxEdge detection operator and S representing the x-directionyAnd (3) representing an edge detection operator in the y direction, wherein A represents an image window with a pixel point a (x, y) as the center in the scene image.
In one implementation of this embodiment, the edge detection operator uses SobelOperator, A is 3 x 3 image window with pixel point a (x, y) as center, wherein SxAnd SyRespectively as follows:
Figure BDA0002870794760000083
further, after obtaining the gradient value and the gradient direction angle corresponding to each pixel point, dividing the gradient direction angle within the range of 0-360 degrees into four directions theta 'by combination, wherein the four directions theta' are respectively 0 degree, 45 degrees, 90 degrees and 135 degrees. As shown in fig. 2, the direction angles in the ranges of [0 °, 22.5 ° ], [157.5 °, 202.5 ° ] and [337.5 °, 360 ° ] are all combined to 0 ° direction angle, [22.5 °, 67.5 ° ] and [202.5 °, 247.5 ° ] are all combined to 45 ° direction angle, and the direction angles in the ranges of [67.5 °, 112.5 ° ] and [247.5 °, 292.5 ° ] are all combined to 90 ° direction angle, and the direction angles in the ranges of [112.5 °, 157.5 ° ] and [292.5 °, 337.5 ° ] are all combined to 135 ° direction angle, wherein the direction gradients located at the upper limit value or the lower limit value of each range interval may be combined to the direction θ' corresponding to any range region including the gradient direction, for example, the gradient direction 67.5 °, the gradient direction may be combined to 90 ° direction angle, and may be combined to 45 ° direction.
Further, after combining the gradient direction angles of the pixels, for each pixel, comparing the gradient modulus of the pixel group corresponding to the pixel according to the combined gradient direction of the pixel, as shown in fig. 3:
if the combined gradient direction θ' of the pixel point (x, y) is equal to 0 °, the pixel group corresponding to the pixel point (x, y) includes pixel points (x-1, y), (x, y), and (x +1, y), so as to compare the gradient modulus values of the pixel points (x-1, y), (x, y), and (x +1, y);
if the combined gradient direction θ' of the pixel (x, y) is 45 °, the pixel group corresponding to the pixel (x, y) includes the pixel (x-1, y +1), (x, y) and (x +1, y-1), so as to compare the gradient modulus values of the pixels (x-1, y +1), (x, y) and (x +1, y-1);
if the combined gradient direction θ' of the pixel point (x, y) is equal to 90 °, the pixel group corresponding to the pixel point (x, y) includes pixel points (x, y-1), (x, y), and (x, y +1), so as to compare the gradient modulus values of the pixel points (x, y-1), (x, y), and (x, y + 1);
if the combined gradient direction θ' of the pixel (x, y) is 135 °, the pixel group corresponding to the pixel (x, y) includes the pixel (x-1, y-1), (x, y), and (x +1, y +1), so as to compare the gradient modulus values of the pixels (x-1, y-1), (x, y), and (x +1, y + 1).
If the gradient module value of the pixel group corresponding to the pixel point is compared, if the gradient module value of the pixel point (x, y) is the maximum gradient module value in the pixel group corresponding to the pixel point, the pixel point (x, y) is an edge point, otherwise, if the gradient module value of the pixel point (x, y) is not the maximum gradient module value in the pixel group corresponding to the pixel point, the pixel point (x, y) is not an edge point.
In addition, continuous edges in the scene image may be segmented, so that after the edge points are determined, the acquired edge points may be filtered by using a hysteresis thresholding, where a specific process of filtering the acquired edge points by using the hysteresis thresholding may be: setting two thresholds which are respectively marked as a first threshold Tlower and a second threshold Tupper, wherein the first threshold Tlower<The second threshold value Tupper, and in one specific implementation, the first threshold value and the second threshold value may satisfy the condition 2Tlower≤Tupper≤3Tlower(ii) a For each pixel point which is an edge point, respectively comparing the gradient module value of the pixel point with a first threshold value and a second threshold value, and if the gradient module value of the pixel point is greater than or equal to Tupper, determining that the pixel point is an edge point; if the gradient module value of the pixel point is less than or equal to Tlower, the pixel point is not an edge point; if the gradient module value of the pixel point is smaller than the Tupper and larger than Tlower, then searching whether a candidate pixel point with the gradient module larger than the Tupper exists in a 3 multiplied by 3 neighborhood corresponding to the pixel point, and if the candidate pixel point exists, the pixel point is an edge point; if no candidate pixel exists, the search range is expanded, and then whether a 5 multiplied by 5 neighborhood corresponding to the pixel has a candidate pixel with gradient modulus larger than Tupper is searched, if so, the candidate pixel is searchedAnd pixel points, which are edge points. If no candidate pixel exists, the pixel is not an edge point.
Further, after the interface edge is identified, the interface edge is picked up, wherein the process of picking up the interface edge may be: converting the scene image into a binary image, wherein the edge points are pixel values of 1, and the background points are pixel values of 0; storing pixel point coordinates (x, y) belonging to an interface edge into an array, traversing pixel points in a scene image from top to bottom and from left to right, storing the pixel point coordinates into the array when a pixel point with a pixel value of 1 is encountered, storing a contour starting point, setting a flag bit of the pixel point to be 1 to indicate that the pixel point is detected, detecting a pixel gray value within an 8-neighborhood range of the pixel point, storing the coordinate into a coordinate array if a pixel point with a pixel value of 1 is not detected, and so on, and finishing extraction of the interface edge when the coordinate of a certain neighborhood pixel point is detected as the starting point coordinate. In addition, after the interface edge is extracted, an image area surrounded by the interface edge is extracted according to a connected domain extraction method so as to obtain a target image area.
In an implementation manner of this embodiment, the determining a display color temperature value of a display screen to be adjusted specifically includes:
acquiring an R base color value, a G base color value and a B base color value corresponding to a display picture to be adjusted;
and determining a chromaticity coordinate corresponding to the display picture according to the R primary color value, the G primary color value and the B primary color value, and determining a display color temperature value corresponding to the display picture based on the chromaticity coordinate.
Specifically, the base color value is a numerical value corresponding to a color component (e.g., R, G or B), the R base color value is a numerical value corresponding to an R color component, the G base color value is a numerical value corresponding to a G color component, and the B base color value is a numerical value corresponding to a B color component. The R base color value of the display picture may be an average value of R base color values of each pixel point in the display picture to be adjusted, the B base color value of the display picture may be an average value of B base color values of each pixel point in the display picture to be adjusted, and the G base color value of the display picture may be an average value of G base color values of each pixel point in the display picture to be adjusted. Therefore, when the R base color value, the G base color value and the B base color value corresponding to the display picture to be adjusted are obtained, the RGB value of each pixel point in the display picture to be adjusted can be obtained, and then the average value of the R base color value, the average value of the G base color value and the average value of the base color value of each pixel point are distributed and calculated, so that the R base color value, the G base color value and the B base color value corresponding to the display picture to be adjusted are obtained.
The chromaticity coordinate is used to reflect the emission color, and the chromaticity coordinate is an x, y rectangular coordinate system, where an x-axis is used to represent the component value associated with the R primary color, a y-axis is used to represent the component value associated with the G primary color, and after determining the x-coordinate value and the y-coordinate value, a z-coordinate value may be determined based on the x-coordinate value and the y-coordinate value, where z is 1- (x + y), and z is used to represent the component value associated with the B primary color. In addition, the chromaticity coordinate of the display screen to be adjusted may be obtained based on the R-base color value, the G-base color value, and the B-base color value of the display screen to be adjusted, where the chromaticity coordinate of the display screen to be adjusted may be calculated by the following formula:
Figure BDA0002870794760000111
wherein X represents a chromaticity coordinate related to the R primary color, Y represents a chromaticity coordinate related to the G primary color, Z represents a chromaticity coordinate related to the B primary color, X is an intermediate value related to the R primary color obtained based on the R, G and B base color values of the display screen to be adjusted, Y is an intermediate value related to the G primary color obtained based on the R, G and B base color values of the display screen to be adjusted, and Z is an intermediate value related to the B primary color obtained based on the R, G and B base color values of the display screen to be adjusted. X, Y and Z can be calculated as:
Figure BDA0002870794760000112
wherein, R represents the R base color value of the display picture to be adjusted, B represents the B base color value of the display picture to be adjusted, G represents the G base color value of the display picture to be adjusted, A is a transformation coefficient matrix, wherein A is a 3 x 3 matrix and the expression of A is as follows:
Figure BDA0002870794760000121
wherein, aijI is 1,2,3, j is 1,2,3 are all element terms in the transform coefficient matrix, and are all known.
Further, after obtaining the chromaticity coordinate corresponding to the display screen, calculating a display color temperature value based on the chromaticity coordinate, where a calculation formula of the display color temperature value may be:
CT=An3+Bn2+Cn+D
Figure BDA0002870794760000122
wherein, CT represents the display color temperature value, x and y represent chromaticity coordinates, n is an intermediate value calculated based on the chromaticity coordinates, and A, B, C, D, a and B are constants.
And S20, acquiring an environment brightness value, and determining a target color temperature value based on the environment brightness value.
Specifically, the environment brightness value is the environment brightness value of the environment where the obtaining device for obtaining the display picture to be adjusted is located, in an application scenario of this embodiment, the scene image corresponding to the display frame to be adjusted is acquired by the image capturing device, and accordingly, the environment brightness value is the environment brightness value of the environment where the image capturing device is located, and the distance between the image capturing device and the target user is less than a distance threshold value, so that the environmental brightness value can be used as the environmental brightness value of the environment where the target user is located, and thus the target color temperature value determined based on the environmental brightness value can reflect the color temperature value of the environment where the target user is located, therefore, the subsequent display picture adjusted based on the target color temperature value takes the environmental information of the environment where the target user is located into consideration, and the target user can obtain the display picture with good display effect.
The environment brightness value can be determined by the image shooting device, or acquired by an optical sensor arranged on the image shooting device, and the like. In one implementation manner of the embodiment, the environment brightness value may be determined based on configuration parameters configured by the shooting device itself, where the configuration parameters may include sensitivity, aperture value, and shutter speed. And accordingly. In an implementation manner of this embodiment, the obtaining process of the environment brightness value specifically includes:
acquiring the light sensitivity, the aperture value and the shutter speed configured by a shooting device for shooting the video image to be processed;
an ambient brightness value is determined based on the acquired sensitivity, aperture value, and shutter speed.
Specifically, the shutter speed is used to reflect the camera shutter opening time, for example, a shutter speed of 4 indicates that the shutter opening time is 1/4 seconds, and for example, a shutter speed of 125 indicates that the shutter opening time is 1/125 seconds. The aperture is used to reflect the size of the aperture of the camera, wherein the aperture value can be represented by F, such as F1.8, F2.8, F8, F22, F32, etc., and the smaller the number, the larger the aperture indicating that the aperture is open, such as F1.8 is larger than F32. The aperture value corresponds to the light entering amount of the camera, and when the aperture is small, the light entering amount of the camera is small; conversely, when the aperture is large, the amount of light entering the camera is large. The sensitivity refers to the sensitivity of the camera to light, and the higher the sensitivity is, the stronger the sensitivity to light is, whereas the lower the sensitivity is, the lower the sensitivity to light is. English notation of sensitivity is ISO, and sensitivity can be expressed as ISO100, ISO200 … … ISO1600, ISO25600, or the like, where the larger the number after ISO, the higher the sensitivity; conversely, the smaller the number after ISO, the lower the sensitivity.
In one implementation of this embodiment, the sensitivity, the aperture value, and the shutter speed may be configuration parameters configured for the photographing device, and when the sensitivity, the aperture value, and the shutter speed need to be acquired, the configuration parameters configured for the photographing device are read, and the sensitivity, the aperture value, and the shutter speed of the photographing device are acquired through the configuration parameters. In addition, the photographing device adjusts the sensitivity, the aperture value and the shutter speed during the photographing process, wherein the adjusting process of the sensitivity, the aperture value and the shutter speed may be: the photographing apparatus collects ambient light to obtain an optical signal (for example, the optical signal is collected by an optical sensor, etc.), converts the optical signal into an electrical signal, converts the electrical signal into an analog signal (i.e., an image), and adjusts one or more of sensitivity, an aperture value, and a shutter speed when a target brightness difference between an image brightness and a preset value is greater than a preset threshold value, so that the target brightness difference between the image brightness and the preset value is less than or equal to the preset threshold value.
In one implementation of this embodiment, after acquiring the sensitivity, the aperture value, and the shutter speed, the sensitivity, the aperture value, the shutter speed, and the ambient brightness value satisfy an equation: av + Tv ═ Sv + Bv, where Av denotes an aperture value, Tv denotes a shutter speed, Sv denotes sensitivity, and Bv denotes an environment luminance value. Based on the above equation, a calculation formula of the ambient brightness value may be derived, wherein the calculation formula of the ambient brightness value may be expressed as: bv ═ Av + Tv-Sv.
After the ambient brightness value is obtained, a display color temperature value corresponding to the ambient brightness may be determined according to a relationship curve y ═ f (x) between brightness and color temperature, where y represents the display color temperature value and x represents the ambient brightness. In one implementation of the present embodiment, as shown in fig. 4, the expression of the relationship between luminance and color temperature may be y — c × lgx + d, where y represents a display color temperature value, x represents ambient luminance, and c and d are both constants.
And S30, adjusting the display parameters of the display picture to adjust the display picture based on the display color temperature value and the target color temperature value.
Specifically, the display parameters are used for reflecting the image quality of the display screen, and the image quality of the display screen can be adjusted by adjusting the display parameters, in other words, the display effect of the display screen can be adjusted by adjusting the display parameters. The display parameters comprise display brightness, chromaticity coordinate x and chromaticity coordinate y, and when the display parameters are adjusted, the display brightness, the chromaticity coordinate y and the chromaticity coordinate x can be sequentially adjusted according to the sequence of the display brightness, the chromaticity coordinate y and the chromaticity coordinate x.
Based on this, in an implementation manner of this embodiment, the adjusting the display parameter of the display screen based on the display color temperature value and the target color temperature value specifically includes:
acquiring an initial display brightness value corresponding to the display color temperature value, and adjusting a G base color value and an R base color value of the display picture based on the environment brightness value and the initial display brightness value so as to adjust the display brightness of the display picture;
adjusting the G base color value and the B base color value of the display picture based on the target chromaticity coordinate y corresponding to the target color temperature value and the initial chromaticity coordinate y corresponding to the display color temperature value so as to adjust the chromaticity coordinate y of the display picture;
and adjusting the R base color value and the B base color value of the display picture based on the target chromaticity coordinate x corresponding to the target color temperature value and the initial chromaticity coordinate x corresponding to the display color temperature value so as to adjust the x color temperature coordinate of the display picture.
Specifically, the initial display brightness value is determined based on the display color temperature value, and the initial display brightness value may obtain a relationship curve between brightness and a color temperature value, and determine the initial display brightness value corresponding to the display color temperature value through the relationship curve, where the relationship curve may be the relationship curve for determining the target color temperature value based on the ambient brightness as described above, and will not be described in detail here. The display brightness is adjusted corresponding to a display picture, and when the display brightness is adjusted, a relation formula Y of brightness Y, an R base color value, a G base color value, and a B base color value is 3R +6G + B, it can be seen that the G base color value has the largest influence on the brightness Y, and then has the influence on the brightness Y for the R base color value, so that the display brightness can be obtained by adjusting the G base color value and the R base color value of the display picture.
In an implementation manner of this embodiment, a specific process of adjusting the G-base color value and the R-base color value of the display picture based on the environment luminance value and the initial display luminance value may be as follows: comparing the initial display brightness value with an ambient brightness value; if the initial display brightness values are smaller than the environment brightness value, adjusting the G base color value and the R base color value of the display picture; and if the initial display brightness value is greater than or equal to the ambient brightness value, keeping the initial display brightness value unchanged without adjusting, and not adjusting the G base color value and the R base color value of the display picture. The adjustment of the G-base color value and the B-base color value when the initial display luminance value is less than the ambient luminance value is described in two cases, where the G-base color value is less than the first G-base color threshold value and the G-base color value is greater than or equal to the first G-base color threshold value:
in the first case: g primary color value < first G primary color threshold
Increasing the G primary color value to adjust the display brightness until the G primary color value increasing operation meets a first preset condition, wherein the first preset condition comprises that the G primary color value reaches a first G primary color threshold value and an initial display brightness value reaches an environment brightness value, and when at least one of the G primary color value reaches the first G primary color threshold value and the initial display brightness value reaches the environment brightness value is met, the G primary color value increasing operation meets the first preset condition;
when the G primary color value heightening operation meets a preset condition, judging whether the initial display brightness value reaches an environment brightness value;
if the initial display brightness value reaches the environment brightness value, the display brightness adjustment of the display picture is completed;
if the initial display brightness value does not reach the environmental brightness value, comparing the R base color value with a first R base color threshold value; increasing the R primary color value until the R primary color value increasing operation meets a second preset condition, wherein the second preset condition comprises that the R primary color value reaches a first R primary color threshold value and an initial display brightness value reaches an environment brightness value, and when at least one of the R primary color value reaches the first R primary color threshold value and the initial display brightness value reaches the environment brightness value is met, the R primary color value increasing operation meets the second preset condition;
when the R primary color value heightening operation meets a preset condition, judging whether the initial display brightness value reaches an environment brightness value;
if the initial display brightness value reaches the environment brightness value, the display brightness adjustment of the display picture is completed;
and if the initial display brightness value does not reach the environment brightness value, taking the display brightness when the R primary color value is increased and the preset condition is met as the display brightness corresponding to the display picture.
In the second case: the value of the G primary color is larger than or equal to a first G primary color threshold value
When the G primary color value is greater than or equal to the first G primary color threshold, the adjusting process of the G primary color value and the R primary color value is the same as the adjusting operation performed when the G primary color value increasing operation satisfies the preset condition and the initial display luminance value does not reach the environment luminance value in the first case, and specifically, the adjusting operation performed when the G primary color value increasing operation satisfies the preset condition and the initial display luminance value does not reach the environment luminance value may be referred to, and is not described herein again. In addition, the first G primary color threshold value and the first R primary color threshold value may be preset, for example, the first G primary color threshold value is 155, the first R primary color threshold value is 155, and the like.
In an implementation manner of this embodiment, a specific process of adjusting the G-base color value and the B-base color value of the display screen based on the target chromaticity coordinate y corresponding to the target color temperature value and the initial chromaticity coordinate y corresponding to the display color temperature value may be: determining a target chromaticity range based on a target chromaticity coordinate y corresponding to a target color temperature value, comparing the display color temperature value with a first upper limit value and a first lower limit value of the target chromaticity range respectively, adjusting a G base color value and a B base color value of the display picture according to a comparison result, wherein, the adjustment of the G base color value and the B base color value of the display picture according to the comparison result is divided into two cases, the first case is that the initial chromaticity coordinate y corresponding to the display color temperature value is larger than the first upper limit value of the target chromaticity range, the second case is that the initial chromaticity coordinate y corresponding to the display color temperature value is smaller than the first lower limit value of the target chromaticity range, and when the initial chromaticity coordinate y corresponding to the display color temperature value is within the target chromaticity range, the initial chromaticity coordinate y corresponding to the display color temperature value needs to be adjusted.
In the first case: displaying that the initial chromaticity coordinate y corresponding to the color temperature value is larger than the first upper limit value of the target chromaticity range
When the B primary color value is smaller than the first B primary color threshold value, heightening the B primary color value until the heightening operation of the B primary color value meets a third preset condition, wherein the third preset condition comprises that the B primary color value reaches at least one of the first B primary color threshold value and an initial chromaticity coordinate y corresponding to a display color temperature value is smaller than or equal to a first upper limit value, and when the requirement that the R primary color value reaches at least one of the first R primary color threshold value and the initial chromaticity coordinate y corresponding to the display color temperature value is smaller than or equal to the first upper limit value, the heightening operation of the R primary color value meets the third preset condition;
when the B primary color value is larger than or equal to the first B primary color threshold value, the G primary color value is reduced until the G primary color value reduction operation meets a fourth preset condition, wherein the fourth preset condition comprises that the G primary color value reaches at least one of a second G primary color threshold value and an initial chromaticity coordinate y corresponding to a display color temperature value, wherein the initial chromaticity coordinate y is smaller than or equal to a first upper limit value, and when the G primary color value reaches at least one of the second G primary color threshold value and the initial chromaticity coordinate y corresponding to the display color temperature value, the G primary color value increase operation meets the fourth preset condition.
In the second case: displaying that the initial chromaticity coordinate y corresponding to the color temperature value is smaller than the first lower limit value of the target chromaticity range
When the B primary color value is greater than or equal to the second B primary color threshold value, reducing the B primary color value until the B primary color value reduction operation meets a fifth preset condition, wherein the fifth preset condition comprises that the B primary color value reaches at least one of the second B primary color threshold value and an initial chromaticity coordinate y corresponding to a display color temperature value, which is greater than or equal to a first lower limit value of a target chromaticity range, and when the B primary color value reaches at least one of the second B primary color threshold value and the initial chromaticity coordinate y corresponding to the display color temperature value, which is greater than or equal to the first lower limit value of the target chromaticity range, the B primary color value reduction operation meets the fifth preset condition;
and when the G primary color value reaches at least one of the second G primary color threshold value and the initial chromaticity coordinate y corresponding to the display color temperature value is greater than or equal to the first lower limit value of the target chromaticity range, the G primary color value increasing operation meets a fourth preset condition.
For example, the following steps are carried out: assuming that the target color temperature value corresponds to a chromaticity coordinate y of 329, a chromaticity coordinate error threshold of 25, a first B primary color threshold of 145, a second B primary color threshold of 70, a second G primary color threshold of 70, and a third G primary color threshold of 145;
in the first case: displaying the initial chromaticity coordinate y corresponding to the color temperature value (329+25) (which shows that the value of the initial chromaticity coordinate y corresponding to the color temperature value is too high, and needs to be reduced)
When the B-based color value is less than 145, improving the B-based color value and detecting whether the initial chromaticity coordinate y corresponding to the display color temperature value can satisfy y < (329+ 25);
when the B primary color value > is 145, reducing the G primary color value and detecting whether the initial chromaticity coordinate y corresponding to the display color temperature value can satisfy y < (329+ 25);
if the B base color value > is 145 and the G base color value is <70, the initial chromaticity coordinate y corresponding to the display color temperature value does not satisfy y < (329+25), and the adjustment of the display picture fails.
In the second case: initial chromaticity coordinate y < (329-25) corresponding to the display color temperature value (indicating that the value of the initial chromaticity coordinate y corresponding to the display color temperature value is too low and needs to be increased)
When the B base color value > is 70, reducing the B base color value and detecting whether the initial chromaticity coordinate y corresponding to the display color temperature value can satisfy y > (329-25);
when the B-based color value is less than 70, improving the G-based color value and detecting whether the initial chromaticity coordinate y corresponding to the display color temperature value can meet y > (329-25);
if the B primary color value is <70 and the G primary color value > is 145, the initial chromaticity coordinate y corresponding to the display color temperature value is y > (329-25), the adjustment of the display screen is failed.
In an implementation manner of this embodiment, the adjusting the R-base color value and the B-base color value of the display picture based on the target chromaticity coordinate x corresponding to the target color temperature value and the initial chromaticity coordinate x corresponding to the display color temperature value, so as to adjust the x-color temperature coordinate of the display picture, may include: determining a target chromaticity range based on a target chromaticity coordinate x corresponding to the target chromaticity value, comparing the display chromaticity value with a second upper limit value and a second lower limit value of the target chromaticity range respectively, adjusting the R base color value and the B base color value of the display picture according to the comparison result, wherein, the adjustment of the R-base color value and the B-base color value of the display picture according to the comparison result is divided into two cases, the first case is that the initial chromaticity coordinate x corresponding to the display color temperature value is larger than the second upper limit value of the target chromaticity range, the second case is that the initial chromaticity coordinate x corresponding to the display color temperature value is smaller than the second lower limit value of the target chromaticity range, when the initial chromaticity coordinate x corresponding to the display color temperature value is within the target chromaticity range, the initial chromaticity coordinate x corresponding to the display color temperature value needs to be adjusted.
In the first case: displaying that the initial chromaticity coordinate x corresponding to the color temperature value is larger than the second upper limit value of the target chromaticity range
When the R primary color value is greater than or equal to the second R primary color threshold value, reducing the R primary color value until the operation of reducing the R primary color value meets a seventh preset condition, wherein the seventh preset condition comprises that the R primary color value reaches at least one of the second R primary color threshold value and an initial chromaticity coordinate x corresponding to the display color temperature value, which is less than or equal to a second upper limit value, and when the R primary color value reaches at least one of the second R primary color threshold value and the initial chromaticity coordinate x corresponding to the display color temperature value, the operation of increasing the R primary color value meets the seventh preset condition;
and when the R primary color value is smaller than the second R primary color threshold value, heightening the B primary color value until the B primary color value heightening operation meets an eighth preset condition, wherein the eighth preset condition comprises that the B primary color value reaches at least one of a third B primary color threshold value and an initial chromaticity coordinate x corresponding to a display color temperature value, which is smaller than or equal to a first upper limit value, and the B primary color value heightening operation meets the eighth preset condition when the B primary color value reaches at least one of the third B primary color threshold value and the initial chromaticity coordinate x corresponding to the display color temperature value, which is smaller than or equal to the first upper limit value.
In the second case: the initial chromaticity coordinate x corresponding to the display color temperature value is smaller than the second lower limit value of the target chromaticity range
When the R primary color value is smaller than a third R primary color threshold value, increasing the R primary color value until the operation of increasing the R primary color value meets a ninth preset condition, wherein the ninth preset condition comprises that the R primary color value reaches at least one of the second lower limit value of the target chromaticity range of an initial chromaticity coordinate x corresponding to the third R primary color threshold value and a display color temperature value, and the operation of increasing the R primary color value meets the ninth preset condition when the R primary color value reaches at least one of the second lower limit value of the target chromaticity range of an initial chromaticity coordinate x corresponding to the second R primary color threshold value and a display color temperature value;
when the R primary color value is greater than or equal to the second R primary color threshold value, the B primary color value is turned down until the B primary color value turning down operation satisfies a tenth preset condition, where the tenth preset condition includes that the B primary color value reaches at least one of a fourth B primary color threshold value and a second lower limit value of the target chromaticity range of an initial chromaticity coordinate x corresponding to the display color temperature value, and when the B primary color value reaches at least one of the fourth B primary color threshold value and the second lower limit value of the target chromaticity range of the initial chromaticity coordinate x corresponding to the display color temperature value, the R primary color value turning down operation satisfies the tenth preset condition.
For example, the following steps are carried out: assuming that the chromaticity coordinate x corresponding to the target color temperature value is 313, the chromaticity coordinate error threshold is 25, the third R primary color threshold is 145, the second R primary color threshold is 70, the third B primary color threshold is 145, and the fourth B primary color threshold is 70;
in the first case: displaying the initial chromaticity coordinate x > (313+25) corresponding to the color temperature value (which shows that the value of the initial chromaticity coordinate x corresponding to the color temperature value is too high, and the value of the initial chromaticity coordinate x corresponding to the color temperature value needs to be reduced)
When the R base color value > is 70, reducing the R base color value and detecting whether the initial chromaticity coordinate x corresponding to the display color temperature value can satisfy x < (313+ 25);
when the R base color value is less than 70, improving the B base color value and detecting whether the initial chromaticity coordinate x corresponding to the display color temperature value can satisfy z < (313+ 25);
if the R primary color value is less than 70, and the B primary color value is more than 145, the initial chromaticity coordinate x corresponding to the display color temperature value does not satisfy x < (313+25), and the adjustment of the display picture fails.
In the second case: displaying the initial chromaticity coordinate x < (313-25) corresponding to the color temperature value (which shows that the value of the initial chromaticity coordinate x corresponding to the color temperature value is too low and needs to be increased)
When the R primary color value is less than 145, the R primary color value is improved, and whether the initial chromaticity coordinate x corresponding to the display color temperature value can meet x > (329-25) is detected;
when the R base color value > is 145, reducing the B base color value and detecting whether the initial chromaticity coordinate x corresponding to the display color temperature value can satisfy x > (329-25);
if the R base color value > is 145 and the B base color value is <70, the initial chromaticity coordinate x corresponding to the display color temperature value is x > (329-25), and the adjustment of the display picture is failed.
In summary, the present embodiment provides a method, an apparatus, a storage medium, and a terminal device for adjusting a display screen, where the method includes determining a display color temperature value of a display screen to be adjusted; acquiring an environment brightness value, and determining a target color temperature value based on the environment brightness value; and adjusting the display parameters of the display picture to adjust the display picture based on the display color temperature value and the target color temperature value. According to the method and the device, when the target device displays the video image, the display picture of the target device is obtained, the display picture is adjusted based on the display color temperature value and the target color temperature value, so that the display picture is automatically adjusted, and the environment brightness value is used as a reference in the adjusting process of the display picture, so that the influence of environment information on the display picture can be avoided, and the display effect of the display picture can be improved.
Based on the foregoing method for adjusting a display screen, this embodiment provides an apparatus for adjusting a display screen, as shown in fig. 5, the apparatus including:
an obtaining module 100, configured to determine a display color temperature value of a display image to be adjusted;
a determining module 200, configured to obtain an environment brightness value, and determine a target color temperature value based on the environment brightness value;
an adjusting module 300, configured to adjust a display parameter of the display frame based on the display color temperature value and the target color temperature value to adjust the display frame.
It should be noted that the working process of the adjusting apparatus for a display screen provided in this embodiment is the same as the working process of the adjusting method for a display screen, and is not described herein again, and the working process of the adjusting method for a display screen may be specifically defined.
Based on the adjustment method of the display screen, the present embodiment provides a computer-readable storage medium, which stores one or more programs that can be executed by one or more processors to implement the steps in the adjustment method of the display screen according to the above embodiment.
Based on the foregoing adjustment method for display screen, the present application further provides a terminal device, as shown in fig. 6, including at least one processor (processor) 20; a display screen 21; and a memory (memory)22, and may further include a communication Interface (Communications Interface)23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the terminal device are described in detail in the method, and are not stated herein.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for adjusting a display screen, the method comprising:
determining a display color temperature value of a display picture to be adjusted;
acquiring an environment brightness value, and determining a target color temperature value based on the environment brightness value;
and adjusting the display parameters of the display picture to adjust the display picture based on the display color temperature value and the target color temperature value.
2. The method according to claim 1, wherein before determining the display color temperature value of the display to be adjusted, the method further comprises:
shooting a scene where target equipment is located through an image shooting device to obtain a scene image, wherein the target equipment is used for displaying the display picture;
and selecting a target image area corresponding to the display picture in the scene image, and taking the target image area as the display picture.
3. The method according to claim 2, wherein a distance between the image capturing device and the target apparatus is greater than a preset distance threshold.
4. The method according to claim 2, wherein the environment brightness value is an environment brightness value of an environment where the image capturing apparatus is located.
5. The method according to any one of claims 1 to 4, wherein the determining the display color temperature value of the display to be adjusted specifically comprises:
acquiring an R base color value, a G base color value and a B base color value corresponding to a display picture to be adjusted;
and determining a chromaticity coordinate corresponding to the display picture according to the R primary color value, the G primary color value and the B primary color value, and determining a display color temperature value corresponding to the display picture based on the chromaticity coordinate.
6. The method according to claim 1, wherein the display parameters include display luminance, chromaticity coordinate x, and chromaticity coordinate y, and the display luminance, chromaticity coordinate x, and chromaticity coordinate y are sequentially adjusted in the order of display luminance, chromaticity coordinate y, and chromaticity coordinate x.
7. The method according to claim 6, wherein the adjusting the display parameters of the display screen based on the display color temperature value and the target color temperature value specifically comprises:
acquiring an initial display brightness value corresponding to the display color temperature value, and adjusting a G base color value and an R base color value of the display picture based on the environment brightness value and the initial display brightness value so as to adjust the display brightness of the display picture;
adjusting the G base color value and the B base color value of the display picture based on the target chromaticity coordinate y corresponding to the target color temperature value and the initial chromaticity coordinate y corresponding to the display color temperature value so as to adjust the chromaticity coordinate y of the display picture;
and adjusting the R base color value and the B base color value of the display picture based on the target chromaticity coordinate x corresponding to the target color temperature value and the initial chromaticity coordinate x corresponding to the display color temperature value so as to adjust the x color temperature coordinate of the display picture.
8. An adjustment device for displaying a picture, the adjustment device comprising:
the acquisition module is used for determining the display color temperature value of the display picture to be adjusted;
the determining module is used for acquiring an environment brightness value and determining a target color temperature value based on the environment brightness value;
and the adjusting module is used for adjusting the display parameters of the display picture based on the display color temperature value and the target color temperature value so as to adjust the display picture.
9. A computer-readable storage medium, storing one or more programs, the one or more programs being executable by one or more processors to implement the steps in the method for adjusting a display according to any one of claims 1 to 7.
10. A terminal device, comprising: a processor, a memory, and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes the connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the method of adjusting a display according to any one of claims 1-8.
CN202011608160.6A 2020-12-29 2020-12-29 Display picture adjusting method and device, storage medium and terminal equipment Pending CN114697591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011608160.6A CN114697591A (en) 2020-12-29 2020-12-29 Display picture adjusting method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011608160.6A CN114697591A (en) 2020-12-29 2020-12-29 Display picture adjusting method and device, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN114697591A true CN114697591A (en) 2022-07-01

Family

ID=82132248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011608160.6A Pending CN114697591A (en) 2020-12-29 2020-12-29 Display picture adjusting method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN114697591A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014239307A (en) * 2013-06-06 2014-12-18 富士ゼロックス株式会社 Device and method for setting display device, and program
WO2017059688A1 (en) * 2015-10-09 2017-04-13 深圳Tcl数字技术有限公司 Color temperature adjustment method and device
WO2018095128A1 (en) * 2016-11-25 2018-05-31 广东欧珀移动通信有限公司 Display control method utilized in display screen, and associated product
CN109036333A (en) * 2018-09-17 2018-12-18 广州视源电子科技股份有限公司 Display parameters bearing calibration, device, terminal device and the storage medium of display
US20190147808A1 (en) * 2016-05-04 2019-05-16 Shenzhen Tcl Digital Technology Ltd. Backlight self-adaptive adjustment method and device
CN112087611A (en) * 2020-09-07 2020-12-15 Oppo广东移动通信有限公司 Electronic equipment and display screen adjusting method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014239307A (en) * 2013-06-06 2014-12-18 富士ゼロックス株式会社 Device and method for setting display device, and program
WO2017059688A1 (en) * 2015-10-09 2017-04-13 深圳Tcl数字技术有限公司 Color temperature adjustment method and device
US20190147808A1 (en) * 2016-05-04 2019-05-16 Shenzhen Tcl Digital Technology Ltd. Backlight self-adaptive adjustment method and device
WO2018095128A1 (en) * 2016-11-25 2018-05-31 广东欧珀移动通信有限公司 Display control method utilized in display screen, and associated product
CN109036333A (en) * 2018-09-17 2018-12-18 广州视源电子科技股份有限公司 Display parameters bearing calibration, device, terminal device and the storage medium of display
CN112087611A (en) * 2020-09-07 2020-12-15 Oppo广东移动通信有限公司 Electronic equipment and display screen adjusting method thereof

Similar Documents

Publication Publication Date Title
CN110766679B (en) Lens contamination detection method and device and terminal equipment
CN110473242B (en) Texture feature extraction method, texture feature extraction device and terminal equipment
US11538175B2 (en) Method and apparatus for detecting subject, electronic device, and computer readable storage medium
JP2010045613A (en) Image identifying method and imaging device
CA2867365A1 (en) Method, system and computer storage medium for face detection
CN108764139B (en) Face detection method, mobile terminal and computer readable storage medium
US20130170756A1 (en) Edge detection apparatus, program and method for edge detection
CN108805838B (en) Image processing method, mobile terminal and computer readable storage medium
CN114066823A (en) Method for detecting color block and related product thereof
CN112073640B (en) Panoramic information acquisition pose acquisition method, device and system
CN108805883B (en) Image segmentation method, image segmentation device and electronic equipment
CN116385567A (en) Method, device and medium for obtaining color card ROI coordinate information
CN114697591A (en) Display picture adjusting method and device, storage medium and terminal equipment
CN110610178A (en) Image recognition method, device, terminal and computer readable storage medium
US20060010582A1 (en) Chin detecting method, chin detecting system and chin detecting program for a chin of a human face
CN115457055A (en) Illuminance meter value identification method, electronic device, and storage medium
CN114119695A (en) Image annotation method and device and electronic equipment
CN115240245A (en) Face living body detection method, face living body detection device and electronic equipment
CN113034449B (en) Target detection model training method and device and communication equipment
US8538142B2 (en) Face-detection processing methods, image processing devices, and articles of manufacture
JP2007219899A (en) Personal identification device, personal identification method, and personal identification program
CN112989924A (en) Target detection method, target detection device and terminal equipment
CN114511894A (en) System and method for acquiring pupil center coordinates
WO2020107196A1 (en) Photographing quality evaluation method and apparatus for photographing apparatus, and terminal device
CN110674817A (en) License plate anti-counterfeiting method and device based on binocular camera

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