A display screen adjustment method, device, storage medium and terminal equipment
By automatically adjusting the display parameters of the terminal device based on the display color temperature value and ambient brightness value, it solves the problem of users having difficulty manually adjusting the display quality, and improves the display effect and user experience.
Patent Information
- Application Number
- CN202011608160.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-12-29
AI Technical Summary
When adjusting the display quality of existing terminal devices, users lack knowledge of image quality functions and colors, making manual adjustments complex and difficult to meet user requirements.
By determining the display color temperature value and ambient brightness value of the display screen, automatically adjust the display parameters to adjust the display screen, including obtaining the scene image, identifying the target image area, calculating the chromaticity coordinates and brightness values, and adjusting the R, G, and B primary colors based on these values. values to adjust display brightness and color.
It realizes automatic adjustment of the display screen, avoids the impact of environmental information on the screen, improves the display effect, simplifies user operations, and meets users' personalized needs for image quality.
Smart Images

Figure CN114697591B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image display technology, and in particular to a method, device, storage medium and terminal device for adjusting a display screen. Background Art
[0002] With the rapid development of economy and the improvement of people's living standards, people's requirements for terminal devices are getting higher and higher. Among them, the display quality of terminal devices is an important indicator of the quality of terminal devices, and the quality of display quality will affect the user's experience. Existing terminal devices generally use default configuration parameters to determine the display quality of the display screen. When the user needs to change the display quality of the display screen, it is necessary to manually adjust the display quality of the display screen by using the default configuration parameters of the target device. However, due to the user's lack of understanding of the picture quality function and color knowledge, the manual adjustment method is complicated and difficult to meet user requirements. Summary of the invention
[0003] The technical problem to be solved by the present application is to provide a method, device, storage medium and terminal device for adjusting a display screen in view of the deficiencies in the prior art.
[0004] In order to solve the above technical problems, a first aspect of an embodiment of the present application provides a method for adjusting a display screen, the method comprising:
[0005] Determining a display color temperature value of a display image to be adjusted;
[0006] Acquire an ambient brightness value, and determine a target color temperature value based on the ambient brightness value;
[0007] Based on the display color temperature value and the target color temperature value, a display parameter of the display image is adjusted to adjust the display image.
[0008] The method for adjusting the display picture, wherein before determining the display color temperature value of the display picture to be adjusted, the method further comprises:
[0009] photographing a scene where a target device is located by an image photographing device to obtain a scene image, wherein the target device is used to display the display screen;
[0010] A target image region corresponding to the display screen is selected in the scene image, and the target image region is used as the display screen.
[0011] In the method for adjusting the display screen, the distance between the image capturing device and the target device is greater than a preset distance threshold.
[0012] In the display picture adjustment method, the ambient brightness value is the ambient brightness value of the environment in which the image capture device is located.
[0013] In the method for adjusting a display picture, the step of determining the display color temperature value of the display picture to be adjusted specifically comprises:
[0014] Obtaining the R primary color value, the G primary color value, and the B primary color value corresponding to the display picture to be adjusted;
[0015] The chromaticity coordinates corresponding to the display picture are determined according to the R primary color value, the G primary color value, and the B primary color value, and the display color temperature value corresponding to the display picture is determined based on the chromaticity coordinates.
[0016] The method for adjusting the display screen, wherein the display parameters include display brightness, chromaticity coordinate x and chromaticity coordinate y, and the display brightness, chromaticity coordinate x and chromaticity coordinate y are adjusted in the order of display brightness, chromaticity coordinate y and chromaticity coordinate x.
[0017] The method for adjusting the display picture, wherein adjusting the display parameters of the display picture based on the display color temperature value and the target color temperature value specifically includes:
[0018] Acquire an initial display brightness value corresponding to the display color temperature value, and adjust the G primary color value and the R primary color value of the display picture based on the ambient brightness value and the initial display brightness value to adjust the display brightness of the display picture;
[0019] Adjusting the G primary color value and the B primary 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;
[0020] The R primary color value and the B primary color value of the display picture are adjusted 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 to adjust the x color temperature coordinate of the display picture.
[0021] A second aspect of the present embodiment provides a display screen adjustment device, characterized in that the adjustment device includes:
[0022] An acquisition module, used to determine the display color temperature value of the display picture to be adjusted;
[0023] A determination module, used to obtain an ambient brightness value and determine a target color temperature value based on the ambient brightness value;
[0024] An adjustment module, configured to adjust the display parameters of the display picture based on the display color temperature value and the target color temperature value to adjust the display picture
[0025] A third aspect of an embodiment of the present application provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in any of the display screen adjustment methods described above.
[0026] A fourth aspect of the embodiments of the present application provides a terminal device, comprising: a processor, a memory, and a communication bus; the memory stores a computer-readable program that can be executed by the processor;
[0027] The communication bus realizes the connection and communication between the processor and the memory;
[0028] When the processor executes the computer-readable program, the processor implements the steps in any of the above-mentioned methods for adjusting the display screen.
[0029] Beneficial effects: Compared with the prior art, the present application provides a method, device, storage medium and terminal device for adjusting a display screen, the method comprising determining a display color temperature value of a display screen to be adjusted; obtaining an ambient brightness value, and determining a target color temperature value based on the ambient brightness value; and adjusting display parameters of the display screen based on the display color temperature value and the target color temperature value to adjust the display screen. When a target device displays a video image, the present application obtains the display screen of the target device, and adjusts the display screen based on the display color temperature value and the target color temperature value to achieve automatic adjustment of the display screen, and uses the ambient brightness value as a reference in the process of adjusting the display screen, so as to avoid the influence of environmental information on the display screen, thereby improving the display effect of the display screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without inventive work.
[0031] Figure 1 This is a flow chart of the display screen adjustment method provided in this application.
[0032] Figure 2 A schematic diagram of the angle ranges of four combined angles in the display screen adjustment method provided in the present application.
[0033] Figure 3 A schematic diagram of pixel grouping in four directions in the display picture adjustment method provided in the present application.
[0034] Figure 4 A schematic diagram of a curve showing the relationship between brightness and color temperature in the method for adjusting a display image provided in the present application.
[0035] Figure 5 This is a structural principle diagram of the display screen adjustment device provided in this application.
[0036] Figure 6 This is a schematic diagram of the structure of the terminal device provided in this application. DETAILED DESCRIPTION
[0037] The present application provides a display screen adjustment method, device, storage medium and terminal device. In order to make the purpose, technical solution and effect of the present application clearer and more specific, the present application is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
[0038] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0039] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0040] The inventor has found through research that with the rapid development of the economy and the improvement of people's living standards, people's requirements for terminal devices are getting higher and higher. Among them, the display quality of terminal devices is an important indicator of the quality of terminal devices, and the quality of display quality will affect the user's experience. Existing terminal devices generally use default configuration parameters to determine the display quality of the display screen. When the user needs to change the display quality of the display screen, it is necessary to manually adjust the display quality of the display screen by using the default configuration parameters of the target device. However, due to the user's lack of understanding of the picture quality function and color knowledge, the manual adjustment method is complicated and difficult to meet user requirements.
[0041] In order to solve the above problems, in an embodiment of the present application, the display color temperature value of the display screen to be adjusted is determined; the ambient brightness value is obtained, and the target color temperature value is determined based on the ambient brightness value; based on the display color temperature value and the target color temperature value, the display parameters of the display screen are adjusted to adjust the display screen. When the target device displays a video image, the present application obtains the display screen of the target device, and adjusts the display screen based on the display color temperature value and the target color temperature value to achieve automatic adjustment of the display screen, and uses the ambient brightness value as a reference in the adjustment process of the display screen, so as to avoid the influence of environmental information on the display screen, thereby improving the display effect of the display screen.
[0042] The application content is further explained below through the description of embodiments in conjunction with the accompanying drawings.
[0043] This embodiment provides a method for adjusting a display image. Figure 1 As shown, the method includes:
[0044] S10: Determine the display color temperature value of the display picture to be adjusted.
[0045] Specifically, the display picture to be adjusted may be a display picture of a target device, wherein the target device is a terminal device with a display function, and the target device displays the display picture to be adjusted. In other words, the target device is a terminal device configured with a display interface, and the display picture to be adjusted is displayed on the display interface of the target device, wherein the target device may be a smart TV, a smart phone, a tablet computer, etc. Based on this, in an application scenario of the present embodiment, the target device is a smart TV, and a video picture is displayed on the display interface of the smart TV, and the display picture to be adjusted is a video picture displayed on the display interface of the smart TV.
[0046] In one implementation of this embodiment, when the target device plays a video, the user is generally at a certain distance from the target device. In particular, when the target device is a smart TV, the user is generally at a certain distance (e.g., 1 meter, 2 meters, etc.) from the smart TV when watching TV, and the ambient brightness value of the user's location may be different from the ambient brightness value of the smart TV (e.g., the user is in a position where the light is directly shining, while the smart TV is in a backlight position, etc.). However, when the ambient information of the user's location is different from the ambient information of the target device's location, when the user watches the video displayed by the target device, there will be a problem of poor picture effect (e.g., the picture brightness is too bright, or the picture brightness is too dark, etc.).
[0047] Based on this, the display screen to be adjusted can be obtained by an image capture device that is at a distance from the target device, and the distance between the position of the image capture device and the position of the user watching the video screen to be adjusted meets the preset condition. Accordingly, before determining the display color temperature value of the display screen to be adjusted, the method further includes:
[0048] A10. photographing a scene where a target device is located by using an image photographing device to obtain a scene image, wherein the target device is used to display the display screen;
[0049] A20. Select a target image region corresponding to the display screen in the scene image, and use the target image region as the display screen.
[0050] Specifically, the image capture device is used to capture a scene image of a scene in which the target device is located. For example, the image capture device can be a mobile terminal equipped with a camera. The scene image captured by the image capture device includes the display interface of the target device. In other words, the target device is located within the shooting range of the image capture device, and the display interface of the target device is also located within the shooting range of the image capture device. For example, the target device is located in front of the image capture device along the shooting direction of the image capture device, and the display interface of the target device faces the image capture device, so that the scene image including the display interface of the target device can be captured by the image capture device. In addition, the display screen to be adjusted is a video screen displayed on the display interface, so that the scene image includes the display screen to be conditioned.
[0051] The distance between the position of the image capture device and the position of the target user who is watching the video screen to be adjusted satisfies a preset condition, wherein the preset condition is used to limit the position of the image capture device so that the similarity between the environmental information at the position of the image capture device and the environmental information at the position of the target user reaches a preset threshold, for example, the brightness difference between the ambient brightness value at the position of the image capture device and the ambient brightness value at the position of the target user is less than a preset brightness threshold. In a specific implementation, the preset condition may be that the distance between the position of the image capture device and the position of the target user is less than a distance threshold, for example, 0.1 meters, 0.2 meters, etc.
[0052] In one implementation 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, such as plants placed around the target device, or small animals that move to the shooting range of the image capture device. Therefore, after the scene image is acquired, the scene image can be processed to remove invalid image areas in the scene image except for the display screen to be adjusted, so as to avoid the influence of the invalid image area on the subsequent display color temperature value, thereby improving the accuracy of the display color temperature value acquired subsequently. Therefore, after the scene image is acquired, the scene image is identified to select the target image area corresponding to the display screen, wherein the target image area can be identified by a trained image recognition model, can also be identified by an edge recognition method, can also be obtained by a traditional machine learning method, etc.
[0053] In an implementation of this embodiment, the target image area is determined by an edge recognition method. Accordingly, the specific process of selecting the target image area corresponding to the display screen in the scene image may include:
[0054] Identify the interface edge of the display interface of the target device in the scene image based on the Canny operator;
[0055] An image area surrounded by the edge of the interface is determined, and the image area is used as a target image area corresponding to the display screen.
[0056] Specifically, the interface edge is the dividing line between the display area and the non-display area of the display interface of the target device, the image area within the closed curve surrounded by the interface edge is the display area of the display interface, and the image area outside the closed curve surrounded by the interface edge is the non-display area of the display interface. Therefore, after obtaining the interface edge, the image area surrounded by the interface edge can be used as the target image area corresponding to the display screen.
[0057] When identifying the interface edge in the scene image based on the Canny operator, the scene image is first denoised to remove the image noise in the scene image, and the denoised scene image is used as the scene image, wherein the denoising process can use a Gaussian function to smooth the scene image for image denoising. In one implementation of this embodiment, the Gaussian function can be a fixed-value Gaussian function, and is stored in a terminal device for executing the display screen adjustment method provided by this embodiment, and when any scene image uses a Gaussian function to smooth the image for denoising, the fixed-value Gaussian function is used. In this way, there is no need to calculate the Gaussian function value for the scene image, which can improve the recognition speed of the interface edge of the scene image, thereby improving the adjustment speed of the display screen. In a specific implementation, the fixed-value Gaussian function G can be:
[0058]
[0059] After denoising the scene image, for each pixel in the denoised scene image, the gradient value and gradient direction angle of the pixel a(x, y) are calculated, where the calculation formulas for the gradient value and the gradient direction angle can be respectively:
[0060]
[0061] θ=arctan(G y / G x )
[0062] Among them, |Δρ| represents the gradient modulus, θ represents the gradient direction angle, G x Represents the horizontal difference value of pixel a(x, y), G y Represents the vertical difference of pixel a(x, y). x and G y The calculation formula can be:
[0063] G x =S x *A, G y =S y *A
[0064] Among them, S x represents the edge detection operator in the x direction and S y represents the edge detection operator in the y direction, and A represents the image window centered at the pixel point a(x, y) in the scene image.
[0065] In one implementation of this embodiment, the edge detection operator uses the Sobel operator, A is a 3*3 image window centered at the pixel point a(x, y), where S x and S y They are:
[0066]
[0067] Furthermore, after obtaining the gradient value and gradient direction angle corresponding to each pixel point, the gradient direction angle within the range of 0°-360° is merged and divided into four directions θ′, and the four directions θ′ are 0°, 45°, 90° and 135° respectively. Figure 2 As shown, the direction angles in the ranges of [0°, 22.5°], [157.5°, 202.5°], and [337.5°, 360°] are merged into a 0° direction angle, the direction angles in the ranges of [22.5°, 67.5°] and [202.5°, 247.5°] are merged into a 45° direction angle, and the direction angles in the ranges of [67.5°, 112.5°] and [247.5°, 292.5°] are merged into a 90° direction angle. The direction angles in the range of [112.5°, 157.5°] and [292.5°, 337.5°] are all merged into a direction angle of 135°, wherein the gradient directions that are equal to the upper limit or lower limit of each range interval can be merged into the direction θ′ corresponding to any range area including the gradient direction, for example, the gradient direction 67.5° can be merged into a direction angle of 90° or a direction angle of 45°.
[0068] Furthermore, after merging the gradient direction angles of each pixel point, for each pixel point, the gradient modulus of the pixel group corresponding to the pixel point is compared according to the merged gradient direction of the pixel point, such as Figure 3 As shown:
[0069] If the merged gradient direction θ′ of the pixel point (x, y) is 0°, the pixel group corresponding to the pixel point (x, y) includes the 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);
[0070] If the merged gradient direction θ′ of the pixel point (x, y) is 45°, the pixel group corresponding to the pixel point (x, y) includes the pixel points (x-1, y+1), (x, y) and (x+1, y-1), so as to compare the gradient modulus values of the pixel points (x-1, y+1), (x, y) and (x+1, y-1);
[0071] If the merged gradient direction θ′ of the pixel point (x, y) is 90°, the pixel group corresponding to the pixel point (x, y) includes the 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);
[0072] If the merged gradient direction θ′ of the pixel point (x, y) is 135°, the pixel group corresponding to the pixel point (x, y) includes the pixel points (x-1, y-1), (x, y) and (x+1, y+1), so as to compare the gradient modulus values of the pixel points (x-1, y-1), (x, y) and (x+1, y+1).
[0073] When comparing the gradient modulus values of the pixel group corresponding to the pixel point, if the gradient modulus value of the pixel point (x, y) is the maximum gradient modulus value in the corresponding pixel group, then the pixel point (x, y) is an edge point; conversely, if the gradient modulus value of the pixel point (x, y) is not the maximum gradient modulus value in the corresponding pixel group, then the pixel point (x, y) is not an edge point.
[0074] In addition, the continuous edges in the scene image may be segmented, so after the edge points are determined, the acquired edge points can be filtered by using hysteresis thresholding, wherein the specific process of filtering the acquired edge points by using hysteresis thresholding can be: setting two thresholds, which are respectively recorded as a first threshold Tlower and a second threshold Tupper, wherein the first threshold Tlower<the second threshold Tupper, and in a specific implementation, the first threshold and the second threshold can satisfy the condition 2T lower ≤T upper ≤3T lower ; For each pixel that is an edge point, the gradient modulus of the pixel is compared with the first threshold and the second threshold respectively. If the gradient modulus of the pixel is greater than or equal to Tupper, the pixel is an edge point; if the gradient modulus of the pixel is less than or equal to Tlower, the pixel is not an edge point; if the gradient modulus of the pixel is less than Tupper and greater than Tlower, then find out whether there is a candidate pixel with a gradient modulus greater than Tupper in the 3×3 neighborhood corresponding to the pixel. If there is a candidate pixel, the pixel is an edge point; if there is no candidate pixel, expand the search range and then find out whether there is a candidate pixel with a gradient modulus greater than Tupper in the 5×5 neighborhood corresponding to the pixel. If there is a candidate pixel, the pixel is an edge point. If there is no candidate pixel, the pixel is not an edge point.
[0075] Further, after the interface edge is identified, the interface edge is picked up, wherein the process of picking up the interface edge can be: converting the scene image into a binary image, wherein the edge point has a pixel value of 1 and the background point has a pixel value of 0; storing the coordinates (x, y) of the pixel points belonging to the interface edge in an array, and traversing the pixel points in the scene image from top to bottom and from left to right, when encountering a pixel point with a pixel value of 1, storing the pixel point coordinates in the array, and saving the contour starting point, and then setting the pixel point flag bit to 1, indicating that this point has been detected, detecting the pixel grayscale value of the 8-neighborhood range of the pixel point, if there is a pixel point with a pixel value of 1 and it has not been detected, then storing its coordinates in the coordinate array, and so on, when the coordinates of a certain neighborhood pixel point are detected to be the starting point coordinates, the extraction of the interface edge is completed. In addition, after the interface edge is extracted, according to the connected domain extraction method, the image area surrounded by the interface edge is extracted to obtain the target image area.
[0076] In an implementation of this embodiment, determining the display color temperature value of the display picture to be adjusted specifically includes:
[0077] Obtaining the R primary color value, the G primary color value, and the B primary color value corresponding to the display picture to be adjusted;
[0078] The chromaticity coordinates corresponding to the display picture are determined according to the R primary color value, the G primary color value, and the B primary color value, and the display color temperature value corresponding to the display picture is determined based on the chromaticity coordinates.
[0079] Specifically, the primary color value is a value corresponding to a color component (for example, R, G or B), the R primary color value is a value corresponding to the R color component, the G primary color value is a value corresponding to the G color component, and the B primary color value is a value corresponding to the B color component. The R primary color value of the display screen may be an average value of the R primary color values of each pixel in the display screen to be adjusted, the B primary color value of the display screen may be an average value of the B primary color values of each pixel in the display screen to be adjusted, and the G primary color value of the display screen may be an average value of the G primary color values of each pixel in the display screen to be adjusted. Thus, when obtaining the R primary color value, the G primary color value and the B primary color value corresponding to the display screen to be adjusted, the RGB value of each pixel in the display screen to be adjusted may be obtained, and then the average value of the R primary color value of each pixel, the average value of the G primary color value and the average value of the primary color values are calculated to obtain the R primary color value, the G primary color value and the B primary color value corresponding to the display screen to be adjusted.
[0080] The chromaticity coordinates are used to reflect the luminous color, and the chromaticity coordinates are an x, y rectangular coordinate system, wherein the x-axis is used to represent the component value associated with the R primary color, and the 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, the z-coordinate value can be determined based on the x-coordinate value and the y-coordinate value, wherein z=1-(x+y), and z is used to represent the component value associated with the B primary color. In addition, the chromaticity coordinates of the display picture to be adjusted can be obtained based on the R primary color value, the G primary color value, and the B primary color value of the display picture to be adjusted, wherein the calculation formula of the chromaticity coordinates of the display picture to be adjusted can be:
[0081]
[0082] Wherein, x represents the chromaticity coordinates related to the R primary color, y represents the chromaticity coordinates related to the G primary color, z represents the chromaticity coordinates related to the B primary color, X is an intermediate value related to the R primary color obtained based on the R primary color value, the G primary color value and the B primary color value of the display picture to be adjusted, Y is an intermediate value related to the G primary color obtained based on the R primary color value, the G primary color value and the B primary color value of the display picture to be adjusted, and Z is an intermediate value related to the B primary color obtained based on the R primary color value, the G primary color value and the B primary color value of the display picture to be adjusted. The calculation formulas of X, Y and Z can be:
[0083]
[0084] Wherein, R represents the R primary color value of the display picture to be adjusted, B represents the B primary color value of the display picture to be adjusted, G represents the G primary color value of the display picture to be adjusted, and A is a transformation coefficient matrix, wherein A is a 3*3 matrix and the expression of A is:
[0085]
[0086] Among them, a ij ,i=1,2,3,j=1,2,3 are all elements in the transformation coefficient matrix and are all known.
[0087] Further, after the chromaticity coordinates corresponding to the display picture are obtained, the display color temperature value is calculated based on the chromaticity coordinates, wherein the calculation formula of the display color temperature value can be:
[0088] CT=An 3 +Bn 2 +Cn+D
[0089]
[0090] Wherein, CT represents the display color temperature value, x and y represent the chromaticity coordinates, n is the intermediate value calculated based on the chromaticity coordinates, and A, B, C, D, a, and b are all constants.
[0091] S20: Acquire an ambient brightness value, and determine a target color temperature value based on the ambient brightness value.
[0092] Specifically, the ambient brightness value is the ambient brightness value of the environment in which the acquisition device for acquiring the display picture to be adjusted is located. In an application scenario of the present embodiment, the scene image corresponding to the display picture to be adjusted is acquired by an image capturing device. Accordingly, the ambient brightness value is the ambient brightness value of the environment in which the image capturing device is located, and the distance between the image capturing device and the target user is less than the distance threshold, so that the ambient brightness value can be used as the ambient brightness value of the environment in which the target user is located. In this way, the target color temperature value determined based on the ambient brightness value can reflect the color temperature value of the environment in which the target user is located, so that the display picture subsequently adjusted based on the target color temperature value takes into account the environmental information of the environment in which the target user is located, so that the target user can obtain a display picture with a good display effect.
[0093] The ambient brightness value may be determined by an image capturing device, or may be acquired by configuring an optical sensor on the image capturing device. In an implementation of this embodiment, the ambient brightness value may be determined based on configuration parameters configured by the capturing device itself, wherein the configuration parameters may include sensitivity, aperture value, and shutter speed. Accordingly, in an implementation of this embodiment, the process of acquiring the ambient brightness value specifically includes:
[0094] Acquiring the sensitivity, aperture value and shutter speed configured by a shooting device used to shoot the video image to be processed;
[0095] The ambient brightness value is determined based on the acquired sensitivity, aperture value and shutter speed.
[0096] Specifically, the shutter speed is used to reflect the time the camera shutter is open. For example, if the shutter speed is 4, it means that the shutter is open for 1 / 4 second. For another example, if the shutter speed is 125, it means that the shutter is open for 1 / 125 second. The aperture is used to reflect the size of the aperture of the camera. The aperture value can be represented by F, such as F1.8, F2.8, F8, F22, F32 and other digital identifiers. The smaller the number, the larger the aperture of the aperture. For example, the aperture of F1.8 is larger than the aperture of F32. The aperture value corresponds to the amount of light entering the camera. When the aperture is small, the amount of light entering the camera is small; conversely, when the aperture is large, the amount of light entering the camera is large. Sensitivity refers to the sensitivity of the camera to light. The higher the sensitivity, the stronger the sensitivity to light. Conversely, the lower the sensitivity, the lower the sensitivity to light. The English symbol of sensitivity is ISO, which can be expressed as ISO100, ISO200...ISO1600, ISO25600, etc. The larger the number after ISO, the higher the sensitivity; conversely, the smaller the number after ISO, the lower the sensitivity.
[0097] In one implementation of this embodiment, the sensitivity, aperture value and shutter speed may be configuration parameters configured by the shooting device. When the sensitivity, aperture value and shutter speed need to be obtained, the configuration parameters configured by the shooting device are read, and the sensitivity, aperture value and shutter speed of the shooting device are obtained through the configuration parameters. In addition, the shooting device adjusts the sensitivity, aperture value and shutter speed during the shooting process, wherein the adjustment process of the sensitivity, aperture value and shutter speed may be: the shooting device collects ambient light to obtain a light signal (for example, collects a light signal through an optical sensor sensor, etc.), and converts the light signal into an electrical signal, and converts the electrical signal into an analog signal (that is, an image), and when the difference between the image brightness and the target brightness of the preset value is greater than a preset threshold, one or more of the sensitivity, aperture value and shutter speed are adjusted so that the difference between the image brightness and the target brightness of the preset value is less than or equal to the preset threshold.
[0098] In an implementation of this embodiment, after obtaining the sensitivity, aperture value and shutter speed, the sensitivity, aperture value, shutter speed and ambient brightness value satisfy an equation: Av+Tv=Sv+Bv, where Av represents the aperture value, Tv represents the shutter speed, Sv represents the sensitivity, and Bv represents the ambient brightness value. Based on the above equation, a calculation formula for the ambient brightness value can be obtained, where the calculation formula for the ambient brightness value can be expressed as: Bv=Av+Tv-Sv.
[0099] After obtaining the ambient brightness value, the display color temperature value corresponding to the ambient brightness can be determined according to the relationship curve between brightness and color temperature y=f(x), where y represents the display color temperature value and x represents the ambient brightness. Figure 4 As shown, the relationship curve between brightness and color temperature can be expressed as y=c*lgx+d, where y represents the display color temperature value, x represents the ambient brightness, and c and d are both constants.
[0100] S30: Based on the display color temperature value and the target color temperature value, adjust the display parameters of the display picture to adjust the display picture.
[0101] Specifically, the display parameters are used to reflect 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 include display brightness, chromaticity coordinate x, and chromaticity coordinate y, and when adjusting the display parameters, the display brightness, chromaticity coordinate y, and chromaticity coordinate x can be adjusted in the order of display brightness, chromaticity coordinate y, and chromaticity coordinate x.
[0102] Based on this, in an implementation of this embodiment, adjusting the display parameters of the display picture based on the display color temperature value and the target color temperature value specifically includes:
[0103] Acquire an initial display brightness value corresponding to the display color temperature value, and adjust the G primary color value and the R primary color value of the display picture based on the ambient brightness value and the initial display brightness value to adjust the display brightness of the display picture;
[0104] Adjusting the G primary color value and the B primary 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;
[0105] The R primary color value and the B primary color value of the display picture are adjusted 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 to adjust the x color temperature coordinate of the display picture.
[0106] Specifically, the initial display brightness value is determined based on the display color temperature value, and the initial display brightness value can obtain a relationship curve between brightness and color temperature value, and the initial display brightness value corresponding to the display color temperature value is determined by the relationship curve, wherein the relationship curve can be the relationship curve used to determine the target color temperature value based on the ambient brightness as described above, which is not specifically described here. The display brightness is the adjusted brightness corresponding to the display screen. When adjusting the display brightness, there is a relationship formula Y=3R+6G+B between brightness Y and R primary color value, G primary color value and B primary color value. It can be seen that the G primary color value has the greatest impact on brightness Y, followed by the impact of the R primary color value on brightness Y, so it can be obtained by adjusting the G primary color value and the R primary color value of the display screen, wherein when adjusting the G primary color value and the B primary color value of the display screen, the adjustment is performed with the ambient brightness value as the adjustment target and the display brightness as the adjustment object, wherein the initial display brightness value is the initial value of the display brightness, and the initial value is adjusted by adjusting the G primary color value and the B primary color value of the display screen so that the initial display brightness value is close to the ambient brightness value.
[0107] In an implementation of this embodiment, the specific process of adjusting the G primary color value and the R primary color value of the display screen based on the ambient brightness value and the initial display brightness value may be: comparing the initial display brightness value with the ambient brightness value; if the initial display brightness value is less than the ambient brightness value, adjusting the G primary color value and the R primary color value of the display screen; if the initial display brightness value is greater than or equal to the ambient brightness value, not adjusting the initial display brightness value and keeping it unchanged, and not adjusting the G primary color value and the R primary color value of the display screen. The adjustment of the G primary color value and the B primary color value when the initial display brightness value is less than the ambient brightness value is divided into two cases: the G primary color value is less than the first G primary color threshold value and the G primary color value is greater than or equal to the first G primary color threshold value.
[0108] Case 1: G primary color value < first G primary color threshold
[0109] Increase the G primary color value to adjust the display brightness until the G primary color value increasing operation satisfies a first preset condition, wherein the first preset condition includes that the G primary color value reaches a first G primary color threshold and the initial display brightness value reaches an ambient brightness value, and when at least one of the G primary color value reaches the first G primary color threshold and the initial display brightness value reaches the ambient brightness value, the G primary color value increasing operation satisfies the first preset condition;
[0110] When the G primary color value increasing operation meets the preset conditions, it is determined whether the initial display brightness value reaches the ambient brightness value;
[0111] If the initial display brightness value reaches the ambient brightness value, the display brightness adjustment of the display screen is completed;
[0112] If the initial display brightness value does not reach the ambient brightness value, compare the R primary color value with the first R primary color threshold; increase the R primary color value until the R primary color value increasing operation satisfies a second preset condition, wherein the second preset condition includes that the R primary color value reaches the first R primary color threshold and the initial display brightness value reaches the ambient brightness value, and when at least one of the R primary color value reaches the first R primary color threshold and the initial display brightness value reaches the ambient brightness value is satisfied, the R primary color value increasing operation satisfies the second preset condition;
[0113] When the R primary color value increasing operation meets the preset conditions, it is determined whether the initial display brightness value reaches the ambient brightness value;
[0114] If the initial display brightness value reaches the ambient brightness value, the display brightness adjustment of the display screen is completed;
[0115] If the initial display brightness value does not reach the ambient brightness value, the display brightness when the R primary color value is adjusted up to meet the preset conditions is used as the display brightness corresponding to the display screen.
[0116] The second case: the G primary color value is greater than or equal to the first G primary color threshold
[0117] When the G primary color value is greater than or equal to the first G primary color threshold, the adjustment process of the G primary color value and the R primary color value is the same as the adjustment operation performed when the G primary color value increase operation meets the preset conditions and the initial display brightness value does not reach the ambient brightness value in the first case. For details, reference may be made to the adjustment operation performed when the G primary color value increase operation meets the preset conditions and the initial display brightness value does not reach the ambient brightness value, which will not be described in detail here. In addition, the first G primary color threshold and the first R primary color threshold can both be preset, for example, the first G primary color threshold is 155, the first R primary color threshold is 155, etc.
[0118] In an implementation of the present embodiment, a specific process of adjusting the G primary color value and the B primary 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 may be: determining a target chromaticity range based on the target chromaticity coordinate y corresponding to the target color temperature value, and comparing the display color temperature value with a first upper limit value and a first lower limit value of the target chromaticity range, respectively, and adjusting the G primary color value and the B primary color value of the display picture according to the comparison result, wherein the adjustment of the G primary color value and the B primary color value of the display picture according to the comparison result is divided into two cases for explanation, the first of the two cases is that the initial chromaticity coordinate y corresponding to the display color temperature value is greater than the first upper limit value of the target chromaticity range, the second of the two cases is that the initial chromaticity coordinate y corresponding to the display color temperature value is less 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.
[0119] Case 1: The initial chromaticity coordinate y corresponding to the display color temperature value is greater than the first upper limit of the target chromaticity range
[0120] When the B primary color value is less than the first B primary color threshold, the B primary color value is increased until the B primary color value increasing operation satisfies a third preset condition, wherein the third preset condition includes that the B primary color value reaches the first B primary color threshold and the initial chromaticity coordinate y corresponding to the display color temperature value is less than or equal to the first upper limit value, and when at least one of the R primary color value reaches the first R primary color threshold and the initial chromaticity coordinate y corresponding to the display color temperature value is less than or equal to the first upper limit value is satisfied, the R primary color value increasing operation satisfies the third preset condition;
[0121] When the B primary color value is greater than or equal to the first B primary color threshold, the G primary color value is adjusted down until the G primary color value lowering operation satisfies a fourth preset condition, wherein the fourth preset condition includes that the G primary color value reaches the second G primary color threshold and the initial chromaticity coordinate y corresponding to the display color temperature value is less than or equal to the first upper limit value, and when at least one of the G primary color value reaches the second G primary color threshold and the initial chromaticity coordinate y corresponding to the display color temperature value is less than or equal to the first upper limit value is satisfied, the G primary color value raising operation satisfies the fourth preset condition.
[0122] Case 2: The initial chromaticity coordinate y corresponding to the displayed color temperature value is less than the first lower limit of the target chromaticity range
[0123] When the B primary color value is greater than or equal to the second B primary color threshold, the B primary color value is lowered until the B primary color value lowering operation satisfies a fifth preset condition, wherein the fifth preset condition includes that the B primary color value reaches the second B primary color threshold 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, and when at least one of the B primary color value reaches the second B primary color threshold 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 is satisfied, the B primary color value lowering operation satisfies the fifth preset condition;
[0124] When the B primary color value is less than the second B primary color threshold, the G primary color value is adjusted up until the G primary color value increasing operation satisfies a sixth preset condition, wherein the sixth preset condition includes that the G primary color value reaches the third G primary color threshold 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, and when at least one of the G primary color value reaches the second G primary color threshold 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 is satisfied, the G primary color value increasing operation satisfies the fourth preset condition.
[0125] For example: Assume that the chromaticity coordinate y corresponding to the target color temperature value is 329, the chromaticity coordinate error threshold is 25, the first B primary color threshold is 145, the second B primary color threshold is 70, the second G primary color threshold is 70, and the third G primary color threshold is 145;
[0126] The first case: the initial chromaticity coordinate y corresponding to the display color temperature value>(329+25) (it means that the value of the initial chromaticity coordinate y corresponding to the display color temperature value is too high, and the value of the initial chromaticity coordinate y corresponding to the display color temperature value needs to be reduced)
[0127] When the B primary color value is less than 145, the B primary color value is increased and the initial chromaticity coordinate y corresponding to the display color temperature value is detected to satisfy y<(329+25);
[0128] When the B primary color value is greater than or equal to 145, the G primary color value is reduced and the initial chromaticity coordinate y corresponding to the display color temperature value is detected to determine whether it satisfies y<(329+25);
[0129] If the B primary color value is greater than or equal to 145 and the G primary color value is less than 70, and the initial chromaticity coordinate y corresponding to the display color temperature value does not satisfy y<(329+25), it means that the display image adjustment fails.
[0130] The second case: the initial chromaticity coordinate y corresponding to the display color temperature value < (329-25) (it means that the value of the initial chromaticity coordinate y corresponding to the display color temperature value is too low, and the value of the initial chromaticity coordinate y corresponding to the display color temperature value needs to be increased)
[0131] When the B primary color value is greater than or equal to 70, the B primary color value is reduced and the initial chromaticity coordinate y corresponding to the display color temperature value is detected to determine whether y>(329-25);
[0132] When the B primary color value is less than 70, the G primary color value is increased and the initial chromaticity coordinate y corresponding to the display color temperature value is detected to determine whether y>(329-25);
[0133] If the B primary color value is <70, and the G primary color value is >=145, and the initial chromaticity coordinate y corresponding to the display color temperature value satisfies y>(329-25), it means that the display picture adjustment fails.
[0134] In an implementation of the present embodiment, the R primary color value and the B primary color value of the display picture are adjusted 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 to adjust the x color temperature coordinate of the display picture. The specific process may be: based on the target chromaticity coordinate x corresponding to the target color temperature value, a target chromaticity range is determined, and the display color temperature value is compared with the second upper limit value and the second lower limit value of the target chromaticity range respectively, and the R primary color value and the B primary color value of the display picture are adjusted according to the comparison result, wherein the adjustment of the R primary color value and the B primary color value of the display picture according to the comparison result is divided into two cases for description, the first of the two cases is that the initial chromaticity coordinate x corresponding to the display color temperature value is greater than the second upper limit value of the target chromaticity range, and the second of the two cases is that the initial chromaticity coordinate x corresponding to the display color temperature value is less than the second lower limit value of the target chromaticity range, and 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.
[0135] Case 1: The initial chromaticity coordinate x corresponding to the display color temperature value is greater than the second upper limit value of the target chromaticity range
[0136] When the R primary color value is greater than or equal to the second R primary color threshold, the R primary color value is lowered until the R primary color value lowering operation satisfies a seventh preset condition, wherein the seventh preset condition includes that the R primary color value reaches the second R primary color threshold and the initial chromaticity coordinate x corresponding to the display color temperature value is less than or equal to the second upper limit value, and when at least one of the R primary color value reaches the second R primary color threshold and the initial chromaticity coordinate x corresponding to the display color temperature value is less than or equal to the second upper limit value is satisfied, the R primary color value raising operation satisfies the seventh preset condition;
[0137] When the R primary color value is less than the second R primary color threshold, the B primary color value is adjusted up until the B primary color value increasing operation satisfies an eighth preset condition, wherein the eighth preset condition includes that the B primary color value reaches a third B primary color threshold and the initial chromaticity coordinate x corresponding to the display color temperature value is less than or equal to the first upper limit value, and when at least one of the B primary color value reaches the third B primary color threshold and the initial chromaticity coordinate x corresponding to the display color temperature value is less than or equal to the first upper limit value is satisfied, the B primary color value increasing operation satisfies the eighth preset condition.
[0138] Case 2: The initial chromaticity coordinate x corresponding to the displayed color temperature value is less than the second lower limit of the target chromaticity range
[0139] When the R primary color value is less than the third R primary color threshold, the R primary color value is increased until the R primary color value increasing operation satisfies a ninth preset condition, wherein the ninth preset condition includes that the R primary color value reaches the third R primary color threshold and the initial chromaticity coordinate x corresponding to the display color temperature value is greater than or equal to the second lower limit value of the target chromaticity range, and when at least one of the R primary color value reaches the second R primary color threshold and the initial chromaticity coordinate x corresponding to the display color temperature value is greater than or equal to the second lower limit value of the target chromaticity range is satisfied, the R primary color value increasing operation satisfies the ninth preset condition;
[0140] When the R primary color value is greater than or equal to the second R primary color threshold, the B primary color value is adjusted down until the B primary color value lowering operation satisfies the tenth preset condition, wherein the tenth preset condition includes that the B primary color value reaches the fourth B primary color threshold and the initial chromaticity coordinate x corresponding to the display color temperature value is greater than or equal to the second lower limit value of the target chromaticity range, and when at least one of the B primary color value reaches the fourth B primary color threshold and the initial chromaticity coordinate x corresponding to the display color temperature value is greater than or equal to the second lower limit value of the target chromaticity range is satisfied, the R primary color value lowering operation satisfies the tenth preset condition.
[0141] For example: Assume 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;
[0142] The first case: the initial chromaticity coordinate x corresponding to the display color temperature value>(313+25) (it means that the value of the initial chromaticity coordinate x corresponding to the display color temperature value is too high, and the value of the initial chromaticity coordinate x corresponding to the display color temperature value needs to be reduced)
[0143] When the R primary color value is greater than or equal to 70, the R primary color value is reduced and the initial chromaticity coordinate x corresponding to the display color temperature value is detected to determine whether x<(313+25);
[0144] When the R primary color value is <70, increase the B primary color value and detect whether the initial chromaticity coordinate x corresponding to the display color temperature value satisfies z<(313+25);
[0145] If the R primary color value is <70, and the B primary color value is >145, and the initial chromaticity coordinate x corresponding to the display color temperature value does not satisfy x<(313+25), it means that the display picture adjustment fails.
[0146] The second case: the initial chromaticity coordinate x corresponding to the display color temperature value < (313-25) (it means that the value of the initial chromaticity coordinate x corresponding to the display color temperature value is too low, and the value of the initial chromaticity coordinate x corresponding to the display color temperature value needs to be increased)
[0147] When the R primary color value is less than 145, the R primary color value is increased and the initial chromaticity coordinate x corresponding to the display color temperature value is detected to determine whether x>(329-25);
[0148] When the R primary color value is greater than or equal to 145, the B primary color value is reduced and the initial chromaticity coordinate x corresponding to the display color temperature value is detected to determine whether x>(329-25);
[0149] If the R primary color value is greater than or equal to 145, and the B primary color value is less than 70, and the initial chromaticity coordinate x corresponding to the display color temperature value satisfies x>(329-25), it means that the display image adjustment fails.
[0150] In summary, the present embodiment provides a method, apparatus, storage medium and terminal device for adjusting a display screen, the method comprising determining a display color temperature value of a display screen to be adjusted; obtaining an ambient brightness value, and determining a target color temperature value based on the ambient brightness value; and adjusting display parameters of the display screen based on the display color temperature value and the target color temperature value to adjust the display screen. When a target device displays a video image, the present application obtains a display screen of the target device, and adjusts the display screen based on the display color temperature value and the target color temperature value to achieve automatic adjustment of the display screen, and uses the ambient brightness value as a reference in the process of adjusting the display screen, so as to avoid the influence of environmental information on the display screen, thereby improving the display effect of the display screen.
[0151] Based on the above display image adjustment method, this embodiment provides a display image adjustment device, such as Figure 5 As shown, the regulating device comprises:
[0152] The acquisition module 100 is used to determine the display color temperature value of the display picture to be adjusted;
[0153] The determination module 200 is used to obtain an ambient brightness value and determine a target color temperature value based on the ambient brightness value;
[0154] The adjustment module 300 is used to adjust the display parameters of the display picture based on the display color temperature value and the target color temperature value to adjust the display picture.
[0155] In addition, it is worth noting that the working process of the display screen adjustment device provided in this embodiment is the same as the working process of the above-mentioned display screen adjustment method, which will not be repeated here. The specific working process of the above-mentioned display screen adjustment method can be referred to.
[0156] Based on the above-mentioned display screen adjustment method, this embodiment provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in the display screen adjustment method as described in the above-mentioned embodiment.
[0157] Based on the above display screen adjustment method, the present application also provides a terminal device, such as Figure 6 As shown, it includes at least one processor (processor) 20; display screen 21; and memory (memory) 22, and may also include a communications interface (Communications Interface) 23 and a bus 24. Among them, the processor 20, the display screen 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 preset user guide interface in the initial setting mode. The communication interface 23 can transmit information. The processor 20 can call the logic instructions in the memory 22 to execute the method in the above embodiment.
[0158] In addition, the logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0159] The memory 22 is a computer-readable storage medium that can be configured to store software programs, computer executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 22, that is, implementing the methods in the above embodiments.
[0160] The memory 22 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal device, etc. In addition, 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 flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, may also be a transient storage medium.
[0161] In addition, the specific process of loading and executing the multiple instruction processors in the above-mentioned storage medium and the terminal device has been described in detail in the above-mentioned method, and will not be described one by one here.
[0162] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for adjusting a display screen, It is characterized in that The method comprises: Determining a display color temperature value of a display image to be adjusted; Acquire an ambient brightness value, and determine a target color temperature value based on the ambient brightness value; Based on the display color temperature value and the target color temperature value, adjusting the display parameters of the display picture to adjust the display picture, wherein the display parameters include display brightness, chromaticity coordinate x, and chromaticity coordinate y, and the display brightness, chromaticity coordinate x, and chromaticity coordinate y are adjusted in the order of display brightness, chromaticity coordinate y, and chromaticity coordinate x; The adjusting the display parameters of the display picture based on the display color temperature value and the target color temperature value specifically includes: Acquire an initial display brightness value corresponding to the display color temperature value, and adjust the G primary color value and the R primary color value of the display picture based on the ambient brightness value and the initial display brightness value to adjust the display brightness of the display picture; Adjusting the G primary color value and the B primary 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; The R primary color value and the B primary color value of the display picture are adjusted 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 to adjust the chromaticity coordinate x of the display picture.
2. The method for adjusting a display image according to claim 1, It is characterized in that Before determining the display color temperature value of the display picture to be adjusted, the method further includes: photographing a scene where a target device is located by an image photographing device to obtain a scene image, wherein the target device is used to display the display screen; A target image region corresponding to the display screen is selected in the scene image, and the target image region is used as the display screen.
3. The method for adjusting the display image according to claim 2, It is characterized in that The distance between the image capturing device and the target device is greater than a preset distance threshold.
4. The method for adjusting a display image according to claim 2, It is characterized in that The ambient brightness value is the ambient brightness value of the environment where the image capturing device is located.
5. The method for adjusting a display image according to any one of claims 1 to 4, It is characterized in that Determining the display color temperature value of the display picture to be adjusted specifically includes: Obtaining the R primary color value, the G primary color value, and the B primary color value corresponding to the display picture to be adjusted; The chromaticity coordinates corresponding to the display picture are determined according to the R primary color value, the G primary color value, and the B primary color value, and the display color temperature value corresponding to the display picture is determined based on the chromaticity coordinates.
6. A display image adjustment device, It is characterized in that The regulating device comprises: An acquisition module, used to determine the display color temperature value of the display picture to be adjusted; A determination module, used to obtain an ambient brightness value and determine a target color temperature value based on the ambient brightness value; an adjusting module, configured to adjust display parameters of the display picture based on the display color temperature value and the target color temperature value to adjust the display picture, wherein the display parameters include display brightness, chromaticity coordinate x, and chromaticity coordinate y, and the display brightness, chromaticity coordinate x, and chromaticity coordinate y are adjusted in the order of display brightness, chromaticity coordinate y, and chromaticity coordinate x; The adjusting the display parameters of the display picture based on the display color temperature value and the target color temperature value specifically includes: Acquire an initial display brightness value corresponding to the display color temperature value, and adjust the G primary color value and the R primary color value of the display picture based on the ambient brightness value and the initial display brightness value to adjust the display brightness of the display picture; Adjusting the G primary color value and the B primary 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; The R primary color value and the B primary color value of the display picture are adjusted 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 to adjust the chromaticity coordinate x of the display picture.
7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the display screen adjustment method according to any one of claims 1 to 5.
8. A terminal device, It is characterized in that include: A processor, a memory and a communication bus; the memory stores a computer-readable program that can be executed by the processor; The communication bus realizes the connection and communication between the processor and the memory; When the processor executes the computer-readable program, the steps in the method for adjusting the display screen as described in any one of claims 1 to 5 are implemented.
