CN108257580B - Display picture adjusting method and device based on backlight brightness - Google Patents

Display picture adjusting method and device based on backlight brightness Download PDF

Info

Publication number
CN108257580B
CN108257580B CN201611234280.8A CN201611234280A CN108257580B CN 108257580 B CN108257580 B CN 108257580B CN 201611234280 A CN201611234280 A CN 201611234280A CN 108257580 B CN108257580 B CN 108257580B
Authority
CN
China
Prior art keywords
area
value
histogram
gray
dark
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
Application number
CN201611234280.8A
Other languages
Chinese (zh)
Other versions
CN108257580A (en
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.)
Quarkdata Software Co ltd
Original Assignee
Quarkdata Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Quarkdata Software Co ltd filed Critical Quarkdata Software Co ltd
Priority to CN201611234280.8A priority Critical patent/CN108257580B/en
Publication of CN108257580A publication Critical patent/CN108257580A/en
Application granted granted Critical
Publication of CN108257580B publication Critical patent/CN108257580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • G09G3/3413Details of control of colour illumination sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The invention discloses a method for adjusting a display picture based on backlight brightness, which extracts a pixel characteristic value of the current screen display picture through a histogram area integration method, searches a backlight value and an image gain coefficient corresponding to the pixel characteristic value in a loaded lookup table, and adjusts the current screen display picture to the backlight value. And marking the histogram of the obtained gray value probability as a bright area and a dark area, generating a continuous smooth Bezier curve according to the marked bright area, the marked dark area and the image gain coefficient, and respectively adjusting the gray value of each pixel in the bright area and the dark area according to the continuous smooth Bezier curve. Therefore, the backlight brightness is reduced, the power consumption is reduced, the contrast of bright and dark areas of the image is enhanced under the condition of lower backlight brightness, the visual effect of the image is improved, the problem of oversaturation of pixels is avoided, and the loss of image details is avoided to a great extent.

Description

