[go: up one dir, main page]

CN120199203A - Screen brightness calibration method, device, medium and electronic equipment - Google Patents

Screen brightness calibration method, device, medium and electronic equipment Download PDF

Info

Publication number
CN120199203A
CN120199203A CN202311786768.1A CN202311786768A CN120199203A CN 120199203 A CN120199203 A CN 120199203A CN 202311786768 A CN202311786768 A CN 202311786768A CN 120199203 A CN120199203 A CN 120199203A
Authority
CN
China
Prior art keywords
gray
target
screen
value
brightness
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
CN202311786768.1A
Other languages
Chinese (zh)
Inventor
王兰秀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202311786768.1A priority Critical patent/CN120199203A/en
Publication of CN120199203A publication Critical patent/CN120199203A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • G09G2320/0646Modulation of illumination source brightness and image signal correlated to each other

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

本公开涉及一种屏幕亮度校准方法、装置、介质及电子设备,涉及显示技术领域,该方法包括:响应于接收到用户指定的目标灰阶数量,构建目标空白窗体,根据所述目标灰阶数量通过改变所述空白窗体的背景颜色生成所述目标灰阶数量个不同灰度值的灰度图像,获取每个所述灰度图像对应的亮度值,根据每个所述灰度图像的灰度值和所述亮度值校准屏幕亮度,能够快速生成灰度图像,进而能够缩短测量灰度图像的时间,从而能够快速校准屏幕亮度,有效提高实际生产研发过程中的屏幕亮度校准效率。

The present disclosure relates to a screen brightness calibration method, device, medium and electronic device, and relates to the field of display technology. The method comprises: in response to receiving a target grayscale number specified by a user, constructing a target blank window, generating grayscale images of the target grayscale number with different grayscale values by changing the background color of the blank window according to the target grayscale number, obtaining a brightness value corresponding to each of the grayscale images, and calibrating the screen brightness according to the grayscale value of each of the grayscale images and the brightness value, so that the grayscale image can be quickly generated, and the time for measuring the grayscale image can be shortened, so that the screen brightness can be quickly calibrated, and the screen brightness calibration efficiency in the actual production and research and development process can be effectively improved.

Description

Screen brightness calibration method, device, medium and electronic equipment
Technical Field
The disclosure relates to the technical field of display, and in particular relates to a screen brightness calibration method, a device, a medium and electronic equipment.
Background
The screen is widely applied to devices such as computers, smart phones, televisions, tablet computers, game machines and the like, and along with the continuous development and innovation of screen technology, the requirements of people on screen display effects are higher and higher. The brightness of the screen is a particularly important feature of the display characteristics of the screen, and can be calibrated according to the gray value and the brightness value of the gray image. However, in the actual production line and the research and development process, the gray level images required to be measured for calibrating the screen brightness are more, and the time is longer.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method, an apparatus, a medium and an electronic device for calibrating screen brightness.
According to a first aspect of embodiments of the present disclosure, there is provided a screen brightness calibration method, the method including:
Responding to the received target gray scale number designated by the user, and constructing a target blank window;
Generating gray images with different gray values of the target gray number by changing the background color of the blank window according to the target gray number;
acquiring a brightness value corresponding to each gray level image;
And calibrating the screen brightness according to the gray value and the brightness value of each gray image.
Optionally, said calibrating the screen brightness according to the gray value and the brightness value of each of the gray images includes:
determining a gamma curve of the screen according to the gray value and the brightness value of each gray image;
and calibrating the brightness of the screen according to the gamma curve of the screen.
Optionally, the calibrating the screen brightness according to the gamma curve of the screen includes:
Under the condition that the screen brightness display is abnormal according to the gamma curve of the screen, determining the standard screen brightness corresponding to each gray value according to the standard gamma curve;
For a gray image corresponding to each gray value, increasing a supply voltage or a supply current of the screen under the condition that the screen brightness is determined to be lower than the standard screen brightness;
in the case where it is determined that the screen brightness is higher than the standard screen brightness, the supply voltage or supply current of the screen is reduced.
Optionally, the determining that the screen brightness displays abnormal according to the gamma curve of the screen includes:
Acquiring a preset standard gamma curve;
And determining that the screen brightness display is abnormal in the condition that the standard gamma curve is not matched with the gamma curve of the screen.
Optionally, the generating the gray scale image of the target gray scale number with different gray scale values by changing the background color of the blank window according to the target gray scale number includes:
determining a plurality of different gray values of the target gray scale number according to the target gray scale number;
and generating gray images corresponding to each gray value by changing the background color of the blank window so as to obtain the gray images with different gray values of the target gray scale number.
Optionally, the determining the target gray scale number of different gray scale values according to the target gray scale number includes:
Acquiring a preset gray lower limit value and a preset gray upper limit value;
Dividing the gray scale interval corresponding to the gray scale lower limit value and the gray scale upper limit value into a plurality of gray scale subintervals of the target gray scale number;
And determining different gray values of the target gray scale number according to the gray scale subintervals of the target gray scale number.
Optionally, the determining the target gray scale number of different gray scale values according to the target gray scale number of gray scale subintervals includes:
and determining a gray value from each gray subinterval to obtain the target gray number of different gray values corresponding to the target gray number of different gray subintervals.
According to a second aspect of embodiments of the present disclosure, there is provided a screen brightness calibration device, the device comprising:
The response module is configured to respond to the received target gray scale number designated by the user to construct a target blank window;
a generation module configured to generate a gray image of the target gray number of different gray values by changing a background color of the blank window according to the target gray number;
The acquisition module is configured to acquire a brightness value corresponding to each gray image;
And a calibration module configured to calibrate screen brightness according to the gray value and the brightness value of each gray image.
Optionally, the calibration module is configured to:
determining a gamma curve of the screen according to the gray value and the brightness value of each gray image;
and calibrating the brightness of the screen according to the gamma curve of the screen.
Optionally, the calibration module is configured to:
Under the condition that the screen brightness display is abnormal according to the gamma curve of the screen, determining the standard screen brightness corresponding to each gray value according to the standard gamma curve;
For a gray image corresponding to each gray value, increasing a supply voltage or a supply current of the screen under the condition that the screen brightness is determined to be lower than the standard screen brightness;
in the case where it is determined that the screen brightness is higher than the standard screen brightness, the supply voltage or supply current of the screen is reduced.
Optionally, the calibration module is configured to:
Acquiring a preset standard gamma curve;
And determining that the screen brightness display is abnormal in the condition that the standard gamma curve is not matched with the gamma curve of the screen.
Optionally, the generating module is configured to:
determining a plurality of different gray values of the target gray scale number according to the target gray scale number;
and generating gray images corresponding to each gray value by changing the background color of the blank window so as to obtain the gray images with different gray values of the target gray scale number.
Optionally, the generating module is configured to:
Acquiring a preset gray lower limit value and a preset gray upper limit value;
Dividing the gray scale interval corresponding to the gray scale lower limit value and the gray scale upper limit value into a plurality of gray scale subintervals of the target gray scale number;
And determining different gray values of the target gray scale number according to the gray scale subintervals of the target gray scale number.
Optionally, the generating module is configured to:
and determining a gray value from each gray subinterval to obtain the target gray number of different gray values corresponding to the target gray number of different gray subintervals.
According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of the first aspect of embodiments of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
A memory having a computer program stored thereon;
A processor for executing the computer program in the memory to implement the steps of the method of the first aspect of the embodiments of the present disclosure.
According to the screen brightness calibration method, after the target gray scale number designated by the user is received, a blank window is constructed, gray images with different gray values of the target gray scale number are generated by changing the background color of the blank window according to the target gray scale number, the brightness value corresponding to each gray image is obtained, and the screen brightness is calibrated according to the gray value and the brightness value of each gray image. Therefore, gray images with different gray values of the target gray scale number are generated by changing the background color of the blank window, the gray images can be generated rapidly, and the time for measuring the gray images can be shortened, so that the screen brightness can be calibrated rapidly, and the screen brightness calibration efficiency in the actual production research and development process is improved effectively.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flowchart illustrating a screen brightness calibration method according to an exemplary embodiment;
FIG. 2 is a flow chart of a screen brightness calibration method according to the embodiment shown in FIG. 1;
FIG. 3 is a flow chart of a screen brightness calibration method according to the embodiment shown in FIG. 2;
FIG. 4 is a flow chart of a screen brightness calibration method according to the embodiment shown in FIG. 3;
FIG. 5 is a flow chart of another screen brightness calibration method according to the embodiment shown in FIG. 1;
FIG. 6 is a flow chart of a screen brightness calibration method according to the embodiment shown in FIG. 5;
FIG. 7 is a block diagram of a screen brightness calibration device according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating an apparatus for screen brightness calibration according to an exemplary embodiment;
fig. 9 is a block diagram illustrating a device for calibrating screen brightness according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, all actions for acquiring signals, information or data in the present disclosure are performed under the condition of conforming to the corresponding data protection rule policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
Before describing in detail the embodiments of the present disclosure, the following description is first made of an application scenario of the present disclosure, which may be applied to a scenario of calibrating screen brightness display. The brightness of the screen is a particularly important feature of the display characteristics of the screen, and can be calibrated according to the gray value and the brightness value of the gray image. The gray image is generated in the related art by determining a number of different gray values of a target gray level according to a number of designated target gray levels, generating a number of new windows of the target gray level according to the number of designated target gray levels, and generating a gray image of a number of different gray levels according to the number of different gray values of the target gray level and the number of new windows of the target gray level. In this way, the target number of gray-scale images are generated by generating the target number of new frames, resulting in a longer time-consuming process of generating the target number of gray-scale images. In the actual production line and the research and development process, the gray level images required to be measured for calibrating the screen brightness are more, and the method for generating the gray level images in the prior art is time-consuming for calibrating the screen brightness, which can result in low screen calibration efficiency in the actual production and research and development process.
In order to solve the above technical problems, the present disclosure provides a screen brightness calibration method, after receiving a target gray scale number specified by a user, constructing a blank window, generating gray scale images of different gray scale values of the target gray scale number by changing background colors of the blank window according to the target gray scale number, obtaining brightness values corresponding to each gray scale image, and calibrating screen brightness according to the gray scale value and the brightness value of each gray scale image. Therefore, gray images with different gray values of the target gray scale number are generated by changing the background color of the blank window, the gray images can be generated rapidly, and the time for measuring the gray images can be shortened, so that the screen brightness can be calibrated rapidly, and the screen brightness calibration efficiency in the actual production research and development process is improved effectively.
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a screen brightness calibration method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 1, and includes the following steps.
Step 101, in response to receiving the target gray scale number specified by the user, constructing a target blank window.
The target gray-scale number can be understood as the number of images of different gray-scale levels.
In this step, after receiving an instruction of designating the target gray-scale number from the user, a blank window is constructed on the image refreshing interface, and the blank window is used as a target blank window to be used, where the target blank window may be understood as a window without any control and display content.
Step 102, generating gray images with different gray values of the target gray number by changing the background color of the blank window according to the target gray number.
Wherein the gray scale image comprises an image of a plurality of different gray scale levels, each gray scale level may comprise one or more gray scale values.
In this step, the number of different gray values of the target gray level is determined according to the number of the target gray level, and a gray image corresponding to each gray value is generated by changing the background color of the blank window, so as to obtain the gray image of the number of different gray values of the target gray level.
And step 103, acquiring a brightness value corresponding to each gray level image.
The brightness value can be measured by a preset brightness detection device, for example, the brightness value of the corresponding gray level image can be acquired by a color brightness detection probe in the process of refreshing a screen to generate different gray level images.
And step 104, calibrating the screen brightness according to the gray value and the brightness value of each gray image.
In this step, the luminance value corresponding to the gray-scale image represents the screen luminance corresponding to the gray-scale image, that is, each gray-scale image may exhibit different display effects at different luminances, so that whether the screen luminance is abnormal or not may be determined by the luminance value of each gray-scale image. In the case where the screen luminance value corresponding to the gray-scale image does not match the standard screen luminance value corresponding to the gray-scale image (including over-bright, over-dark, etc.), it is possible to determine that the screen luminance corresponding to the gray-scale image is abnormal in display. When the screen brightness corresponding to the gray image is determined to be abnormal, the brightness value corresponding to the gray image can be adjusted according to the brightness value corresponding to the gray image and the standard screen brightness value corresponding to the gray image, the screen brightness corresponding to the gray image can be calibrated by adjusting the power supply voltage or the power supply current of the screen, and the screen brightness corresponding to each gray image can be calibrated according to the screen brightness value corresponding to each gray image and the standard screen brightness value corresponding to each gray image.
According to the technical scheme, the gray level images with different gray level values of the target gray level number are generated by changing the background color of the blank window, the gray level images can be generated rapidly, and further the time for measuring the gray level images can be shortened, so that the screen brightness can be calibrated rapidly, and the screen brightness calibration efficiency in the actual production research and development process can be improved effectively.
Fig. 2 is a method for calibrating screen brightness according to the embodiment shown in fig. 1, and as shown in fig. 2, the calibrating screen brightness according to the gray value and the brightness value of each gray image in step 104 in fig. 1 may include:
Step 1041, determining a gamma curve of the screen according to the gray value and the brightness value of each gray image.
Wherein the gamma curve of a screen may reflect the brightness display effect of the screen.
In this step, the gray value of the gray image is taken as the abscissa, the brightness value corresponding to the gray image is taken as the ordinate, a rectangular coordinate system is established, the gray value and the brightness value of one gray image correspond to one point in the rectangular coordinate system, and the points corresponding to the target gray number of the gray images are connected, so that an initial gamma curve can be drawn. Using curve fitting methods, such as least squares, etc., to approximate the fitted curve to the original gamma curve, a more accurate and continuous gamma curve of the screen may be obtained.
Step 1042, calibrating the screen brightness according to the gamma curve of the screen.
In this step, a preset standard gamma curve may be obtained, where the standard gamma curve includes standard screen brightness corresponding to each gray value. In a screen display, a backlight unit is present, and the brightness of the screen can be adjusted by changing the voltage or current of the backlight unit. From the gamma curve of the screen, a voltage value or a current value of a backlight unit of the screen may be determined. By adjusting the backlight voltage value or the current value of the screen, the actual display brightness of the gamma curve of the screen is as close as possible to the standard screen brightness of the standard gamma curve.
FIG. 3 is a flowchart of a method for calibrating screen brightness according to the embodiment shown in FIG. 2. As shown in FIG. 3, the calibrating screen brightness according to the gamma curve of the screen shown in step 1042 in FIG. 2 may include:
s1, determining standard screen brightness corresponding to each gray value according to a standard gamma curve under the condition that the screen brightness is determined to be abnormal according to the gamma curve of the screen.
The gamma curve of the screen comprises the screen brightness corresponding to each gray value, and the standard gamma curve comprises the standard screen brightness corresponding to each gray value.
S2, for the gray level image corresponding to each gray level value, increasing the power supply voltage or power supply current of the screen under the condition that the screen brightness is determined to be lower than the standard screen brightness.
In this step, according to the gamma curve of the screen, the screen brightness corresponding to the gray image is obtained, according to the standard gamma curve, the standard screen brightness corresponding to the gray image is obtained, and under the condition that the screen brightness is determined to be lower than the standard screen brightness, the screen display brightness is increased by increasing the power supply voltage or the power supply current of the backlight unit in the screen display.
S3, reducing the power supply voltage or the power supply current of the screen under the condition that the screen brightness is higher than the standard screen brightness according to the gray level image corresponding to each gray level value.
In this step, according to the gamma curve of the screen, the screen brightness corresponding to the gray image is obtained, according to the standard gamma curve, the standard screen brightness corresponding to the gray image is obtained, and under the condition that the screen brightness is higher than the standard screen brightness, the screen display brightness is reduced by reducing the power supply voltage or the power supply current of the backlight unit in the screen display.
According to the technical scheme, the screen display brightness can be adjusted by adjusting the voltage or the current of the backlight unit in the screen display, so that the screen brightness can be effectively calibrated, and the display effect of the screen can be effectively improved.
Fig. 4 is a flowchart of a screen brightness calibration method according to the embodiment shown in fig. 3, and as shown in fig. 4, determining that the screen brightness is abnormal according to the gamma curve of the screen in step S1 in fig. 3 may include:
s11, acquiring a preset standard gamma curve.
The standard gamma curve is a preset value in a screen factory or industry standard document.
Illustratively, gamma curves for most televisions and computer displays generally conform to a gamma=2.2 distribution, and gamma curves for some professional graphics and image processing applications conform to a gamma=2.4 distribution.
S12, determining that the screen brightness display is abnormal under the condition that the standard gamma curve is not matched with the gamma curve of the screen.
In this step, the brightness values of the corresponding gray values in the standard gamma curve and the gamma curve of the screen are compared, and a difference value between the brightness value corresponding to the gray value in the standard gamma curve and the brightness value corresponding to the gray value in the gamma curve of the screen is calculated, where the difference value may be an absolute value or a percentage. When the difference value exceeds a preset value, it may be determined that the screen brightness is abnormal.
For example, the preset value is 0.05 or 5%, the standard gamma curve is at 253 in gray level, the corresponding brightness value is 0.8, the gamma curve of the screen is at 253 in gray level, the corresponding brightness value is 0.6, the difference value is 0.2 or 75% through calculation, and at this time, the difference value is larger than the preset value, so that abnormal display of the screen can be determined.
According to the technical scheme, the abnormal display of the screen brightness can be determined by comparing the standard gamma curve with the gamma curve of the screen, and a basis is provided for the subsequent calibration of the screen brightness.
Fig. 5 is a flowchart of another method for calibrating screen brightness according to the embodiment shown in fig. 1, where, as shown in fig. 5, generating a gray-scale image of the target gray-scale number of different gray-scale values by changing the background color of the blank frame according to the target gray-scale number in step 102 in fig. 1 may include:
Step 1021, determining a number of different gray values of the target gray level number according to the target gray level number.
In this step, a preset gray lower limit value and a gray upper limit value are obtained, a gray interval corresponding to the gray lower limit value and the gray upper limit value is divided into a target gray number of gray subintervals, and the target gray number of different gray values are determined according to the target gray number of gray subintervals. And determining a gray value from each gray subinterval to obtain the target gray number of different gray values corresponding to the target gray number of different gray subintervals.
Step 1022, generating a gray level image corresponding to each gray level value by changing the background color of the blank window, so as to obtain the gray level images with different gray level values of the target gray level number.
Wherein the gray scale image comprises a plurality of images of different gray scale values.
In this step, the background color of the blank window may be set to a specified gray value, so as to generate a gray image corresponding to the specified gray value. And setting the values of the background colors of the blank window as the target gray-scale number of different gray-scale values in sequence, so that gray-scale images with the target gray-scale number of different gray-scale values can be obtained.
According to the technical scheme, the gray level image corresponding to each gray level value is generated by changing the background color of the blank window, so that the gray level image can be quickly generated, and the time for measuring the gray level image can be effectively shortened.
Fig. 6 is a flowchart of a screen brightness calibration method according to the embodiment shown in fig. 5, and as shown in fig. 6, the determining the target gray-scale number of different gray-scale values according to the target gray-scale number in step 1021 in fig. 5 may include:
S21, acquiring a preset gray lower limit value and a preset gray upper limit value.
In this step, the preset gray-level lower limit value is generally 0, the gray-level upper limit value is 255, or the gray-level upper limit value may be represented by a floating point number, and the preset gray-level lower limit value is generally 0.0, and the gray-level upper limit value is generally 1.0.
S22, dividing the gray scale interval corresponding to the gray scale lower limit value and the gray scale upper limit value into a target gray scale number of gray scale subintervals.
For example, the target number of gray scales is 128, the preset gray scale lower limit value is 0, the gray scale upper limit value is 255, the gray scale sub-intervals are divided into 128 gray scale sub-intervals, the group spacing of the gray scale sub-intervals is 2, and at this time, the gray scale sub-intervals are [0,1], [2,3], [4,5], [6,7], [254,255]. The target number of gray scales is 16, the preset gray scale lower limit value is 0, the gray scale upper limit value is 255, the gray scale sub-intervals are divided into 16 gray scale sub-intervals, the group distance of the gray scale sub-intervals is 17, and the gray scale sub-intervals are [0,16], [17,33], [34,50], [239,255].
S23, determining different gray values of the target gray scale number according to the gray scale subintervals of the target gray scale number.
In this step, a gray value is determined from each gray subinterval to obtain the target gray number of different gray values corresponding to the target gray number of different gray subintervals.
One possible implementation of this step is to determine a gray value from each gray subinterval and determine the smallest gray value in each gray subinterval as the target gray value.
For example, when the target number of gray levels is 128, the gray sub-intervals are respectively [0,1], [2,3], [4,5], [6,7], [254,255] in order, and the minimum gray value in each gray sub-interval is determined as the target gray value, it can be determined that the target number of different gray values are respectively 0,2,4,6 in order. When the target gray scale number is 16, the gray scale subintervals are [0,16], [17,33], [34,50]. The number of the gray scale subintervals is [239,255] in sequence, the minimum gray scale value in each gray scale subinterval is determined to be the target gray scale value, and the target gray scale number of different gray scale values can be determined to be 0,17,34 in sequence.
Another possible implementation of this step is to determine a gray value from each gray subinterval and determine the maximum gray value in each gray subinterval as the target gray value.
For example, when the target number of gray levels is 128, the gray sub-intervals are respectively [0,1], [2,3], [4,5], [6,7], [254,255] in order, and the maximum gray value in each gray sub-interval is determined as the target gray value, and it can be determined that the target number of different gray values are respectively 1,3,5,7 in order. When the target gray scale number is 16, the gray scale subintervals are [0,16], [17,33], [34,50]. The number of the gray scales is [239,255] in sequence, the maximum gray scale value in each gray scale subinterval is determined to be the target gray scale value, and the target gray scale number of different gray scale values can be determined to be 16,33,50 in sequence.
Fig. 7 is a block diagram illustrating a screen brightness calibration device according to an exemplary embodiment. Referring to fig. 7, the apparatus includes a response module 701, a generation module 702, an acquisition module 703, and a calibration module 704.
The response module 701 is configured to construct a target blank form in response to receiving a user specified target number of gray levels.
The generating module 702 is configured to generate a gray image of the target gray number of different gray values by changing a background color of the blank frame according to the target gray number.
The acquisition module 703 is configured to acquire a luminance value corresponding to each of the grayscale images.
The calibration module 704 is configured to calibrate the screen brightness based on the gray value and the brightness value of each of the gray images.
According to the technical scheme, after the target gray level number designated by the user is received, a blank window is constructed, gray images with different gray levels of the target gray level number are generated by changing the background color of the blank window according to the target gray level number, the brightness value corresponding to each gray image is obtained, and the screen brightness is calibrated according to the gray value and the brightness value of each gray image. Therefore, gray images with different gray values of the target gray scale number are generated by changing the background color of the blank window, the gray images can be generated rapidly, and the time for measuring the gray images can be shortened, so that the screen brightness can be calibrated rapidly, and the screen brightness calibration efficiency in the actual production research and development process is improved effectively.
Optionally, the calibration module 704 is configured to:
determining a gamma curve of the screen according to the gray value and the brightness value of each gray image;
and calibrating the brightness of the screen according to the gamma curve of the screen.
Optionally, the calibration module 704 is configured to:
Under the condition that the screen brightness display is abnormal according to the gamma curve of the screen, determining that each gray value corresponds to the preset standard screen brightness according to the standard gamma curve;
For a gray image corresponding to each gray value, increasing a supply voltage or a supply current of the screen under the condition that the screen brightness is determined to be lower than the standard screen brightness;
And reducing the power supply voltage or the power supply current of the screen under the condition that the screen brightness is higher than the standard screen brightness according to the gray image corresponding to each gray value.
Optionally, the calibration module 704 is configured to:
Acquiring a preset standard gamma curve;
And determining that the screen brightness display is abnormal in the condition that the standard gamma curve is not matched with the gamma curve of the screen.
Optionally, the generating module 702 is configured to:
determining a plurality of different gray values of the target gray scale number according to the target gray scale number;
and generating gray images corresponding to each gray value by changing the background color of the blank window so as to obtain the gray images with different gray values of the target gray scale number.
Optionally, the generating module 702 is configured to:
Acquiring a preset gray lower limit value and a preset gray upper limit value;
Dividing the gray scale interval corresponding to the gray scale lower limit value and the gray scale upper limit value into a plurality of gray scale subintervals of the target gray scale number;
And determining different gray values of the target gray scale number according to the gray scale subintervals of the target gray scale number.
Optionally, the generating module 702 is configured to:
and determining a gray value from each gray subinterval to obtain the target gray number of different gray values corresponding to the target gray number of different gray subintervals.
Through above-mentioned technical scheme, the screen brightness calibrating device that this disclosure provided, through changing the background colour of blank window body generates the grey scale image of the different grey scale values of target grey scale quantity, can produce grey scale image fast, and then can shorten the time of measuring grey scale image to can calibrate screen brightness fast, effectively improve the efficiency of actual production research and development.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the screen brightness calibration method provided by the present disclosure.
Fig. 8 is a block diagram illustrating an apparatus 800 for calibrating screen brightness according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to FIG. 8, the apparatus 800 may include one or more of a first processing component 802, a first memory 804, a first power component 806, a multimedia component 808, an audio component 810, a first input/output interface 812, a sensor component 814, and a communication component 816.
The first processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The first processing component 802 may include one or more first processors 820 to execute instructions to perform all or part of the steps of the screen brightness calibration method described above. Further, the first processing component 802 may include one or more modules that facilitate interactions between the first processing component 802 and other components. For example, the first processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the first processing component 802.
The first memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The first memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The first power supply component 806 provides power to the various components of the device 800. The first power supply component 806 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the first memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The first input/output interface 812 provides an interface between the first processing component 802 and a peripheral interface module, which may be a keyboard, click wheel, button, or the like. These buttons may include, but are not limited to, a home button, a volume button, an activate button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the screen brightness calibration method described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as first memory 804, comprising instructions executable by first processor 820 of apparatus 800 to perform the screen brightness calibration method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
The apparatus may be a stand-alone electronic device or a portion of a stand-alone electronic device, such as, in one embodiment, an integrated Circuit (INTEGRATED CIRCUIT, IC) or a Chip, where the integrated Circuit may be an IC or a collection of ICs, where the Chip may include, but is not limited to, a GPU (Graphics Processing Unit, a graphics Processor), a CPU (Central Processing Unit, a central processing unit), an FPGA (Field Programmable GATE ARRAY, a programmable logic array), a DSP (DIGITAL SIGNAL Processor, a digital signal Processor), an ASIC (Application SPECIFIC INTEGRATED Circuit), a SOC (System on Chip, SOC, system on Chip), or a System on Chip), etc. The integrated circuit or chip may be configured to execute executable instructions (or code) to implement the screen brightness calibration method described above. The executable instructions may be stored on the integrated circuit or chip or may be retrieved from another device or apparatus, such as the integrated circuit or chip including a processor, memory, and interface for communicating with other devices. The executable instructions may be stored in the memory, which when executed by the processor, implement the screen brightness calibration method described above, or the integrated circuit or chip may receive the executable instructions through the interface and transmit them to the processor for execution, to implement the screen brightness calibration method described above.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned screen brightness calibration method when executed by the programmable apparatus.
Fig. 9 is a block diagram illustrating an apparatus 900 for calibrating screen brightness according to an exemplary embodiment. For example, apparatus 900 may be provided as a server. Referring to fig. 9, the apparatus 900 includes a second processing component 922 that further includes one or more processors, and memory resources represented by a second memory 932, for storing instructions, such as applications, executable by the second processing component 922. The application programs stored in the second memory 932 may include one or more modules each corresponding to a set of instructions. In addition, the second processing component 922 is configured to execute instructions to perform the screen brightness calibration method described above.
The apparatus 900 may also include a second power supply component 926 configured to perform power management of the apparatus 900, a wired or wireless network interface 950 configured to connect the apparatus 900 to a network, and a second input/output interface 958. The apparatus 900 may operate based on an operating system stored in the memory 932, such as a Windows Server TM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for calibrating screen brightness, the method comprising:
Responding to the received target gray scale number designated by the user, and constructing a target blank window;
Generating gray images with different gray values of the target gray number by changing the background color of the blank window according to the target gray number;
acquiring a brightness value corresponding to each gray level image;
And calibrating the screen brightness according to the gray value and the brightness value of each gray image.
2. The method of claim 1, wherein said calibrating screen brightness based on the gray value and the brightness value of each of the gray images comprises:
determining a gamma curve of the screen according to the gray value and the brightness value of each gray image;
and calibrating the brightness of the screen according to the gamma curve of the screen.
3. The method of claim 2, wherein calibrating the screen brightness according to the gamma curve of the screen comprises:
Under the condition that the screen brightness display is abnormal according to the gamma curve of the screen, determining the standard screen brightness corresponding to each gray value according to the standard gamma curve;
For a gray image corresponding to each gray value, increasing a supply voltage or a supply current of the screen under the condition that the screen brightness is determined to be lower than the standard screen brightness;
in the case where it is determined that the screen brightness is higher than the standard screen brightness, the supply voltage or supply current of the screen is reduced.
4. A method according to claim 3, wherein said determining said screen brightness display anomaly from a gamma curve of said screen comprises:
Acquiring a preset standard gamma curve;
And determining that the screen brightness display is abnormal in the condition that the standard gamma curve is not matched with the gamma curve of the screen.
5. The method of claim 1, wherein the generating a gray image of the target gray number of different gray values by changing a background color of the blank frame according to the target gray number comprises:
determining a plurality of different gray values of the target gray scale number according to the target gray scale number;
and generating gray images corresponding to each gray value by changing the background color of the blank window so as to obtain the gray images with different gray values of the target gray scale number.
6. The method of claim 5, wherein said determining said target number of gray levels to different gray values from said target number of gray levels comprises:
Acquiring a preset gray lower limit value and a preset gray upper limit value;
Dividing the gray scale interval corresponding to the gray scale lower limit value and the gray scale upper limit value into a plurality of gray scale subintervals of the target gray scale number;
And determining different gray values of the target gray scale number according to the gray scale subintervals of the target gray scale number.
7. The method of claim 6, wherein the determining the target number of different gray values from the target number of gray subintervals comprises:
and determining a gray value from each gray subinterval to obtain the target gray number of different gray values corresponding to the target gray number of different gray subintervals.
8. A screen brightness calibration apparatus, the apparatus comprising:
The response module is configured to respond to the received target gray scale number designated by the user to construct a target blank window;
a generation module configured to generate a gray image of the target gray number of different gray values by changing a background color of the blank window according to the target gray number;
The acquisition module is configured to acquire a brightness value corresponding to each gray image;
And a calibration module configured to calibrate screen brightness according to the gray value and the brightness value of each gray image.
9. A non-transitory computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1 to 7.
10. An electronic device, comprising:
A memory having a computer program stored thereon;
A processor for executing the computer program in the memory to implement the steps of the method of any one of claims 1-7.
CN202311786768.1A 2023-12-22 2023-12-22 Screen brightness calibration method, device, medium and electronic equipment Pending CN120199203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311786768.1A CN120199203A (en) 2023-12-22 2023-12-22 Screen brightness calibration method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311786768.1A CN120199203A (en) 2023-12-22 2023-12-22 Screen brightness calibration method, device, medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN120199203A true CN120199203A (en) 2025-06-24

