WO2023082859A1 - 图像处理方法、图像处理器、电子设备及存储介质 - Google Patents

图像处理方法、图像处理器、电子设备及存储介质 Download PDF

Info

Publication number
WO2023082859A1
WO2023082859A1 PCT/CN2022/120605 CN2022120605W WO2023082859A1 WO 2023082859 A1 WO2023082859 A1 WO 2023082859A1 CN 2022120605 W CN2022120605 W CN 2022120605W WO 2023082859 A1 WO2023082859 A1 WO 2023082859A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
brightness
threshold
proportion
low
Prior art date
Application number
PCT/CN2022/120605
Other languages
English (en)
French (fr)
Inventor
田其冲
李建强
吴有肇
Original Assignee
深圳Tcl新技术有限公司
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 深圳Tcl新技术有限公司 filed Critical 深圳Tcl新技术有限公司
Publication of WO2023082859A1 publication Critical patent/WO2023082859A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration by the use of histogram techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06T5/90
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning

Definitions

  • the present application relates to the field of image processing, in particular to an image processing method, device, electronic equipment and storage medium.
  • Embodiments of the present application provide an image processing method, device, electronic equipment, and storage medium.
  • the image processing method can process different image types, thereby improving image quality.
  • the embodiment of the present application provides an image processing method, including:
  • the brightness value of each pixel of the first image is adjusted according to the target adjustment type to obtain the second image.
  • an image processing device including:
  • An acquisition module configured to acquire the first image, and determine the histogram and average pixel brightness corresponding to the first image
  • the first determination module is used to determine the image type corresponding to the first image according to the histogram and the average pixel brightness;
  • the second determination module is configured to determine the target adjustment type corresponding to the first image according to the image type
  • An adjustment module configured to adjust the brightness value of each pixel of the first image according to the target adjustment type, so as to obtain the second image.
  • an embodiment of the present application provides an electronic device, a memory storing executable program code, and a processor coupled to the memory; the processor invokes the executable program code stored in the memory to execute the Steps in an image processing method.
  • the embodiment of the present application provides a computer-readable storage medium, the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the image processing method provided in the embodiment of the present application.
  • the electronic device acquires the first image, and determines the histogram and average pixel brightness corresponding to the first image, and then determines the image type corresponding to the first image according to the histogram and average pixel brightness; then determines the second image type according to the image type A target adjustment type corresponding to an image; finally, the brightness value of each pixel of the first image is adjusted according to the target adjustment type to obtain a second image. Since the image type corresponding to the first image is determined in this application, the adjustment type corresponding to the image type can be used to better adjust the image, thereby improving the image quality of the image.
  • FIG. 1 is a schematic flowchart of a first image processing method provided by an embodiment of the present application.
  • FIG. 2 is a second schematic flowchart of the image processing method provided by the embodiment of the present application.
  • FIG. 3 is a schematic diagram of a first structure of an image processing device provided by an embodiment of the present application.
  • FIG. 4 is a second structural schematic diagram of an image processing device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • a common practice at present is to adjust the display pictures in all scenes by adopting a single picture adjustment method.
  • the picture scene in the video is constantly changing, for example, different display areas may have brightness changes and color changes, which may result in different picture scenes corresponding to images under different frames. If a single image adjustment method is still adopted, the display quality corresponding to the adjusted image will be worse.
  • the details of the picture in the dark area will be lost. If only to suppress the brightness of the highlight area, the brightness of some areas will not be bright enough. As a result, the perception of the final display screen is poor.
  • embodiments of the present application provide an image processing method, device, electronic equipment, and storage medium.
  • the image processing method can process different image types, thereby improving image quality.
  • the image processing method is applicable to any electronic device that can process images, such as electronic devices such as televisions, smart phones, computers, tablet computers, smart glasses, and head-mounted virtual devices.
  • FIG. 1 is a schematic flowchart of a first image processing method provided by an embodiment of the present application.
  • the image processing method may include the following steps:
  • the electronic device may acquire an initial image first, and then perform color space conversion on the original image to obtain the first image.
  • the initial image is an image in the RGB (Red, Green, Blue) color space
  • the first image can be obtained by converting the RGB color space of the initial image to the YUV color space, where "Y" in the YUV color space represents Brightness, "U” and “V” represent chroma (Chrominance or Chroma), which is used to describe the color and saturation of the image, and is used to specify the color of the pixel.
  • the image format of the first image may be set according to actual needs, for example, the color space of the first image may be an HSV color space.
  • a histogram may be generated according to the brightness value of each pixel in the first image, where the histogram is used to measure the distribution of pixels under different brightness, For example, the horizontal axis of the histogram is brightness, and the vertical axis is the number of pixels.
  • the histogram corresponding to the first image may be directly determined according to the brightness component of the Y channel of the first image.
  • the electronic device may determine the number of all pixels in the first image, determine the brightness value corresponding to each pixel, and then use the number of all pixels and the brightness value corresponding to each pixel to determine the average pixel brightness.
  • the brightness value of each pixel is added to obtain the sum of brightness, and then the sum of brightness is divided by the number of all pixels to obtain the average pixel brightness.
  • the electronic device may first perform normalization processing on the histogram, and then determine the image type corresponding to the first image according to the normalized histogram and the average pixel brightness.
  • the electronic device can determine the proportion of low brightness, the proportion of medium brightness, and the proportion of high brightness of pixels in the first image according to the normalized histogram, for example, the probability of the image brightness of the first image can be obtained according to the normalized histogram A cumulative distribution function CDF (Cumulative Density Function), thereby determining the proportion of low brightness, proportion of medium brightness, and proportion of high brightness of the first image.
  • CDF Cumulative Density Function
  • the electronic device can set a low brightness threshold and a high brightness threshold, wherein the high brightness threshold is greater than the low brightness threshold, and the range from zero to the low brightness threshold is determined as the low brightness range, and the range from the low brightness threshold The range from the high brightness threshold is determined as the medium brightness range, and the range from the high brightness threshold to the brightness saturation value is determined as the high brightness range.
  • the quantity determines the proportion of low brightness, medium brightness and high brightness.
  • the electronic device may determine the image type corresponding to the first image according to the proportion of low brightness, proportion of medium brightness, proportion of high brightness and average pixel brightness.
  • the electronic device determines the first high threshold and the first low threshold corresponding to the proportion of low brightness, the second high threshold and the second low threshold corresponding to the proportion of medium brightness, and the third highest threshold and the first threshold corresponding to the proportion of high brightness.
  • Three low thresholds wherein, the first high threshold is greater than the first low threshold, the second high threshold is greater than the second low threshold, and the third high threshold is greater than the third low threshold.
  • the image type corresponding to the first image is determined according to the first high threshold and the first low threshold, the second high threshold and the second low threshold, the third high threshold and the third low threshold, and the average pixel brightness.
  • the first high threshold and the first low threshold, the second high threshold and the second low threshold, the third high threshold and the third low threshold may be preset.
  • the electronic device first determines the preset low average brightness and the preset high average brightness corresponding to the first image, where the preset low average brightness and the preset high average brightness may be preset.
  • the electronic device determines that the proportion of low luminance of the first image is greater than or equal to the first high threshold, the proportion of medium luminance of the first image is less than the second low threshold, the proportion of high luminance is less than the third low threshold, and the average of the first image If the pixel brightness is less than the preset low average brightness, it is determined that the image type corresponding to the first image is the image type of a low-brightness scene.
  • the electronic device determines that the proportion of low luminance of the first image is greater than or equal to the first low threshold, the proportion of medium luminance of the first image is greater than or equal to the second low threshold, the proportion of high luminance is less than the third low threshold, and the proportion of the first image is If the average pixel brightness is greater than or equal to the preset low average brightness, it is determined that the image type corresponding to the first image is the image type of a low-medium brightness scene.
  • the electronic device determines that the proportion of low luminance of the first image is less than the first low threshold, the proportion of medium luminance of the first image is greater than or equal to the second high threshold, and the proportion of high luminance is less than the third low threshold, the average pixel of the first image If the brightness is greater than or equal to the preset low average brightness, and the average pixel brightness of the first image is smaller than the preset high average brightness, then it is determined that the image type corresponding to the first image is an image type of a medium brightness scene.
  • the electronic device determines that the proportion of low brightness of the first image is less than the first low threshold, the proportion of medium brightness of the first image is greater than or equal to the second high threshold, and the proportion of high brightness is greater than or equal to the third low threshold, the proportion of the first image If the average pixel brightness is greater than or equal to the preset low average brightness, and the average pixel brightness of the first image is smaller than the preset high average brightness, then it is determined that the image type corresponding to the first image is an image type of a medium-high brightness scene.
  • the electronic device determines that the proportion of low brightness of the first image is less than the first low threshold, the proportion of medium brightness of the first image is less than the second low threshold, and the proportion of high brightness is greater than or equal to the third high threshold, the average pixel of the first image If the brightness is greater than or equal to the preset high average brightness, it is determined that the image type corresponding to the first image is an image type of a high-brightness scene.
  • the proportion of the first image is If the average pixel brightness is greater than or equal to the preset low average brightness, and the average pixel brightness of the first image is smaller than the preset high average brightness, then it is determined that the image type corresponding to the first image is the image type of the low-high brightness scene.
  • the electronic device determines that the proportion of low luminance of the first image is greater than or equal to the first low threshold, the proportion of medium luminance of the first image is greater than or equal to the second low threshold, and the proportion of high luminance is greater than or equal to the third low threshold, the first If the average pixel brightness of the image is greater than or equal to the preset low average brightness, and the average pixel brightness of the first image is smaller than the preset high average brightness, then it is determined that the image type corresponding to the first image is an image type of a scene with uniform brightness.
  • multiple adjustment types may be preset in the electronic device, and each adjustment type corresponds to a different way of adjusting the brightness of the first image.
  • the electronic device can set a first preset mapping relationship between the image type and the adjustment type. After the electronic device determines the image type of the first image, it can directly determine the corresponding image of the first image according to the first preset mapping relationship. Target reconciliation type.
  • the electronic device may determine an adjustment curve type corresponding to the first image according to the target adjustment type, and then adjust the brightness value of each pixel of the first image according to the adjustment curve type to obtain the second image.
  • a database may be preset, in which a second preset mapping relationship between multiple target adjustment types and multiple adjustment curve types is stored, and after the electronic device determines the target adjustment type of the first image, it may The adjustment curve type corresponding to the first image is determined in the database according to the second preset mapping relationship. Then the electronic device adjusts the brightness curve corresponding to the first image according to the adjustment curve type, so as to obtain the second image.
  • the electronic device may determine the brightness lookup table corresponding to the first image according to the target adjustment type, then determine the mapped brightness value corresponding to each pixel in the first image according to the brightness lookup table, and finally convert the brightness value of each pixel to adjusted to the corresponding mapped brightness value to generate the second image.
  • brightness lookup tables corresponding to multiple image types are stored in the electronic device. After the image type of the first image is determined, a brightness lookup table corresponding to the image type is determined, and then the electronic device determines the mapped brightness value corresponding to the brightness value of each pixel in the first image through the lookup table. For example, the brightness value of pixel A is 25, and the mapped brightness value corresponding to the brightness value of pixel A can be determined to be 50 through the brightness lookup table. In this manner, the mapped brightness value corresponding to each pixel in the first image can be determined, and then the brightness value of each pixel in the first image is adjusted to the corresponding mapped brightness value to obtain the second image.
  • the electronic device after the electronic device acquires the target adjustment type of the first image, it can input the target adjustment type into the neural network model, select the corresponding adjustment curve type through the neural network model, and then type to adjust the brightness curve of the first image, so that the brightness values of at least some pixels in the first image will change, so as to obtain the second image.
  • the electronic device acquires the first image, and determines the histogram and average pixel brightness corresponding to the first image, and then determines the image type corresponding to the first image according to the histogram and average pixel brightness; then determines the second image type according to the image type A target adjustment type corresponding to an image; finally, the brightness value of each pixel of the first image is adjusted according to the target adjustment type to obtain a second image. Since the image type corresponding to the first image is determined in this application, the adjustment type corresponding to the image type can be used to better adjust the image, thereby improving the image quality of the image.
  • FIG. 2 is a second schematic flowchart of the image processing method provided by the embodiment of the present application.
  • the image processing method may include:
  • the electronic device may acquire an initial image first, and then perform color space conversion on the initial image to obtain the first image. For example, if the initial image is an image in RGB color space, the first image may be obtained by converting the RGB color space of the initial image into a YUV color space.
  • the electronic device may acquire the number of pixels in the image, and the brightness value corresponding to each pixel in the first image.
  • the electronic device can determine the number of all pixels in the first image, determine the brightness value corresponding to each pixel, and then use the number of all pixels and the brightness value corresponding to each pixel to determine the average pixel brightness.
  • the brightness value of each pixel is added to obtain the sum of brightness, and then the sum of brightness is divided by the number of all pixels to obtain the average pixel brightness.
  • the electronic device can determine the brightness distribution in different brightness ranges according to the brightness value of each pixel, so as to generate a histogram.
  • the electronic device may divide the histogram into a preset number of sub-sections according to the preset number of partitions. For example, if the preset number of partitions is 32, the histogram may be divided into 32 different sub-sections.
  • normalization processing may be performed on the histogram, and brightness values of all pixels in the first image are normalized to a brightness range, thereby obtaining a normalized histogram.
  • a preset brightness range can be set, and the preset brightness range is 0 ⁇ 255, and the brightness values of all pixels can be normalized to the range of 0 ⁇ 255.
  • a normalized histogram is obtained.
  • the electronic device may obtain the probability cumulative distribution function of the image brightness of the first image according to the normalized histogram. Therefore, the proportion of low brightness, the proportion of medium brightness and the proportion of high brightness of the pixels in the first image are determined.
  • the electronic device can set a low brightness threshold and a high brightness threshold, wherein the high brightness threshold is greater than the low brightness threshold, and the range from zero to the low brightness threshold is determined as the low brightness range, and the range from the low brightness threshold The range from the high brightness threshold is determined as the medium brightness range, and the range from the high brightness threshold to the brightness saturation value is determined as the high brightness range.
  • the quantity determines the proportion of low brightness, medium brightness and high brightness.
  • the electronic device determines the first high threshold and the first low threshold corresponding to the proportion of low brightness, the second high threshold and the second low threshold corresponding to the proportion of medium brightness, and the third threshold corresponding to the proportion of high brightness. High threshold and third lowest threshold. Wherein, the first high threshold is greater than the first low threshold, the second high threshold is greater than the second low threshold, and the third high threshold is greater than the third low threshold.
  • the electronic device first determines the preset low average brightness and the preset high average brightness corresponding to the first image, where the preset low average brightness and the preset high average brightness may be preset.
  • the electronic device determines that the proportion of low luminance of the first image is greater than or equal to the first high threshold, the proportion of medium luminance of the first image is less than the second low threshold, the proportion of high luminance is less than the third low threshold, and the average of the first image If the pixel brightness is less than the preset low average brightness, it is determined that the image type corresponding to the first image is the image type of a low-brightness scene.
  • the electronic device determines that the proportion of low luminance of the first image is greater than or equal to the first low threshold, the proportion of medium luminance of the first image is greater than or equal to the second low threshold, the proportion of high luminance is less than the third low threshold, and the proportion of the first image is If the average pixel brightness is greater than or equal to the preset low average brightness, it is determined that the image type corresponding to the first image is the image type of a low-medium brightness scene.
  • the electronic device determines that the proportion of low luminance of the first image is less than the first low threshold, the proportion of medium luminance of the first image is greater than or equal to the second high threshold, and the proportion of high luminance is less than the third low threshold, the average pixel of the first image If the brightness is greater than or equal to the preset low average brightness, and the average pixel brightness of the first image is smaller than the preset high average brightness, then it is determined that the image type corresponding to the first image is an image type of a medium brightness scene.
  • the electronic device determines that the proportion of low brightness of the first image is less than the first low threshold, the proportion of medium brightness of the first image is greater than or equal to the second high threshold, and the proportion of high brightness is greater than or equal to the third low threshold, the proportion of the first image If the average pixel brightness is greater than or equal to the preset low average brightness, and the average pixel brightness of the first image is smaller than the preset high average brightness, then it is determined that the image type corresponding to the first image is an image type of a medium-high brightness scene.
  • the electronic device determines that the proportion of low brightness of the first image is less than the first low threshold, the proportion of medium brightness of the first image is less than the second low threshold, and the proportion of high brightness is greater than or equal to the third high threshold, the average pixel of the first image If the brightness is greater than or equal to the preset high average brightness, it is determined that the image type corresponding to the first image is an image type of a high-brightness scene.
  • the proportion of the first image is If the average pixel brightness is greater than or equal to the preset low average brightness, and the average pixel brightness of the first image is smaller than the preset high average brightness, then it is determined that the image type corresponding to the first image is the image type of the low-high brightness scene.
  • the electronic device determines that the proportion of low luminance of the first image is greater than or equal to the first low threshold, the proportion of medium luminance of the first image is greater than or equal to the second low threshold, and the proportion of high luminance is greater than or equal to the third low threshold, the first If the average pixel brightness of the image is greater than or equal to the preset low average brightness, and the average pixel brightness of the first image is smaller than the preset high average brightness, then it is determined that the image type corresponding to the first image is an image type of a scene with uniform brightness.
  • multiple adjustment types may be preset in the electronic device, and each adjustment type corresponds to a different way of adjusting the brightness of the first image.
  • the electronic device can set a first preset mapping relationship between the image type and the adjustment type. After the electronic device determines the image type of the first image, it can directly determine the corresponding image of the first image according to the first preset mapping relationship. Target reconciliation type.
  • the electronic device may preset a database in which the second preset mapping relationship between multiple target adjustment types and multiple adjustment curve types is stored.
  • the adjustment curve type corresponding to the first image may be determined in the database according to the second preset mapping relationship.
  • the electronic device after the electronic device acquires the target adjustment type of the first image, it can input the target adjustment type into the neural network model, and select the corresponding adjustment curve type through the neural network model.
  • the electronic device when it adjusts the brightness curve of the historical image, it records the corresponding adjustment curve type and target adjustment type during adjustment, and then inputs the adjustment curve type and target adjustment type into the initial neural network model for training, thus obtaining The neural network model.
  • At least part of the brightness curve of the first image may be adjusted according to the adjustment curve type.
  • the brightness of the high brightness area of the first image can be adaptively reserved without processing, and at the same time, the brightness of the dark area is reduced to highlight the image details of the dark area, thereby While improving the contrast of the first image, the dark details in the first image are also preserved.
  • the image type is the image type of a medium-brightness scene, it means that most of the brightness values of the first image are distributed in the middle-brightness area. The contrast of most areas in an image.
  • the S-curve when the adjustment curve type is an S-curve, the S-curve includes three coordinate points (0, 0), (APL, APL) and (255, 255). Where (0, 0) is the origin, (APL, APL) is a point on the curve, and (255, 255) is the vertex of the S-curve.
  • the calculation method of a 20 + (25 - X* 100) * 1.6.
  • the above is only the image type of the medium-brightness scene.
  • the adjusted brightness curve is obtained, and finally the second image, the second image has the brightness characteristics of the adjusted brightness curve.
  • other curve adjustment types may be used to adjust the first image, so as to obtain the second image.
  • the electronic device may convert the color space of the second image into an RGB color space to obtain the target image.
  • the image processing method can adjust static images, such as photos. Adjustments can also be made to dynamic images, such as videos. Through this adjustment method, each frame of image in the video can have good contrast and picture details, thereby improving the picture quality of the entire video and improving the user's perception.
  • the electronic device obtains the number of pixels in the first image and the brightness value corresponding to each pixel in the first image, and then determines according to the number of pixels in the first image and the brightness value corresponding to each pixel For the average pixel brightness, the histogram is generated according to the brightness value of each pixel, and the histogram is normalized to obtain a normalized histogram.
  • the proportions of low brightness, medium brightness and high brightness of the pixels in the first image are determined. Then determine the first high threshold and the first low threshold corresponding to the low brightness ratio, the second high threshold and the second low threshold corresponding to the medium brightness ratio, and the third high threshold and the third low threshold corresponding to the high brightness ratio .
  • the image type corresponding to the first image is determined according to the first high threshold and the first low threshold, the second high threshold and the second low threshold, the third high threshold and the third low threshold, and the average pixel brightness.
  • the second image has better image quality than the first image.
  • FIG. 3 is a schematic diagram of the first structure of an image processing device provided in an embodiment of the present application.
  • the image processing device may include:
  • the acquisition module 310 is configured to acquire the first image, and determine the histogram and average pixel brightness corresponding to the first image.
  • the first determination module 320 is configured to determine the image type corresponding to the first image according to the histogram and the average pixel brightness.
  • the second determination module 330 is configured to determine the target adjustment type corresponding to the first image according to the image type.
  • the adjustment module 340 is configured to adjust the brightness value of each pixel of the first image according to the target adjustment type to obtain the second image.
  • the obtaining module 310 is configured to obtain a brightness value corresponding to each pixel in the first image; and generate a histogram according to the brightness value of each pixel.
  • the acquiring module 310 is configured to acquire the number of pixels in the first image, and the brightness value corresponding to each pixel in the first image; determine according to the number of pixels in the first image and the brightness value corresponding to each pixel Average pixel brightness.
  • the first determination module 320 is further configured to perform normalization processing on the histogram to obtain a normalized histogram; determine the image type corresponding to the first image according to the normalized histogram and the average pixel brightness.
  • the first determining module 320 is specifically configured to determine the proportion of low brightness, proportion of medium brightness, and proportion of high brightness of pixels in the first image according to the normalized histogram; The ratio, the high brightness ratio and the average pixel brightness determine the image type corresponding to the first image.
  • the first determination module 320 is specifically configured to determine the first high threshold and the first low threshold corresponding to the low brightness ratio, the second high threshold and the second low threshold corresponding to the medium brightness ratio, and the high brightness ratio.
  • the third high threshold and the third low threshold corresponding to the ratio; according to the first high threshold and the first low threshold, the second high threshold and the second low threshold, the third high threshold and the third low threshold, and the average pixel brightness to determine the first The image type corresponding to an image.
  • the adjustment module 340 is further configured to determine an adjustment curve type corresponding to the first image according to the target adjustment type; and adjust the brightness value of each pixel of the first image according to the adjustment curve type to obtain the second image.
  • the adjustment module 340 is also used to determine the brightness lookup table corresponding to the first image according to the target adjustment type; determine the mapped brightness value corresponding to each pixel in the first image according to the brightness lookup table; Values are adjusted to the corresponding mapped luminance values to generate the second image.
  • FIG. 4 is a second structural schematic diagram of the image processing device provided by the embodiment of the present application.
  • the image processing device also includes:
  • the first conversion module 350 is configured to acquire the initial image, and convert the color space of the initial image into a YUV color space to obtain the first image.
  • the second conversion module 360 is configured to convert the color space of the second image into RGB color space to obtain the target image.
  • the electronic device acquires the first image, and determines the histogram and average pixel brightness corresponding to the first image, and then determines the image type corresponding to the first image according to the histogram and average pixel brightness; then determines the second image type according to the image type A target adjustment type corresponding to an image; finally, the brightness value of each pixel of the first image is adjusted according to the target adjustment type to obtain a second image. Since the image type corresponding to the first image is determined in this application, the adjustment type corresponding to the image type can be used to better adjust the image, thereby improving the image quality of the image.
  • the embodiment of the present application also provides an electronic device.
  • FIG. It includes a processor 404 with one or more processing cores, a power supply 406 and other components.
  • a processor 404 with one or more processing cores
  • a power supply 406 and other components.
  • FIG. 5 does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange different components. in:
  • the input unit 401 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
  • the input unit 401 may include a touch-sensitive surface as well as other input devices.
  • a touch-sensitive surface also known as a touch display or trackpad, collects the user's touch on or near it (for example, the user uses a finger, stylus, etc. any suitable object or accessory on the touch-sensitive surface or on the touch-sensitive operation near the surface), and drive the corresponding connection device according to the preset program.
  • the touch-sensitive surface may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 404, and can receive and execute commands sent by the processor 404.
  • touch-sensitive surfaces can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 401 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 402 can be used to display information input by or provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof.
  • the display unit 402 may include a display panel, and optionally, a liquid crystal display (LCD, Liquid Crystal Display), Organic Light-Emitting Diode (OLED, Organic Light-Emitting Diode) and other forms to configure the display panel.
  • the touch-sensitive surface may cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, the touch operation is sent to the processor 404 to determine the type of the touch event, and then the processor 404 displays on the display according to the type of the touch event.
  • the corresponding visual output is provided on the panel.
  • the touch-sensitive surface and the display panel are used as two independent components to realize the input and input functions, in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize the input and output functions.
  • the memory 403 can be used to store software programs and modules, and the processor 404 executes various functional applications and data processing by running the software programs and modules stored in the memory 403 .
  • the memory 403 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of electronic devices (such as audio data, phonebook, etc.), etc.
  • the memory 403 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the memory 403 may further include a memory controller to provide the processor 404 and the input unit 401 with access to the memory 403 .
  • the electronic device may also include at least one sensor 405, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or backlight.
  • the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of electronic equipment (such as horizontal and vertical screen switching, Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors that can also be configured for electronic devices, here No longer.
  • the processor 404 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and/or modules stored in the memory 403, and calling data stored in the memory 403 , to perform various functions of the electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 404 may include one or more processing cores; preferably, the processor 404 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 404 .
  • the electronic device also includes a power supply 406 (such as a battery) for supplying power to various components.
  • a power supply 406 (such as a battery) for supplying power to various components.
  • the power supply can be logically connected to the processor 404 through a power management system, so that functions such as charging, discharging, and power consumption management can be implemented through the power management system.
  • the power supply 406 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
  • the electronic device may also include a camera, a Bluetooth module, etc., which will not be repeated here.
  • the processor 404 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 403 according to the following instructions, and the processor 404 runs the executable file stored in the The application program in memory 403, thereby realizes various functions:
  • the brightness value of each pixel of the first image is adjusted according to the target adjustment type to obtain the second image.
  • an embodiment of the present application provides a computer-readable storage medium, which stores a plurality of instructions that can be loaded by a processor to perform the steps in any image processing method provided in the embodiments of the present application.
  • the command can perform the following steps:
  • the brightness value of each pixel of the first image is adjusted according to the target adjustment type to obtain the second image.
  • the computer-readable storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD, etc.

Abstract

本申请实施例公开了一种图像处理方法,电子设备获取第一图像,并确定第一图像对应的直方图和平均像素亮度,然后根据直方图和平均像素亮度确定第一图像对应的图像类型;再根据图像类型确定第一图像对应的目标调节类型;最后根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。

Description

图像处理方法、图像处理器、电子设备及存储介质 技术领域
本申请涉及图像处理领域,具体涉及一种图像处理方法、装置、电子设备及存储介质。
背景技术
在现有技术中,对于显示屏的显示画面,往往采用单一的调节方式来对显示画面进行调节,但是针对于不同显示场景的显示画面,如果采用单一的调节方式来调节不同的显示画面,会导致一些显示画面在调节后显示效果更差。
技术问题
现有技术中对于显示屏显示的画面调节方式单一,调节后的显示效果差。
技术解决方案
本申请实施例提供一种图像处理方法、装置、电子设备及存储介质。该图像处理方法可以对不同的图像类型进行处理,从而提升图像质量。
第一方面,本申请实施例提供了一种图像处理方法,包括:
获取第一图像,并确定第一图像对应的直方图和平均像素亮度;
根据直方图和平均像素亮度确定第一图像对应的图像类型;
根据图像类型确定第一图像对应的目标调节类型;
根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。
第二方面,本申请实施例提供了一种图像处理装置,包括:
获取模块,用于获取第一图像,并确定第一图像对应的直方图和平均像素亮度;
第一确定模块,用于根据直方图和平均像素亮度确定第一图像对应的图像类型;
第二确定模块,用于根据图像类型确定第一图像对应的目标调节类型;
调节模块,用于根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。
第三方面,本申请实施例提供了一种电子设备,存储有可执行程序代码的存储器、与存储器耦合的处理器;处理器调用存储器中存储的可执行程序代码,执行本申请实施例提供的图像处理方法中的步骤。
第四方面,本申请实施例提供了一种计算机可读存储介质,存储介质存储有多条指令,指令适于处理器进行加载,以执行本申请实施例提供的图像处理方法中的步骤。
本申请实施例中,电子设备获取第一图像,并确定第一图像对应的直方图和平均像素亮度,然后根据直方图和平均像素亮度确定第一图像对应的图像类型;再根据图像类型确定第一图像对应的目标调节类型;最后根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。由于在本申请中确定了第一图像对应的图像类型,采用该图像类型对应的调节类型,能够更好的针对于该图像进行调节,从而提升该图像的图像质量。
有益效果
提升对不同的图像类型的图像的显示效果。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的图像处理方法的第一流程示意图。
图2是本申请实施例提供的图像处理方法的第二流程示意图。
图3是本申请实施例提供的图像处理装置的第一结构示意图。
图4是本申请实施例提供的图像处理装置的第二结构示意图。
图5是本申请实施例提供的电子设备的结构示意图。
本发明的实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在相关技术中,为了提升显示屏显示的画面质量,目前常用的做法就是通过采用单一的画面调节方式来调节所有场景下的显示画面。但是由于视频中的画面场景时不断变化的,比如不同的显示区域会发生亮度变化、颜色变化,则会导致不同帧下的图像对应的画面场景可能是不同的。如果仍然采用单一的画面调节方式,会导致调节后的画面对应的显示质量更差。
比如,如果单独提升了画面的亮度,不考虑暗部区域,则会导致暗部区域的画面细节丢失。如果单独为了压制高光区域的亮度,则会导致一些区域的亮度不够亮。从而导致最终的显示画面观感较差。
为了解决该技术问题,本申请实施例提供了一种图像处理方法、装置、电子设备及存储介质。该图像处理方法可以对不同的图像类型进行处理,从而提升图像质量。
需要说明的是,该图像处理方法适用于任何可以对图像进行处理的电子设备,比如电视、智能手机、电脑、平板电脑、智能眼镜、头戴式虚拟设备等电子设备。
请参阅图1,图1是本申请实施例提供的图像处理方法的第一流程示意图。该图像处理方法可以包括以下步骤:
110、获取第一图像,并确定第一图像对应的直方图和平均像素亮度。
在一些实施方式中,电子设备可以先获取初始图像,然后对原始图像进行色彩空间转换得到第一图像。比如,初始图像是RGB(Red,Green,Blue)色彩空间的图像,则可以通过将初始图像的RGB色彩空间转换为YUV色彩空间,从而得到第一图像,其中YUV色彩空间中的“Y”代表明亮度、“U”和“V”表示的则是色度(Chrominance或Chroma),作用是描述影像色彩及饱和度,用于指定像素的颜色。
需要说明的是,以上只是例举,对于第一图像的图像格式,可以根据实际需求而设定,比如第一图像的色彩空间可以是HSV色彩空间等。
在一些实施方式中,在获取到第一图像之后,可以根据第一图像中每一个像素的亮度值来生成直方图(Histogram),其中直方图是用来衡量在不同亮度下像素的分布情况,比如该直方图的横轴为亮度,纵轴为像素数量。
比如,可以直接根据第一图像的Y通道的亮度分量来确定出第一图像对应的直方图。
在一些实施方式中,电子设备可以确定出第一图像中所有像素的数量,并确定每一个像素对应的亮度值,然后利用所有像素的数量和每一个像素对应的亮度值确定出平均像素亮度。
比如,将每一个像素的亮度值相加得到亮度总和,然后将亮度总和除以所有像素的数量,则得到平均像素亮度。
120、根据直方图和平均像素亮度确定第一图像对应的图像类型。
在一些实施方式中,电子设备可以先对直方图进行归一化处理,然后根据归一化直方图和平均像素亮度确定第一图像对应的图像类型。
比如,电子设备可以根据归一化直方图确定第一图像中像素的低亮度占比、中亮度占比、高亮度占比,例如可以根据归一化直方图获取第一图像的图像亮度的概率累计分布函数CDF(Cumulative Density Function),从而确定出第一图像的低亮度占比、中亮度占比、高亮度占比。
在一些实施方式中,电子设备可以设置一个低亮度阈值和高亮度阈值,其中高亮度阈值比低亮度阈值大,将亮度从零到低亮度阈值的范围确定为低亮度范围,将从低亮度阈值到高亮度阈值的范围确定为中亮度范围,将高亮度阈值到亮度饱和值的范围确定为高亮度范围。
然后确定分布在低亮度范围的像素数量,确定出分布在中亮度范围的像素数量,再确定出分布在高亮度范围的像素数量,最后根据每个亮度范围的像素数量以及第一图像的总像素数量确定出低亮度占比、中亮度占比、高亮度占比。
在一些实施方式中,电子设备可以根据低亮度占比、中亮度占比、高亮度占比以及平均像素亮度确定第一图像对应的图像类型。
比如,电子设备确定低亮度占比对应的第一高阈值和第一低阈值,中亮度占比对应的第二高阈值和第二低阈值,以及高亮度占比对应的第三高阈值和第三低阈值。其中,第一高阈值大于第一低阈值,第二高阈值大于第二低阈值,第三高阈值大于第三低阈值。
根据第一高阈值和第一低阈值、第二高阈值和第二低阈值、第三高阈值和第三低阈值以及平均像素亮度确定所述第一图像对应的图像类型。其中,第一高阈值和第一低阈值、第二高阈值和第二低阈值、第三高阈值和第三低阈值可以是预先设定的。
例如,电子设备先确定第一图像对应的预设低平均亮度和预设高平均亮度,其中预设低平均亮度和预设高平均亮度可以是预先设置的。
当电子设备确定第一图像的低亮度占比大于或等于第一高阈值,第一图像的中亮度占比小于第二低阈值,高亮度占比小于第三低阈值,并且第一图像的平均像素亮度小于预设低平均亮度,则确定第一图像对应的图像类型为低亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比大于或等于第一低阈值,第一图像的中亮度占比大于或等于第二低阈值,高亮度占比小于第三低阈值,并且第一图像的平均像素亮度大于或等于预设低平均亮度,则确定第一图像对应的图像类型为低-中亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比小于第一低阈值,第一图像的中亮度占比大于或等于第二高阈值,高亮度占比小于第三低阈值,第一图像的平均像素亮度大于或等于预设低平均亮度,并且第一图像的平均像素亮度小于预设高平均亮度,则确定第一图像对应的图像类型为中亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比小于第一低阈值,第一图像的中亮度占比大于或等于第二高阈值,高亮度占比大于或等于第三低阈值,第一图像的平均像素亮度大于或等于预设低平均亮度,并且第一图像的平均像素亮度小于预设高平均亮度,则确定第一图像对应的图像类型为中-高亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比小于第一低阈值,第一图像的中亮度占比小于第二低阈值,高亮度占比大于或等于第三高阈值,第一图像的平均像素亮度大于或等于预设高平均亮度,则确定第一图像对应的图像类型为高亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比大于或等于第一低阈值,第一图像的中亮度占比小于第二低阈值,高亮度占比大于或等于第三低阈值,第一图像的平均像素亮度大于或等于预设低平均亮度,并且第一图像的平均像素亮度小于预设高平均亮度,则确定第一图像对应的图像类型为低-高亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比大于或等于第一低阈值,第一图像的中亮度占比大于或等于第二低阈值,高亮度占比大于或等于第三低阈值,第一图像的平均像素亮度大于或等于预设低平均亮度,并且第一图像的平均像素亮度小于预设高平均亮度,则确定第一图像对应的图像类型为均匀亮度场景的图像类型。
需要说明的是,在实际应用中,还可以根据上述方式确定出其他的图像类型,以上例举的图像类型只是本申请实施例提供的一部分,并不能视为对本申请的限制。
130、根据图像类型确定第一图像对应的目标调节类型。
在一些实施方式中,在电子设备中可以预设多种调节类型,每一种调节类型对应的第一图像的亮度调整方式均不同。
电子设备可以对图像类型和调节类型之间设置一个第一预设映射关系,当电子设备确定好第一图像的图像类型之后,可以直接根据该第一预设映射关系确定出第一图像对应的目标调节类型。
140、根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。
在一些实施方式中,电子设备可以根据目标调节类型确定第一图像对应的调节曲线类型,然后根据调节曲线类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。
比如,可以预先设置一个数据库,在这个数据库中存储有多个目标调节类型和多个调节曲线类型之间的第二预设映射关系,当电子设备确定出第一图像的目标调节类型之后,可以根据第二预设映射关系在数据库中确定第一图像对应的调节曲线类型。然后电子设备根据调节曲线类型对第一图像对应的亮度曲线进行调整,从而得到第二图像。
在一些实施方式中,电子设备可以根据目标调节类型确定第一图像对应的亮度查找表,然后根据亮度查找表确定第一图像中每一像素对应的映射亮度值,最后将每一像素的亮度值调节为对应的映射亮度值,以生成第二图像。
比如,在电子设备中存储有多个图像类型分别对应的亮度查找表。在确定好第一图像的图像类型之后,确定该图像类型对应的亮度查找表,然后电子设备通过该查找表确定第一图像中每一像素的亮度值对应的映射亮度值。例如,像素A的亮度值为25,通过亮度查找表,可以确定像素A的亮度值对应的映射亮度值为50。通过该方式,就能够确定出第一图像中每一个像素对应的映射亮度值,然后将第一图像中每一像素的亮度值调整为对应的映射亮度值,则得到第二图像。
在一些实施方式中,电子设备在获取到第一图像的目标调节类型之后,可以将目标调节类型输入到神经网络模型中,通过神经网络模型来选取出对应的调节曲线类型,然后根据该调节曲线类型来对第一图像的亮度曲线进行调节,从而使得第一图像中至少部分像素的亮度值会发生改变,从而得到第二图像。
本申请实施例中,电子设备获取第一图像,并确定第一图像对应的直方图和平均像素亮度,然后根据直方图和平均像素亮度确定第一图像对应的图像类型;再根据图像类型确定第一图像对应的目标调节类型;最后根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。由于在本申请中确定了第一图像对应的图像类型,采用该图像类型对应的调节类型,能够更好的针对于该图像进行调节,从而提升该图像的图像质量。
为了更加详细的了解本申请实施例提供的图像处理方法,请参阅图2,图2是本申请实施例提供的图像处理方法的第二流程示意图。其中,该图像处理方法可以包括:
201、获取第一图像中像素的数量,以及第一图像中每一像素对应的亮度值。
在一些实施方式中,电子设备可以先获取初始图像,然后对初始图像进行色彩空间转换得到第一图像。比如,初始图像是RGB色彩空间的图像,则可以通过将初始图像的RGB色彩空间转换为YUV色彩空间,从而得到第一图像。
在一些实施方式中,电子设备可以获取图像中像素的数量,以及第一图像中每一像素对应的亮度值。
202、根据第一图像中像素的数量及每一像素对应的亮度值确定平均像素亮度。
电子设备可以确定出第一图像中所有像素的数量,并确定每一个像素对应的亮度值,然后利用所有像素的数量和每一个像素对应的亮度值确定出平均像素亮度。
比如,将每一个像素的亮度值相加得到亮度总和,然后将亮度总和除以所有像素的数量,则得到平均像素亮度。
203、根据每一像素的亮度值生成所述直方图。
电子设备可以根据每一像素的亮度值来确定出在不同亮度范围内的亮度分布情况,从而生成直方图。
在一些实施方式中,电子设备可以根据预设分区数量将直方图划分为预设分区数量的子分区,比如,预设分区数量为32,则可以将直方图划分为32个不同的子分区。
204、对直方图进行归一化处理,以得到归一化直方图。
在一些实施方式中,可以对直方图进行归一化处理,将第一图像中所有像素的亮度值归一化到一个亮度范围内,从而得到归一化直方图。
比如,可以设定一个预设的亮度范围,该预设的亮度范围为0~255,可以将所有像素的亮度值归一化到0~255这个范围内。从而得到归一化直方图。
205、根据归一化直方图确定第一图像中像素的低亮度占比、中亮度占比、高亮度占比。
在一些实施方式中,电子设备在得到第一图像对应的归一化直方图之后,可以根据归一化直方图获取第一图像的图像亮度的概率累计分布函数。从而确定出第一图像中像素的低亮度占比、中亮度占比、高亮度占比。
在一些实施方式中,电子设备可以设置一个低亮度阈值和高亮度阈值,其中高亮度阈值比低亮度阈值大,将亮度从零到低亮度阈值的范围确定为低亮度范围,将从低亮度阈值到高亮度阈值的范围确定为中亮度范围,将高亮度阈值到亮度饱和值的范围确定为高亮度范围。
然后确定分布在低亮度范围的像素数量,确定出分布在中亮度范围的像素数量,再确定出分布在高亮度范围的像素数量,最后根据每个亮度范围的像素数量以及第一图像的总像素数量确定出低亮度占比、中亮度占比、高亮度占比。
206、确定低亮度占比对应的第一高阈值和第一低阈值,中亮度占比对应的第二高阈值和第二低阈值,以及高亮度占比对应的第三高阈值和第三低阈值。
在一些实施方式中,电子设备确定低亮度占比对应的第一高阈值和第一低阈值,中亮度占比对应的第二高阈值和第二低阈值,以及高亮度占比对应的第三高阈值和第三低阈值。其中,第一高阈值大于第一低阈值,第二高阈值大于第二低阈值,第三高阈值大于第三低阈值。
207、根据第一高阈值和第一低阈值、第二高阈值和第二低阈值、第三高阈值和第三低阈值以及平均像素亮度确定第一图像对应的图像类型。
在一些实施方式中,电子设备先确定第一图像对应的预设低平均亮度和预设高平均亮度,其中预设低平均亮度和预设高平均亮度可以是预先设置的。
当电子设备确定第一图像的低亮度占比大于或等于第一高阈值,第一图像的中亮度占比小于第二低阈值,高亮度占比小于第三低阈值,并且第一图像的平均像素亮度小于预设低平均亮度,则确定第一图像对应的图像类型为低亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比大于或等于第一低阈值,第一图像的中亮度占比大于或等于第二低阈值,高亮度占比小于第三低阈值,并且第一图像的平均像素亮度大于或等于预设低平均亮度,则确定第一图像对应的图像类型为低-中亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比小于第一低阈值,第一图像的中亮度占比大于或等于第二高阈值,高亮度占比小于第三低阈值,第一图像的平均像素亮度大于或等于预设低平均亮度,并且第一图像的平均像素亮度小于预设高平均亮度,则确定第一图像对应的图像类型为中亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比小于第一低阈值,第一图像的中亮度占比大于或等于第二高阈值,高亮度占比大于或等于第三低阈值,第一图像的平均像素亮度大于或等于预设低平均亮度,并且第一图像的平均像素亮度小于预设高平均亮度,则确定第一图像对应的图像类型为中-高亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比小于第一低阈值,第一图像的中亮度占比小于第二低阈值,高亮度占比大于或等于第三高阈值,第一图像的平均像素亮度大于或等于预设高平均亮度,则确定第一图像对应的图像类型为高亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比大于或等于第一低阈值,第一图像的中亮度占比小于第二低阈值,高亮度占比大于或等于第三低阈值,第一图像的平均像素亮度大于或等于预设低平均亮度,并且第一图像的平均像素亮度小于预设高平均亮度,则确定第一图像对应的图像类型为低-高亮度场景的图像类型。
当电子设备确定第一图像的低亮度占比大于或等于第一低阈值,第一图像的中亮度占比大于或等于第二低阈值,高亮度占比大于或等于第三低阈值,第一图像的平均像素亮度大于或等于预设低平均亮度,并且第一图像的平均像素亮度小于预设高平均亮度,则确定第一图像对应的图像类型为均匀亮度场景的图像类型。
需要说明的是,在实际应用中,还可以根据上述方式确定出其他的图像类型,以上例举的图像类型只是本申请实施例提供的一部分,并不能视为对本申请的限制。
208、根据图像类型确定第一图像对应的目标调节类型。
在一些实施方式中,在电子设备中可以预设多种调节类型,每一种调节类型对应的第一图像的亮度调整方式均不同。
电子设备可以对图像类型和调节类型之间设置一个第一预设映射关系,当电子设备确定好第一图像的图像类型之后,可以直接根据该第一预设映射关系确定出第一图像对应的目标调节类型。
209、根据目标调节类型确定第一图像对应的调节曲线类型。
在一些实施方式中,电子设备可以预先设置一个数据库,在这个数据库中存储有多个目标调节类型和多个调节曲线类型之间的第二预设映射关系,当电子设备确定出第一图像的目标调节类型之后,可以根据第二预设映射关系在数据库中确定第一图像对应的调节曲线类型。
在一些实施方式中,电子设备在获取到第一图像的目标调节类型之后,可以将目标调节类型输入到神经网络模型中,通过神经网络模型来选取出对应的调节曲线类型。
其中,在电子设备对历史图像进行亮度曲线调节的时候,记录下调节时对应的调节曲线类型和目标调节类型,然后将调节曲线类型和目标调节类型输入到初始神经网络模型中进行训练,从而得到该神经网络模型。
210、根据调节曲线类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。
比如,在确定第一图像对应的图像类型以及该图像类型对应的调节曲线类型之后,可以根据该调节曲线类型对第一图像的至少部分亮度曲线进行调节。
例如,当该图像类型为低-高亮度场景的图像类型时,可以适应的对第一图像的高亮度区域亮度进行保留,不作处理,同时降低暗部区域的亮度,突出暗部区域的图像细节,从而在提升了第一图像的对比度,同时还对第一图像中的暗部细节进行保留。
又比如,如果图像类型为中亮度场景的图像类型,则说明第一图像的亮度值大部分分布在中间亮度区域,对于这种情况可以选用S型曲线,提升中间亮度画面的动态范围,提高第一图像中大部分区域的对比度。
具体的,在该调整曲线类型为S型曲线时,则S型曲线包括(0, 0)、(APL, APL)和(255, 255)这三个坐标点。其中(0, 0)为原点,(APL, APL)为曲线上的一个点,(255, 255)为S型曲线的顶点。
假设在第一图像上调节后的曲线上有暗区点(a, b)和亮区点(c, d)。可以通过以下方式来计算出暗区点(a, b)和亮区点(c, d)的具体坐标。
首先,先获取低亮度占比X和高亮度占比Y,然后a的计算方式可以通过a = 20 +(25 - X* 100)* 1.6的方式来计算。b的计算方式可以通过b = (0.8 * X + 0.5)* a的方式来计算。
c的计算方式可以通过c = Y* 267 + 200的方式来计算,d的计算方式可以通过d = 255 -(255 - c)*(0.005 * c – 0.5)的方式来计算。
最后通过计算出的坐标(a, b)和(c, d),以及坐标(0, 0)、(APL, APL)和(255, 255)来采用曲线拟合的方法来确定出对第一图像的原亮度曲线调整后的亮度曲线,从而得到最终的第二图像。
需要说明的是,以上只是图像类型为中亮度场景的图像类型,通过获取第一图像的S型曲线,然后对第一图像的亮度曲线进行调整,从而得到调整后的亮度曲线,最终得到第二图像,该第二图像具备该调整后的亮度曲线的亮度特征。而针对于其他图像类型的第一图像,则可以采用其他的曲线调整类型来对第一图像进行调节,从而得到第二图像。
在一些实施方式中,电子设备可以将第二图像的色彩空间转换为RGB色彩空间,以得到目标图像。在实际的应用过程中,该图像处理方法可以对静态的图像进行调整,比如照片。还可以对动态的图像进行调整,比如视频。通过该调节方式,能够使得视频中的每一帧图像都拥有着良好的对比度和画面细节,从而提升整个视频的画面质量,提升用户的观感。
在本申请实施例中,电子设备通过获取第一图像中像素的数量,以及第一图像中每一像素对应的亮度值,再根据第一图像中像素的数量及每一像素对应的亮度值确定平均像素亮度,根据每一像素的亮度值生成所述直方图,对直方图进行归一化处理,以得到归一化直方图。
然后根据归一化直方图确定第一图像中像素的低亮度占比、中亮度占比、高亮度占比。再确定低亮度占比对应的第一高阈值和第一低阈值,中亮度占比对应的第二高阈值和第二低阈值,以及高亮度占比对应的第三高阈值和第三低阈值。根据第一高阈值和第一低阈值、第二高阈值和第二低阈值、第三高阈值和第三低阈值以及平均像素亮度确定第一图像对应的图像类型。根据图像类型确定第一图像对应的目标调节类型,最后根据目标调节类型确定第一图像对应的调节曲线类型,根据调节曲线类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。该第二图像相对于第一图像拥有更好的图像质量。
请参阅图3,图3是本申请实施例提供的图像处理装置的第一结构示意图,该图像处理装置可以包括:
获取模块310,用于获取第一图像,并确定第一图像对应的直方图和平均像素亮度。
第一确定模块320,用于根据直方图和平均像素亮度确定第一图像对应的图像类型。
第二确定模块330,用于根据图像类型确定第一图像对应的目标调节类型。
调节模块340,用于根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。
在一些实施方式中,获取模块310用于获取第一图像中每一像素对应的亮度值;根据每一像素的亮度值生成直方图。
在一些实施方式中,获取模块310用于获取第一图像中像素的数量,以及第一图像中每一像素对应的亮度值;根据第一图像中像素的数量及每一像素对应的亮度值确定平均像素亮度。
在一些实施方式中,第一确定模块320还用于对直方图进行归一化处理,以得到归一化直方图;根据归一化直方图和平均像素亮度确定第一图像对应的图像类型。
在一些实施方式中,第一确定模块320具体用于根据归一化直方图确定第一图像中像素的低亮度占比、中亮度占比、高亮度占比;根据低亮度占比、中亮度占比、高亮度占比以及平均像素亮度确定第一图像对应的图像类型。
在一些实施方式中,第一确定模块320具体用于确定低亮度占比对应的第一高阈值和第一低阈值,中亮度占比对应的第二高阈值和第二低阈值,以及高亮度占比对应的第三高阈值和第三低阈值;根据第一高阈值和第一低阈值、第二高阈值和第二低阈值、第三高阈值和第三低阈值以及平均像素亮度确定第一图像对应的图像类型。
在一些实施方式中,调节模块340还用于根据目标调节类型确定第一图像对应的调节曲线类型;根据调节曲线类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。
在一些实施方式中,调节模块340还用于根据目标调节类型确定第一图像对应的亮度查找表;根据亮度查找表确定第一图像中每一像素对应的映射亮度值;将每一像素的亮度值调节为对应的映射亮度值,以生成第二图像。
请一并参阅图4,图4是本申请实施例提供的图像处理装置的第二结构示意图,该图像处理装置还包括:
第一转换模块350,用于获取初始图像,对初始图像的色彩空间转换为YUV色彩空间,以得到第一图像。
第二转换模块360,用于将第二图像的色彩空间转换为RGB色彩空间,以得到目标图像。
本申请实施例中,电子设备获取第一图像,并确定第一图像对应的直方图和平均像素亮度,然后根据直方图和平均像素亮度确定第一图像对应的图像类型;再根据图像类型确定第一图像对应的目标调节类型;最后根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。由于在本申请中确定了第一图像对应的图像类型,采用该图像类型对应的调节类型,能够更好的针对于该图像进行调节,从而提升该图像的图像质量。
相应的,本申请实施例还提供一种电子设备,如图5所示,该电子设备可以输入单元401、显示单元402、包括有一个或一个以上计算机可读存储介质的存储器403、传感器405、包括有一个或者一个以上处理核心的处理器404、以及电源406等部件。本领域技术人员可以理解,图5中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
输入单元401可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元401可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器404,并能接收处理器404发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元401还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元402可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元402可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器404以确定触摸事件的类型,随后处理器404根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图5中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。
存储器403可用于存储软件程序以及模块,处理器404通过运行存储在存储器403的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器403可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器403可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器403还可以包括存储器控制器,以提供处理器404和输入单元401对存储器403的访问。
电子设备还可包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
处理器404是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器403内的软件程序和/或模块,以及调用存储在存储器403内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器404可包括一个或多个处理核心;优选的,处理器404可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器404中。
电子设备还包括给各个部件供电的电源406(比如电池),优选的,电源可以通过电源管理系统与处理器404逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源406还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,电子设备还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,电子设备中的处理器404会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器403中,并由处理器404来运行存储在存储器403中的应用程序,从而实现各种功能:
获取第一图像,并确定第一图像对应的直方图和平均像素亮度;
根据直方图和平均像素亮度确定第一图像对应的图像类型;
根据图像类型确定第一图像对应的目标调节类型;
根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。
为此,本申请实施例提供一种计算机可读存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本申请实施例所提供的任一种图像处理方法中的步骤。例如,该指令可以执行如下步骤:
获取第一图像,并确定第一图像对应的直方图和平均像素亮度;
根据直方图和平均像素亮度确定第一图像对应的图像类型;
根据图像类型确定第一图像对应的目标调节类型;
根据目标调节类型对第一图像的每一像素的亮度值进行调节,以得到第二图像。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
其中,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
由于该存储介质中所存储的指令,可以执行本申请实施例所提供的任一种图像处理方法中的步骤,因此,可以实现本申请实施例所提供的任一种图像处理方法所能实现的有益效果,详见前面的实施例,在此不再赘述。
以上对本申请实施例所提供的一种图像处理方法、装置、电子设备及存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种图像处理方法,其中,包括:
    获取第一图像,并确定所述第一图像对应的直方图和平均像素亮度;
    根据所述直方图和平均像素亮度确定所述第一图像对应的图像类型;
    根据所述图像类型确定所述第一图像对应的目标调节类型;
    根据所述目标调节类型对所述第一图像的每一像素的亮度值进行调节,以得到第二图像。
  2. 根据权利要求1所述的图像处理方法,其中,所述根据所述直方图和平均像素亮度确定所述第一图像对应的图像类型的步骤,包括:
    对所述直方图进行归一化处理,以得到归一化直方图;
    根据所述归一化直方图和所述平均像素亮度确定所述第一图像对应的图像类型。
  3. 根据权利要求2所述的图像处理方法,其中,所述根据所述归一化直方图和所述平均像素亮度确定所述第一图像对应的图像类型的步骤,包括:
    根据所述归一化直方图确定所述第一图像中像素的低亮度占比、中亮度占比、高亮度占比;
    根据所述低亮度占比、中亮度占比、高亮度占比以及所述平均像素亮度确定所述第一图像对应的图像类型。
  4. 根据权利要求3所述的图像处理方法,其中,所述根据所述归一化直方图确定所述第一图像对应的低亮度占比、中亮度占比、高亮度占比的步骤,包括:
    确定所述归一化直方图对应的低亮度阈值和高亮度阈值;
    根据所述低亮度阈值和高亮度阈值确定所述低亮度占比、中亮度占比、高亮度占比。
  5. 根据权利要求3所述的图像处理方法,其中,所述根据所述低亮度占比、中亮度占比、高亮度占比以及所述平均像素亮度确定所述第一图像对应的图像类型的步骤,包括:
    确定所述低亮度占比对应的第一高阈值和第一低阈值,所述中亮度占比对应的第二高阈值和第二低阈值,以及所述高亮度占比对应的第三高阈值和第三低阈值;
    根据所述第一高阈值和第一低阈值、所述第二高阈值和第二低阈值、所述第三高阈值和第三低阈值以及所述平均像素亮度确定所述第一图像对应的图像类型。
  6. 根据权利要求1所述的图像处理方法,其中,所述根据所述目标调节类型对所述第一图像的每一像素的亮度值进行调节,以得到第二图像的步骤,包括:
    根据所述目标调节类型确定所述第一图像对应的调节曲线类型;
    根据所述调节曲线类型对所述第一图像的每一像素的亮度值进行调节,以得到所述第二图像。
  7. 根据权利要求1所述的图像处理方法,其中,所述根据所述目标调节类型对所述第一图像的每一像素的亮度值进行调节,以得到第二图像的步骤,包括:
    根据所述目标调节类型确定所述第一图像对应的亮度查找表;
    根据所述亮度查找表确定所述第一图像中每一像素对应的映射亮度值;
    将所述每一像素的亮度值调节为对应的所述映射亮度值,以生成所述第二图像。
  8. 根据权利要求1-7任一项所述的图像处理方法,其中,在所述获取第一图像的步骤之前,所述方法还包括:
    获取初始图像,对所述初始图像的色彩空间转换为YUV色彩空间,以得到所述第一图像。
  9. 根据权利要求1-7任一项所述的图像处理方法,其中,所述确定所述第一图像对应的直方图的步骤,包括:
    获取所述第一图像中每一像素对应的亮度值;
    根据所述每一像素的亮度值生成所述直方图。
  10. 根据权利要求1-7任一项所述的图像处理方法,其中,所述确定所述第一图像对应的平均像素亮度的步骤,包括:
    获取所述第一图像中像素的数量,以及所述第一图像中每一像素对应的亮度值;
    根据所述第一图像中像素的数量及所述每一像素对应的亮度值确定所述平均像素亮度。
  11. 根据权利要求1-7任一项所述的图像处理方法,其中,在所述根据所述目标调节类型对所述第一图像的每一像素的亮度值进行调节,以得到第二图像的步骤之后,所述方法还包括:
    将所述第二图像的色彩空间转换为RGB色彩空间,以得到目标图像。
  12. 一种图像处理装置,其中,包括:
    获取模块,用于获取第一图像,并确定所述第一图像对应的直方图和平均像素亮度;
    第一确定模块,用于根据所述直方图和平均像素亮度确定所述第一图像对应的图像类型;
    第二确定模块,用于根据所述图像类型确定所述第一图像对应的目标调节类型;
    调节模块,用于根据所述目标调节类型对所述第一图像的每一像素的亮度值进行调节,以得到第二图像。
  13. 一种电子设备,其中,包括:存储有可执行程序代码的存储器、与所述存储器耦合的处理器;所述处理器调用所述存储器中存储的所述可执行程序代码,所述处理器用于执行:
    获取第一图像,并确定所述第一图像对应的直方图和平均像素亮度;
    根据所述直方图和平均像素亮度确定所述第一图像对应的图像类型;
    根据所述图像类型确定所述第一图像对应的目标调节类型;
    根据所述目标调节类型对所述第一图像的每一像素的亮度值进行调节,以得到第二图像。
  14. 根据权利要求13所述的电子设备,其中,所述处理器用于执行:
    对所述直方图进行归一化处理,以得到归一化直方图;
    根据所述归一化直方图和所述平均像素亮度确定所述第一图像对应的图像类型。
  15. 根据权利要求14所述的电子设备,其中,所述处理器用于执行:
    根据所述归一化直方图确定所述第一图像中像素的低亮度占比、中亮度占比、高亮度占比;
    根据所述低亮度占比、中亮度占比、高亮度占比以及所述平均像素亮度确定所述第一图像对应的图像类型。
  16. 根据权利要求15所述的电子设备,其中,所述处理器用于执行:
    确定所述归一化直方图对应的低亮度阈值和高亮度阈值;
    根据所述低亮度阈值和高亮度阈值确定所述低亮度占比、中亮度占比、高亮度占比。
  17. 根据权利要求15所述的电子设备,其中,所述处理器用于执行:
    确定所述低亮度占比对应的第一高阈值和第一低阈值,所述中亮度占比对应的第二高阈值和第二低阈值,以及所述高亮度占比对应的第三高阈值和第三低阈值;
    根据所述第一高阈值和第一低阈值、所述第二高阈值和第二低阈值、所述第三高阈值和第三低阈值以及所述平均像素亮度确定所述第一图像对应的图像类型。
  18. 根据权利要求13所述的电子设备,其中,所述处理器用于执行:
    根据所述目标调节类型确定所述第一图像对应的调节曲线类型;
    根据所述调节曲线类型对所述第一图像的每一像素的亮度值进行调节,以得到所述第二图像。
  19. 根据权利要求13所述的电子设备,其中,所述处理器用于执行:
    根据所述目标调节类型确定所述第一图像对应的亮度查找表;
    根据所述亮度查找表确定所述第一图像中每一像素对应的映射亮度值;
    将所述每一像素的亮度值调节为对应的所述映射亮度值,以生成所述第二图像。
  20. 一种计算机可读存储介质,其中,所述存储介质存储有多条指令,所述指令适于处理器进行加载,以执行权利要求1至11任一项所述的图像处理方法中的步骤。
PCT/CN2022/120605 2021-11-09 2022-09-22 图像处理方法、图像处理器、电子设备及存储介质 WO2023082859A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111320162.XA CN114119431A (zh) 2021-11-09 2021-11-09 图像处理方法、装置、电子设备及存储介质
CN202111320162.X 2021-11-09

Publications (1)

Publication Number Publication Date
WO2023082859A1 true WO2023082859A1 (zh) 2023-05-19

Family

ID=80377781

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/120605 WO2023082859A1 (zh) 2021-11-09 2022-09-22 图像处理方法、图像处理器、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN114119431A (zh)
WO (1) WO2023082859A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114119431A (zh) * 2021-11-09 2022-03-01 深圳Tcl新技术有限公司 图像处理方法、装置、电子设备及存储介质
CN116664431B (zh) * 2023-05-30 2024-04-12 新疆美特智能安全工程股份有限公司 一种基于人工智能的图像处理系统及方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170206848A1 (en) * 2016-01-19 2017-07-20 Samsung Display Co., Ltd Transparent liquid crystal display apparatus and method of driving the same
CN108230256A (zh) * 2017-11-09 2018-06-29 珠海市魅族科技有限公司 图像处理方法、装置、计算机装置及计算机可读存储介质
CN108900819A (zh) * 2018-08-20 2018-11-27 Oppo广东移动通信有限公司 图像处理方法、装置、存储介质及电子设备
CN109191406A (zh) * 2018-09-19 2019-01-11 浙江宇视科技有限公司 图像处理方法、装置及设备
CN110445986A (zh) * 2019-07-30 2019-11-12 Oppo广东移动通信有限公司 图像处理方法、装置、存储介质及电子设备
CN114119431A (zh) * 2021-11-09 2022-03-01 深圳Tcl新技术有限公司 图像处理方法、装置、电子设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170206848A1 (en) * 2016-01-19 2017-07-20 Samsung Display Co., Ltd Transparent liquid crystal display apparatus and method of driving the same
CN108230256A (zh) * 2017-11-09 2018-06-29 珠海市魅族科技有限公司 图像处理方法、装置、计算机装置及计算机可读存储介质
CN108900819A (zh) * 2018-08-20 2018-11-27 Oppo广东移动通信有限公司 图像处理方法、装置、存储介质及电子设备
CN109191406A (zh) * 2018-09-19 2019-01-11 浙江宇视科技有限公司 图像处理方法、装置及设备
CN110445986A (zh) * 2019-07-30 2019-11-12 Oppo广东移动通信有限公司 图像处理方法、装置、存储介质及电子设备
CN114119431A (zh) * 2021-11-09 2022-03-01 深圳Tcl新技术有限公司 图像处理方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN114119431A (zh) 2022-03-01

Similar Documents

Publication Publication Date Title
WO2023082859A1 (zh) 图像处理方法、图像处理器、电子设备及存储介质
KR101958870B1 (ko) 소비 전력을 절감하기 위한 표시 제어 방법 및 장치
WO2023082861A1 (zh) 图像处理方法、图像处理器、电子设备及存储介质
US20110069089A1 (en) Power management for organic light-emitting diode (oled) displays
CN107293265B (zh) 显示屏画面调整方法、显示终端及可读存储介质
US10706817B2 (en) Overdrive for electronic device displays
WO2023103702A1 (zh) 显示控制方法、装置、电子设备及存储介质
CN104820537A (zh) 一种调整终端显示效果的方法及装置
WO2021082542A1 (zh) 区域背光控制方法、显示器及存储介质
WO2020063030A1 (zh) 主题色彩的调节方法、装置、存储介质及电子设备
WO2022110687A1 (zh) 图像处理方法、装置、电子设备以及可读存储介质
WO2020134789A1 (zh) 移动终端及其屏幕亮灭的控制方法、计算机存储介质
CN113018856A (zh) 图像处理方法、装置、电子设备及存储介质
CN112950499A (zh) 图像处理方法、装置、电子设备及存储介质
WO2023202173A1 (zh) 亮度调节方法、装置、计算机设备及计算机可读存储介质
CN112199065A (zh) 局部显示区补偿值确定方法、装置、存储介质及终端设备
KR102521364B1 (ko) 표시 장치 및 이의 구동 방법
CN116382540A (zh) 用于电子纸的显示方法、装置、电子设备和存储介质
CN114038370B (zh) 显示参数调整方法、装置、存储介质及显示设备
CN114242021A (zh) 显示控制方法、装置、电子设备及存储介质
CN112992052B (zh) 显示面板的功耗控制方法及显示面板
CN116797631A (zh) 差异区域定位方法、装置、计算机设备及存储介质
CN111367604A (zh) 一种文件显示的处理方法、装置、存储介质及终端
WO2024093408A1 (zh) 内容显示方法、装置、电子设备和计算机可读存储介质
US11875427B2 (en) Guaranteed real-time cache carveout for displayed image processing systems and methods

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22891661

Country of ref document: EP

Kind code of ref document: A1