Display picture adjusting method and device based on backlight brightness
Technical Field
The invention relates to the field of electronic equipment, in particular to a method and a device for adjusting a display picture based on backlight brightness.
Background
In some electronic devices, the lighting of a screen and the display of a picture are formed by the emission of light from a backlight mounted behind the screen, where the light emitted from the backlight may be referred to as backlight. For example: mobile phone screens, notebook computer screens and some liquid crystal television display screens. The backlight is very power consuming during use of the electronic device, and therefore, in order to save power, the backlight needs to be weakened.
However, the weakening of the backlight may cause the display screen of the screen to be darkened, thereby causing poor visual effects to the user. In order to display image information more clearly even if the backlight is weak, the brightness of the display image needs to be adjusted, and in the prior art, when the brightness of the screen display image is adjusted, a single strategy is usually adopted to adjust the gray value of the whole screen.
Disclosure of Invention
In view of this, the embodiment of the present invention discloses a method and an apparatus for adjusting a display image based on backlight brightness, which not only adjust the backlight brightness and reduce power consumption, but also improve the visual effect of an image without causing loss of details of the image under the condition of low backlight brightness.
The embodiment of the invention discloses a method for adjusting a display picture based on backlight brightness, which comprises the following steps:
extracting a pixel characteristic value of a current screen display picture according to a histogram area integral method;
searching a backlight value and an image gain coefficient corresponding to the pixel characteristic value in a loaded lookup table;
adjusting the backlight brightness of the current screen display picture according to the backlight value;
marking the histogram of the obtained gray value probability as a bright area and a dark area; the histogram of the gray value probability is obtained according to the collected gray values of the display picture and the probability of the gray values appearing in the display picture;
generating a continuous smooth digital Bezier curve according to a bright area dark area, an image gain coefficient and a preset rule, and generating a gain lookup table corresponding to the continuous smooth digital Bezier curve;
and adjusting the gray values of the bright area and the dark area according to the gain lookup table so as to enhance the contrast of the bright area and the dark area.
Optionally, the pixel characteristic value of the display picture is extracted according to a histogram area integration method;
sampling the gray value of each pixel of the current screen display picture according to a preset sampling method;
calculating a histogram of the gray value probability according to the sampling result;
traversing the histogram from the side with low gray value, and calculating the area of the histogram region corresponding to the traversed gray value by adopting a fixed integral method;
judging whether the area is larger than a preset area threshold value or not;
and if the gray value is larger than the preset area threshold value, taking the gray value at the moment as a pixel characteristic value.
Optionally, marking the histogram of the obtained gray value probability as a bright area and a dark area includes:
acquiring the average value of all gray values corresponding to the histogram, and taking the acquired average value as a segmentation threshold;
judging whether each gray value of the histogram is larger than a preset segmentation threshold value or not;
marking the area formed by the gray values larger than the segmentation threshold value as a bright area;
regions made up of gray values not greater than the segmentation threshold are marked as dark regions.
Optionally, generating a continuous and smooth digital bezier curve according to the bright area and the dark area, the image gain coefficient, and a preset rule, including:
calculating a plurality of control points of the digital Bessel curve according to the bright area, the dark area and the image gain coefficient;
acquiring a corresponding digital Bezier curve according to the control points;
performing linear interpolation on the digital Bezier curve to obtain a continuous smooth digital Bezier curve.
Optionally, before extracting the pixel feature value of the display image according to a histogram area integration method, the method further includes:
and loading the lookup table.
The invention also discloses a device for adjusting the display picture based on the backlight brightness, which can comprise:
the extraction unit is used for extracting the pixel characteristic value of the current screen display picture according to a histogram area integration method;
the searching unit is used for searching a backlight value and an image gain coefficient corresponding to the pixel characteristic value in a loaded searching table;
the first adjusting unit is used for adjusting the backlight brightness of the current screen display picture according to the backlight value;
a marking unit for marking the histogram of the obtained gray value probability as a bright area and a dark area; the histogram of the gray value probability is obtained according to the collected gray values of the display picture and the probability of the gray values appearing in the display picture;
the generating unit is used for generating a continuous smooth digital Bezier curve according to the bright area dark area, the image gain coefficient and a preset rule and generating a gain lookup table corresponding to the continuous smooth digital Bezier curve;
and the second adjusting unit is used for adjusting the pixel points of the bright area and the dark area according to the gain lookup table so as to enhance the contrast ratio of the bright area and the dark area.
Optionally, the extracting unit includes:
the sampling subunit is used for sampling the gray value of each pixel of the current screen display picture according to a preset sampling method;
the first calculating subunit is used for calculating a histogram of the gray value probability according to the sampling result;
the second calculating subunit is used for traversing the histogram from the side with the low gray value and calculating the area of the histogram region corresponding to the traversed gray value by adopting a fixed integration method;
the first judgment subunit is used for judging whether the area is larger than a preset area threshold value or not;
and the determining subunit is used for taking the gray value at the moment as a pixel characteristic value if the gray value is larger than the preset area threshold value.
Optionally, the marking unit includes:
the first acquisition subunit is used for acquiring the average value of each gray value corresponding to the histogram and taking the acquired average value as a segmentation threshold;
the second judgment subunit is configured to judge whether each gray value of the histogram is greater than a preset segmentation threshold;
a first marking subunit, configured to mark, as a bright area, an area formed by grayscale values greater than the division threshold;
and the second marking subunit is used for marking the area formed by the gray values which are not greater than the segmentation threshold value as a dark area.
Optionally, the generating unit includes:
a third calculating subunit, configured to calculate a plurality of control points of the digital bezier curve according to the bright area, the dark area, and the image gain coefficient;
the second obtaining subunit is used for obtaining the corresponding digital Bezier curve according to the control points;
an obtaining subunit, configured to perform linear interpolation on the digital bezier curve to obtain a continuous smooth digital bezier curve.
Optionally, the method further includes:
and the loading subunit is used for loading the lookup table.
In the embodiment of the invention, the pixel characteristic value of the current screen display picture is extracted by a histogram area integration method, the backlight value and the image gain coefficient corresponding to the pixel characteristic value are searched in the loaded lookup table, and the current screen display picture is adjusted to the backlight value. And marking the histogram of the obtained gray value probability as a bright area and a dark area, generating a continuous smooth Bezier curve according to the marked bright area, the marked dark area and the image gain coefficient, and respectively adjusting the gray value of each pixel in the bright area and the dark area according to the continuous smooth Bezier curve. Therefore, the backlight brightness is reduced, the power consumption is reduced, the contrast of bright and dark areas of the image is enhanced under the condition of lower backlight brightness, the visual effect of the image is improved, the problem of oversaturation of pixels is avoided, and the loss of image details is avoided to a great extent.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings 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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for adjusting a display frame based on backlight brightness according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for adjusting a display frame based on backlight brightness according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for adjusting a display frame based on backlight brightness according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for adjusting a display frame based on backlight brightness according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a method for adjusting a display screen based on backlight brightness according to an embodiment of the present invention is shown. In this embodiment, the method may include:
s101: and extracting the pixel characteristic value of the current screen display picture according to a histogram area integration method.
In this embodiment, referring to fig. 2, S101 may specifically include:
s201: and sampling the gray value of each pixel of the current screen display picture according to a preset sampling method.
In this embodiment, when the gray value of each pixel of the current screen display image is sampled, because there are many pixels constituting the display image and there are pixels with repeated gray values, in order to reduce the redundancy during sampling and improve the sampling efficiency, the gray value of the pixel in the display image may be sampled at a plurality of pixel points at intervals.
In this embodiment, the method for obtaining the gray level value of each pixel includes multiple methods, which are not limited in this embodiment, and for example, the method may be obtained by weighting each color channel in the current screen display picture according to a preset rule; or according to a gray value weighting method; or by using a brightness weighting calculation method.
S202: and calculating a histogram of the gray value probability according to the sampling result.
In this embodiment, calculating the histogram of the probability of the gray-level value according to the sampling result may also be understood as: the abscissa of the histogram may represent the gray value of the collected pixel points, and the ordinate may represent the probability of each gray value appearing in the display screen.
S203: and traversing the histogram from the side with low gray value, and calculating the area of the histogram region corresponding to the traversed gray value by adopting a fixed integration method.
For example, the following steps are carried out: assuming that the gray value region corresponding to the histogram is [0,255], the histogram may be traversed from 0, and assuming that the currently traversed gray value range is [0,100], the area of the histogram region corresponding to [0,100] may be calculated by using a constant integration method, that is, the areas of the histogram corresponding to the traversed pixel points are accumulated.
S204: and judging whether the area is larger than a preset area threshold value or not.
In this embodiment, the preset area threshold may be an area threshold set by a technician according to experience, or may be an area threshold obtained through experiments, but no matter what method is used to obtain the preset area threshold, the preset area threshold is already set before executing S204.
In this embodiment, it should be noted that, determining whether the area of the histogram region corresponding to the traversed gray-scale value is greater than a preset area threshold may actually be understood as determining whether the ratio of the area of the histogram region corresponding to the traversed gray-scale value is greater than the preset area threshold, because the area of the entire region of the histogram is 1, and the area of the histogram region corresponding to the traversed gray-scale value is equal to the area of the histogram region corresponding to the traversed gray-scale value.
For example, the following steps are carried out: the aim of setting the area threshold is to balance the influence of bright and dark areas of the display picture on the calculation of the characteristic value, and the higher the area threshold is, the greater the contribution of bright pixels in the image to the calculation of the pixel characteristic value is; the smaller the area, the smaller the contribution of the bright pixel in the image to the pixel characteristic value; if the area threshold is 50%, indicating that the pixel characteristic value is the mean value of the gray values of the pixels in the bright area and the dark area; if it is desired that the pixel characteristic value is more coupled to the bright pixels in the display, i.e. the pixel characteristic value is closer to the pixel value of the bright part of the image, the area threshold value may be increased, for example, up to 70%, or 80%.
S205: and if the gray value is larger than the preset area threshold value, taking the gray value at the moment as a pixel characteristic value.
In this embodiment, if the area of the histogram corresponding to the traversed gray value is greater than the preset area threshold, the gray value at this time is used as the pixel characteristic value.
However, if the area of the histogram corresponding to the traversed gray-scale value is not greater than the preset area threshold, the process returns to step S203, that is, the next gray-scale value is traversed, and the areas of the histograms corresponding to all the traversed gray-scale values are calculated.
In this embodiment, the pixel characteristic values are obtained by using S201 to S205, so that the characteristics of the image highlight region can be effectively represented, the visual perception of human can be better met, and the robustness of the image in a large-area low-gray-scale region is enhanced.
S102: and searching the backlight value and the image enhancement coefficient corresponding to the pixel characteristic value in the loaded lookup table.
In this embodiment, before S101, the method may further include: and loading the lookup table.
In this embodiment, the lookup table may be a corresponding table of the backlight value, the image enhancement coefficient and the pixel characteristic value, that is, each pixel characteristic value in the table may correspond to one backlight value and one image enhancement coefficient.
In addition, by adopting the method of the embodiment, historical frame data does not need to be stored, the pixel characteristic value can be obtained only according to the current frame data of the display picture, and the lookup table is loaded before S101, so that the operation efficiency is improved.
S103: marking the histogram of the obtained gray value probability as a bright area and a dark area; the histogram of the gray value probability is obtained according to the collected gray values of the display picture and the probability of the gray values appearing in the display picture.
In this embodiment, the display picture may be marked as a bright area and a dark area according to the difference of the gray-scale values of each pixel point of the display screen, and referring to fig. 3, the specific step S103 may include:
s301: and acquiring the average value of all gray values corresponding to the histogram, and taking the acquired average value as a segmentation threshold value.
In this embodiment, each gray value corresponding to the histogram is a gray value obtained by sampling the display image in S201.
S302: and judging whether each gray value of the histogram is larger than a preset segmentation threshold value or not.
S303: and marking the area formed by the gray values larger than the segmentation threshold as a bright area.
S304: regions made up of gray values not greater than the segmentation threshold are marked as dark regions.
S105: and generating a continuous smooth Bezier curve according to the bright area image gain coefficient, the dark area image gain coefficient and a preset rule, and generating a gain lookup table corresponding to the continuous smooth Bezier curve.
In this embodiment, S105 may specifically include:
s305: and calculating a plurality of control points of the digital Bessel curve according to the bright area, the dark area and the image gain coefficient.
For example, the following steps are carried out: assuming that the calculated control points of the bezier curve are 5, the control points may respectively include a first type of control point and a second type of control point, wherein the first type of control point may include three points, and the second type of control point may include two points. Wherein, the first kind of control points are used for distinguishing bright areas from dark areas in the histogram, the second kind of control points are used for determining the gain intensity and the direction of the image brightness change, and the calculation process may include:
wherein, the first type control point is calculated: wherein the first point is the starting point of the dark area; the second point is a demarcation point of a bright area and a dark area, and the deviation of the point along the x axis influences the amplitude and the direction of the brightening or the darkening of the picture; the third point is the end point of the bright zone.
Specifically, the coordinates of the first point may be (0, 0); the coordinates of the third point may be (255); if the second point deviates to the negative direction of the x axis, the contrast of the picture is increased and the brightness is improved; if the second point shifts to the positive direction of the x axis, the contrast of the picture is increased and the overall brightness is reduced. Therefore, the position of the second point is very important to select, and in this embodiment, the position of the second point is finally obtained by shifting to the corresponding direction according to the gain coefficient a on the basis of the histogram mean value k.
Let the coordinates of the second point be: (x)c,yc);
Wherein x isc=f(k,α),yc=xc(k is the mean value, α is the gain factor);
f (k, α) ═ k (1- α θ), and θ ∈ [0,1] is a clipping coefficient.
Calculating a second type of control point:
in this embodiment, the fourth point is a control point of a dark area, and the control point obviously deviates from the straight line where the first type of control point is located and deviates to the negative direction of the y axis, so that the contrast of the area is enhanced while the overall brightness of the image dark area is reduced.
The coordinates of the fourth point may be: (x)L,yL)
Wherein,
Figure GDA0002522102580000081
yL=g(α,xL) (α is gain coefficient, α∈ [0,1]]);
g(α,xL)=xL(1+η(α-1)),η∈[0,1]Is the clipping coefficient;
in this embodiment, the fifth point is a bright area control point, and the control point obviously deviates from the straight line where the first type of control point is located and deviates in the positive direction of the y axis, so that the contrast of the area is enhanced while the overall brightness of the bright area of the image is improved.
The coordinates of the fifth point may be: (x)R,yR);
Wherein,
Figure GDA0002522102580000091
yR=h(a,xR);
h(α,xR)=xR+α(255-xR),∈[0,1]is the clipping coefficient.
S306: and acquiring a corresponding digital Bezier curve according to the acquired control points.
S307: the digital bezier curve is linearly interpolated to obtain a continuous smooth digital bezier curve.
In this embodiment, the digital bezier curve is composed of discrete isolated points, the points composing the digital bezier curve in S306 may be sparse, and if a continuous smooth bezier curve, that is, a denser bezier curve is to be obtained, the bezier curve may be subjected to linear difference, that is, a plurality of points are inserted between each discrete point, so that the digital bezier curve can obtain continuous sampling values at each sampling point, thereby obtaining a continuous smooth bezier curve.
S106: and adjusting the gray values of the bright area and the dark area according to the gain lookup table so as to enhance the contrast of the bright area and the dark area.
In this embodiment, when the gray values of the bright area and the dark area are adjusted according to the gain lookup table, pixel conversion may be performed on the square map pixel by pixel, that is, the gray values of the bright area and the dark area are converted one by one. Since the digital bezier curve is continuously smooth and the gain lookup table corresponds to the continuously smooth digital bezier curve, when adjusting the gray values of the bright area and the dark area, the increasing or decreasing amplitude of the gray values at the boundary of the bright area and the gray values at the boundary of the dark area is small, the increasing or decreasing amplitude of the gray values in the middle of the bright area and the dark area is relatively large, and the curve is smooth at the boundary point of the bright area and the dark area, so that the bright area and the dark area are smoothly transited after adjusting the gray values of the bright area and the dark area. Therefore, the problem of pixel point saturation is avoided, and the contrast of a display picture can be improved.
Specifically, when the light and dark regions are adjusted, according to the continuous and smooth bezier curve obtained through the above two types of control points, the image adjustment amplitude is close to 0 at the first type of control point, i.e. the first point, the second point and the third point; and pixel saturation is effectively avoided at the first point and the third point. At the second point, the light and dark boundary point, the curve is continuous and smooth. And near the second type of control point, the image adjustment amplitude is large, the dynamic range is expanded to a bright level and a dark level respectively, the image contrast is enhanced, and the picture is bright and easy to see.
In the embodiment of the invention, the pixel characteristic value of the current screen display picture is extracted by a histogram area integration method, the backlight value and the image gain coefficient corresponding to the pixel characteristic value are searched in the loaded lookup table, and the current screen display picture is adjusted to the backlight value. And marking the histogram of the obtained gray value probability as a bright area and a dark area, generating a continuous smooth Bezier curve according to the marked bright area, the marked dark area and the image gain coefficient, and respectively adjusting the gray value of each pixel in the bright area and the dark area according to the continuous smooth Bezier curve. Therefore, the backlight brightness is reduced, the power consumption is reduced, the contrast of bright and dark areas of the image is enhanced under the condition of lower backlight brightness, the visual effect of the image is improved, the problem of oversaturation of pixels is avoided, and the loss of image details is avoided to a great extent.
Referring to fig. 4, a schematic structural diagram of an adjusting apparatus for a display screen based on backlight brightness according to an embodiment of the present invention is shown. In this embodiment, the apparatus may include:
an extracting unit 401, configured to extract a pixel feature value of a current screen display image according to a histogram area integration method;
a searching unit 402, configured to search, in the loaded lookup table, a backlight value and an image gain coefficient corresponding to the pixel characteristic value;
a first adjusting unit 403, configured to adjust the backlight brightness of the current screen display image according to the backlight value;
a labeling unit 404, configured to label the obtained histogram of gray value probabilities as a bright area and a dark area; the histogram of the gray value probability is obtained according to the collected gray values of the display picture and the probability of the gray values appearing in the display picture;
a generating unit 405, configured to generate a continuous smooth bezier curve according to a bright area dark area, an image gain coefficient, and a preset rule, and generate a gain lookup table corresponding to the continuous smooth digital bezier curve;
the second adjusting unit 406 is configured to adjust the gray values of the bright area and the dark area according to the gain lookup table, so as to enhance the contrast of the bright area and the dark area.
Optionally, the extracting unit includes:
the sampling subunit is used for sampling the gray value of each pixel of the current screen display picture according to a preset sampling method;
the first calculating subunit is used for calculating a histogram of the gray value probability according to the sampling result;
the second calculating subunit is used for traversing the histogram from the side with the low gray value and calculating the area of the histogram region corresponding to the traversed gray value by adopting a fixed integration method;
the first judgment subunit is used for judging whether the area is larger than a preset area threshold value or not;
and the determining subunit is used for taking the gray value at the moment as a pixel characteristic value if the gray value is larger than the preset area threshold value.
Optionally, the marking unit includes:
the first acquisition subunit is used for acquiring the average value of each gray value of the histogram and taking the acquired average value as a segmentation threshold;
the second judgment subunit is configured to judge whether each gray value of the histogram is greater than a preset segmentation threshold;
a first marking subunit, configured to mark, as a bright area, an area formed by grayscale values greater than the division threshold;
and the second marking subunit is used for marking the area formed by the gray values which are not greater than the segmentation threshold value as a dark area.
Optionally, the generating unit includes:
a third calculating subunit, configured to calculate a plurality of control points of the digital bezier curve according to the bright area, the dark area, and the image gain coefficient;
the second obtaining subunit is used for obtaining the corresponding digital Bezier curve according to the control points;
an obtaining subunit, configured to perform linear interpolation on the digital bezier curve to obtain a continuous smooth bezier curve.
Optionally, the method further includes:
and the loading subunit is used for loading the lookup table.
With the device provided in this embodiment, a pixel characteristic value of a current screen display image is extracted by a histogram area integration method, a backlight value and an image gain coefficient corresponding to the pixel characteristic value are searched in a loaded lookup table, and the current screen display image is adjusted to the backlight value. And marking the histogram of the obtained gray value probability as a bright area and a dark area, generating a continuous smooth Bezier curve according to the marked bright area, the marked dark area and the image gain coefficient, and respectively adjusting the gray value of each pixel in the bright area and the dark area according to the continuous smooth Bezier curve. Therefore, the backlight brightness is reduced, the power consumption is reduced, the contrast of bright and dark areas of the image is enhanced under the condition of lower backlight brightness, the visual effect of the image is improved, the problem of oversaturation of pixels is avoided, and the loss of image details is avoided to a great extent.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method for adjusting a display picture based on backlight brightness is characterized by comprising the following steps:
sampling the gray value of each pixel of the current screen display picture according to a preset sampling method;
calculating a histogram of the gray value probability according to the sampling result;
traversing the histogram from the side with low gray value, and calculating the area of the histogram region corresponding to the traversed gray value by adopting a fixed integral method;
judging whether the area is larger than a preset area threshold value or not;
if the gray value is larger than the preset area threshold value, taking the gray value at the moment as a pixel characteristic value;
searching a backlight value and an image gain coefficient corresponding to the pixel characteristic value in a loaded lookup table;
adjusting the backlight brightness of the current screen display picture according to the backlight value;
labeling the histogram as light and dark regions;
generating a continuous smooth digital Bezier curve according to a bright area dark area, an image gain coefficient and a preset rule, and generating a gain lookup table corresponding to the continuous smooth digital Bezier curve;
and adjusting the gray values of the bright area and the dark area according to the gain lookup table so as to enhance the contrast of the bright area and the dark area.
2. The method of claim 1, wherein said labeling the histogram as light and dark comprises:
acquiring the average value of all gray values of the histogram, and taking the acquired average value as a segmentation threshold;
judging whether each gray value of the histogram is larger than the segmentation threshold value;
marking the area formed by the gray values larger than the segmentation threshold value as a bright area;
regions made up of gray values not greater than the segmentation threshold are marked as dark regions.
3. The method of claim 1, wherein the generating a continuous smooth digital bezier curve according to bright and dark regions, image gain coefficients and a preset rule comprises:
calculating a plurality of control points of the digital Bessel curve according to the bright area, the dark area and the image gain coefficient;
acquiring a corresponding digital Bezier curve according to the control points;
performing linear interpolation on the digital Bezier curve to obtain a continuous smooth digital Bezier curve.
4. The method according to claim 1, wherein before extracting the pixel feature value of the display frame according to the histogram area integration method, the method further comprises:
and loading the lookup table.
5. An apparatus for adjusting a display based on backlight brightness, the apparatus comprising:
the extraction unit is used for extracting the pixel characteristic value of the current screen display picture according to a histogram area integration method; the method comprises the following steps: the sampling subunit is used for sampling the gray value of each pixel of the current screen display picture according to a preset sampling method; the first calculating subunit is used for calculating a histogram of the gray value probability according to the sampling result; the second calculating subunit is used for traversing the histogram from the side with the low gray value and calculating the area of the histogram region corresponding to the traversed gray value by adopting a fixed integration method; the first judgment subunit is used for judging whether the area is larger than a preset area threshold value or not; the determining subunit is used for taking the gray value at the moment as a pixel characteristic value if the gray value is larger than a preset area threshold value;
the searching unit is used for searching a backlight value and an image gain coefficient corresponding to the pixel characteristic value in a loaded searching table;
the first adjusting unit is used for adjusting the backlight brightness of the current screen display picture according to the backlight value;
a marking unit for marking the histogram as a bright area and a dark area;
the generating unit is used for generating a continuous smooth digital Bezier curve according to the bright area dark area, the image gain coefficient and a preset rule and generating a gain lookup table corresponding to the continuous smooth digital Bezier curve;
and the second adjusting unit is used for adjusting the gray values of the bright area and the dark area according to the gain lookup table so as to enhance the contrast of the bright area and the dark area.
6. The apparatus of claim 5, wherein the marking unit comprises:
the first acquisition subunit is used for acquiring the average value of all gray values of the histogram and taking the acquired average value as a segmentation threshold;
the second judgment subunit is configured to judge whether each gray value of the histogram is greater than a preset segmentation threshold;
a first marking subunit, configured to mark, as a bright area, an area formed by grayscale values greater than the division threshold;
and the second marking subunit is used for marking the area formed by the gray values which are not greater than the segmentation threshold value as a dark area.
7. The apparatus of claim 5, wherein the generating unit comprises:
a third calculating subunit, configured to calculate a plurality of control points of the digital bezier curve according to the bright area, the dark area, and the image gain coefficient;
the second obtaining subunit is used for obtaining the corresponding digital Bezier curve according to the control points;
an obtaining subunit, configured to perform linear interpolation on the digital bezier curve to obtain a continuous smooth digital bezier curve.
8. The apparatus of claim 5, further comprising:
and the loading subunit is used for loading the lookup table.
CN201611234280.8A 2016-12-28 2016-12-28 Display picture adjusting method and device based on backlight brightness Active CN108257580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611234280.8A CN108257580B (en) 2016-12-28 2016-12-28 Display picture adjusting method and device based on backlight brightness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611234280.8A CN108257580B (en) 2016-12-28 2016-12-28 Display picture adjusting method and device based on backlight brightness