Family

ID=96063798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311786768.1A Pending CN120199203A (en) 2023-12-22 2023-12-22 Screen brightness calibration method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN120199203A (en)

Similar Documents

Publication Publication Date Title
EP3131087B1 (en) Method and device for reducing display brightness
CN112449026B (en) An ambient light compensation method, device, terminal and storage medium
US11062640B2 (en) Screen display method and screen display device
US11846676B2 (en) Method and apparatus for predicting remaining charging time and storage medium
EP3379524A1 (en) View angle switching method and apparatus
US20170092213A1 (en) Method and device for adjusting liquid crystal display
CN107808626B (en) Method and device for adjusting color temperature of display screen and computer readable storage medium
CN111131596B (en) Screen brightness adjustment method and device
US10827156B2 (en) Light filling method and apparatus for photographing environment, and computer-readable storage medium
CN112781832A (en) Method, apparatus, device and medium for determining ambient light for terminal device
CN116363985A (en) Color calibration method, device, electronic device and storage medium
CN120199203A (en) Screen brightness calibration method, device, medium and electronic equipment
CN117636771A (en) Screen adjustment method, device and storage medium
CN111383608A (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN111383568A (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN116362980A (en) Image data compensation method, device, terminal and storage medium
CN112884813A (en) Image processing method, device and storage medium
CN115810331B (en) Method, device and storage medium for calibrating OLED display screen
CN115909989B (en) Screen color temperature control method, device and medium
CN115482757B (en) Optical signal compensation method and device, mobile terminal and storage medium
CN119541405A (en) Image processing method, device, electronic device and readable storage medium
CN111351989B (en) Method and device for measuring machine loss value
CN107783465A (en) Glass display processing method, device and storage medium
CN119935500A (en) Display screen detection method, device, display screen, electronic equipment and medium
CN106713658B (en) Light source adjustment method and device

Legal Events

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