CN115938269A - Display brightness correction method, system and device and electronic equipment - Google Patents

Display brightness correction method, system and device and electronic equipment Download PDF

Info

Publication number
CN115938269A
CN115938269A CN202211649876.XA CN202211649876A CN115938269A CN 115938269 A CN115938269 A CN 115938269A CN 202211649876 A CN202211649876 A CN 202211649876A CN 115938269 A CN115938269 A CN 115938269A
Authority
CN
China
Prior art keywords
display
gray scale
display unit
brightness
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211649876.XA
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202211649876.XA priority Critical patent/CN115938269A/en
Publication of CN115938269A publication Critical patent/CN115938269A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application provides a method, a system and a device for correcting the brightness of a display and electronic equipment, and relates to the technical field of display, wherein the method comprises the following steps: acquiring display brightness of each display unit in the target display when the display units are respectively in a plurality of target display gray scales; for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relationship between expected brightness and the theoretical gray scale; establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in the plurality of display brightnesses and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation; and determining a target display gray scale mapped by the to-be-displayed gray scale of the display unit based on the mapping relation, and controlling the display unit to display the brightness of the determined target display gray scale. The scheme can solve the problem of uneven brightness of the display.

Description

Display brightness correction method, system and device and electronic equipment
Technical Field
The present disclosure relates to the field of display technologies, and in particular, to a method, a system, a device, and an electronic apparatus for correcting brightness of a display.
Background
At present, displays, such as LCD (Liquid Crystal Display), LED, OLED (Organic Light Emitting diode Display), and the like, are widely used in various fields.
Due to the limitation of the production process, the problem of uneven brightness of the display in different degrees can occur after the display is produced, and the problem of uneven brightness of the display seriously affects the visual experience of human eyes, so how to ensure the even brightness of the display is a problem to be solved urgently.
Disclosure of Invention
An embodiment of the present invention provides a method, a system, a device and an electronic apparatus for correcting brightness of a display, so as to solve the problem of non-uniform brightness of the display. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for correcting brightness of a display, where the method includes:
acquiring display brightness when each display unit in the target display is respectively positioned at a plurality of target display gray scales;
for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relationship between expected brightness and the theoretical gray scale;
aiming at each display unit, establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is as follows: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located;
before any display unit in the target display displays, determining a target display gray scale mapped by a gray scale to be displayed of the display unit based on the mapping relation of the display unit, and controlling the display unit to display the brightness of the determined target display gray scale.
Optionally, the determining a mapping relationship between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relationship includes:
determining the second corresponding relation as a mapping relation between the theoretical gray scale and the target display gray scale of the display unit under the condition that the target display gray scales are all configured gray scales of the target display; alternatively, the first and second liquid crystal display panels may be,
and fitting a conversion relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation under the condition that the target display gray scales are part of all gray scales which can be configured by the target display, so as to obtain the conversion relation between the theoretical gray scale and the target display gray scale of the display unit, and using the conversion relation as a mapping relation between the theoretical gray scale and the target display gray scale of the display unit.
Optionally, the performing conversion relationship fitting on the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relationship to obtain a conversion relationship between the theoretical gray scale and the target display gray scale of the display unit includes:
aiming at two adjacent target display gray scales in the plurality of target display gray scales, determining a fitting point corresponding to each target display gray scale; the fitting point corresponding to each target display gray scale comprises the target display gray scale and a theoretical gray scale corresponding to the target display gray scale in the second corresponding relation; and performing linear fitting by using fitting points corresponding to the two target display gray scales to obtain a linear conversion relation between the theoretical gray scale and the target display gray scale of the display unit in the range of the two target display gray scales.
Optionally, the obtaining the display brightness of each display unit in the target display when the display unit is respectively in the plurality of target display gray scales includes:
acquiring image data of an image displayed when each display unit in the target display is respectively positioned at a plurality of target display gray scales;
for each target display gray scale, determining the display brightness of each display unit when the display unit is in the target display gray scale based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale;
the image data corresponding to each target display gray scale is the image data collected when each display unit is in the target display gray scale, and the pixel point corresponding to each display unit is the pixel point generated aiming at the display unit in the image data.
Optionally, before determining, for each target display gray scale, the display brightness of each display unit at the target display gray scale based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale, the method further includes:
acquiring brightness acquired by brightness acquisition equipment when a specified display unit in the target display is positioned at the plurality of target display gray scales as acquired brightness;
for each target display gray scale, determining a conversion relation between pixel values and brightness based on the pixel values of the corresponding pixel points when the appointed display unit is in the target display gray scale and the acquired brightness when the appointed display unit is in the target display gray scale;
the determining the display brightness of each display unit when the display unit is in the target display gray scale based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale includes:
and converting the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale into brightness based on the determined conversion relation between the pixel value and the brightness, wherein the pixel value is used as the display brightness when each display unit is in the target display gray scale.
Optionally, the determining a conversion relationship between the pixel value and the brightness based on the pixel value of the pixel point corresponding to the designated display unit in the target display gray scale and the collected brightness of the designated display unit in the target display gray scale includes:
and calculating the proportional relation between the pixel value of the pixel point corresponding to the appointed display unit in the target display gray scale and the acquired brightness of the appointed display unit in the target display gray scale as the conversion relation between the pixel value and the brightness.
Optionally, before the determining, for each display unit, a theoretical gray scale corresponding to each of a plurality of display luminances of the display unit based on a first corresponding relationship between expected luminance and the theoretical gray scale, the method further includes:
and aiming at each target display gray scale, correcting the display brightness of each display unit in the target display when the display unit is in the target display gray scale by utilizing brightness acquisition equipment aiming at the acquired brightness acquired when the appointed display unit in the target display is in the target display gray scale.
Optionally, the modifying, by using the brightness acquiring device, the display brightness of each display unit in the target display when the display unit is in the target display gray scale with respect to the acquired brightness when the designated display unit in the target display is in the target display gray scale includes:
calculating the difference value between the acquired brightness acquired by the brightness acquisition equipment aiming at the appointed display unit and the acquired display brightness when the appointed display unit is in the target display gray scale;
and correcting the display brightness of each display unit in the target display when the target display gray scale is displayed by using the calculated brightness difference.
Optionally, the first corresponding relationship is a relationship characterized by a gamma curve.
Optionally, each display unit is a single color display unit;
the determining, for each display unit, a theoretical gray scale corresponding to each display brightness of a plurality of display brightnesses of the display unit based on a first correspondence between expected brightness and the theoretical gray scale includes:
for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first expected corresponding relationship between the brightness and the theoretical gray scale for the display unit;
wherein, the first corresponding relation aiming at each display unit is as follows: the color temperature is preset according to the color temperature requirement aiming at the color displayed by the single display unit.
In a second aspect, an embodiment of the present application provides a display brightness correction system, including:
the target display is used for controlling the display brightness of each display unit when the display units respectively display the target display gray scales;
the processing equipment is used for acquiring the display brightness of each display unit in the target display when the display units are respectively positioned at a plurality of target display gray scales; for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relationship between expected brightness and the theoretical gray scale; aiming at each display unit, establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is as follows: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located; sending the determined mapping relation of each display unit to the target display;
the target display is further configured to receive the mapping relationship of each display unit, determine a target display gray scale mapped by a to-be-displayed gray scale of the display unit based on the mapping relationship of the display unit before any display unit displays the target display gray scale, and control the display unit to display the brightness of the determined target display gray scale.
Optionally, the system further comprises:
the image acquisition equipment is used for acquiring image data of images displayed when each display unit in the target display is respectively positioned at a plurality of target display gray scales and sending the acquired image data to the processing equipment;
the processing device is specifically configured to receive the image data acquired by the image acquisition device, and determine, for each target display gray scale, display brightness of each display unit when the display unit is in the target display gray scale based on a pixel value of a pixel point corresponding to each display unit in the image data corresponding to the target display gray scale; the image data corresponding to each target display gray scale is image data acquired when each display unit is in the target display gray scale, and the pixel point corresponding to each display unit is a pixel point generated by the display unit in the image data.
Optionally, the system further comprises:
the brightness acquisition equipment is used for acquiring the brightness of a specified display unit in the target display when the specified display unit is in the target display gray scales, taking the brightness as the acquired brightness, and sending the acquired brightness to the processing equipment;
the processing device is specifically configured to receive the acquired brightness acquired by the brightness acquisition device, and determine, for each target display gray scale, a conversion relationship between a pixel value and brightness based on a pixel value of a pixel point corresponding to the designated display unit when the designated display unit is in the target display gray scale and the acquired brightness of the designated display unit when the designated display unit is in the target display gray scale; and converting the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale into brightness based on the determined conversion relation between the pixel value and the brightness, wherein the pixel value is used as the display brightness of each display unit when the display unit is in the target display gray scale.
In a third aspect, an embodiment of the present application provides a display brightness correction apparatus, including:
the acquisition module is used for acquiring the display brightness of each display unit in the target display when the display units are respectively positioned at a plurality of target display gray scales;
the theoretical gray scale determining module is used for determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relation between expected brightness and the theoretical gray scale;
the mapping relation determining module is used for establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness aiming at each display unit; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is as follows: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located;
and the control module is used for determining a target display gray scale mapped by the gray scale to be displayed of the display unit based on the mapping relation of the display unit before any display unit in the target display displays the target display gray scale, and controlling the display unit to display the brightness of the determined target display gray scale.
In a fourth aspect, an embodiment of the present application provides an electronic device, including:
a memory for storing a computer program;
and the processor is used for realizing any one of the display brightness correction methods when executing the program stored in the memory.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any one of the above display luminance correction methods.
The embodiment of the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any one of the above display brightness correction methods.
The embodiment of the application has the following beneficial effects:
according to the display brightness correction method provided by the embodiment of the application, the display brightness when each display unit in a target display is respectively positioned at a plurality of target display gray scales is obtained; for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relationship between expected brightness and the theoretical gray scale; aiming at each display unit, establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is as follows: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located; before any display unit in the target display displays, determining a target display gray scale mapped by a gray scale to be displayed of the display unit based on the mapping relation of the display unit, and controlling the display unit to display the brightness of the determined target display gray scale. It can be seen that in the present scheme, since the luminance corresponding to the theoretical gray scale is fixed, the theoretical gray scale corresponding to each display luminance in the plurality of display luminances of the display unit is determined, then the mapping relationship between the theoretical gray scale and the target display gray scale is determined according to the theoretical gray scale corresponding to each display luminance in the plurality of display luminances of the display unit and the target display gray scale associated with each display luminance, and before any display unit in the target display displays, the gray scales to be displayed are mapped to the target display gray scale according to the determined mapping relationship, so that the luminances displayed when the gray scales to be displayed of the display units are the same, thereby ensuring the uniform luminance of the display. Furthermore, the scheme for processing each display unit is high in fineness, and the good effect of the display brightness correction method is guaranteed.
Of course, it is not necessary for any product or method of the present application to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and it is also obvious for a person skilled in the art to obtain other embodiments according to the drawings.
FIG. 1 is a flowchart illustrating a method for calibrating brightness of a display according to an embodiment of the present disclosure;
FIG. 2 is a graph showing the relationship between gray scale and brightness in the present embodiment;
FIG. 3 is a second flowchart illustrating a method for calibrating brightness of a display according to an embodiment of the present disclosure;
FIG. 4 is a third flowchart illustrating a method for calibrating brightness of a display according to an embodiment of the present disclosure;
fig. 5 is a schematic connection diagram of components involved in a display brightness correction method according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of system software executed by a computer in an embodiment of the present application;
FIG. 7 is a fourth flowchart illustrating a method for calibrating brightness of a display according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of a display luminance correction system according to an embodiment of the present disclosure;
FIG. 9 is a schematic structural diagram of a display luminance correction apparatus according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of protection of the present application.
In order to solve the problem of uneven brightness of a display, the embodiment of the application provides a method, a system, a device and an electronic device for correcting the brightness of the display. In a specific application, the display brightness correction method provided in the embodiments of the present application may be applied to various electronic devices, such as a personal computer, a server, a mobile phone, and other devices with data processing capability. Moreover, the display brightness correction method provided by the embodiment of the application can be realized in a software, hardware or software and hardware combination mode.
The following first describes a display brightness correction method provided by the present application, which may include:
acquiring display brightness of each display unit in the target display when the display units are respectively in a plurality of target display gray scales;
for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relation between expected brightness and the theoretical gray scale;
aiming at each display unit, establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located;
before any display unit in the target display displays, determining a target display gray scale mapped by a gray scale to be displayed of the display unit based on the mapping relation of the display unit, and controlling the display unit to display the brightness of the determined target display gray scale.
In this embodiment, since the luminance corresponding to the theoretical gray scale is fixed, the theoretical gray scale corresponding to each of the plurality of display luminances of the display unit is determined, the mapping relationship between the theoretical gray scale and the target display gray scale is determined according to the theoretical gray scale corresponding to each of the plurality of display luminances of the display unit and the target display gray scale associated with each display luminance, and the gray scales to be displayed are mapped to the target display gray scale according to the determined mapping relationship before any display unit in the target display displays, so that the luminances displayed when the gray scales to be displayed of the display units are the same can be ensured to be uniform. Furthermore, the scheme for processing each display unit is high in fineness, and the display brightness correction method has a good effect.
The following describes an exemplary method for correcting brightness of a display according to an embodiment of the present application with reference to the accompanying drawings.
As shown in fig. 1, the method for correcting brightness of a display provided in the embodiment of the present application may include the following steps:
s101, obtaining display brightness when each display unit in a target display is respectively in a plurality of target display gray scales;
the target display can be a display device such as an LCD, an OLED and the like; the display unit may be a pixel in the target display, and may also be a red sub-pixel, a green sub-pixel, or a blue sub-pixel in the pixel. In the case that the display unit is a pixel point in the target display, for any target display gray scale, the obtained display brightness of each display unit at the target display gray scale may be the overall brightness of the pixel point.
It can be understood that, for any display unit in the display, the target display gray scale is the gray scale that the target display is configured to display on the display unit, and for example, when the target display needs to display a gray scale image with a gray scale of 10, the target display needs to configure the gray scale that each display unit needs to display as 10. The display brightness of the display unit at any target display gray scale is the brightness actually displayed by the display unit after the target display configures the gray scale required to be displayed by the display unit to the target display gray scale. For the target display, the target display controls the brightness of the display units by controlling the gray scale required to be displayed by each display unit, but the target display cannot determine the brightness finally displayed by the display units. For example, when the gray scales to be displayed by the display units 1 and 2 are 10, but the display units 1 and 2 have different actual displayed luminances due to the process difference, for example, the display unit 1 is brighter than the display unit 2, and thus, the display has a problem of uneven luminance. In order to solve the problem of uneven brightness, in the embodiments of the present application, the display brightness of each display unit in the target display when the display unit is respectively in the plurality of target display gray scales may be obtained first.
The above manner of obtaining the display brightness when each display unit in the target display is respectively in the plurality of target display gray scales may be: acquiring display brightness of each display unit in the target display when the display units are respectively in a plurality of target display gray scales by using tools such as image acquisition equipment and brightness acquisition equipment; alternatively, when the display brightness of each display unit in the target display at the plurality of target display gray scales is acquired in advance by using a tool such as an image acquisition device or a brightness acquisition device, and the acquired display brightness is stored in a designated storage location in a data form, the acquisition may be performed in such a manner that the display brightness of each display unit in the target display at the plurality of target display gray scales is acquired from the designated storage location. Of course, the manner of acquisition may not be limited thereto. Wherein, above-mentioned image acquisition equipment can be the camera, and luminance collection equipment can be the luminance meter.
S102, aiming at each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relation between expected brightness and the theoretical gray scale;
the first correspondence may be a functional relationship, and each theoretical gray scale corresponds to a unique brightness. For example, the theoretical gray scale can be divided into 0-255 levels, wherein the luminance corresponding to the theoretical gray scale is A when the theoretical gray scale is 1, and the luminance corresponding to the theoretical gray scale is B … … when the theoretical gray scale is 2
When the theoretical gray scale is divided into a plurality of levels, the theoretical gray scale of each level corresponds to an expected brightness, when the theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses is determined, the expected brightness matched with the display brightness can be determined firstly, wherein the expected brightness matched with the display brightness can be the brightness which is equal to the display brightness, or has the smallest numerical difference, or is smaller than a specified threshold value in the plurality of expected brightnesses, and then the theoretical gray scale corresponding to the matched expected brightness is determined according to a first corresponding relation.
In one implementation, the first corresponding relationship may be a relationship characterized by a gamma curve.
The gamma curve is a tone curve, which can represent the power function relationship between brightness and gray scale, and the power value of the power function is also called gamma value. For example, the gamma curve may be a theoretical gray scale-luminance curve as shown in fig. 2. When the first corresponding relationship is a gamma curve, the gamma correction can be performed on the target display through the scheme, so that the brightness displayed by the target display is more suitable for the impression of human eyes, generally, the gamma value is most suitable to be 2.2, and certainly, the method is not limited thereto. Moreover, in the present embodiment, the overall brightness of the target display can also be adjusted by adjusting the gamma value.
After obtaining a plurality of display luminances of a display unit at respectively different target display gray scales, theoretical gray scales corresponding to the obtained plurality of display luminances can be determined according to the first corresponding relationship. For example, as shown in fig. 2, a plurality of display luminances of a display unit at different target display gray scales can be represented by using the target display gray scale-luminance curve in fig. 2, the first correspondence relationship can be represented by a theoretical gray scale-luminance curve, and when a display unit is at the target display gray scale n1, the displayed display luminance is luminance a, and then the theoretical gray scale corresponding to the luminance a can be determined as m1 from the first correspondence relationship.
S103, aiming at each display unit, establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is as follows: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located;
in the second corresponding relationship, the target display gray scale associated with each display brightness of the display unit is matched with the brightness of the display unit in the corresponding theoretical gray scale. For example, as shown in fig. 2, when the display brightness of a display unit is a, the target display gray scale is n1, and the theoretical gray scale corresponding to the display brightness is m1, the corresponding relationship between n1 and m1 is established as the second corresponding relationship.
In one implementation, the determining the mapping relationship between the theoretical gray scale and the target display gray scale of the display unit includes:
and determining the second corresponding relation as the mapping relation between the theoretical gray scale and the target display gray scale of the display unit under the condition that the target display gray scales are all configured gray scales of the target display.
All the gray scales that can be configured by the target display, that is, all the gray scales that can be configured by each display unit in the target display, are the attributes of the display itself. For example, all the gray levels of a display can be gray level 0, gray level 1, gray level 2 … … gray level 255, but they can be further refined, for example, gray level 0, gray level 0.1 … ….
In this implementation manner, the display brightness of the display unit at all the target display gray scales that can be configured by the target display is obtained in advance, for example, if the target display gray scale that can be configured by the target display includes gray scales 0 to 255, the display brightness of the display unit at gray scale 0 and the display brightness of the display unit at gray scale … … and 255 at gray scale 1 can be obtained. In this case, the second corresponding relationship may be directly determined as a mapping relationship between the theoretical gray scale and the target display gray scale of the display unit.
S104, before any display unit in the target display displays, determining a target display gray scale mapped by a gray scale to be displayed of the display unit based on the mapping relation of the display unit, and controlling the display unit to display the brightness of the determined target display gray scale.
In this step, before the correction, the gray scale to be displayed of the display unit and the brightness displayed when the gray scale to be displayed is located may not satisfy the first corresponding relationship, and therefore, in this step, before any display unit in the target display displays, the target display gray scale mapped by the gray scale to be displayed of the display unit is determined based on the mapping relationship of the display unit, and then the display unit is controlled to display the brightness of the determined target display gray scale, so that the gray scale to be displayed of the display unit after the correction and the brightness displayed when the gray scale to be displayed is located can satisfy the first corresponding relationship.
The above-mentioned manner for controlling the display unit to display the brightness of the determined target display gray scale may be: and generating control data and burning the control data into a specified storage chip of the target display, wherein the control data indicates the brightness of the target display gray scale mapped by the gray scale to be displayed when the display unit is positioned at the gray scale to be displayed. In an actual application process, when the target display receives the control data, the voltage of the control circuit of the display unit in the to-be-displayed gray scale can be modified into the voltage of the target display gray scale mapped by the to-be-displayed gray scale, so that the brightness of the target display gray scale mapped by the to-be-displayed gray scale is displayed when the display unit is in the to-be-displayed gray scale.
For example, as shown in fig. 2, the brightness displayed by the display unit before the correction at the gray scale m1 to be displayed is B, the expected brightness corresponding to the gray scale m1 is a according to the first corresponding relationship, and the target display gray scale corresponding to the brightness a is n1 according to the mapping relationship of the display unit, so that the brightness displayed by the display unit can satisfy the first corresponding relationship by controlling the brightness of the target display gray scale n1 when the display unit at the gray scale m1.
In the practical application process, the target display gray scale mapped by each gray scale to be displayed in which each display unit is positioned can be predetermined, the control data of each display unit is generated, and then the control data is burned into the appointed storage chip of the target display, so that the correction of each display unit is completed at the same time. It can be understood that, since the first corresponding relationship is fixed for each display unit, the display brightness is the same when different corrected display units are at the same gray scale to be displayed.
In this embodiment, since the luminance corresponding to the theoretical gray scale is fixed, the theoretical gray scale corresponding to each of the plurality of display luminances of the display unit is determined, the mapping relationship between the theoretical gray scale and the target display gray scale is determined according to the theoretical gray scale corresponding to each of the plurality of display luminances of the display unit and the target display gray scale associated with each display luminance, and the gray scales to be displayed are mapped to the target display gray scale according to the determined mapping relationship before any display unit in the target display displays, so that the luminances displayed when the gray scales to be displayed of the display units are the same can be ensured to be uniform. Furthermore, the scheme for processing each display unit is high in fineness, and the good effect of the display brightness correction method is guaranteed.
In order to improve efficiency, in an embodiment of the present invention, when the target display gray scales are part of all gray scales that can be configured by the target display, the determining the mapping relationship between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relationship may include:
and fitting the conversion relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation to obtain the conversion relation between the theoretical gray scale and the target display gray scale of the display unit, wherein the conversion relation is used as the mapping relation between the theoretical gray scale and the target display gray scale of the display unit.
In this embodiment, the display brightness of each display unit of the target display at a plurality of designated gray scales may be obtained first. For example, the display luminance at the gray level 1, the display luminance at the gray level 100, the display luminance at the gray level 200, and the like are acquired for each display cell. After the display brightness of each display unit at a plurality of appointed gray scales is obtained, the theoretical gray scale corresponding to each display brightness in the plurality of display brightnesses of the display unit is determined according to the first corresponding relation, then the second corresponding relation between the theoretical gray scale corresponding to each display brightness in the plurality of display brightnesses of the display unit and the target display gray scale associated with each display brightness is established, and therefore the conversion relation between the theoretical gray scale of the display unit and all the target display gray scales which can be configured can be fitted by utilizing the appointed gray scale and the corresponding theoretical gray scale in the second corresponding relation. The fitting mode may be fitting by using an algorithm such as polynomial fitting or polynomial approximation.
In an implementation manner, the fitting the conversion relationship between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relationship to obtain the conversion relationship between the theoretical gray scale and the target display gray scale of the display unit may include:
aiming at two adjacent target display gray scales in the plurality of target display gray scales, determining a fitting point corresponding to each target display gray scale; the fitting point corresponding to each target display gray scale comprises the target display gray scale and a theoretical gray scale corresponding to the target display gray scale in the second corresponding relation; and performing linear fitting by using fitting points corresponding to the two target display gray scales to obtain a linear conversion relation between the theoretical gray scale and the target display gray scale of the display unit in the range of the two target display gray scales.
In this embodiment, a piecewise fitting manner is used to establish a linear relationship between every two adjacent target display gray scales and the theoretical gray scales corresponding to the two target display gray scales, so as to complete fitting of a conversion relationship between the theoretical gray scale of the display unit and all configurable target display gray scales.
For example, as shown in fig. 2, for a display unit, the display brightness when the display unit is at target display gray scales m1, n1, and m2 is obtained, and according to the mapping relationship of the display unit, it may be obtained that the theoretical gray scale corresponding to the target display gray scale m1 is t1, the theoretical gray scale corresponding to the target display gray scale n1 is m1, and the theoretical gray scale corresponding to the target display gray scale m2 is t1, then linear fitting may be performed by using fitting points (t 1, m 1) and (m 1, n 1), specifically, (t 1, m 1) and (m 1, n 1) may be substituted into the linear function y = ax + b, where x and y are variables, and values of a and b are obtained, so that when the target display gray scale is n1-m1, the mapping relationship between the theoretical gray scale of the display unit and the target display gray scale is obtained, and the mapping relationship between the theoretical gray scale of the target display unit and the target display unit is linearly converted by using (m 1, n 1) and (t 2, m 2) to obtain the theoretical gray scale that the target display unit is linearly fitted when the target display gray scale is m2-n 1.
In the implementation mode, aiming at two adjacent target display gray scales in the multiple target display gray scales, a fitting point corresponding to each target display gray scale is determined, linear fitting is performed by using the fitting points corresponding to the two target display gray scales to obtain a linear conversion relation between the theoretical gray scale and the target display gray scale of the display unit within the range of the two target display gray scales, and the conversion relation between the theoretical gray scale and the target display gray scale of the display unit is obtained by using a linear fitting mode.
In this embodiment, the display brightness is the same when the gray scales to be displayed of the display units are the same, so that the brightness uniformity of the display is ensured. Furthermore, only the display brightness of each display unit in the part of the configurable target display gray scales needs to be obtained in advance, and then the conversion relation between the theoretical gray scale and the target display gray scale of the display unit is fitted based on the second corresponding relation to obtain the conversion relation between the theoretical gray scale and the target display gray scale of the display unit.
The following describes a manner of obtaining display brightness when each display unit in the target display is at a plurality of target display gray scales.
In an embodiment of the application, as shown in fig. 3, the obtaining of the display brightness when each display unit in the target display is respectively at the plurality of target display gray scales includes the following steps:
s301, acquiring image data of an image displayed when each display unit in the target display is respectively in a plurality of target display gray scales;
the image data may be acquired by using an image acquisition device, such as a camera, to acquire an image of each display unit of the target display when the display unit is in a plurality of target display gray scales, so as to obtain the image data. Alternatively, when image data of an image displayed when each display unit in the target display is in the plurality of target display gray scales is acquired in advance by the image acquisition device and the acquired image data is stored in the designated storage location, the image data of the image displayed when each display unit in the target display is in the plurality of target display gray scales may be acquired from the designated storage location. Of course, the manner of acquisition may not be limited thereto.
In this step, image data of an image displayed when each display unit in the target display is at the target display gray scale may be collected for each of the plurality of target display gray scales.
S302, aiming at each target display gray scale, determining the display brightness of each display unit when the display unit is in the target display gray scale based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale;
the image data corresponding to each target display gray scale is the image data collected when each display unit is in the target display gray scale, and the pixel point corresponding to each display unit is the pixel point generated aiming at the display unit in the image data.
In this step, since the image data is composed of the pixel points, the pixel points representing the display units are generated when the image acquisition is performed for the display units.
The method for determining the display brightness of each display unit in the target display gray scale may be that, by using a conversion relationship between a pixel value and brightness established in advance, for a pixel value of a pixel point corresponding to each display unit in image data corresponding to the target display gray scale, the brightness corresponding to the pixel value is determined as the display brightness of the display unit in the target display gray scale.
In one implementation, as shown in fig. 4, the obtaining of the display brightness of each display unit in the target display when the display unit is respectively at the plurality of target display gray scales may include the following steps:
s401, acquiring brightness acquired by brightness acquisition equipment when a specified display unit in a target display is in a plurality of target display gray scales as acquired brightness;
the brightness acquisition equipment is an optical acquisition instrument, such as CS150 and CA410, and can acquire color data such as color coordinates, brightness, color temperature, tristimulus values and the like, and the brightness acquired by the brightness acquisition equipment is more accurate than that acquired by image acquisition equipment; the designated display unit may be one or more of the display units in the target display.
S402, aiming at each target display gray scale, determining a conversion relation between a pixel value and brightness based on the pixel value of a pixel point corresponding to the designated display unit in the target display gray scale and the acquired brightness of the designated display unit in the target display gray scale;
in this step, the pixel values of the corresponding pixel points when the designated display units are in the target display gray scale and the collection brightness can be simultaneously obtained, when the designated display units are multiple, the obtained pixel values can be the average or median statistical values of the pixel values of the corresponding pixel points when the designated display units are in the target display gray scale, and the obtained collection brightness can be the average or median statistical values of the collection brightness when the designated display units are in the target display gray scale.
The conversion relationship between the pixel value and the brightness may be determined by calculating a proportional relationship between the pixel value of the pixel corresponding to the designated display unit when the designated display unit is in the target display gray scale and the collected brightness of the designated display unit when the designated display unit is in the target display gray scale, as the conversion relationship between the pixel value and the brightness.
For example, if the pixel value of the pixel point corresponding to the designated display unit in the target display gray scale is 100, and the acquired brightness of the designated display unit in the target display gray scale is 200 nits, the proportional relation is 2, which indicates that the pixel value is multiplied by 2 to obtain the brightness.
S403, acquiring image data of an image displayed when each display unit in the target display is respectively in a plurality of target display gray scales;
this step is similar to the step S301, and is not described herein again.
S404, based on the determined conversion relationship between the pixel value and the brightness, converting the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale into the brightness, which is used as the display brightness when each display unit is in the target display gray scale.
When the conversion relationship between the pixel values and the brightness is determined, the pixel values of the pixel points corresponding to the display units can be converted into the brightness, and when the conversion relationship between the pixel values and the brightness is a proportional relationship, the pixel values of the pixel points corresponding to the display units can be multiplied by the proportional relationship to obtain the display brightness of the display units in the target display gray scale.
In another implementation manner, before determining, for each display unit, a theoretical gray scale corresponding to each of a plurality of display luminances of the display unit based on a first corresponding relationship between expected luminance and the theoretical gray scale, the method for correcting luminance of a display provided in an embodiment of the present application further includes:
and aiming at each target display gray scale, correcting the display brightness of each display unit in the target display when the display unit is in the target display gray scale by utilizing the brightness acquisition equipment aiming at the acquired brightness when the appointed display unit in the target display is in the target display gray scale.
In this implementation, after determining the display brightness of each display unit at the target display gray scale in step S302, the determined brightness may be used as the brightness before correction. Because the brightness acquired by the brightness acquisition equipment is more accurate, the brightness acquired by the brightness acquisition equipment can be used for correcting the display brightness of each display unit in the target display when the target display is in the target display gray scale according to the acquired brightness acquired by each appointed display unit.
In one implementation, a proportional relationship between the collected luminance of the designated display unit at the target display gray level and the luminance before the correction may be calculated first, and then the luminance of each display unit is corrected by using the proportional relationship, for example, the luminance of each display unit may be multiplied by the proportional relationship to obtain the display luminance of each display unit in the corrected target display at the target display gray level.
In one implementation manner, the correcting, by using the brightness acquiring device, the acquired brightness acquired when the designated display unit in the target display is at the target display gray scale, the display brightness of each display unit in the target display when the designated display unit is at the target display gray scale may include:
a1, calculating the difference value between the acquired brightness acquired by the brightness acquisition equipment aiming at the appointed display unit and the display brightness when the target of the appointed display unit displays the gray scale;
similarly, in this step, the designated display units may be multiple, and when the designated display units are multiple, the difference between the acquired luminance acquired by the luminance acquisition device for each designated display unit and the display luminance when the designated display unit displays the target gray scale may be calculated to obtain multiple differences.
And step A2, correcting the display brightness of each display unit in the target display when the display unit is in the target display gray scale by using the calculated brightness difference.
When one display unit is designated, the display brightness of each display unit in the target display at the target display gray scale is corrected by adding the display brightness of each display unit in the target display at the target display gray scale to the difference. When a plurality of display units are designated, the statistical value such as the average or median of a plurality of differences may be calculated first, and then the display brightness of each display unit in the target display at the target display gray level may be added to the statistical value. In this implementation manner, the display brightness of each display unit in the target display when the display unit is in the target display gray scale is corrected by using the brightness difference, the method is simple, and the efficiency of the correction method for the display screen in this embodiment can be further improved.
It should be noted that the modification manner is not limited to this, and the above is only an exemplary description. The acquired brightness acquired by the brightness acquisition equipment is used for correcting the display brightness of each display unit in the target display when the display unit is in the target display gray scale, so that the accuracy of the acquired display brightness of each display unit in the target display when the display units are respectively in the target display gray scales can be further improved, and the correction effect of the correction method of the display screen in the embodiment is further improved.
In this embodiment, the display brightness is the same when the gray scales to be displayed of the display units are the same, so that the brightness uniformity of the display is ensured. Furthermore, for each target display gray scale, the display brightness of each display unit in the target display gray scale is determined based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale, and the display brightness of each display unit in the target display in the multiple target display gray scales can be obtained by only needing image data of one image for each display unit in the same target display gray scale, so that the efficiency of the correction method of the display screen in the embodiment can be improved.
In an embodiment of the present application, each of the display units is a single color display unit;
in the step S102, for each display unit, determining a theoretical gray scale corresponding to each display brightness of the plurality of display brightnesses of the display unit based on the first corresponding relationship between the expected brightness and the theoretical gray scale may include:
for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first expected corresponding relationship between the brightness and the theoretical gray scale for the display unit;
wherein, the first corresponding relation aiming at each display unit is as follows: the color temperature is preset according to the color temperature requirement aiming at the color displayed by the single display unit.
It can be understood that a pixel in a display generally includes three sub-pixels: red sub-pixels, green sub-pixels, and blue sub-pixels. In this embodiment, each display unit is a single color display unit, i.e., a sub-pixel in a pixel. According to the different colors displayed, a corresponding first corresponding relation is preset for each color. For example, a first corresponding relationship a is set for red, a first corresponding relationship B is set for green, and a first corresponding relationship C is set for blue, wherein each first corresponding relationship can be set according to requirements of color temperature conditions.
For example, the color temperature condition requirement may be a warm color temperature, a cold color temperature, or the like, and when the color temperature condition requirement is a warm color temperature, the luminance value in the first correspondence relationship set for blue may be set lower, and the luminance value in the first correspondence relationship set for red and green may be set higher; when the color temperature condition demand may be a cold color temperature, the luminance value in the first correspondence relationship set for blue may be set higher, and the luminance value in the first correspondence relationship set for red and green may be set lower. When the first corresponding relation gamma curve represents the relation, different gamma values are set for red, green and blue respectively, and the requirement of the color temperature condition can be met.
In this embodiment, the brightness displayed by the display units with the same gray scale to be displayed is the same, so that the brightness of the display is ensured to be uniform. Furthermore, each display unit is a single color display unit, and the first corresponding relationship of each display unit is as follows: the color displayed by the single display unit is preset according to the color temperature condition requirement, so that different corresponding relations can be set for the display units displaying different colors to achieve the purpose of adjusting the color temperature, and the displayed brightness is the same when the display units displaying the same color are in the same gray scale after correction, thereby achieving the purpose of correcting the color difference.
The embodiments of the present application will be further described with reference to the drawings and specific application scenarios.
As shown in fig. 5, in an application scenario, the display brightness correction method provided in the embodiment of the present application needs to involve: the device comprises four devices of a display LCD display screen, a computer, a brightness acquisition device CA410 and a camera, and a serial port line and a network cable which are connected with the four devices.
In this embodiment, as shown in fig. 6, the system software running in the computer may include:
the camera acquisition module is used for controlling the camera to acquire pictures displayed when each display unit in the target display is respectively in a plurality of target display gray scales;
the brightness acquisition equipment acquisition module is used for controlling the brightness acquisition equipment to acquire the display brightness of the appointed display unit when the appointed display unit is in the plurality of target display gray scales;
the data processing module is used for processing the data acquired by the camera and the brightness acquisition equipment to obtain the mapping relation between the theoretical gray scale and the target display gray scale of each display unit;
a data application module: burning the obtained mapping relation into a storage chip of the display in a format which can be identified by the storage chip of the display, so that before any display unit in the display displays, a target display gray scale mapped by a gray scale to be displayed of the display unit is determined based on the mapping relation of the display unit, and the display unit is controlled to display the brightness of the determined target display gray scale;
the data uploading module: the system is used for recording generated data and abnormal problems in the correction process, uploading and storing the recorded data for data analysis;
and the main control module is used for coordinating and controlling the modules.
In an implementation manner, a flowchart of the display brightness correction method provided in this embodiment may be as shown in fig. 7, where after the correction process starts, first, the display displays a pure color picture, that is, the brightness of each pixel point when displaying the same target display gray scale; shooting by using a camera to obtain whole screen information, namely image data of a picture displayed when each display unit is in the target display gray scale; judging whether the image data meets the requirements, wherein in the step, whether the image quality of the image data reaches a specified quality threshold value can be judged, and if not, the picture is taken again; if the brightness information is consistent with the preset brightness information, acquiring brightness information by utilizing brightness acquisition equipment, namely acquiring the brightness of the appointed display unit; judging whether the data acquired by the brightness acquisition equipment meet the requirements, wherein in the step, judging whether the acquired brightness is smaller than a specified first brightness threshold value and/or larger than a specified second brightness threshold value, and if not, acquiring the brightness again; if the gray scales are consistent with the target display gray scales, calculating compensation data, namely the mapping relation between the theoretical gray scales of each display unit and the target display gray scales; finally, the compensation data is applied to complete the correction.
In this embodiment, because the brightness corresponding to the theoretical gray scale is fixed, the theoretical gray scale corresponding to each of the plurality of display brightnesses of the display unit is determined, the mapping relationship between the theoretical gray scale and the target display gray scale is determined according to the theoretical gray scale corresponding to each of the plurality of display brightnesses of the display unit and the target display gray scale associated with each display brightness, and the gray scales to be displayed are mapped to the target display gray scale according to the determined mapping relationship before any display unit in the target display displays, so that the brightnesses displayed when the gray scales to be displayed of the display units are the same can be the same, and thus the brightness uniformity of the display is ensured. Furthermore, the scheme for processing each display unit is high in fineness, and the good effect of the display brightness correction method is guaranteed.
An embodiment of the present application further provides a system for correcting brightness of a display, as shown in fig. 8, the system includes:
a target display 801 for controlling the display brightness of each display unit when displaying a plurality of target display gray scales;
a processing device 802, configured to obtain display brightness when each display unit in the target display 801 is in a plurality of target display gray scales respectively; for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relation between expected brightness and the theoretical gray scale; aiming at each display unit, establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located; sending the determined mapping relation of each display unit to a target display 801;
the target display 801 is further configured to receive the mapping relationship of each display unit, determine a target display gray scale mapped by a gray scale to be displayed of the display unit based on the mapping relationship of the display unit before any display unit displays the target display gray scale, and control the display unit to display the brightness of the determined target display gray scale.
Optionally, the processing device 802 determines, based on the second corresponding relationship, a mapping relationship between a theoretical gray scale and a target display gray scale of the display unit, including:
determining the second corresponding relation as a mapping relation between the theoretical gray scale and the target display gray scale of the display unit under the condition that the target display gray scales are all configured gray scales of the target display; alternatively, the first and second electrodes may be,
and fitting a conversion relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation under the condition that the target display gray scales are part of all gray scales which can be configured by the target display, so as to obtain the conversion relation between the theoretical gray scale and the target display gray scale of the display unit, and using the conversion relation as a mapping relation between the theoretical gray scale and the target display gray scale of the display unit.
Optionally, the processing device 802 performs conversion relationship fitting on the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relationship to obtain a conversion relationship between the theoretical gray scale and the target display gray scale of the display unit, including:
aiming at two adjacent target display gray scales in the plurality of target display gray scales, determining a fitting point corresponding to each target display gray scale; the fitting point corresponding to each target display gray scale comprises the target display gray scale and a theoretical gray scale corresponding to the target display gray scale in the second corresponding relation; and performing linear fitting by using fitting points corresponding to the two target display gray scales to obtain a linear conversion relation between the theoretical gray scale and the target display gray scale of the display unit in the range of the two target display gray scales.
Optionally, the system further comprises:
the image acquisition device 803 is configured to acquire image data of an image displayed when each display unit in the target display 801 is in a plurality of target display gray scales, and send the acquired image data to the processing device 802;
the processing device 802 is specifically configured to receive image data acquired by the image acquisition device 803, and determine, for each target display gray scale, display brightness of each display unit when the display unit is in the target display gray scale based on a pixel value of a pixel point corresponding to each display unit in the image data corresponding to the target display gray scale; the image data corresponding to each target display gray scale is the image data collected when each display unit is in the target display gray scale, and the pixel point corresponding to each display unit is the pixel point generated aiming at the display unit in the image data.
Optionally, the system further comprises:
the brightness acquisition device 804 is configured to acquire brightness of a specified display unit in the target display 801 when the specified display unit is in the target display gray scales, to serve as acquired brightness, and to send the acquired brightness to the processing device 802;
the processing device 802 is specifically configured to receive the acquired luminance acquired by the luminance acquisition device 804, and determine, for each target display gray scale, a conversion relationship between a pixel value and luminance based on a pixel value of a pixel point corresponding to the designated display unit when the designated display unit is in the target display gray scale and the acquired luminance of the designated display unit when the designated display unit is in the target display gray scale; and converting the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale into brightness based on the determined conversion relation between the pixel value and the brightness, wherein the pixel value is used as the display brightness of each display unit when the display unit is in the target display gray scale.
Optionally, the processing device 802 determines a conversion relationship between a pixel value and brightness based on a pixel value of a pixel point corresponding to the designated display unit in the target display gray scale and the collected brightness of the designated display unit in the target display gray scale, including:
and calculating the proportional relation between the pixel value of the pixel point corresponding to the appointed display unit when the appointed display unit is in the target display gray scale and the acquired brightness of the appointed display unit when the appointed display unit is in the target display gray scale as the conversion relation between the pixel value and the brightness.
Optionally, the processing device 802 is further configured to, before determining, for each display unit, a theoretical gray scale corresponding to each display brightness in the plurality of display brightnesses of the display unit based on the first corresponding relationship between the expected brightness and the theoretical gray scale, for each target display gray scale, correct, by using a brightness acquisition device, the display brightness of each display unit in the target display 801 when the display unit is at the target display gray scale, for the acquired brightness acquired when a specified display unit in the target display 801 is at the target display gray scale.
Optionally, the processing device 802, by using a brightness collecting device, to the collected brightness collected when a designated display unit in the target display 801 is at the target display gray scale, correcting the display brightness when each display unit in the target display 801 is at the target display gray scale, includes:
calculating the difference value between the acquired brightness acquired by the brightness acquisition equipment 804 for the appointed display unit and the acquired display brightness when the appointed display unit is in the target display gray scale;
the display brightness of each display unit in the target display 801 at the target display gray scale is corrected by using the calculated brightness difference.
Optionally, the first corresponding relationship is a relationship characterized by a gamma curve.
Optionally, each display unit is a single color display unit; the processing device 802 determines, for each display unit, a theoretical gray scale corresponding to each of a plurality of display luminances of the display unit based on a first corresponding relationship between the expected luminance and the theoretical gray scale, including:
for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first expected corresponding relationship between the brightness and the theoretical gray scale for the display unit;
wherein, the first corresponding relation aiming at each display unit is as follows: the color temperature is preset according to the color temperature requirement aiming at the color displayed by the single display unit.
An embodiment of the present application further provides a display luminance correction apparatus, as shown in fig. 9, the apparatus includes:
an obtaining module 901, configured to obtain display brightness when each display unit in the target display is in a plurality of target display gray scales respectively;
a theoretical gray scale determining module 902, configured to determine, for each display unit, a theoretical gray scale corresponding to each display brightness of the plurality of display brightnesses of the display unit based on a first corresponding relationship between expected brightness and the theoretical gray scale;
a mapping relationship determining module 903, configured to establish, for each display unit, a second corresponding relationship between a theoretical gray scale corresponding to each display brightness in the multiple display brightnesses of the display unit and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is as follows: when the brightness of the display unit is the brightness display, the target display gray scale of the display unit is located;
the control module 904 is configured to determine a target display gray scale mapped by a gray scale to be displayed of the display unit based on a mapping relationship of the display unit before any display unit in the target display displays the target display gray scale, and control the display unit to display brightness of the determined target display gray scale.
Optionally, the mapping relationship determining module is specifically configured to:
determining the second corresponding relation as a mapping relation between a theoretical gray scale and a target display gray scale of the display unit under the condition that the target display gray scales are all configured gray scales of the target display; alternatively, the first and second electrodes may be,
and fitting a conversion relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation under the condition that the target display gray scales are part of all gray scales which can be configured by the target display, so as to obtain the conversion relation between the theoretical gray scale and the target display gray scale of the display unit, and using the conversion relation as a mapping relation between the theoretical gray scale and the target display gray scale of the display unit.
Optionally, the mapping relationship determining module is specifically configured to:
aiming at two adjacent target display gray scales in the plurality of target display gray scales, determining a fitting point corresponding to each target display gray scale; the fitting point corresponding to each target display gray scale comprises the target display gray scale and a theoretical gray scale corresponding to the target display gray scale in the second corresponding relation; and performing linear fitting by using fitting points corresponding to the two target display gray scales to obtain a linear conversion relation between the theoretical gray scale and the target display gray scale of the display unit in the range of the two target display gray scales.
Optionally, the obtaining module includes:
the image acquisition submodule is used for acquiring image data of images displayed when each display unit in the target display is respectively positioned in a plurality of target display gray scales;
the brightness determining submodule is used for determining the display brightness of each display unit in each target display gray scale based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale; the image data corresponding to each target display gray scale is the image data collected when each display unit is in the target display gray scale, and the pixel point corresponding to each display unit is the pixel point generated aiming at the display unit in the image data.
Optionally, the obtaining module further includes:
the brightness acquisition sub-module is used for acquiring the brightness of the target display when the display unit is specified to be in the target display gray scales as the acquisition brightness before the brightness determination sub-module determines the display brightness of each display unit when the display unit is in the target display gray scales based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scales;
the conversion determining submodule is used for determining the conversion relation between the pixel value and the brightness based on the pixel value of the pixel point corresponding to the appointed display unit when the appointed display unit is in the target display gray scale and the acquired brightness of the appointed display unit when the appointed display unit is in the target display gray scale aiming at each target display gray scale;
the brightness determination submodule is specifically configured to:
and converting the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale into brightness based on the determined conversion relation between the pixel value and the brightness, wherein the pixel value is used as the display brightness of each display unit when the display unit is in the target display gray scale.
Optionally, the conversion determining sub-module is specifically configured to:
and calculating the proportional relation between the pixel value of the pixel point corresponding to the appointed display unit in the target display gray scale and the acquired brightness of the appointed display unit in the target display gray scale as the conversion relation between the pixel value and the brightness.
Optionally, the apparatus further comprises:
and the correction module is used for correcting the display brightness of each display unit in the target display when the display unit is in the target display gray scale by utilizing the brightness acquisition equipment for the acquired brightness acquired when the appointed display unit in the target display is in the target display gray scale aiming at each target display gray scale before the theoretical gray scale determination module determines the theoretical gray scale corresponding to each display brightness in the plurality of display brightnesses of the display unit based on the first corresponding relation between the expected brightness and the theoretical gray scale aiming at each display unit.
Optionally, the modification module includes:
the calculation submodule is used for calculating the difference value between the acquired brightness acquired by the brightness acquisition equipment aiming at the appointed display unit and the acquired display brightness when the appointed display unit is in the target display gray scale;
and the correction submodule is used for correcting the display brightness of each display unit in the target display when the display unit is in the target display gray scale by using the calculated brightness difference.
Optionally, the first corresponding relationship is a relationship characterized by a gamma curve.
Optionally, each display unit is a single color display unit;
the theoretical gray scale determination module is specifically configured to:
for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first expected corresponding relationship between the brightness and the theoretical gray scale for the display unit; wherein, the first corresponding relation aiming at each display unit is as follows: the color display unit is preset according to the color temperature condition requirement.
An embodiment of the present application further provides an electronic device, as shown in fig. 10, including:
a memory 1001 for storing a computer program;
the processor 1002 is configured to implement the steps of the display brightness correction method when executing the program stored in the memory 1001.
The electronic device may further include a communication bus and/or a communication interface, and the processor 1002, the communication interface, and the memory 1001 are configured to communicate with each other through the communication bus.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above-mentioned display brightness correction method.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the display luminance correction method in the above embodiment.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the scope of protection of the present application.