Publications (2)

Publication Number Publication Date
CN108257580A CN108257580A (en) 2018-07-06
CN108257580B true CN108257580B (en) 2020-08-28

Family

ID=62719420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611234280.8A Active CN108257580B (en) 2016-12-28 2016-12-28 Display picture adjusting method and device based on backlight brightness

Country Status (1)

Country Link
CN (1) CN108257580B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956933B (en) * 2018-09-27 2021-02-12 中科创达软件股份有限公司 Power consumption adjusting method and device for display equipment
CN110956587B (en) * 2018-09-27 2023-07-21 中科创达软件股份有限公司 Display picture adjusting method and device
CN111063319B (en) * 2018-10-16 2021-05-18 深圳Tcl新技术有限公司 Image dynamic enhancement method and device based on backlight adjustment and computer equipment
CN109686324B (en) * 2019-02-28 2020-08-14 厦门天马微电子有限公司 Display method of display device and display device
CN112446831B (en) * 2019-08-30 2024-09-20 深圳Tcl新技术有限公司 Image enhancement method and computer equipment
CN110648640B (en) * 2019-09-27 2021-07-16 厦门天马微电子有限公司 Pixel compensation method, pixel compensation device and display device
CN110767170B (en) * 2019-11-05 2020-11-10 深圳市华星光电半导体显示技术有限公司 Picture display method and picture display device
CN111028792B (en) * 2019-12-30 2021-05-25 紫光展讯通信(惠州)有限公司 Display control method and device
CN113596362B (en) * 2020-04-30 2023-09-29 深圳市万普拉斯科技有限公司 Dark field picture compensation method, device, display equipment and readable storage medium
CN115205509B (en) * 2022-09-16 2022-11-18 上海英立视电子有限公司 Method and system for adjusting stereoscopic impression of image
CN116884359A (en) * 2023-09-06 2023-10-13 深圳市明亚顺科技有限公司 Adaptive dimming method, device, equipment and storage medium based on picture content

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523397A (en) * 2011-12-12 2012-06-27 四川长虹电器股份有限公司 Method for adjusting screen image quality
CN103325355A (en) * 2013-06-18 2013-09-25 华南理工大学 Method for dynamically adjusting backlight brightness based on image content
CN103778900A (en) * 2012-10-23 2014-05-07 浙江大华技术股份有限公司 Image processing method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170642B (en) * 2006-10-26 2010-08-18 深圳Tcl工业研究院有限公司 A dynamically video image processing method
JP4247269B2 (en) * 2006-11-21 2009-04-02 株式会社ルネサステクノロジ Display device drive circuit
US8531492B2 (en) * 2008-11-14 2013-09-10 Dolby Laboratories Licensing Corporation Custom PSFs using clustered light sources
CN102568386B (en) * 2010-12-29 2015-08-19 上海易维视科技有限公司 Dynamic backlight local control liquid crystal display and system
CN105185328B (en) * 2015-09-01 2018-01-09 青岛海信电器股份有限公司 Liquid crystal display brightness control method and device and liquid crystal display

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523397A (en) * 2011-12-12 2012-06-27 四川长虹电器股份有限公司 Method for adjusting screen image quality
CN103778900A (en) * 2012-10-23 2014-05-07 浙江大华技术股份有限公司 Image processing method and system
CN103325355A (en) * 2013-06-18 2013-09-25 华南理工大学 Method for dynamically adjusting backlight brightness based on image content

