CN110807750A - Image processing method and apparatus - Google Patents

Image processing method and apparatus Download PDF

Info

Publication number
CN110807750A
CN110807750A CN201911112275.3A CN201911112275A CN110807750A CN 110807750 A CN110807750 A CN 110807750A CN 201911112275 A CN201911112275 A CN 201911112275A CN 110807750 A CN110807750 A CN 110807750A
Authority
CN
China
Prior art keywords
brightness
flat area
value
image
flat
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.)
Granted
Application number
CN201911112275.3A
Other languages
Chinese (zh)
Other versions
CN110807750B (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.)
Hisense Electric Co Ltd
Original Assignee
Hisense Electric 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 Hisense Electric Co Ltd filed Critical Hisense Electric Co Ltd
Priority to CN201911112275.3A priority Critical patent/CN110807750B/en
Publication of CN110807750A publication Critical patent/CN110807750A/en
Application granted granted Critical
Publication of CN110807750B publication Critical patent/CN110807750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • G06T5/92
    • G06T5/94
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The application provides an image processing method and equipment, wherein the method comprises the following steps: according to the brightness difference between pixel points in an image, carrying out region division on the image to obtain a flat region and a non-flat region; respectively adjusting the brightness of the flat area and the non-flat area according to the brightness levels of the flat area and the non-flat area and a brightness adjustment strategy corresponding to the brightness levels to obtain an adjusted image; and displaying the adjusted image. The method of the embodiment of the application improves the image display effect.

Description