Claims (10)

1. A method for luminance correction of a display, the method comprising:
acquiring display brightness when each display unit in the target display is respectively positioned at a plurality of target display gray scales;
for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relationship between expected brightness and the theoretical gray scale;
aiming at each display unit, establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is as follows: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located;
before any display unit in the target display displays, determining a target display gray scale mapped by a gray scale to be displayed of the display unit based on the mapping relation of the display unit, and controlling the display unit to display the brightness of the determined target display gray scale.
2. The method of claim 1, wherein determining a mapping relationship between a theoretical gray scale and a target display gray scale of the display unit based on the second mapping relationship comprises:
determining the second corresponding relation as a mapping relation between the theoretical gray scale and the target display gray scale of the display unit under the condition that the target display gray scales are all configured gray scales of the target display; alternatively, the first and second electrodes may be,
and when the plurality of target display gray scales are partial gray scales in all the gray scales which can be configured by the target display, fitting a conversion relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation to obtain the conversion relation between the theoretical gray scale and the target display gray scale of the display unit, wherein the conversion relation is used as a mapping relation between the theoretical gray scale and the target display gray scale of the display unit.
3. The method of claim 2, wherein fitting a conversion relationship between the theoretical gray scale and a target display gray scale of the display unit based on the second corresponding relationship to obtain a conversion relationship between the theoretical gray scale and the target display gray scale of the display unit comprises:
aiming at two adjacent target display gray scales in the plurality of target display gray scales, determining a fitting point corresponding to each target display gray scale; the fitting point corresponding to each target display gray scale comprises the target display gray scale and a theoretical gray scale corresponding to the target display gray scale in the second corresponding relation; and performing linear fitting by using fitting points corresponding to the two target display gray scales to obtain a linear conversion relation between the theoretical gray scale and the target display gray scale of the display unit in the range of the two target display gray scales.
4. The method of claim 1, wherein the obtaining the display brightness of each display unit in the target display at a plurality of target display gray scales comprises:
acquiring image data of an image displayed when each display unit in the target display is respectively positioned at a plurality of target display gray scales;
for each target display gray scale, determining the display brightness of each display unit when the display unit is in the target display gray scale based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale; the image data corresponding to each target display gray scale is the image data collected when each display unit is in the target display gray scale, and the pixel point corresponding to each display unit is the pixel point generated aiming at the display unit in the image data.
5. The method as claimed in claim 4, wherein before determining, for each target display gray scale, the display brightness of each display unit at the target display gray scale based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale, the method further comprises:
acquiring brightness acquired by brightness acquisition equipment when a specified display unit in the target display is in the target display gray scales as acquired brightness;
for each target display gray scale, determining a conversion relation between a pixel value and brightness based on the pixel value of a pixel point corresponding to the appointed display unit when the appointed display unit is in the target display gray scale and the acquired brightness of the appointed display unit when the appointed display unit is in the target display gray scale;
the determining the display brightness of each display unit when the display unit is in the target display gray scale based on the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale includes:
and converting the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale into brightness based on the determined conversion relation between the pixel value and the brightness, wherein the pixel value is used as the display brightness of each display unit when the display unit is in the target display gray scale.
6. The method of any one of claims 1-5, wherein each display unit is a single color display unit;
the determining, for each display unit, a theoretical gray scale corresponding to each display brightness of a plurality of display brightnesses of the display unit based on a first correspondence between expected brightness and the theoretical gray scale includes:
for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first expected corresponding relationship between the brightness and the theoretical gray scale for the display unit;
wherein, the first corresponding relation aiming at each display unit is as follows: the color temperature is preset according to the color temperature requirement aiming at the color displayed by the single display unit.
7. A display brightness correction system, the system comprising:
the target display is used for controlling the display brightness of each display unit when the display units respectively display the target display gray scales;
the processing equipment is used for acquiring the display brightness of each display unit in the target display when the display units are respectively in a plurality of target display gray scales; for each display unit, determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relationship between expected brightness and the theoretical gray scale; aiming at each display unit, establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is as follows: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located; sending the determined mapping relation of each display unit to the target display;
the target display is further configured to receive the mapping relationship of each display unit, determine a target display gray scale mapped by a to-be-displayed gray scale of the display unit based on the mapping relationship of the display unit before any display unit displays the target display gray scale, and control the display unit to display the brightness of the determined target display gray scale.
8. The system of claim 7, further comprising:
the image acquisition equipment is used for acquiring image data of images displayed when each display unit in the target display is respectively positioned at a plurality of target display gray scales and sending the acquired image data to the processing equipment;
the brightness acquisition equipment is used for acquiring the brightness of a specified display unit in the target display when the specified display unit is in the target display gray scales, taking the brightness as the acquired brightness, and sending the acquired brightness to the processing equipment;
the processing device is specifically configured to receive image data acquired by the image acquisition device and acquired brightness acquired by the brightness acquisition device, and determine, for each target display gray scale, a conversion relationship between a pixel value and brightness based on a pixel value of a pixel point corresponding to the designated display unit when the designated display unit is in the target display gray scale and the acquired brightness of the designated display unit when the designated display unit is in the target display gray scale; converting the pixel value of the pixel point corresponding to each display unit in the image data corresponding to the target display gray scale into brightness based on the conversion relation between the determined pixel value and the brightness, wherein the pixel value is used as the display brightness of each display unit when the display unit is in the target display gray scale; the image data corresponding to each target display gray scale is image data acquired when each display unit is in the target display gray scale, and the pixel point corresponding to each display unit is a pixel point generated by the display unit in the image data.
9. A display luminance correction apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring the display brightness of each display unit in the target display when the display units are respectively positioned at a plurality of target display gray scales;
the theoretical gray scale determining module is used for determining a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit based on a first corresponding relation between expected brightness and the theoretical gray scale for each display unit;
the mapping relation determining module is used for establishing a second corresponding relation between a theoretical gray scale corresponding to each display brightness in a plurality of display brightnesses of the display unit and a target display gray scale associated with each display brightness aiming at each display unit; determining a mapping relation between the theoretical gray scale and the target display gray scale of the display unit based on the second corresponding relation, and taking the mapping relation as the mapping relation of the display unit; wherein, the target display gray scale associated with each display brightness is: when the brightness of the display unit is the display brightness, the target display gray scale of the display unit is located;
and the control module is used for determining a target display gray scale mapped by the gray scale to be displayed of the display unit based on the mapping relation of the display unit before any display unit in the target display displays the target display gray scale, and controlling the display unit to display the brightness of the determined target display gray scale.
10. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the method of any one of claims 1 to 6 when executing a program stored in a memory.
CN202211649876.XA 2022-12-21 2022-12-21 Display brightness correction method, system and device and electronic equipment Pending CN115938269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211649876.XA CN115938269A (en) 2022-12-21 2022-12-21 Display brightness correction method, system and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211649876.XA CN115938269A (en) 2022-12-21 2022-12-21 Display brightness correction method, system and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115938269A true CN115938269A (en) 2023-04-07

Family

ID=86654124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211649876.XA Pending CN115938269A (en) 2022-12-21 2022-12-21 Display brightness correction method, system and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115938269A (en)

Similar Documents

Publication Publication Date Title
US10008148B2 (en) Image processing apparatus, image processing method, display device, computer program and computer-readable medium
WO2019001354A1 (en) Display panel gray scale adjustment method and device
WO2019214449A1 (en) Screen brightness control method and device, and terminal device
KR102040746B1 (en) Display Mura calibration method, apparatus, and system
CN112955825B (en) Gamma correction method, gamma correction device and gamma correction system
CN109036333B (en) Display parameter correction method and device of display, terminal equipment and storage medium
US20220005393A1 (en) Method and device for determining pixel compensation value, electronic device and storage medium
KR20180050054A (en) Electronic apparatus, display apparatus and control method thereof
CN113228152B (en) Device and method for controlling screen brightness
CN108877630B (en) Method and device for acquiring Mura compensation data, computer equipment and storage medium
CN109410839B (en) Correction optimization method and device for display screen, electronic equipment and storage medium
CN113327532B (en) Color cast compensation method and device of display panel, computer equipment and medium
CN109996054B (en) White balance adjusting method and device
CN113467739B (en) Image processing method and device, electronic equipment and storage medium
CN110599961B (en) Gray scale compensation method, device and system of display panel
CN113495709A (en) Color correction method, AP chip, terminal and storage medium
CN114203086B (en) Thermal compensation correction method, device and equipment
CN113870811B (en) Display device, brightness adjusting method and device thereof, electronic equipment and storage medium
CN110896466B (en) White balance adjustment method and system of display device
CN116860143A (en) Image display processing method and device
CN115938269A (en) Display brightness correction method, system and device and electronic equipment
CN114266745A (en) Image brightness value determination method and device, electronic equipment and storage medium
CN111276092A (en) Optimization parameter determination method and device
CN113870768A (en) Display compensation method and device
CN111816116B (en) Display parameter acquisition method, display control parameter determination method, display parameter acquisition device, display control parameter determination device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zhang Lejun

Inventor after: Zhao Xiaoxiao

Inventor after: Yan Kefeng

Inventor after: Zhang Ying

Inventor after: Tian Yafei

Inventor before: Zhang Lejun

Inventor before: Zhao Jianyou

Inventor before: Yan Kefeng

Inventor before: Zhang Ying

Inventor before: Tian Yafei