Also Published As

Publication number Publication date
CN108257580A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN108257580B (en) Display picture adjusting method and device based on backlight brightness
KR100916073B1 (en) Apparatus and method of stretching histogram for enhancing contrast of image
US8131098B2 (en) Image processing device, image processing method, image processing system, program, storage medium, and integrated circuit
US10783837B2 (en) Driving method and driving device of display device, and related device
JP5334402B2 (en) Display apparatus and method for improving flicker of video
TWI752084B (en) Display apparatus
US9704227B2 (en) Method and apparatus for image enhancement
JP4795473B2 (en) Image processing apparatus and control method thereof
US9818332B2 (en) Image display method and electronic device
US10937130B1 (en) Image color enhancement method and device
US20090115718A1 (en) Liquid crystal display method and the appratus thereof
EP3379822B1 (en) Video enhancement method, terminal, and nonvolatile computer readable storage medium
US9396526B2 (en) Method for improving image quality
WO2019205751A1 (en) Image enhancement method
CN109584191B (en) Self-adaptive image enhancement method and terminal based on histogram
JP2010217954A (en) Image processing apparatus and method, learning apparatus and method, and program
US20110222796A1 (en) Image Processing Apparatus, Image Processing Method, Program, and Imaging Apparatus
US8577141B2 (en) Method of enhancing contrast using bezier curve
JP4903577B2 (en) Video signal converter, video display device
CN111160215B (en) Brightness regulator and method for image mark
US20130101212A1 (en) Automatic Sharpening of Images
JP5089797B2 (en) Image processing apparatus and control method thereof
US20200160492A1 (en) Image Adjustment Method and Device, Image Display Method and Device, Non-Transitory Storage Medium
CN110827241B (en) Low-brightness enhanced picture full-reference method based on color distortion and contrast enhancement
CN108564534A (en) A kind of picture contrast method of adjustment based on retrieval

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