Image processing method and apparatus
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an image processing method and apparatus.
Background
At present, the high-speed development and intellectualization of the television industry become the inevitable trend of the current television industry, and more users select to use televisions to watch network videos. At present, video contents on a network are abundant in types and large in quantity, but the quality is uneven, for example, the image brightness and darkness level is not good, which affects the viewing effect, as shown in fig. 1.
At present, a dynamic contrast adjustment algorithm is adopted to improve contrast, the brightness of an image is adjusted according to the average brightness of the image and response curves of low brightness, medium brightness and high brightness, however, when the average brightness is between two thresholds, two response curves act simultaneously, the coupling between the response curves can generate conflict in some scenes, and finally the image contrast improvement effect is poor.
Disclosure of Invention
The application provides an image processing method and image processing equipment, which are used for improving image contrast and improving image display effect.
In a first aspect, the present application provides an image processing method, including:
according to the brightness difference between pixel points in an image, carrying out region division on the image to obtain a flat region and a non-flat region;
respectively adjusting the brightness of the flat area and the non-flat area according to the brightness levels of the flat area and the non-flat area and a brightness adjustment strategy corresponding to the brightness levels to obtain an adjusted image;
and displaying the adjusted image.
In a second aspect, the present application provides an image processing apparatus comprising:
the preprocessing module is used for carrying out region division on the image according to the brightness difference among all pixel points in the image to obtain a flat region and a non-flat region;
the processing module is used for respectively adjusting the brightness of the flat area and the non-flat area according to the brightness levels of the flat area and the non-flat area and a brightness adjustment strategy corresponding to the brightness levels to obtain an adjusted image;
and the display module is used for displaying the adjusted image.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method of any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides a display device, including:
a processor, a display; and
a memory for storing executable instructions of the processor;
the display is used for displaying images;
wherein the processor is configured to perform the method of any of the first aspects via execution of the executable instructions.
According to the image processing method, the image processing device and the storage medium, the image is subjected to region division according to the brightness difference among all pixel points in the image, and a flat region and a non-flat region are obtained; the brightness of the flat area and the brightness of the non-flat area are respectively adjusted according to the brightness levels of the flat area and the non-flat area and the brightness adjustment strategies corresponding to the brightness levels to obtain adjusted images, the images are divided into areas according to the brightness difference, the brightness is adjusted according to the divided areas and the adjustment strategies corresponding to different brightness levels, the precision of improving the contrast is higher, the effect of improving the contrast of the images is better, and the image display effect is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a diagram of a first image;
FIG. 2 is a low light response curve;
FIG. 3 is a medium bright response curve;
FIG. 4 is a highlight response curve;
FIG. 5 is a flowchart illustrating an embodiment of an image processing method provided in the present application;
FIG. 6 is a second image illustration;
FIG. 7 is a schematic diagram illustrating an embodiment of an image processing method provided herein;
FIG. 8A is a histogram statistics illustration of an embodiment provided herein;
FIG. 8B is a histogram statistics illustration of another embodiment provided herein;
FIG. 9 is a schematic structural diagram of an embodiment of an image processing apparatus provided in the present application;
fig. 10 is a schematic structural diagram of an embodiment of a display device provided in the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terms "comprising" and "having," and any variations thereof, in the description and claims of this application and the drawings described herein are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Firstly, the application scenario related to the present application is introduced:
the method provided by the embodiment of the application is applied to an image processing scene, for example, the display device adjusts the contrast of an image before displaying the image so as to improve the image display effect.
The method provided by the application can be realized by a display device such as a processor executing corresponding software codes, and can also be realized by the display device performing data interaction with a server while executing the corresponding software codes, for example, the server controls the display device to realize the image processing method. The display device and the server can be connected through a network.
Wherein, the display device includes for example: and terminal equipment such as televisions, personal computers and tablet computers.
As shown in fig. 2, the low-brightness response curve is mainly used for low-brightness images, and the overall brightness of the images is low, which is easy to compensate for dark field detail loss. The brightness of the image is increased by this curve. And if the average brightness of the image is less than a certain threshold value L and the average brightness of the image is lower, the brightness of the image is improved by adopting the low-brightness response area. For example, when the image of fig. 1 is processed, the final image still has poor contrast and poor gradation.
As shown in fig. 3, the medium-bright response curve is mainly used for medium-bright images, and the brightness difference of the images is small, so that the problem of the level difference is compensated. The brightness of the darker pixel points in the image is darker, and the brightness of the brighter pixel points is brighter. As shown in fig. 4, the curve is a highlight response curve, mainly for a highlight image, the overall brightness of the image is high, and it is easy to compensate for the loss of bright field details.
In fig. 2-4, the abscissa x is the input luminance, the ordinate y is the output luminance,
if the average brightness of the image is larger than a certain threshold value L and smaller than a certain threshold value M, the contrast adjustment is realized through the combined action of the low-brightness response curve and the medium-brightness response curve.
If the average brightness of the image is larger than a certain threshold M and smaller than a certain threshold H, the contrast adjustment is realized through the joint action of the high-brightness response curve and the medium-brightness response curve.
However, the average brightness cannot completely represent the current brightness distribution information of the image, and under the same average brightness, the brightness distribution of the image has an obvious difference, and meanwhile, when the brightness is between two thresholds, two response curves act simultaneously, and the coupling between the static curves conflicts in a part of scenes, which finally results in a poor image contrast improvement effect.
According to the method, the flat area and the non-flat area are divided in the image, different contrast enhancement processing is performed according to the flat area and the non-flat area and the adjustment strategies corresponding to the respective brightness levels, and the problems of floating white of dark scenes (starry sky near black backgrounds), poor floating white level of dark parts of bright scenes and the like in the image are solved.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 5 is a flowchart illustrating an embodiment of an image processing method provided in the present application. As shown in fig. 5, the method provided by this embodiment includes:
step 101, according to the brightness difference between each pixel point in the image, performing region division on the image to obtain a flat region and a non-flat region.
Before the contrast of the image is adjusted, a flat area and a non-flat area in the current image may be divided, where the flat area is, for example, a small luminance difference between pixels in the area, and the non-flat area is, for example, a large luminance difference between pixels in the area, and especially a large luminance difference between adjacent pixels.
In one embodiment, as shown in fig. 7, step 101 may be preceded by the following operations:
determining whether the brightness value of each pixel point in the image is within a preset brightness range according to the minimum brightness value and the maximum brightness value in the image;
if not, preprocessing the brightness value of each pixel point in the image so as to enable the brightness value of each pixel point in the image to be within a preset brightness range.
Specifically, as shown in fig. 6, when the brightness of the input of the upper and lower black edge signals in the image is not 0, the upper and lower black edges become too bright, and the gradation of the entire screen is raised. Therefore, the non-standard signals can be processed in the embodiment of the application.
Firstly, acquiring information of an image, for example, a preset brightness range of a standard signal corresponding to the image, for example, the preset brightness range of an rgbw limit signal is 16-235, the preset brightness range of an RGB FULL signal is 0-255, and the preset brightness range of a YUV signal is 16-235.
And extracting the brightness of the image to obtain a minimum brightness value MinLv and a maximum brightness value MaxLv in the image.
If the minimum brightness value or the maximum brightness value does not belong to a preset brightness range, for example, for RGB Limit signals and YUV signals, if the minimum brightness value is less than 16 or the maximum brightness value is greater than 235, the signal of the image belongs to a non-standard signal, then preprocessing is performed, so that the brightness value of each pixel point in the image is within the preset brightness range.
Alternatively, for example, for the RGB FULL signal, the non-standard signal may be a signal having a minimum luminance value other than 0.
For example, by the following formula:
Yout={(Yin-MinLv)/(MaxLv-MinLv)}×219+16
wherein Yin represents the original brightness value of the pixel point, and Yout represents the brightness value after the pixel point is processed.
Step 102, respectively adjusting the brightness of the flat area and the brightness of the non-flat area according to the brightness levels of the flat area and the non-flat area and a brightness adjustment strategy corresponding to the brightness levels to obtain an adjusted image;
and step 103, displaying the adjusted image.
Specifically, different regions may be adjusted according to the same or different adjustment strategies, and different brightness levels of different regions may also correspond to the same or different brightness adjustment strategies.
For a flat area or a non-flat area, if the brightness mean value of the area is less than or equal to a first preset value, determining the brightness level of any area as a first brightness level;
if the brightness mean value of any area is greater than a first preset value and less than or equal to a second preset value, determining the brightness level of any area as a second brightness level;
and if the brightness mean value of any area is greater than the second preset value, determining the brightness level of any area as a third brightness level.
For example, the third brightness level is a high brightness level, the second brightness level is a medium brightness level, and the first brightness level is a low brightness level.
In the method of the embodiment of the application, more brightness levels can be divided, so that finer-grained image contrast adjustment is realized.
For example, if the brightness level of a flat or non-flat area is a low brightness level, the brightness values of the pixels in the flat or non-flat area may be decreased. For example, if the brightness level of a certain non-flat area is a high brightness level, the brightness of the non-flat area may be extended, for example, some brightness values are increased, that is, the brightness values of some pixel points are changed to increase the brightness level.
According to the method, according to the brightness difference between each pixel point in the image, the image is divided into areas, and a flat area and a non-flat area are obtained; the brightness of the flat area and the brightness of the non-flat area are respectively adjusted according to the brightness levels of the flat area and the non-flat area and the brightness adjustment strategies corresponding to the brightness levels to obtain adjusted images, the images are divided into areas according to the brightness difference, the brightness is adjusted according to the divided areas and the adjustment strategies corresponding to different brightness levels, the precision of improving the contrast is higher, the effect of improving the contrast of the images is better, and the image display effect is improved.
On the basis of the foregoing embodiment, further, step 101 may specifically be implemented by:
dividing pixel points in the image, the brightness difference between the pixel points and the adjacent pixel points of which is less than a first preset threshold value, into flat areas;
and dividing the pixel points, of which the brightness difference with the adjacent pixel points is greater than or equal to a first preset threshold value, in the image into non-flat areas.
Specifically, the brightness difference of adjacent pixel points in the flat area is small, the brightness difference of adjacent pixel points in the non-flat area is large, and the adjacent pixel points with the brightness difference smaller than a first preset threshold value in the image can be divided into the flat areas; and dividing adjacent pixel points with the brightness difference larger than or equal to a first preset threshold value in the image into non-flat areas.
Further, the brightness adjustment for the flat area may be performed as follows:
if the brightness level of the flat area is the first brightness level, performing darkening processing on the pixel points of the flat area; when the average brightness value of the flat area is less than or equal to the first preset value, the brightness level of the flat area is a first brightness level.
In an embodiment, the darkening processing on the pixel point of the flat area can be specifically realized by the following method:
and subtracting the minimum brightness value of the flat area from the brightness value of each pixel point of the flat area to obtain the brightness value of each pixel point of the flat area after adjustment.
Specifically, the adjustment strategy corresponding to the first brightness level of the flat area is as follows:
the first brightness level is, for example, a low brightness level, a flat area of the low brightness level is similar to the upper and lower black edges of a movie or a dark night background, the brightness value of each pixel point in the flat area is darkened, for example, the minimum brightness value in the flat area is subtracted, and the dark field is darkened, so that the contrast of the whole image is improved. Yout-MinLv 1 can be processed according to this formula. Wherein Yin represents the original brightness value of the pixel point, and Yout represents the brightness value after the pixel point is processed. MinLv1 represents the minimum brightness value in the flat area.
The flat areas with middle and high brightness levels can keep the original brightness and are not processed.
Further, the brightness adjustment for the non-flat area may be performed as follows:
if the brightness level of the non-flat area is a first brightness level or a second brightness level, performing shading treatment on the pixel points of the non-flat area, wherein when the brightness mean value of the non-flat area is less than or equal to a first preset value, the brightness level of the non-flat area is the first brightness level, and when the brightness mean value of the non-flat area is greater than the first preset value and less than or equal to the second preset value, the brightness level of the non-flat area is the second brightness level;
in an embodiment, the darkening processing on the pixel point in the non-flat area can be specifically realized by the following method:
subtracting the minimum brightness value of the non-flat area from the brightness value of the pixel point with the brightness value smaller than the second preset threshold value in the non-flat area to obtain the brightness value of each pixel point of the non-flat area after adjustment;
if the brightness level of the non-flat area is a third brightness level, performing brightness value expansion processing on the pixel points of the non-flat area, wherein when the brightness mean value of the non-flat area is greater than the second preset value, the brightness level of the non-flat area is the third brightness level;
in an embodiment, the luminance value expansion processing is performed on the pixel point in the non-flat area, which may be specifically implemented by the following method:
subtracting the minimum brightness value of the non-flat area from the brightness value of each pixel point of the non-flat area to obtain a first intermediate value, dividing the first intermediate value by a brightness difference value to obtain a second intermediate value, and multiplying the first intermediate value by the maximum brightness value of the non-flat area to obtain the adjusted brightness value of each pixel point of the non-flat area; the brightness difference value is the difference between the maximum brightness value and the minimum brightness value of the non-flat area.
Specifically, the adjustment strategy for the first brightness level and the second brightness level of the non-flat area is as follows:
the first brightness level is, for example, a low brightness level, the second brightness level is, for example, a medium brightness level, the low-brightness pixel points in the current non-flat area are subjected to the shading processing to improve the contrast, the low-brightness threshold y1 is set, the pixels with the brightness smaller than y1 in the current non-flat area are subjected to the shading processing, and other pixels are not subjected to the processing. For example, the non-flat area may be a starry sky, the night sky is black when the background is provided, and if there are many stars, the background is darkened, so that the contrast between the stars and the night sky is more obvious.
Further, if the brightness level of the non-flat area is the first brightness level, for example, the low brightness level, the following operations may be performed before the brightness adjustment:
performing histogram statistics on the brightness information of the non-flat area to obtain the brightness distribution of the non-flat area, wherein the brightness distribution comprises at least two brightness values;
and if the number of the brightness values in the brightness distribution is smaller than a third preset threshold and the brightness difference between the brightness values in the brightness distribution is larger than a fourth preset threshold, subtracting the minimum brightness value of the non-flat area from the brightness value of the pixel point of which the brightness value in the non-flat area is smaller than the second preset threshold.
Specifically, histogram statistics is performed on the luminance information of the non-flat area to obtain luminance distribution, where the luminance distribution includes a plurality of luminance values and the number of pixels corresponding to each luminance value (in fig. 8A, the abscissa represents the luminance value, and the ordinate represents the number of pixels), and if the luminance distribution is relatively uniform or irregular, no processing is performed; as shown in fig. 8A, if the luminance values are less (e.g., less than the third preset threshold), the distribution is regular, and the brightness difference is significant (e.g., the luminance difference is greater than the fourth preset threshold), then the low-luminance pixel points in the current non-flat area are dimmed to improve the contrast, the low-luminance threshold y1 is set, the pixels with luminance less than y1 in the current non-flat area are dimmed, and the other pixels are not processed. For example, the non-flat area may be a starry sky, the night sky is black when the background is provided, and if there are many stars, the background is darkened, so that the contrast between the stars and the night sky is more obvious.
The adjustment strategy corresponding to the third brightness level for the non-flat area is as follows:
the third brightness level is, for example, a high brightness level, and the non-flat area may be saturated in brightness and poor in low brightness level, so that the brightness value of the non-flat area may be expanded to improve the brightness level.
For example, the maximum brightness value in the non-flat area is unchanged, and the brightness values of other pixel points are reduced. See, for example, the following equation:
Yout={(Yin-MinLv2)/(MaxLv2-MinLv2)}×MaxLv2
wherein Yin represents the original brightness value of the pixel point, and Yout represents the brightness value after the pixel point is processed. MinLv2 represents the minimum luminance value in the non-flat region, and MaxLv2 represents the maximum luminance value in the non-flat region. Yin-MinLv2 gave a first intermediate value, (Yin-MinLv2)/(MaxLv2-MinLv2) gave a second intermediate value.
As shown in fig. 8B, for example, the luminance of the pixel corresponding to the luminance value smaller than the maximum luminance value may be equalized to increase the pixel having the luminance value smaller than the maximum luminance value in the non-flat area, where the left side in fig. 8B is the histogram statistical result before processing, and the right side is the histogram statistical result after processing.
In this embodiment, for the divided flat area or the divided non-flat area, the image brightness distribution of different areas is changed, so that the contrast of the image is more significant, and the display effect is improved.
Fig. 9 is a structural diagram of an embodiment of an image processing apparatus provided in the present application, and as shown in fig. 9, the image processing apparatus of the present embodiment includes:
the preprocessing module 901 is configured to perform region division on an image according to a brightness difference between each pixel point in the image to obtain a flat region and a non-flat region;
a processing module 902, configured to adjust the brightness of the flat area and the brightness of the non-flat area respectively according to the brightness levels of the flat area and the non-flat area and a brightness adjustment policy corresponding to the brightness levels, so as to obtain an adjusted image;
a display module 903, configured to display the adjusted image.
In one possible implementation, the preprocessing module 901 is configured to:
dividing pixel points in the image, the brightness difference between the pixel points and the adjacent pixel points of which is less than a first preset threshold value, into flat areas;
and dividing the pixel points, of which the brightness difference with the adjacent pixel points is greater than or equal to a first preset threshold value, in the image into non-flat areas.
In one possible implementation, the processing module 902 is configured to:
and if the brightness level of the flat area is a first brightness level, performing darkening processing on the pixel points of the flat area, wherein when the brightness mean value of the flat area is less than or equal to the first preset value, the brightness level of the flat area is the first brightness level.
In one possible implementation, the processing module 902 is configured to:
and subtracting the minimum brightness value of the flat area from the brightness value of each pixel point of the flat area to obtain the brightness value of each pixel point of the flat area after adjustment.
In one possible implementation, the processing module 902 is configured to:
if the brightness level of the non-flat area is a first brightness level or a second brightness level, performing shading processing on the pixel points of the non-flat area, wherein when the brightness mean value of the non-flat area is less than or equal to the first preset value, the brightness level of the non-flat area is the first brightness level, and when the brightness mean value of the non-flat area is greater than the first preset value and less than or equal to the second preset value, the brightness level of the non-flat area is the second brightness level;
and if the brightness level of the non-flat area is a third brightness level, performing brightness value expansion processing on the pixel points of the non-flat area, wherein when the brightness mean value of the non-flat area is greater than the second preset value, the brightness level of the non-flat area is the third brightness level.
In one possible implementation, the processing module 902 is configured to:
and subtracting the minimum brightness value of the non-flat area from the brightness value of the pixel point with the brightness value smaller than a second preset threshold value in the non-flat area to obtain the brightness value of each pixel point of the non-flat area after adjustment.
In one possible implementation, the processing module 902 is configured to:
subtracting the minimum brightness value of the non-flat area from the brightness value of each pixel point of the non-flat area to obtain a first intermediate value, dividing the first intermediate value by a brightness difference value to obtain a second intermediate value, and multiplying the second intermediate value by the maximum brightness value of the non-flat area to obtain an adjusted brightness value of each pixel point of the non-flat area; the brightness difference value is the difference between the maximum brightness value and the minimum brightness value of the non-flat area.
In one possible implementation, the processing module 902 is configured to:
performing histogram statistics on the brightness information of the non-flat area to obtain the brightness distribution of the non-flat area, wherein the brightness distribution comprises at least two brightness values;
and if the number of the brightness values in the brightness distribution is smaller than a third preset threshold value and the brightness difference between the brightness values in the brightness distribution is larger than a fourth preset threshold value, performing darkening processing on the pixel points of the non-flat area.
In a possible implementation manner, the preprocessing module 901 is further configured to:
determining whether the brightness value of each pixel point in the image is within a preset brightness range according to the minimum brightness value and the maximum brightness value in the image;
if not, preprocessing the brightness value of each pixel point in the image so as to enable the brightness value of each pixel point in the image to be within the preset brightness range.
The apparatus of this embodiment may be configured to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 10 is a structural diagram of an embodiment of a display device provided in the present application, and as shown in fig. 10, the display device includes:
a processor 101, a display 103, and a memory 102 for storing executable instructions for the processor 101. The display 103 is used to display images.
The above components may communicate over one or more buses.
The processor 101 is configured to execute the corresponding method in the foregoing method embodiment by executing the executable instruction, and the specific implementation process of the method may refer to the foregoing method embodiment, which is not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method in the foregoing method embodiment is implemented.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An image processing method, comprising:
according to the brightness difference between pixel points in an image, carrying out region division on the image to obtain a flat region and a non-flat region;
respectively adjusting the brightness of the flat area and the non-flat area according to the brightness levels of the flat area and the non-flat area and a brightness adjustment strategy corresponding to the brightness levels to obtain an adjusted image;
and displaying the adjusted image.
2. The method according to claim 1, wherein the dividing the image into regions according to the brightness difference between the pixels in the image comprises:
dividing pixel points in the image, the brightness difference between the pixel points and the adjacent pixel points of which is less than a first preset threshold value, into flat areas;
and dividing the pixel points, of which the brightness difference with the adjacent pixel points is greater than or equal to a first preset threshold value, in the image into non-flat areas.
3. The method according to claim 1 or 2, wherein adjusting the brightness of the flat area according to the brightness level of the flat area and a brightness adjustment strategy corresponding to the brightness level comprises:
and if the brightness level of the flat area is a first brightness level, performing darkening processing on the pixel points of the flat area, wherein when the brightness mean value of the flat area is less than or equal to a first preset value, the brightness level of the flat area is the first brightness level.
4. The method of claim 3, wherein the darkening the pixel points of the flat region comprises:
and subtracting the minimum brightness value of the flat area from the brightness value of each pixel point of the flat area to obtain the brightness value of each pixel point of the flat area after adjustment.
5. The method according to claim 1 or 2, wherein adjusting the brightness of the non-flat area according to the brightness level of the non-flat area and a brightness adjustment strategy corresponding to the brightness level comprises:
if the brightness level of the non-flat area is a first brightness level or a second brightness level, performing shading processing on the pixel points of the non-flat area, wherein when the brightness mean value of the non-flat area is less than or equal to a first preset value, the brightness level of the non-flat area is the first brightness level, and when the brightness mean value of the non-flat area is greater than the first preset value and less than or equal to the second preset value, the brightness level of the non-flat area is the second brightness level;
and if the brightness level of the non-flat area is a third brightness level, performing brightness value expansion processing on the pixel points of the non-flat area, wherein when the brightness mean value of the non-flat area is greater than the second preset value, the brightness level of the non-flat area is the third brightness level.
6. The method of claim 5, wherein the darkening the pixel points of the non-flat area comprises:
and subtracting the minimum brightness value of the non-flat area from the brightness value of the pixel point with the brightness value smaller than a second preset threshold value in the non-flat area to obtain the brightness value of each pixel point of the non-flat area after adjustment.
7. The method according to claim 5, wherein said performing a luminance value expansion process on the pixels of the non-flat region comprises:
subtracting the minimum brightness value of the non-flat area from the brightness value of each pixel point of the non-flat area to obtain a first intermediate value, dividing the first intermediate value by a brightness difference value to obtain a second intermediate value, and multiplying the second intermediate value by the maximum brightness value of the non-flat area to obtain an adjusted brightness value of each pixel point of the non-flat area; the brightness difference value is the difference between the maximum brightness value and the minimum brightness value of the non-flat area.
8. The method of claim 5, wherein if the brightness level of the non-flat region is the first brightness level, before performing the shading process on the pixel points of the non-flat region, the method further comprises:
performing histogram statistics on the brightness information of the non-flat area to obtain the brightness distribution of the non-flat area, wherein the brightness distribution comprises at least two brightness values;
correspondingly, the step of performing shading processing on the pixel points of the non-flat area includes:
and if the number of the brightness values in the brightness distribution is smaller than a third preset threshold value and the brightness difference between the brightness values in the brightness distribution is larger than a fourth preset threshold value, performing darkening processing on the pixel points of the non-flat area.
9. The method according to claim 1 or 2, wherein before the dividing the image into regions according to the brightness difference between the pixels in the image, the method further comprises:
determining whether the brightness value of each pixel point in the image is within a preset brightness range according to the minimum brightness value and the maximum brightness value in the image;
if not, preprocessing the brightness value of each pixel point in the image so as to enable the brightness value of each pixel point in the image to be within the preset brightness range.
10. A display device, comprising:
a processor, a display; and
a memory for storing executable instructions of the processor;
the display is used for displaying images;
wherein the processor is configured to perform the method of any of claims 1-9 via execution of the executable instructions.
CN201911112275.3A 2019-11-14 2019-11-14 Image processing method and apparatus Active CN110807750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911112275.3A CN110807750B (en) 2019-11-14 2019-11-14 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911112275.3A CN110807750B (en) 2019-11-14 2019-11-14 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
CN110807750A true CN110807750A (en) 2020-02-18
CN110807750B CN110807750B (en) 2022-11-18

Family

ID=69502663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911112275.3A Active CN110807750B (en) 2019-11-14 2019-11-14 Image processing method and apparatus

Country Status (1)

Country Link
CN (1) CN110807750B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114268745A (en) * 2020-09-16 2022-04-01 北京小米移动软件有限公司 Brightness adjusting method, device, equipment and storage medium
CN114827482A (en) * 2021-01-28 2022-07-29 北京字节跳动网络技术有限公司 Image brightness adjusting method and device, electronic equipment and medium
WO2022246663A1 (en) * 2021-05-25 2022-12-01 深圳市大疆创新科技有限公司 Image processing method, device and system, and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549592A (en) * 2003-05-23 2004-11-24 华亚微电子(上海)有限公司 Adaptive recursive noise reducing method of video signal for applied scene static detection
CN102254313A (en) * 2011-07-14 2011-11-23 浙江大学 Image defogging method based on restoration and fusion of images on foggy days
CN102469238A (en) * 2010-11-08 2012-05-23 旭曜科技股份有限公司 Method and system for enhancing sharpness of image by using pixel region characteristics
CN104732487A (en) * 2013-12-20 2015-06-24 比亚迪股份有限公司 Method and system for enhancing picture contrast
CN105511132A (en) * 2015-11-30 2016-04-20 友达光电股份有限公司 Display with switchable viewing angle and operation method thereof
WO2016072129A1 (en) * 2014-11-05 2016-05-12 シャープ株式会社 Field-sequential image display device and image display method
CN106097970A (en) * 2016-08-10 2016-11-09 深圳市华星光电技术有限公司 A kind of driving method reducing AMOLED display ghost and drive system
JP2017013481A (en) * 2015-06-29 2017-01-19 キヤノン株式会社 Image processing system, image processing method for the same, and program
CN107707827A (en) * 2017-11-14 2018-02-16 维沃移动通信有限公司 A kind of high-dynamics image image pickup method and mobile terminal
CN108009997A (en) * 2017-11-08 2018-05-08 青岛海信电器股份有限公司 Method and device for adjusting image contrast
CN108513044A (en) * 2018-04-16 2018-09-07 深圳市华星光电技术有限公司 Picture smooth treatment method, electronic device and computer readable storage medium
CN109272459A (en) * 2018-08-20 2019-01-25 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN109727215A (en) * 2018-12-28 2019-05-07 Oppo广东移动通信有限公司 Image processing method, device, terminal device and storage medium
CN109741280A (en) * 2019-01-04 2019-05-10 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110400260A (en) * 2018-04-25 2019-11-01 展讯通信(上海)有限公司 Image processing method and device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549592A (en) * 2003-05-23 2004-11-24 华亚微电子(上海)有限公司 Adaptive recursive noise reducing method of video signal for applied scene static detection
CN102469238A (en) * 2010-11-08 2012-05-23 旭曜科技股份有限公司 Method and system for enhancing sharpness of image by using pixel region characteristics
CN102254313A (en) * 2011-07-14 2011-11-23 浙江大学 Image defogging method based on restoration and fusion of images on foggy days
CN104732487A (en) * 2013-12-20 2015-06-24 比亚迪股份有限公司 Method and system for enhancing picture contrast
WO2016072129A1 (en) * 2014-11-05 2016-05-12 シャープ株式会社 Field-sequential image display device and image display method
JP2017013481A (en) * 2015-06-29 2017-01-19 キヤノン株式会社 Image processing system, image processing method for the same, and program
CN105511132A (en) * 2015-11-30 2016-04-20 友达光电股份有限公司 Display with switchable viewing angle and operation method thereof
CN106097970A (en) * 2016-08-10 2016-11-09 深圳市华星光电技术有限公司 A kind of driving method reducing AMOLED display ghost and drive system
CN108009997A (en) * 2017-11-08 2018-05-08 青岛海信电器股份有限公司 Method and device for adjusting image contrast
CN107707827A (en) * 2017-11-14 2018-02-16 维沃移动通信有限公司 A kind of high-dynamics image image pickup method and mobile terminal
CN108513044A (en) * 2018-04-16 2018-09-07 深圳市华星光电技术有限公司 Picture smooth treatment method, electronic device and computer readable storage medium
CN110400260A (en) * 2018-04-25 2019-11-01 展讯通信(上海)有限公司 Image processing method and device
CN109272459A (en) * 2018-08-20 2019-01-25 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN109727215A (en) * 2018-12-28 2019-05-07 Oppo广东移动通信有限公司 Image processing method, device, terminal device and storage medium
CN109741280A (en) * 2019-01-04 2019-05-10 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王燕波 等: "基于高分辨率遥感影像的矿山开发监测研究", 《热带地理》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114268745A (en) * 2020-09-16 2022-04-01 北京小米移动软件有限公司 Brightness adjusting method, device, equipment and storage medium
CN114827482A (en) * 2021-01-28 2022-07-29 北京字节跳动网络技术有限公司 Image brightness adjusting method and device, electronic equipment and medium
WO2022160905A1 (en) * 2021-01-28 2022-08-04 北京字节跳动网络技术有限公司 Image brightness adjustment method and apparatus, and electronic device and medium
CN114827482B (en) * 2021-01-28 2023-11-03 抖音视界有限公司 Image brightness adjusting method and device, electronic equipment and medium
WO2022246663A1 (en) * 2021-05-25 2022-12-01 深圳市大疆创新科技有限公司 Image processing method, device and system, and storage medium

Also Published As

Publication number Publication date
CN110807750B (en) 2022-11-18

Similar Documents

Publication Publication Date Title
CN110807750B (en) Image processing method and apparatus
US8340413B2 (en) Display device and method of improving flicker of image
US7573533B2 (en) Method of generating transfer curves for adaptive contrast enhancement
CN105407296B (en) Real-time video enhancement method and device
US8009905B2 (en) System, medium, and method with noise reducing adaptive saturation adjustment
US20090317017A1 (en) Image characteristic oriented tone mapping for high dynamic range images
CN108962185B (en) Method for reducing display image brightness, device thereof and display device
US20080030450A1 (en) Image display apparatus
KR20070111389A (en) Image correction circuit, image correction method, and image display
CN111064942B (en) Image processing method and apparatus
WO2021218603A1 (en) Image processing method and projection system
US7453524B2 (en) Method and device for image contrast enhancement
EP1374563A2 (en) System and method for performing segmentation-based enhancements of a video image
JP4930781B2 (en) Image correction circuit, image correction method, and image display apparatus
CN101399909B (en) Adaptive image regulating method and image processing device using the method
CN110766622A (en) Underwater image enhancement method based on brightness discrimination and Gamma smoothing
CN114037641A (en) Low-illumination image enhancement method, device, equipment and medium
US20120314969A1 (en) Image processing apparatus and display device including the same, and image processing method
US8693777B2 (en) Apparatus and method for estimating edge areas of digital image
CN111372020B (en) Image display method, terminal and storage medium for enhancing contrast
CN115223509A (en) Backlight control method, backlight control device, display equipment and computer readable storage medium
JP2009128608A (en) Display module controller
CN115239578A (en) Image processing method and device, computer readable storage medium and terminal equipment
CN112992052A (en) Power consumption control method of display panel and display panel
JP5012195B2 (en) Image correction circuit, image correction method, and image display apparatus

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co.,Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

GR01 Patent grant
GR01 Patent grant