CN114040122B - Display equipment, image processing method and equipment - Google Patents
Display equipment, image processing method and equipment Download PDFInfo
- Publication number
- CN114040122B CN114040122B CN202111301409.3A CN202111301409A CN114040122B CN 114040122 B CN114040122 B CN 114040122B CN 202111301409 A CN202111301409 A CN 202111301409A CN 114040122 B CN114040122 B CN 114040122B
- Authority
- CN
- China
- Prior art keywords
- brightness
- image
- screen
- partition
- determining
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 238000005192 partition Methods 0.000 claims abstract description 139
- 238000005286 illumination Methods 0.000 claims abstract description 22
- 238000002310 reflectometry Methods 0.000 claims abstract description 21
- 238000000034 method Methods 0.000 claims abstract description 20
- 230000004907 flux Effects 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 abstract description 22
- 230000008569 process Effects 0.000 abstract description 15
- 206010070834 Sensitisation Diseases 0.000 abstract description 7
- 230000008313 sensitization Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/76—Circuitry for compensating brightness variation in the scene by influencing the image signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Transforming Electric Information Into Light Information (AREA)
Abstract
The application discloses a display device, an image processing method and a device, wherein in the application, an image is divided into a plurality of subareas, and the screen brightness of each subarea is determined according to the average brightness of each subarea; according to the screen brightness of each partition, the size of each partition and the preset reflectivity of the human body to illumination, the corresponding reflection brightness of the screen is determined, the target brightness of the image is determined according to the sensitization value of the image and the reflection brightness, the exposure degree of the image is adjusted according to the corresponding relation between the pre-stored brightness and the exposure degree, and the image after the exposure degree is controlled to be displayed, so that the target brightness of the image can be accurately determined by eliminating the brightness reflected by the human body after the screen brightness is irradiated, and the exposure degree of the image is determined according to the target brightness, thereby avoiding overexposure processing of the image in the image processing process and improving the display quality of the image.
Description
Cross reference to related applications
The present application claims priority from chinese patent office, application number 202011392676.1, application name "a display device, image processing method, device and medium" filed on month 02 of 2020, 12, the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a display device, an image processing method, and an image processing device.
Background
With the rapid development of informatization, there are currently display devices with image capturing devices, by which a surrounding environment or a target person can be photographed and the photographed image can be displayed on a screen of the display device.
In the prior art, an image capturing device is generally located at the top of a display device, and in a dark photographing environment, a sensor (sensor) of the image capturing device senses the brightness of the surrounding environment of the image capturing device, and the exposure degree can be changed according to the brightness of the surrounding environment of the image capturing device, so that the quality of image display is improved. However, due to the high brightness of the display device, the light on the screen of the display device is reflected on the user (i.e. the target body), and the light is reflected to the area which can be perceived by the sensor in the image acquisition device, so that the light sensing value of the sensor of the image acquisition device is inconsistent with the light sensing value when the brightness of the display device is not affected in an ideal situation, the shot image is overexposed, and the quality of the image display is affected.
Disclosure of Invention
The application provides a display device, an image processing method, equipment and a medium, which are used for solving the problems that the image overexposure is caused by the self brightness of the display device and the image display quality is influenced in the prior art.
The present application provides a display device including:
a display for displaying;
a controller for performing:
dividing an image into a plurality of subareas, and determining the screen brightness of each subarea according to the average brightness of each subarea; determining the corresponding reflection brightness of the screen according to the brightness of the screen of each partition, the size of each partition and the preset reflectivity of human body to illumination; determining target brightness of the image according to the light sensing value of the image and the reflection brightness; and adjusting the exposure degree of the image according to the pre-stored corresponding relation between the brightness and the exposure degree, and controlling the image after the exposure degree is adjusted to be displayed on the display.
The application also provides an image processing method, which is applied to the display device, and comprises the following steps:
Dividing an image into a plurality of subareas, and determining the screen brightness of each subarea according to the average brightness of each subarea; determining the corresponding reflection brightness of the screen according to the brightness of the screen of each partition, the size of each partition and the preset reflectivity of human body to illumination; determining target brightness of the image according to the light sensing value of the image and the reflection brightness; and adjusting the exposure degree of the image according to the pre-stored corresponding relation between the brightness and the exposure degree, and controlling the image after adjusting the exposure degree to display.
The application also provides an electronic device comprising a processor and a memory for storing program instructions, the processor being adapted to implement the steps of the above-mentioned image processing method when executing a computer program stored in the memory.
The present application also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above-described image processing method.
The present application also provides a display apparatus including:
A display having a display screen for displaying;
The image acquisition device is used for acquiring an image containing a target body, and a sensor of the image acquisition device is used for acquiring the light sensing quantity;
A controller configured to perform:
Under the same environment, when the brightness of the display screen is different and the same target body is acquired, controlling the image containing the target body to be displayed with different exposure degrees.
The present application also provides a display apparatus including:
A display having a display screen for displaying;
The image acquisition device is used for acquiring an image containing a target body, and a sensor of the image acquisition device is used for acquiring the light sensing quantity;
A controller configured to perform:
the brightness of the display screen is determined, and the reflection brightness is determined based on the brightness of the display screen, and the exposure degree of the image containing the target body is determined according to the light sensing amount and the reflection brightness.
Since in the present application, an image is divided into a plurality of partitions, the screen brightness of each partition is determined according to the average brightness of each partition; according to the screen brightness of each partition, the size of each partition and the preset reflectivity of a human body to illumination, the corresponding reflection brightness of the screen is determined, the target brightness of the image is determined according to the sensitization value of the image and the reflection brightness, the exposure of the image is adjusted according to the corresponding relation between the pre-stored brightness and the exposure, and the image after the exposure is controlled to be displayed, so that the target brightness of the image can be accurately determined by eliminating the brightness reflected by the human body after the screen brightness is irradiated, the exposure of the image is determined according to the target brightness, and the exposure is performed on the image based on the exposure, thereby avoiding the overexposure of the image in the image processing process and improving the display quality of the image.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a display device according to some embodiments of the present application;
FIG. 2 is a schematic diagram illustrating a process for implementing an image processing method based on adjusting exposure according to some embodiments of the present application;
FIG. 3 is a schematic process diagram of an image processing method according to some embodiments of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to some embodiments of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the application, fall within the scope of protection of the application.
In the application, after the image is acquired by the image acquisition device, the image is divided into a plurality of subareas by the display device based on the image to be displayed, the screen brightness of each subarea is determined according to the average brightness of each subarea, the reflection brightness corresponding to the screen is determined according to the screen brightness of each subarea, the size of each subarea and the preset reflectivity of a human body to illumination, the target brightness of the image is determined according to the light sensing value of the image and the reflection brightness, the exposure degree of the image is adjusted according to the corresponding relation between the pre-stored brightness and the exposure degree, and the image after the exposure degree is controlled to be displayed, so that the brightness reflected by the screen after the human body is irradiated on the screen is removed, the target brightness of the image is accurately determined, the exposure degree of the image is determined according to the target brightness, the exposure degree is processed on the basis of the exposure degree, and the overexposure processing of the image in the image processing process is avoided, and the image display quality is improved.
In order to avoid overexposure processing on an image in the image processing process and improve the image display quality, the application provides display equipment, an image processing method and a medium.
Fig. 1 is a schematic structural diagram of a display device 100 according to some embodiments of the present application, where the display device 100 includes:
A display 101 for displaying;
A controller 102, the controller 102 being configured to perform:
Dividing an image into a plurality of subareas, and determining the screen brightness of each subarea according to the average brightness of each subarea; determining the corresponding reflection brightness of the screen according to the brightness of the screen of each partition, the size of each partition and the preset reflectivity of human body to illumination; determining target brightness of the image according to the light sensing value of the image and the reflection brightness; and adjusting the exposure degree of the image according to the pre-stored corresponding relation between the brightness and the exposure degree, and controlling the image after adjusting the exposure degree to be displayed on the display 101.
Specifically, the controller is configured to perform:
Determining a target average brightness of the image according to the average brightness of each partition;
and determining the screen brightness of each partition according to the target average brightness and the pre-stored functional relation.
In the present application the display device may be a device with a display, such as a smart tv, having a display screen, and the display device may comprise an image capturing device, such as a camera. When the image is acquired by the image acquisition device, the display device performs the following processing when displaying the image. Or the display device and the image acquisition device are not integrated, and when the display device receives the image acquired by the image acquisition device and displays the image, the following processing is performed.
In the image processing process, in order to improve the display quality of an image, the exposure degree of the image needs to be adjusted because the image acquired by the image acquisition device is subjected to overexposure caused by the influence of the display device, and in order to enable the image to be displayed normally, the ideal exposure degree of the image is determined first. Specifically, after an image is acquired, a target average brightness of the image is determined. When determining the target average brightness of the image, the image may be divided into a plurality of partitions, and the target average brightness of the image is calculated according to the average brightness of each partition of the acquired image, that is, the ratio of the average brightness sum of all the partitions of the image to the number of the partitions is determined as the target average brightness of the image, wherein the size of each partition may be the same or different. In the present application, the average luminance of each partition may be obtained by a System On Chip (SOC) in the display device.
If the image is divided into N partitions and the average brightness of the N partitions of the obtained image is X in_1、Xin_2、Xin_3……Xin_N, the target average brightness of the image is
In the application, after the target average brightness of the image is determined, the screen brightness of each subarea can be determined according to the obtained target average brightness of the image and the function relation stored in advance. In order to eliminate the influence of reflected light, which is reflected by the body of a person due to too high brightness of the screen, on the exposure adjustment, in the application, the reflected brightness reflected from the body of the person needs to be determined, and the corresponding reflected brightness of the screen can be determined according to the brightness of the screen of each subarea, the size of each subarea and the preset reflectivity of the human body to the illumination.
In order to accurately adjust the exposure degree of the image and improve the display quality of the image, the ideal brightness of the image, which is not affected by the reflected light reflected by the human body, can be determined, that is, the target brightness of the image can be determined. In the application, after the reflection brightness is determined, the target brightness of the image can be determined according to the light sensing value of the image and the reflection brightness, wherein the light sensing value of the image can be obtained through a sensor of an image acquisition device of the display device, and the determination process of the light sensing value is the prior art and is not repeated herein.
After determining the target brightness of the image, in order to improve the quality of image display, the display device accurately determines the ideal exposure of the image, and the display device pre-stores the corresponding relation between the brightness and the exposure value, that is, after determining the target brightness of the image, the display device can find the exposure value corresponding to the target brightness based on the corresponding relation, adjust the exposure of the image according to the exposure value, and control the image after adjusting the exposure to be displayed on the display.
According to the application, an image is divided into a plurality of subareas, the screen brightness of each subarea is determined according to the average brightness of each subarea, the reflection brightness corresponding to the screen is determined according to the screen brightness of each subarea, the size of each subarea and the preset reflectivity of a human body to illumination, the target brightness of the image is determined according to the sensitization value of the image and the reflection brightness, the exposure degree of the image is adjusted according to the corresponding relation between the pre-stored brightness and the exposure degree, and the image after the exposure degree is controlled to be displayed, so that the target brightness of the image can be accurately determined by eliminating the brightness reflected by the human body after the illumination of the screen brightness, the exposure degree of the image is determined according to the target brightness, and the exposure degree is processed based on the exposure degree, thereby avoiding overexposure processing of the image in the image processing process and improving the quality of image display.
In order to determine the screen brightness of each partition, the controller 102 is configured to perform:
Determining a target PWM duty ratio corresponding to the target average brightness of the image according to the corresponding relation between the average brightness of the image and the PWM duty ratio which are stored in advance;
Determining a backlight value according to a first product of the target PWM duty cycle and a preset maximum value of screen brightness;
And determining a first ratio of the average brightness of each partition of the image to the maximum value of the preset average brightness, and determining the screen brightness of each partition according to the first ratio and the backlight value.
The corresponding relation between the average brightness and the PWM duty ratio of the image is pre-stored in the display equipment, and after the target average brightness of the image is determined, the target PWM duty ratio corresponding to the target average brightness of the image can be determined based on the corresponding relation. After determining the target PWM duty cycle, determining a first product of the target PWM duty cycle and a preset maximum value of screen brightness as a backlight value, for example, the target PWM duty cycle is a, the preset maximum value of screen brightness is X in_max, and the backlight value is a×x in_max.
In the application, after the backlight value is determined, a first ratio of the average brightness of the image of each partition to the maximum value of the preset average brightness is determined, and then the screen brightness of each partition is determined according to the first ratio and the backlight value.
In order to determine the screen brightness of each partition, the controller 102 is configured to perform:
and determining the screen brightness of each partition according to the backlight value and the first ratio.
In the application, after the backlight value is determined, a first ratio of the average brightness of the image of each partition to the maximum value of the preset average brightness is determined, the screen brightness of each partition can be determined according to the backlight value and the first ratio, specifically, the setting index of the first ratio can be determined, and the product of the backlight value and the setting index of the first ratio is determined as the screen brightness of each partition. The formula may be according to: The screen brightness of each partition is determined, wherein i=1, 2,3 … … N, N is the number of partitions into which the image is divided, L i is the screen brightness of the i-th partition, L Backlight unit is a backlight value, X in_i is the average brightness of the i-th partition, X max is the maximum value of the preset average brightness, and γ is an index preset.
In order to determine the reflection brightness corresponding to the screen, in the present application, the controller 102 is configured to perform:
determining the luminous flux corresponding to the screen of each partition according to the screen brightness of each partition and the size of each partition;
Determining the reflection brightness corresponding to the screen of each partition according to the second product of the luminous flux corresponding to the screen of each partition and the preset reflectivity of the human body to illumination;
And determining the reflection brightness corresponding to the screen of each partition as the reflection brightness corresponding to the screen.
In the present application, the luminous flux corresponding to each partition may be determined according to the brightness of each partition and the area of each partition, and in particular, the luminous flux corresponding to the screen displaying each partition may be determined according to the product of the brightness of each partition and the area of each partition. For example, if the image is divided into N partitions, each of which has a luminance of L Light-transmitting device 1、L Light-transmitting device 2、L Light-transmitting device 3……L Light-transmitting device N and an area of S 1、S2、S3……SN, the luminous fluxes of the N partitions are L Light-transmitting device 1*S1、L Light-transmitting device 2*S2、L Light-transmitting device 3*S3……L Light-transmitting device N*SN.
In the present application, after determining the light flux corresponding to the screen displaying each partition, the reflection brightness corresponding to the screen displaying each partition is determined according to the light flux corresponding to the screen displaying each partition and the preset human body reflectance, specifically, when determining the reflection brightness corresponding to the screen displaying each partition according to the light flux corresponding to the screen displaying each partition and the preset human body reflectance, the second product of the light flux corresponding to the screen displaying each partition and the preset human body reflectance may be determined as the reflection brightness corresponding to the screen of each partition, for example, if the light flux corresponding to the screen displaying the ith partition is L Light-transmitting device i and the preset human body reflectance is K, the reflection brightness corresponding to the screen displaying the ith partition is L Reflection of i=L Light-transmitting device i ×k.
After determining the reflection brightness corresponding to the screen displaying each partition, determining the reflection brightness corresponding to the whole screen according to the reflection brightness corresponding to the screen displaying each partition, for example, the average value, the maximum value, or the mode value can be determined as the reflection brightness of the screen, for more accurate determination, the reflection brightness corresponding to the screen of each partition can be the sum of L Reflection of 1、L Reflection of 2……L Reflection of N, and the reflection brightness corresponding to the whole screen can be determined as the reflection brightness corresponding to the screen
In order to determine the target brightness of the image, the controller 102 is configured to perform:
and determining the target brightness of the image according to the sensitization value of the image and the reflection brightness.
In the present application, since the magnitude of the light-sensing value is affected by the light reflected from the body of the person in addition to the light of the environment itself, the display device may reject the reflected light in the obtained light-sensing value after determining the light-sensing value and the reflected light, and determine the target brightness of the image according to the light-sensing value of the image and the reflected light corresponding to the whole screen, specifically, may determine the target brightness of the image according to the difference between the light-sensing value of the image and the reflected light, for example, if the obtained light-sensing value is denoted as L sensor and the reflected light corresponding to the whole screen is denoted as L Reflection of , the target brightness L final=Lsensor-L Reflection of of the image.
FIG. 2 is a schematic diagram illustrating a process for implementing an image processing method based on adjusting exposure according to some embodiments of the present application;
The system-on-chip SOC acquires the average brightness of each partition of the image, determines the ratio of the average brightness of the images of all the partitions to the number of the partitions as the target average brightness of the image after determining the average brightness of each partition, and determines the target PWM duty ratio corresponding to the target average brightness of the image based on the correspondence between the average brightness of the image and the PWM duty ratio stored in the LUT table in advance.
And determining a first product of the target PWM duty ratio and a preset maximum value of the screen brightness as a backlight value, and determining a set exponential product of the backlight value and a first ratio of the average brightness to the preset maximum value of the average brightness as the screen brightness of each partition.
The method comprises the steps of determining the second product of the area product of the brightness of each partition and the luminous flux of each screen as the luminous flux of each screen, determining the second product of the luminous flux of each screen and the reflectivity of a preset human body to illumination as the reflection brightness corresponding to each partition screen, and determining the reflection brightness corresponding to each partition screen and the reflection brightness corresponding to each screen.
And determining the target brightness of the image according to the light sensing value and the reflection brightness of the image, realizing brightness restoration, determining the value of the exposure corresponding to the reflection brightness based on the corresponding relation between the pre-stored brightness and the exposure, and adjusting the exposure of the image according to the value of the exposure.
Namely, the image acquisition device is used for acquiring an image containing a target body, and the sensor of the image acquisition device is used for obtaining the light sensing amount; the controller is used for controlling the operation of the controller, the controller is configured to perform: the brightness of the display screen is determined, and the reflected brightness is determined based on the brightness of the display screen, and the exposure of the image containing the target body is determined from the light sensing amount and the reflected brightness.
Thus, under the same environment, when the brightness of the display screen is different, and the same target object is acquired, the image containing the target object can be displayed with different exposure degrees.
In order to avoid overexposure processing on an image and improve the quality of image display in the image processing process, the application provides an image processing method, which is applied to a display device, and fig. 3 is a schematic process diagram of an image processing method according to some embodiments of the application, where the process includes the following steps:
S301: the image is divided into a plurality of partitions, and the screen brightness of each partition is determined according to the average brightness of each partition.
S302: and determining the corresponding reflection brightness of the screen according to the brightness of the screen of each partition, the size of each partition and the preset reflectivity of the human body to illumination.
S303: and determining the target brightness of the image according to the sensitization value of the image and the reflection brightness.
S304: and adjusting the exposure degree of the image according to the pre-stored corresponding relation between the brightness and the exposure degree, and controlling the image after adjusting the exposure degree to display.
In one possible implementation manner, the determining the screen brightness of each partition according to the average brightness of each partition includes:
Determining a target average brightness of the image according to the average brightness of each partition;
and determining the screen brightness of each partition according to the target average brightness and the pre-stored functional relation.
In one possible implementation manner, the determining the screen brightness of each partition according to the target average brightness and the pre-saved function relationship includes:
Determining a target PWM duty ratio corresponding to the target average brightness of the image according to the corresponding relation between the average brightness of the image and the PWM duty ratio which are stored in advance;
Determining a backlight value according to a first product of the target PWM duty cycle and a preset maximum value of screen brightness;
And determining a first ratio of the average brightness of each partition of the image to the maximum value of the preset average brightness, and determining the screen brightness of each partition according to the first ratio and the backlight value.
In one possible implementation manner, the determining the screen brightness of each partition according to the first ratio and the backlight value includes:
and determining the screen brightness of each partition according to the backlight value and the first ratio.
In one possible implementation manner, determining the corresponding reflection brightness of the screen according to the screen brightness of each partition, the size of each partition and the preset reflectivity of the human body to the illumination includes:
determining the luminous flux corresponding to the screen of each partition according to the screen brightness of each partition and the size of each partition;
Determining the reflection brightness corresponding to the screen of each partition according to the second product of the luminous flux corresponding to the screen of each partition and the preset reflectivity of the human body to illumination;
And determining the reflection brightness corresponding to the screen of each partition as the reflection brightness corresponding to the screen.
In one possible implementation, the determining the target brightness of the image according to the light sensing value of the image and the reflection brightness includes:
and determining the target brightness of the image according to the sensitization value of the image and the reflection brightness.
The application of the method to the display device, and the specific process of executing the image processing method by the display device may refer to the other embodiments, and details are not repeated.
Fig. 4 is a schematic structural diagram of an electronic device according to some embodiments of the present application, and on the basis of the foregoing embodiments, an embodiment of the present application further provides an electronic device, as shown in fig. 4, including: the processor 401, the communication interface 402, the memory 403 and the communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 complete communication with each other through the communication bus 404;
The memory 403 has stored therein a computer program which, when executed by the processor 401, causes the processor 401 to perform the steps of:
Dividing an image into a plurality of subareas, and determining the screen brightness of each subarea according to the average brightness of each subarea; determining the corresponding reflection brightness of the screen according to the brightness of the screen of each partition, the size of each partition and the preset reflectivity of human body to illumination; determining target brightness of the image according to the light sensing value of the image and the reflection brightness; and adjusting the exposure degree of the image according to the pre-stored corresponding relation between the brightness and the exposure degree, and controlling the image after adjusting the exposure degree to display.
Further, the processor 401 is further configured to determine a target average brightness of the image according to the average brightness of each partition; and determining the screen brightness of each partition according to the target average brightness and the pre-stored functional relation.
Further, the processor 401 is further configured to determine a target PWM duty cycle corresponding to the target average brightness of the image according to a correspondence between the average brightness of the pre-stored image and the PWM duty cycle; determining a backlight value according to a first product of the target PWM duty cycle and a preset maximum value of screen brightness; and determining a first ratio of the average brightness of each partition of the image to the maximum value of the preset average brightness, and determining the screen brightness of each partition according to the first ratio and the backlight value.
Further, the processor 401 is further configured to determine a screen brightness of each partition according to the backlight value and the first ratio.
Further, the processor 401 is further configured to determine, according to the screen brightness of each partition and the size of each partition, a luminous flux corresponding to the screen of each partition; determining the reflection brightness corresponding to the screen of each partition according to the second product of the luminous flux corresponding to the screen of each partition and the preset reflectivity of the human body to illumination; and determining the reflection brightness corresponding to the screen of each partition as the reflection brightness corresponding to the screen.
Further, the processor 401 is further configured to determine a target brightness of the image according to the light sensing value of the image and the reflection brightness.
The communication interface 402 is used for communication between the electronic device and other devices described above.
The Memory may include random access Memory (Random Access Memory, RAM) or may include 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 aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; but also digital instruction processors (DIGITAL SIGNAL Processing units, DSPs), application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
On the basis of the above embodiments, the embodiments of the present application provide a computer readable storage medium having stored therein a computer program executable by a processor, which when run on the processor, causes the processor to perform the steps of:
Dividing an image into a plurality of subareas, and determining the screen brightness of each subarea according to the average brightness of each subarea; determining the corresponding reflection brightness of the screen according to the brightness of the screen of each partition, the size of each partition and the preset reflectivity of human body to illumination; determining target brightness of the image according to the light sensing value of the image and the reflection brightness; and adjusting the exposure degree of the image according to the pre-stored corresponding relation between the brightness and the exposure degree, and controlling the image after adjusting the exposure degree to display.
In one possible implementation manner, the determining the screen brightness of each partition according to the average brightness of each partition includes:
Determining a target average brightness of the image according to the average brightness of each partition;
and determining the screen brightness of each partition according to the target average brightness and the pre-stored functional relation.
In one possible implementation manner, the determining the screen brightness of each partition according to the target average brightness and the pre-saved function relationship includes:
Determining a target PWM duty ratio corresponding to the target average brightness of the image according to the corresponding relation between the average brightness of the image and the PWM duty ratio which are stored in advance; determining a backlight value according to a first product of the target PWM duty cycle and a preset maximum value of screen brightness; and determining a first ratio of the average brightness of each partition of the image to the maximum value of the preset average brightness, and determining the screen brightness of each partition according to the first ratio and the backlight value.
In one possible implementation manner, the determining the screen brightness of each partition according to the first ratio and the backlight value includes:
and determining the screen brightness of each partition according to the backlight value and the first ratio.
In a possible implementation manner, the determining the corresponding reflection brightness of the screen according to the brightness of the screen of each partition, the size of each partition and the preset reflectivity of the human body to the illumination includes:
determining the luminous flux corresponding to the screen of each partition according to the screen brightness of each partition and the size of each partition; determining the reflection brightness corresponding to the screen of each partition according to the second product of the luminous flux corresponding to the screen of each partition and the preset reflectivity of the human body to illumination; and determining the reflection brightness corresponding to the screen of each partition as the reflection brightness corresponding to the screen.
In one possible implementation, the determining the target brightness of the image according to the light sensing value of the image and the reflection brightness includes:
and determining the target brightness of the image according to the sensitization value of the image and the reflection brightness.
Since the principle of solving the problem with the above-mentioned computer readable medium is similar to that of the image processing method, the steps implemented after the processor executes the computer program in the above-mentioned computer readable medium can be referred to the above-mentioned other embodiments, and the repetition is omitted.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (6)
1. A display device, the display device comprising:
a display for displaying;
the image acquisition device is used for acquiring images;
a controller for performing:
Dividing an image acquired by the image acquisition equipment into a plurality of subareas, and determining the screen brightness of each subarea according to the average brightness of each subarea; determining the corresponding reflection brightness of the screen according to the brightness of the screen of each partition, the size of each partition and the preset reflectivity of the human body to illumination; determining target brightness of the image according to the light sensing value of the image and the reflection brightness; and adjusting the exposure degree of the image according to the pre-stored corresponding relation between the brightness and the exposure degree, and controlling the image after the exposure degree is adjusted to be displayed on the display.
2. The display device of claim 1, wherein the controller is to perform:
Determining a target average brightness of the image according to the average brightness of each partition;
and determining the screen brightness of each partition according to the target average brightness and the pre-stored functional relation.
3. The display device of claim 1, wherein the controller is to perform:
Determining a target PWM duty ratio corresponding to the target average brightness of the image according to the corresponding relation between the average brightness of the image and the PWM duty ratio which are stored in advance;
Determining a backlight value according to a first product of the target PWM duty cycle and a preset maximum value of screen brightness;
And determining a first ratio of the average brightness of each partition of the image to the maximum value of the preset average brightness, and determining the screen brightness of each partition according to the first ratio and the backlight value.
4. The display device of claim 1, wherein the controller is to perform:
determining the luminous flux corresponding to the screen of each partition according to the screen brightness of each partition and the size of each partition;
Determining the reflection brightness corresponding to the screen of each partition according to the second product of the luminous flux corresponding to the screen of each partition and the preset reflectivity of the human body to illumination;
And determining the reflection brightness corresponding to the screen of each partition as the reflection brightness corresponding to the screen.
5. An image processing method, the method comprising:
Dividing the acquired image into a plurality of subareas, and determining the screen brightness of each subarea according to the average brightness of each subarea;
Determining the corresponding reflection brightness of the screen according to the brightness of the screen of each partition, the size of each partition and the preset reflectivity of the human body to illumination;
Determining target brightness of the image according to the light sensing value of the image and the reflection brightness;
And adjusting the exposure degree of the image according to the pre-stored corresponding relation between the brightness and the exposure degree, and controlling the image after adjusting the exposure degree to display.
6. An electronic device comprising a processor and a memory for storing program instructions, the processor being adapted to implement the steps of the image processing method of claim 5 when executing a computer program stored in the memory.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2020113926761 | 2020-12-02 | ||
CN202011392676 | 2020-12-02 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114040122A CN114040122A (en) | 2022-02-11 |
CN114040122B true CN114040122B (en) | 2024-08-16 |
Family
ID=80142826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111301409.3A Active CN114040122B (en) | 2020-12-02 | 2021-11-04 | Display equipment, image processing method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114040122B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932604A (en) * | 2012-11-21 | 2013-02-13 | 北京经纬恒润科技有限公司 | Camera exposure adjusting method |
CN103685973A (en) * | 2013-12-26 | 2014-03-26 | 浙江宇视科技有限公司 | Method and device for local area exposure adjustment on basis of encoder |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101453563A (en) * | 2007-12-05 | 2009-06-10 | 鸿富锦精密工业(深圳)有限公司 | Video taking apparatus and display lightness regulation method |
CN104065862B (en) * | 2013-03-18 | 2017-09-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN105323382B (en) * | 2015-11-04 | 2019-03-19 | Oppo广东移动通信有限公司 | A kind of screen light compensation method, device and mobile terminal |
CN105450939A (en) * | 2015-11-19 | 2016-03-30 | 上海斐讯数据通信技术有限公司 | High dynamic range image display method and mobile terminal |
CN105812670B (en) * | 2016-05-12 | 2019-07-12 | 珠海市魅族科技有限公司 | A kind of method and terminal taken pictures |
CN108597432B (en) * | 2018-04-19 | 2021-05-07 | Oppo广东移动通信有限公司 | Brightness adjusting method and related product |
CN111968605A (en) * | 2020-08-28 | 2020-11-20 | 维沃移动通信有限公司 | Exposure adjusting method and device |
-
2021
- 2021-11-04 CN CN202111301409.3A patent/CN114040122B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932604A (en) * | 2012-11-21 | 2013-02-13 | 北京经纬恒润科技有限公司 | Camera exposure adjusting method |
CN103685973A (en) * | 2013-12-26 | 2014-03-26 | 浙江宇视科技有限公司 | Method and device for local area exposure adjustment on basis of encoder |
Also Published As
Publication number | Publication date |
---|---|
CN114040122A (en) | 2022-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10498971B2 (en) | Systems and methods for high-dynamic range imaging | |
US11563897B2 (en) | Image processing method and apparatus which determines an image processing mode based on status information of the terminal device and photographing scene information | |
EP3836534B1 (en) | Imaging control method, electronic device, and computer-readable storage medium | |
CN104301624B (en) | A kind of image taking brightness control method and device | |
EP3672211B1 (en) | Shooting interface display method, device and terminal | |
US8331721B2 (en) | Automatic image correction providing multiple user-selectable options | |
US20170229099A1 (en) | Display apparatus and method for controlling display apparatus | |
CN108200354A (en) | Control method and device, imaging device, computer equipment and readable storage medium storing program for executing | |
CN108074220B (en) | Image processing method and device and television | |
US11716452B2 (en) | Image projecting apparatus and controlling method thereof | |
WO2019080543A1 (en) | High dynamic range video capturing method and capturing device | |
CN104050651A (en) | Scene image processing method and device | |
CN109147707A (en) | Gamma value adjusting method and device of display panel and display equipment | |
US11368619B2 (en) | Generating an image using automatic mode settings while in manual mode | |
CN104780320B (en) | Ambient light detection method and electronic device | |
CN109243383B (en) | Backlight brightness adjusting method of display screen and display screen device | |
US20180114301A1 (en) | Image Processing Method, Image Processing Apparatus and Display Apparatus | |
CN112312035B (en) | Exposure parameter adjusting method, exposure parameter adjusting device and electronic equipment | |
CN104994305A (en) | Shooting method and equipment | |
CN110442313B (en) | Display attribute adjusting method and related equipment | |
CN106791426A (en) | Method and terminal that a kind of use light compensating lamp is taken pictures | |
CN110677558A (en) | Image processing method and electronic device | |
CN114040122B (en) | Display equipment, image processing method and equipment | |
US20100046936A1 (en) | Photographing control method and apparatus using strobe | |
US8804029B2 (en) | Variable flash control for improved image detection |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |