[go: up one dir, main page]

WO2019205751A1 - Image enhancement method - Google Patents

Image enhancement method Download PDF

Info

Publication number
WO2019205751A1
WO2019205751A1 PCT/CN2019/072072 CN2019072072W WO2019205751A1 WO 2019205751 A1 WO2019205751 A1 WO 2019205751A1 CN 2019072072 W CN2019072072 W CN 2019072072W WO 2019205751 A1 WO2019205751 A1 WO 2019205751A1
Authority
WO
WIPO (PCT)
Prior art keywords
target image
algorithm
image enhancement
image
brightness
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.)
Ceased
Application number
PCT/CN2019/072072
Other languages
French (fr)
Chinese (zh)
Inventor
路萍萍
邱海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Publication of WO2019205751A1 publication Critical patent/WO2019205751A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening

Definitions

  • Embodiments of the present disclosure relate to the field of image processing technologies, and more particularly to image enhancement processing of a defogged image.
  • methods of image enhancement processing mainly include, for example, an automatic gradation method, an automatic contrast method, and the like.
  • the automatic gradation method first determines the upper/lower limit ratio of the image color, calculates a histogram of the image; then sets the pixel value of the pixel whose pixel value is lower than the lower limit ratio in the image to 0, and the pixel whose pixel value is higher than the upper limit ratio The value is set to 255 and the pixel values of the pixels whose pixel values are between the lower scale ratio and the upper scale ratio are linearly transformed.
  • the fixed color threshold cannot automatically adapt to the image.
  • calculating the histogram takes a long time.
  • Embodiments of the present disclosure provide an image enhancement method, apparatus, device, and storage medium for improving image enhancement effects on a defogged image and reducing complexity of image enhancement processing.
  • a first aspect of the embodiments of the present disclosure provides an image enhancement method, including:
  • Image enhancement processing is performed on the target image based on the target image enhancement algorithm.
  • the multiple preset image enhancement algorithms include: a linear transformation algorithm, an automatic transformation algorithm, a logarithmic transformation algorithm, and a gamma transformation algorithm.
  • the brightness characteristic of the target image includes an average brightness of the target image as a whole
  • a target image enhancement algorithm that is adapted to the brightness feature of the target image from a plurality of preset image enhancement algorithms, including:
  • the logarithmic transformation algorithm or the gamma transformation algorithm is the target image enhancement algorithm.
  • the brightness characteristic of the target image includes respective average brightness of different regions on the target image.
  • the image enhancement processing is repeatedly performed on the target image as a whole based on a plurality of target image enhancement algorithms respectively corresponding to different regions on the target image.
  • a second aspect of the embodiments of the present disclosure provides an image enhancement apparatus, including:
  • a defogging module configured to perform a defogging process on the first image to obtain a target image
  • a determining module configured to determine, according to a preset policy, a target image enhancement algorithm that is adapted to a brightness feature of the target image from among a plurality of preset image enhancement algorithms;
  • a processing module configured to perform image enhancement processing on the target image based on the target image enhancement algorithm.
  • the multiple preset image enhancement algorithms include: a linear transformation algorithm, an automatic transformation algorithm, a logarithmic transformation algorithm, and a gamma transformation algorithm.
  • the brightness characteristic of the target image includes an average brightness of the target image as a whole
  • the determining module includes:
  • a first determining submodule configured to determine that the automatic transform algorithm is a target image enhancement algorithm when an average brightness of the target image as a whole is less than a first preset threshold
  • the second determining submodule is configured to determine that the logarithmic transform algorithm or the gamma transform algorithm is the target image enhancement algorithm when the average brightness of the target image as a whole is greater than the first preset threshold and less than the second preset threshold.
  • the brightness characteristic of the target image includes an average brightness of different regions on the target image
  • the processing module includes:
  • a first processing submodule configured to perform image enhancement processing on the region based on a target image enhancement algorithm that is adapted to an average brightness of the region for different regions on the target image;
  • the second processing submodule is configured to repeatedly perform image enhancement processing on the target image as a whole based on a plurality of target image enhancement algorithms respectively corresponding to different regions on the target image.
  • a third aspect of the embodiments of the present disclosure provides a mobile terminal, including:
  • a memory for storing machine executable instructions and image data
  • the method of the first aspect described above is implemented when the processor executes the machine executable instructions.
  • a fourth aspect of embodiments of the present disclosure provides a computer readable non-volatile storage medium comprising instructions that, when executed on a processor, implement the method of the first aspect described above.
  • FIG. 1 is a flowchart of an image enhancement method according to an embodiment of the present disclosure.
  • FIG. 2 is a flowchart of an image enhancement method according to an embodiment of the present disclosure.
  • FIG. 3 is a flowchart of an image enhancement method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • image defogging methods may have image enhancement based methods and physical model based methods.
  • image defogging algorithms with dark channel priors.
  • Embodiments of the present disclosure provide an image enhancement method.
  • the method can be performed by an image enhancement device that is mounted on a terminal having image processing functions, such as a cell phone, a traffic camera, and the like.
  • FIG. 1 is a flowchart of an image enhancement method according to an embodiment of the present disclosure. As shown in FIG. 1 , the method includes the following steps.
  • Step 101 Perform a defogging process on the first image to obtain a target image.
  • the name of the “first image” in this embodiment is only used to distinguish the image to be defogged from other images, and does not have other meanings.
  • the target image refers to an image obtained after the first image has undergone dehazing.
  • the preliminary image defogging process may be performed on the first image according to a preset image defogging algorithm to obtain a target image after the defogging process.
  • the target image is subjected to image enhancement processing using an image enhancement method according to an embodiment of the present disclosure to obtain a desired image.
  • the image dehazing algorithm employed is not limited.
  • the image enhancement method of the present disclosure can be applied to almost all images obtained after dehazing.
  • Step 102 Determine, according to a preset policy, a target image enhancement algorithm that is adapted to the brightness feature of the target image from the plurality of preset image enhancement algorithms.
  • the luminance characteristics of the target image involved in the embodiment include average luminance information of the entire target image, or average luminance information of different regions on the target image.
  • the image enhancement algorithms involved in this embodiment include, but are not limited to, a linear transformation algorithm, an automatic transformation algorithm, a logarithmic transformation algorithm, and a gamma transformation algorithm.
  • the image enhancement algorithm according to this embodiment can be understood as a grayscale transformation algorithm.
  • the gradation transformation algorithm refers to a method of changing the gradation value of each pixel in the source image pixel by pixel according to a certain transformation condition according to a certain transformation relationship.
  • the gradation transformation algorithm can be divided into a linear transformation algorithm and a nonlinear transformation algorithm.
  • linear transformation algorithm can be expressed by the following expression (1):
  • x represents any pixel in the target image
  • I(x) represents the gray value of the pixel x.
  • the gradation value of the linearly transformed pixel x is represented, a represents the slope of the linear transformation function of the above formula (1), b represents the vertical intercept, and a and b are constants.
  • the nonlinear transform algorithm includes, for example, an automatic transform algorithm, a logarithmic transform algorithm, a gamma transform algorithm, and the like.
  • the gamma transform algorithm may be represented by the following expression (2):
  • I(x) represents the gray value of the pixel point x in the target image
  • c and r are normal numbers.
  • logarithmic transformation algorithm may be represented by the following expression (3):
  • the logarithmic transformation algorithm can map a narrow gray value in the target image to a wide gray range, and map a wide grayscale interval to a narrower range.
  • the grayscale interval which extends the value of the dark pixel, compresses the value of the high grayscale, and enhances the low grayscale detail in the image.
  • the automatic transformation algorithm may be represented by the following expression (4):
  • the amount of gray value increase of the pixel in the target image is symmetric with respect to 0.5, and the growth amount gradually increases in the interval of [0, 0.5], and the growth amount becomes smaller in the interval of [0.5, 1], thereby realizing The image as a whole becomes brighter.
  • the preset policy referred to in this embodiment refers to a correspondence between a preset image enhancement algorithm and a target image brightness feature.
  • the image enhancement process may be performed on the target image by using an automatic transformation algorithm.
  • the image enhancement processing may be performed on the target image by using a logarithmic transformation algorithm or a gamma transformation algorithm.
  • the image of the target image may be performed by using a linear transformation algorithm.
  • an image brightness feature can also correspond to multiple image enhancement algorithms, thereby using multiple image enhancements.
  • the algorithm implements image enhancement processing on the target image.
  • Step 103 Perform image enhancement processing on the target image based on the target image enhancement algorithm.
  • the target image is obtained by performing a defogging process on the first image, and the target image enhancement algorithm that is adapted to the brightness feature of the target image is determined from the plurality of preset image enhancement algorithms based on the preset strategy, thereby The target image enhancement algorithm performs image enhancement processing on the target image.
  • a plurality of image enhancement algorithms are preset for different image brightness features.
  • the target image obtained after the defogging process is subjected to image enhancement processing, it may be targeted from a plurality of presets according to a preset strategy.
  • An image enhancement algorithm adapted to the brightness characteristics of the target image is selected in the image enhancement algorithm to process the target image. Therefore, it is possible to achieve a better image enhancement effect without setting the upper/lower limit ratio of the image color, and it is not necessary to perform histogram calculation, which reduces the complexity of the image enhancement processing.
  • FIG. 2 is a flowchart of an image enhancement method according to an embodiment of the present disclosure. As shown in FIG. 2, on the basis of the embodiment of FIG. 1, the method includes the following steps.
  • Step 201 Acquire an average brightness of the entire target image.
  • Step 202a If the average brightness of the target image as a whole is less than a first preset threshold, determine that the automatic transform algorithm is a target image enhancement algorithm.
  • the automatic transformation algorithm can be expressed by the following expression:
  • Step 202b If the average brightness of the target image as a whole is greater than the first preset threshold and less than the second preset threshold, determine that the logarithmic transformation algorithm or the gamma transformation algorithm is the target image enhancement algorithm.
  • the second preset threshold is greater than the first preset threshold, and the values of the first preset threshold and the second preset threshold may be set as needed.
  • the overall brightness of the target image is not particularly dark, and the brightness of the target image may be increased as appropriate. Good performance. And since both the gamma transform algorithm and the logarithmic transform algorithm can significantly expand the low gray value in the image and display more low gray value details, the gamma transform algorithm or the logarithmic transform algorithm can be used in this embodiment.
  • the image enhancement processing is performed on the target image whose average brightness is greater than the first preset threshold and less than the second preset threshold, thereby obtaining a better image enhancement effect. Among them, compared with the gamma conversion algorithm, the logarithmic transformation algorithm can achieve better results.
  • Step 203 Perform image enhancement processing on the target image based on the target image enhancement algorithm.
  • the low gray value in the target image can be made.
  • the portion is significantly enhanced to achieve better image enhancement.
  • FIG. 3 is a flowchart of an image enhancement method according to an embodiment of the present disclosure. As shown in FIG. 3, on the basis of the embodiment of FIG. 1, the method includes the following steps.
  • Step 301 Acquire an average brightness of different regions on the target image.
  • Step 302 Determine, for each region on the target image, an image enhancement algorithm that is adapted to the average brightness of the region from the plurality of preset image enhancement algorithms based on the preset policy.
  • Target image enhancement algorithm Determine, for each region on the target image, an image enhancement algorithm that is adapted to the average brightness of the region from the plurality of preset image enhancement algorithms based on the preset policy.
  • Step 303 Perform image enhancement processing on the target image based on a target image enhancement algorithm respectively determined for each region.
  • the target image enhancement algorithm determined in this embodiment may be multiple.
  • the implementation includes the following.
  • an image enhancement process may be performed on the region based on a target image enhancement algorithm that is commensurate with the average brightness of the region for each region on the target image until all regions are processed and stopped.
  • the target image may be subjected to multiple image enhancement processes based on the determined plurality of target image enhancement algorithms. For example, it is assumed that the target image includes a first area and a second area, wherein the average brightness of the first area is less than a third preset threshold, and the average brightness of the second area is greater than a fourth preset threshold, wherein the fourth preset threshold Greater than the third preset threshold.
  • the linear transformation algorithm and the logarithmic transformation algorithm are target image enhancement algorithms.
  • the first image enhancement processing may be performed on the target image based on one of the linear transformation algorithm and the logarithmic transformation algorithm, and then the second image enhancement processing is performed on the target image based on the other of the two. , get the final image.
  • the third preset threshold is used to determine whether the image is too dark
  • the fourth preset threshold is used to determine that the image is too bright.
  • the target image includes an area that is too dark (ie, a first area) and an area that is too bright (ie, a second area).
  • the present embodiment can perform image enhancement processing on the target image by using a linear transformation algorithm.
  • the parameter b in the linear transformation algorithm (1) described above may be set to a different value for the first region and the second region, respectively, and then the first region and the second region are respectively subjected to gradation transformation processing.
  • the enhancement effect is limited, considering the logarithm.
  • the transform can perform the enhancement processing on the region. Therefore, in this embodiment, after the image enhancement processing is performed on the target image by using the linear transform algorithm, the logarithmic transformation algorithm is used to compare the brightness between the first region and the second region. The area between the areas is further enhanced in brightness to achieve an overall improvement in image brightness.
  • the defects of the single image enhancement algorithm can be avoided.
  • the brightness effect of the target image as a whole is enhanced.
  • FIG. 4 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure. As shown in FIG. 4, the apparatus includes the following modules.
  • the defogging module 41 is configured to perform a defogging process on the first image to obtain a target image.
  • the determining module 42 is configured to determine, from the plurality of preset image enhancement algorithms, a target image enhancement algorithm that is adapted to the brightness feature of the target image based on the preset policy.
  • the processing module 43 is configured to perform image enhancement processing on the target image based on the target image enhancement algorithm.
  • the multiple preset image enhancement algorithms include: a linear transformation algorithm, an automatic transformation algorithm, a logarithmic transformation algorithm, and a gamma transformation algorithm.
  • the image enhancement apparatus provided in this embodiment can perform the method of the embodiment of FIG. 1. Other implementation modes and beneficial effects are similar, and details are not described herein again.
  • FIG. 5 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure. As shown in FIG. 5, on the basis of the embodiment of FIG. 4, the brightness characteristic of the target image includes an average brightness of the target image as a whole;
  • the determining module 42 includes:
  • the first determining sub-module 421 is configured to determine, when the average brightness of the target image as a whole is less than a first preset threshold, that the automatic transform algorithm is a target image enhancement algorithm;
  • the second determining sub-module 422 is configured to determine that the logarithmic transform algorithm or the gamma transform algorithm is the target image enhancement algorithm when the average brightness of the target image is greater than the first preset threshold and less than the second preset threshold.
  • the image enhancement apparatus provided in this embodiment can be used to perform the method of the embodiment of FIG. 2, and the execution manner and the beneficial effects are similar, and details are not described herein again.
  • the brightness characteristic of the target image includes respective areas of different areas on the target image.
  • the average brightness; the processing module 43 includes:
  • a first processing sub-module 431, configured to perform image enhancement processing on the region based on a target image enhancement algorithm that is adapted to an average brightness of the region for different regions on the target image;
  • the second processing sub-module 432 is configured to repeatedly perform image enhancement processing on the target image as a whole based on a plurality of target image enhancement algorithms respectively corresponding to different regions on the target image.
  • the image enhancement apparatus provided in this embodiment can be used to perform the method of the embodiment of FIG. 3, and the execution manner and the beneficial effects are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • the terminal device may be, for example, a mobile terminal such as a mobile phone, or may be a traffic camera or the like.
  • a terminal device 700 includes:
  • a memory 702 configured to store computer executable instructions and image data
  • the embodiment of the present disclosure further provides a computer readable non-volatile storage medium, including computer instructions, which can implement the technical solutions of the foregoing method embodiments when the computer instructions are run on a processor.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
  • the various functional units in the embodiments of the present disclosure may be integrated into one processing module, or may be physically separated by individual units, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may also be stored in a computer readable storage medium.
  • the storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

An image enhancement method, the method comprising: performing defogging on a first image to obtain a target image (101); based on a pre-set strategy, determining, from multiple pre-set image enhancement algorithms, a target image enhancement algorithm adaptable for a brightness feature of the target image (102); and performing image enhancement on the target image based on the target image enhancement algorithm (103).

Description

图像增强方法Image enhancement method

相关申请的交叉引用Cross-reference to related applications

本专利申请要求于2018年4月26日提交的、申请号为201810387527.2、发明名称为“图像增强方法、装置、设备及存储介质”的中国专利申请的优先权,该申请的全文以引用的方式并入本文中。The present application claims priority to Chinese Patent Application No. 20,181, 038, 752, filed on Apr. 26, 20, the entire disclosure of which is incorporated herein by reference. Incorporated herein.

技术领域Technical field

本公开实施例涉及图像处理技术领域,尤其涉及对去雾图像的图像增强处理。Embodiments of the present disclosure relate to the field of image processing technologies, and more particularly to image enhancement processing of a defogged image.

背景技术Background technique

通常,在对有雾图像进行去雾处理后,图像的整体亮度偏低,需要进行图像增强处理。目前图像增强处理的方法主要包括例如自动色阶法、自动对比度法等。自动色阶方法首先确定图像颜色的上/下限比率,计算图像的直方图;然后将图像中像素值低于下限比率的像素的像素值设置为0,将像素值高于上限比率的像素的像素值设置为255,并对像素值位于下限比例与上限比例之间的像素的像素值进行线性变换。然而,由于不同的图像像素颜色值分布区间不同,固定的颜色阈值不能自动适应图像。另外,计算直方图需要耗费较长的时间。Generally, after defogging a fogged image, the overall brightness of the image is low, and image enhancement processing is required. At present, methods of image enhancement processing mainly include, for example, an automatic gradation method, an automatic contrast method, and the like. The automatic gradation method first determines the upper/lower limit ratio of the image color, calculates a histogram of the image; then sets the pixel value of the pixel whose pixel value is lower than the lower limit ratio in the image to 0, and the pixel whose pixel value is higher than the upper limit ratio The value is set to 255 and the pixel values of the pixels whose pixel values are between the lower scale ratio and the upper scale ratio are linearly transformed. However, due to the different image pixel value distribution intervals of different images, the fixed color threshold cannot automatically adapt to the image. In addition, calculating the histogram takes a long time.

发明内容Summary of the invention

本公开实施例提供一种图像增强方法、装置、设备及存储介质,用以提高对去雾图像的图像增强效果,降低图像增强处理的复杂度。Embodiments of the present disclosure provide an image enhancement method, apparatus, device, and storage medium for improving image enhancement effects on a defogged image and reducing complexity of image enhancement processing.

本公开实施例第一方面提供一种图像增强方法,包括:A first aspect of the embodiments of the present disclosure provides an image enhancement method, including:

对第一图像进行去雾处理,获得目标图像;Defogging the first image to obtain a target image;

基于预设策略,从多个预设的图像增强算法中,确定与所述目标图像的亮度特征相适应的目标图像增强算法;Determining, from a plurality of preset image enhancement algorithms, a target image enhancement algorithm that is adapted to the brightness characteristics of the target image based on a preset strategy;

基于所述目标图像增强算法,对所述目标图像进行图像增强处理。Image enhancement processing is performed on the target image based on the target image enhancement algorithm.

可选的,所述多个预设的图像增强算法,包括:线性变换算法、自动变换算法、对数变换算法、伽马变换算法。Optionally, the multiple preset image enhancement algorithms include: a linear transformation algorithm, an automatic transformation algorithm, a logarithmic transformation algorithm, and a gamma transformation algorithm.

可选的,所述目标图像的亮度特征包括所述目标图像整体的平均亮度;Optionally, the brightness characteristic of the target image includes an average brightness of the target image as a whole;

所述基于预设策略,从预设的多个图像增强算法中,确定与所述目标图像的亮度特征相适应的目标图像增强算法,包括:Determining, according to a preset strategy, a target image enhancement algorithm that is adapted to the brightness feature of the target image from a plurality of preset image enhancement algorithms, including:

若所述目标图像整体的平均亮度小于第一预设阈值,则确定所述自动变换算法为目标图像增强算法;If the average brightness of the target image as a whole is less than a first preset threshold, determining that the automatic transform algorithm is a target image enhancement algorithm;

若所述目标图像整体的平均亮度大于第一预设阈值,小于第二预设阈值,则确定对数变换算法或伽马变换算法为目标图像增强算法。And if the average brightness of the target image as a whole is greater than the first preset threshold and less than the second preset threshold, determining that the logarithmic transformation algorithm or the gamma transformation algorithm is the target image enhancement algorithm.

可选的,所述目标图像的亮度特征包括所述目标图像上不同区域各自的平均亮度。Optionally, the brightness characteristic of the target image includes respective average brightness of different regions on the target image.

所述基于所述目标图像增强算法,对所述目标图像进行图像增强处理,包括:And performing image enhancement processing on the target image based on the target image enhancement algorithm, including:

针对所述目标图像上的不同区域,基于与所述区域的平均亮度相适应的目标图像增强算法对所述区域进行图像增强处理;And performing image enhancement processing on the region based on a target image enhancement algorithm adapted to an average brightness of the region for different regions on the target image;

或者or

基于分别与所述目标图像上不同区域相对应的多个目标图像增强算法对所述目标图像整体反复进行多次图像增强处理。The image enhancement processing is repeatedly performed on the target image as a whole based on a plurality of target image enhancement algorithms respectively corresponding to different regions on the target image.

本公开实施例第二方面提供一种图像增强装置,包括:A second aspect of the embodiments of the present disclosure provides an image enhancement apparatus, including:

去雾模块,用于对第一图像进行去雾处理,获得目标图像;a defogging module, configured to perform a defogging process on the first image to obtain a target image;

确定模块,用于基于预设策略,从多个预设的图像增强算法中,确定与所述目标图像的亮度特征相适应的目标图像增强算法;a determining module, configured to determine, according to a preset policy, a target image enhancement algorithm that is adapted to a brightness feature of the target image from among a plurality of preset image enhancement algorithms;

处理模块,用于基于所述目标图像增强算法,对所述目标图像进行图像增强处理。And a processing module, configured to perform image enhancement processing on the target image based on the target image enhancement algorithm.

可选的,所述多个预设的图像增强算法,包括:线性变换算法、自动变换算法、对数变换算法、伽马变换算法。Optionally, the multiple preset image enhancement algorithms include: a linear transformation algorithm, an automatic transformation algorithm, a logarithmic transformation algorithm, and a gamma transformation algorithm.

可选的,所述目标图像的亮度特征包括所述目标图像整体的平均亮度;Optionally, the brightness characteristic of the target image includes an average brightness of the target image as a whole;

所述确定模块,包括:The determining module includes:

第一确定子模块,用于在所述目标图像整体的平均亮度小于第一预设阈值时,确定所述自动变换算法为目标图像增强算法;a first determining submodule, configured to determine that the automatic transform algorithm is a target image enhancement algorithm when an average brightness of the target image as a whole is less than a first preset threshold;

第二确定子模块,用于在所述目标图像整体的平均亮度大于第一预设阈值,小于第二预设阈值时,确定对数变换算法或伽马变换算法为目标图像增强算法。The second determining submodule is configured to determine that the logarithmic transform algorithm or the gamma transform algorithm is the target image enhancement algorithm when the average brightness of the target image as a whole is greater than the first preset threshold and less than the second preset threshold.

可选的,所述目标图像的亮度特征包括所述目标图像上不同区域各自的平均亮度;Optionally, the brightness characteristic of the target image includes an average brightness of different regions on the target image;

所述处理模块,包括:The processing module includes:

第一处理子模块,用于针对所述目标图像上的不同区域,基于与所述区域的平均亮度相适应的目标图像增强算法对所述区域进行图像增强处理;a first processing submodule, configured to perform image enhancement processing on the region based on a target image enhancement algorithm that is adapted to an average brightness of the region for different regions on the target image;

或者or

第二处理子模块,用于基于分别与所述目标图像上不同区域对应的多个目标图像增强算法对所述目标图像整体反复进行多次图像增强处理。The second processing submodule is configured to repeatedly perform image enhancement processing on the target image as a whole based on a plurality of target image enhancement algorithms respectively corresponding to different regions on the target image.

本公开实施例第三方面提供一种移动终端,包括:A third aspect of the embodiments of the present disclosure provides a mobile terminal, including:

处理器;processor;

存储器,用于存储机器可执行指令以及图像数据;a memory for storing machine executable instructions and image data;

当所述处理器执行所述机器可执行指令时,实现上述第一方面所述的方法。The method of the first aspect described above is implemented when the processor executes the machine executable instructions.

本公开实施例第四方面提供一种计算机可读非易失性存储介质,包括指令,当所述指令在处理器上运行时,可以实现上述第一方面所述的方法。A fourth aspect of embodiments of the present disclosure provides a computer readable non-volatile storage medium comprising instructions that, when executed on a processor, implement the method of the first aspect described above.

附图说明DRAWINGS

为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present disclosure. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.

图1是本公开实施例提供的一种图像增强方法的流程图。FIG. 1 is a flowchart of an image enhancement method according to an embodiment of the present disclosure.

图2是本公开实施例提供的一种图像增强方法的流程图。FIG. 2 is a flowchart of an image enhancement method according to an embodiment of the present disclosure.

图3是本公开实施例提供的一种图像增强方法的流程图。FIG. 3 is a flowchart of an image enhancement method according to an embodiment of the present disclosure.

图4是本公开实施例提供的一种图像增强装置的结构示意图。FIG. 4 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure.

图5是本公开实施例提供的一种图像增强装置的结构示意图。FIG. 5 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure.

图6是本公开实施例提供的一种图像增强装置的结构示意图。FIG. 6 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure.

图7是本公开实施例提供的一种终端设备的结构示意图。FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.

具体实施方式detailed description

在雾、霾之类的恶劣天气下采集的图像会由于大气散射的作用而被严重降质,物体特征难以辨认,视觉效果变差,会影响图像后期的处理。因此,需要图像去雾技术来增强或修复,以改善图像的视觉效果和方便后期处理。通常,图像去雾方法可以有基于图像增强的方法和基于物理模型的方法。基于图像增强的去雾方法有多种,例如有暗通道先验的图像去雾算法。根据通常的基于图像增强的图像去雾算法对图像进行去雾处理后得到的图像的整体亮度偏低,视觉效果不佳。Images collected in bad weather such as fog and fog are severely degraded due to the effects of atmospheric scattering. Object features are difficult to recognize and visual effects are degraded, which may affect the processing of images later. Therefore, image defogging technology is needed to enhance or repair to improve the visual effect of the image and facilitate post processing. In general, image defogging methods may have image enhancement based methods and physical model based methods. There are various methods of image de-fogging based on image enhancement, such as image defogging algorithms with dark channel priors. According to the conventional image enhancement-based image dehazing algorithm, the image obtained by demisting the image has a low overall brightness and a poor visual effect.

本公开实施例提供一种图像增强方法。该方法可以由一种图像增强装置来执行,该装置安装在具有图像处理功能的终端上,例如手机、交通摄像头等。参见图1,图1是本公开实施例提供的一种图像增强方法的流程图,如图1所示,该方法包括如下步骤。Embodiments of the present disclosure provide an image enhancement method. The method can be performed by an image enhancement device that is mounted on a terminal having image processing functions, such as a cell phone, a traffic camera, and the like. Referring to FIG. 1 , FIG. 1 is a flowchart of an image enhancement method according to an embodiment of the present disclosure. As shown in FIG. 1 , the method includes the following steps.

步骤101、对第一图像进行去雾处理,获得目标图像。Step 101: Perform a defogging process on the first image to obtain a target image.

其中,本实施例中对于“第一图像”的命名仅是用于将待去雾处理的图像与其他图像区分开来,并不具备其他含义。目标图像是指第一图像经过去雾处理后得到的图像。The name of the “first image” in this embodiment is only used to distinguish the image to be defogged from other images, and does not have other meanings. The target image refers to an image obtained after the first image has undergone dehazing.

这里,可以根据预设的图像去雾算法对第一图像进行初步的图像去雾处理,获得去雾处理后的目标图像。在后续步骤中,利用根据本公开实施例的图像增强方法对该目标图像进行图像增强处理,以获得期望图像。在本公开实施例中,并不对所采用的图像去雾算法进行限制,实际上,本公开的图像增强方法可以适用于几乎所有经去雾处理后得到的图像。Here, the preliminary image defogging process may be performed on the first image according to a preset image defogging algorithm to obtain a target image after the defogging process. In a subsequent step, the target image is subjected to image enhancement processing using an image enhancement method according to an embodiment of the present disclosure to obtain a desired image. In the embodiment of the present disclosure, the image dehazing algorithm employed is not limited. In fact, the image enhancement method of the present disclosure can be applied to almost all images obtained after dehazing.

步骤102、基于预设策略,从多个预设的图像增强算法中,确定与所述目标图像的亮度特征相适应的目标图像增强算法。Step 102: Determine, according to a preset policy, a target image enhancement algorithm that is adapted to the brightness feature of the target image from the plurality of preset image enhancement algorithms.

本实施例中涉及的目标图像的亮度特征包括目标图像整体的平均亮度信息,或者目标图像上不同区域的平均亮度信息。本实施例涉及的图像增强算法包括但不局限于包括:线性变换算法、自动变换算法、对数变换算法和伽马变换算法。The luminance characteristics of the target image involved in the embodiment include average luminance information of the entire target image, or average luminance information of different regions on the target image. The image enhancement algorithms involved in this embodiment include, but are not limited to, a linear transformation algorithm, an automatic transformation algorithm, a logarithmic transformation algorithm, and a gamma transformation algorithm.

本实施例涉及的图像增强算法可以理解为是一种灰度变换算法。灰度变换算法是指根据某种目标条件按照一定变换关系逐像素点改变源图像中每一个像素的灰度值的方法。该灰度变换算法可以分为线性变换算法和非线性变换算法。The image enhancement algorithm according to this embodiment can be understood as a grayscale transformation algorithm. The gradation transformation algorithm refers to a method of changing the gradation value of each pixel in the source image pixel by pixel according to a certain transformation condition according to a certain transformation relationship. The gradation transformation algorithm can be divided into a linear transformation algorithm and a nonlinear transformation algorithm.

其中,线性变换算法可以用如下表达式(1)进行表示:Among them, the linear transformation algorithm can be expressed by the following expression (1):

Figure PCTCN2019072072-appb-000001
Figure PCTCN2019072072-appb-000001

其中,x代表目标图像中的任一像素点,I(x)代表该像素点x的灰度值,

Figure PCTCN2019072072-appb-000002
表示经线性变换后的该像素点x的灰度值,a表示如上式(1)的线性变换函数的斜率,b表示纵截距,a,b均为常数。当a=1且b≠0时,经过该线性变换,目标图像整体的灰度值发生了偏移,也就是目标图像整体的亮度变亮或变暗,不会改变目标图像的对比度;当a>1时,可以增加图像的对比度。 Where x represents any pixel in the target image, and I(x) represents the gray value of the pixel x.
Figure PCTCN2019072072-appb-000002
The gradation value of the linearly transformed pixel x is represented, a represents the slope of the linear transformation function of the above formula (1), b represents the vertical intercept, and a and b are constants. When a=1 and b≠0, the linear value of the target image is shifted by the linear transformation, that is, the brightness of the entire target image is brightened or darkened, and the contrast of the target image is not changed; >1, you can increase the contrast of the image.

其中,非线性变换算法例如有自动变换算法、对数变换算法、伽马变换算法等。The nonlinear transform algorithm includes, for example, an automatic transform algorithm, a logarithmic transform algorithm, a gamma transform algorithm, and the like.

可选的,可用如下表达式(2)表示伽马变换算法:Optionally, the gamma transform algorithm may be represented by the following expression (2):

Figure PCTCN2019072072-appb-000003
Figure PCTCN2019072072-appb-000003

其中,I(x)表示目标图像中的像素点x的灰度值,

Figure PCTCN2019072072-appb-000004
表示经伽马变换后的该像素点的灰度值,c、r为正常数。其中,当r<1时,r值越小,对目标图像中低灰度值的像素点的灰度范围扩展越明显,使得像素的动态范围增加,显示的图像更加清晰。 Where I(x) represents the gray value of the pixel point x in the target image,
Figure PCTCN2019072072-appb-000004
Indicates the gradation value of the pixel after gamma conversion, and c and r are normal numbers. Wherein, when r<1, the smaller the r value is, the more obvious the gray range expansion of the pixel points of the low gray value in the target image is, so that the dynamic range of the pixel is increased, and the displayed image is more clear.

可选的,可用如下表达式(3)表示对数变换算法:Optionally, the logarithmic transformation algorithm may be represented by the following expression (3):

Figure PCTCN2019072072-appb-000005
Figure PCTCN2019072072-appb-000005

其中,d是一个常数,对数变换算法能够将目标图像中范围较窄的低灰度值映射到范围较宽的灰度区间,同时将范围较宽的高灰度值区间映射为较窄的灰度区间,从而扩展了暗像素的值,压缩了高灰度的值,能够对图像中低灰度细节进行增强。Where d is a constant, and the logarithmic transformation algorithm can map a narrow gray value in the target image to a wide gray range, and map a wide grayscale interval to a narrower range. The grayscale interval, which extends the value of the dark pixel, compresses the value of the high grayscale, and enhances the low grayscale detail in the image.

可选的,可用如下表达式(4)表示自动变换算法:Optionally, the automatic transformation algorithm may be represented by the following expression (4):

Figure PCTCN2019072072-appb-000006
Figure PCTCN2019072072-appb-000006

在执行自动变换算法时,需要将目标图像中像素的灰度值归一化到[0,1]之间。在自动变换算法中,目标图像中像素的灰度值增长量关于0.5对称,在[0,0.5]区间内增长量逐渐变大,在[0.5,1]区间内增长量逐渐变小,从而实现图像整体变亮。When performing the automatic transform algorithm, it is necessary to normalize the gray value of the pixel in the target image to [0, 1]. In the automatic transformation algorithm, the amount of gray value increase of the pixel in the target image is symmetric with respect to 0.5, and the growth amount gradually increases in the interval of [0, 0.5], and the growth amount becomes smaller in the interval of [0.5, 1], thereby realizing The image as a whole becomes brighter.

本实施例中所称的预设策略是指预先设定的图像增强算法与目标图像亮度特征之间的对应关系。比如,当目标图像的平均亮度小于第一预设阈值时可以采用自动变换算法对目标图像进行图像增强处理。当目标图像的平均亮度大于第一预设阈值,小于第二预设阈值时,可以采用对数变换算法或伽马变换算法对目标图像进行图像增强处理。当目标图像上存在某一区域的平均亮度小于第四阈值,存在另一区域的平均亮度大于第五阈值时,其中,第五阈值大于第四阈值,则可以采用线性变换算法对目标图像进行图像增强处理。当然上述仅为示例说明而不是唯一限定。实际上,图像亮度特征与图像增强算 法之间的对应关系可以根据需要进行设定,比如,在一种设计中,一种图像亮度特征也可以对应多种图像增强算法,从而使用多种图像增强算法实现对目标图像的图像增强处理。The preset policy referred to in this embodiment refers to a correspondence between a preset image enhancement algorithm and a target image brightness feature. For example, when the average brightness of the target image is less than the first preset threshold, the image enhancement process may be performed on the target image by using an automatic transformation algorithm. When the average brightness of the target image is greater than the first preset threshold and less than the second preset threshold, the image enhancement processing may be performed on the target image by using a logarithmic transformation algorithm or a gamma transformation algorithm. When the average brightness of a certain area on the target image is less than the fourth threshold, and the average brightness of the other area is greater than the fifth threshold, wherein the fifth threshold is greater than the fourth threshold, the image of the target image may be performed by using a linear transformation algorithm. Enhanced processing. Of course, the above is merely illustrative and not limiting. In fact, the correspondence between the image brightness feature and the image enhancement algorithm can be set as needed. For example, in one design, an image brightness feature can also correspond to multiple image enhancement algorithms, thereby using multiple image enhancements. The algorithm implements image enhancement processing on the target image.

步骤103、基于所述目标图像增强算法,对所述目标图像进行图像增强处理。Step 103: Perform image enhancement processing on the target image based on the target image enhancement algorithm.

本实施例,通过对第一图像进行去雾处理,获得目标图像,基于预设策略从多个预设的图像增强算法中,确定与目标图像的亮度特征相适应的目标图像增强算法,从而基于目标图像增强算法,对目标图像进行图像增强处理。由于本实施例针对不同的图像亮度特征预先设置了多个图像增强算法,在对去雾处理后得到的目标图像进行图像增强处理时,可以根据预设策略有针对性的从多个预设的图像增强算法中选择一个与目标图像亮度特征相适应的图像增强算法对目标图像进行处理。因而,不需要设定图像颜色的上/下限比率就可以实现较好的图像增强效果,并且无需进行直方图计算,降低了图像增强处理的复杂度。In this embodiment, the target image is obtained by performing a defogging process on the first image, and the target image enhancement algorithm that is adapted to the brightness feature of the target image is determined from the plurality of preset image enhancement algorithms based on the preset strategy, thereby The target image enhancement algorithm performs image enhancement processing on the target image. In this embodiment, a plurality of image enhancement algorithms are preset for different image brightness features. When the target image obtained after the defogging process is subjected to image enhancement processing, it may be targeted from a plurality of presets according to a preset strategy. An image enhancement algorithm adapted to the brightness characteristics of the target image is selected in the image enhancement algorithm to process the target image. Therefore, it is possible to achieve a better image enhancement effect without setting the upper/lower limit ratio of the image color, and it is not necessary to perform histogram calculation, which reduces the complexity of the image enhancement processing.

图2是本公开实施例提供的一种图像增强方法的流程图,如图2所示,在图1实施例的基础上,该方法包括以下步骤。FIG. 2 is a flowchart of an image enhancement method according to an embodiment of the present disclosure. As shown in FIG. 2, on the basis of the embodiment of FIG. 1, the method includes the following steps.

步骤201、获取目标图像整体的平均亮度。Step 201: Acquire an average brightness of the entire target image.

步骤202a、若所述目标图像整体的平均亮度小于第一预设阈值,则确定所述自动变换算法为目标图像增强算法。Step 202a: If the average brightness of the target image as a whole is less than a first preset threshold, determine that the automatic transform algorithm is a target image enhancement algorithm.

本实施例中当目标图像的平均亮度小于第一预设阈值时,则认为目标图像整体亮度较暗,此时采用自动变换算法对目标图像进行图像增强处理,能够大幅提高目标图像整体的亮度,并且由上述实施例可知,自动变换算法可以由如下表达式表示:In this embodiment, when the average brightness of the target image is less than the first preset threshold, the overall brightness of the target image is considered to be dark. At this time, the image is enhanced by using an automatic transform algorithm, which can greatly improve the brightness of the target image. And it can be seen from the above embodiment that the automatic transformation algorithm can be expressed by the following expression:

Figure PCTCN2019072072-appb-000007
Figure PCTCN2019072072-appb-000007

因此,在利用自动变换算法对目标图像进行图像增强处理时,无需另外设置参数,操作方便,能够提高图像增强处理的效率。Therefore, when the image enhancement processing is performed on the target image by using the automatic transformation algorithm, it is not necessary to separately set parameters, and the operation is convenient, and the efficiency of the image enhancement processing can be improved.

步骤202b、若所述目标图像整体的平均亮度大于第一预设阈值,小于第二预设阈值,则确定对数变换算法或伽马变换算法为目标图像增强算法。Step 202b: If the average brightness of the target image as a whole is greater than the first preset threshold and less than the second preset threshold, determine that the logarithmic transformation algorithm or the gamma transformation algorithm is the target image enhancement algorithm.

其中,第二预设阈值大于第一预设阈值,第一预设阈值和第二预设阈值的值可以根据需要进行设定。The second preset threshold is greater than the first preset threshold, and the values of the first preset threshold and the second preset threshold may be set as needed.

本实施例中,当目标图像整体的平均亮度大于第一预设阈值小于第二预设阈值时, 则认为目标图像的整体亮度不是特别暗,此时只要适当提高目标图像的亮度即可获得较好的表现效果。并且由于伽马变换算法和对数变换算法都能够对图像中低灰度值进行明显的扩展,显示更多低灰度值细节,因此,本实施例可以采用伽马变换算法或对数变换算法对平均亮度大于第一预设阈值小于第二预设阈值的目标图像进行图像增强处理,从而获得较好的图像增强效果。其中,相比伽马变换算法,采用对数变换算法能够取得更好的效果。In this embodiment, when the average brightness of the target image is greater than the first preset threshold, the overall brightness of the target image is not particularly dark, and the brightness of the target image may be increased as appropriate. Good performance. And since both the gamma transform algorithm and the logarithmic transform algorithm can significantly expand the low gray value in the image and display more low gray value details, the gamma transform algorithm or the logarithmic transform algorithm can be used in this embodiment. The image enhancement processing is performed on the target image whose average brightness is greater than the first preset threshold and less than the second preset threshold, thereby obtaining a better image enhancement effect. Among them, compared with the gamma conversion algorithm, the logarithmic transformation algorithm can achieve better results.

步骤203、基于所述目标图像增强算法,对所述目标图像进行图像增强处理。Step 203: Perform image enhancement processing on the target image based on the target image enhancement algorithm.

本实施例,通过在目标图像整体的平均亮度值大于第一阈值小于第二阈值时,采用伽马变换算法或对数变换算法对目标图像进行图像增强处理,能够使得目标图像中低灰度值的部分得到显著的增强,从而获得较好的图像增强效果。In this embodiment, by performing image enhancement processing on the target image by using a gamma conversion algorithm or a logarithmic transformation algorithm when the average luminance value of the entire target image is greater than the first threshold is less than the second threshold, the low gray value in the target image can be made. The portion is significantly enhanced to achieve better image enhancement.

图3是本公开实施例提供的一种图像增强方法的流程图,如图3所示,在图1实施例的基础上,该方法包括如下步骤。FIG. 3 is a flowchart of an image enhancement method according to an embodiment of the present disclosure. As shown in FIG. 3, on the basis of the embodiment of FIG. 1, the method includes the following steps.

步骤301、获取所述目标图像上不同区域各自的平均亮度。Step 301: Acquire an average brightness of different regions on the target image.

步骤302、针对所述目标图像上的每个区域,基于预设策略,从多个预设的图像增强算法中,确定出与所述区域的平均亮度相适应的图像增强算法作为针对该区域的目标图像增强算法。Step 302: Determine, for each region on the target image, an image enhancement algorithm that is adapted to the average brightness of the region from the plurality of preset image enhancement algorithms based on the preset policy. Target image enhancement algorithm.

步骤303、基于针对各个区域分别确定的目标图像增强算法,对所述目标图像进行图像增强处理。Step 303: Perform image enhancement processing on the target image based on a target image enhancement algorithm respectively determined for each region.

由于不同区域的平均亮度可能不同,因此,本实施例中确定出的目标图像增强算法可能是多个。在基于多个目标图像增强算法对目标图像进行图像增强处理时,实现方式包括如下几种。Since the average brightness of different regions may be different, the target image enhancement algorithm determined in this embodiment may be multiple. When image enhancement processing is performed on a target image based on a plurality of target image enhancement algorithms, the implementation includes the following.

在第一种实现方式中,可以针对目标图像上的每个区域,基于与该区域的平均亮度相适应的目标图像增强算法对该区域进行图像增强处理,直至全部区域处理完成后停止。In a first implementation, an image enhancement process may be performed on the region based on a target image enhancement algorithm that is commensurate with the average brightness of the region for each region on the target image until all regions are processed and stopped.

在另一种实现方式中,可以基于确定出的多个目标图像增强算法对目标图像进行多次图像增强处理。举例来说,假设目标图像包括第一区域和第二区域,其中第一区域的平均亮度小于第三预设阈值,第二区域的平均亮度大于第四预设阈值,其中,第四预设阈值大于第三预设阈值。此时确定线性变换算法和对数变换算法为目标图像增强算法。进一步的,可以先基于线性变换算法、对数变换算法二者中的一种对目标图像进行第一 次图像增强处理,再基于二者中的另一种对目标图像进行第二次图像增强处理,得到最终的图像。In another implementation, the target image may be subjected to multiple image enhancement processes based on the determined plurality of target image enhancement algorithms. For example, it is assumed that the target image includes a first area and a second area, wherein the average brightness of the first area is less than a third preset threshold, and the average brightness of the second area is greater than a fourth preset threshold, wherein the fourth preset threshold Greater than the third preset threshold. At this time, it is determined that the linear transformation algorithm and the logarithmic transformation algorithm are target image enhancement algorithms. Further, the first image enhancement processing may be performed on the target image based on one of the linear transformation algorithm and the logarithmic transformation algorithm, and then the second image enhancement processing is performed on the target image based on the other of the two. , get the final image.

具体的,上述第三预设阈值是用于判断图像是否过暗的界限,第四预设阈值是用于判断图像过亮的界限。当图像上某一区域的平均亮度小于第三预设阈值时,表明该区域的亮度过暗;当图像上另一区域的平均亮度大于第四预设阈值时,表明该区域的亮度过亮。基于此,当目标图像上包括上述涉及的第一区域和第二区域时,则说明目标图像上包括过暗的区域(即第一区域)和过亮的区域(即第二区域)。此时如果采用自动变换算法、伽马变换算法或者对数变换算法的话对第一区域和第二区域的亮度改善效果较小,而线性变换算法却能够明显增强图像中亮度过暗或者过强区域的显示效果,并且能够适当提升图像中其他区域的显示效果,因此,本实施例可以采用线性变换算法对目标图像进行图像增强处理。具体地,可以分别针对第一区域和第二区域将上述线性变换算法(1)中的参数b设置为不同的值,然后分别对第一区域和第二区域进行灰度变换处理。Specifically, the third preset threshold is used to determine whether the image is too dark, and the fourth preset threshold is used to determine that the image is too bright. When the average brightness of an area on the image is less than the third preset threshold, it indicates that the brightness of the area is too dark; when the average brightness of another area on the image is greater than the fourth preset threshold, it indicates that the brightness of the area is too bright. Based on this, when the first image and the second region involved above are included on the target image, it is explained that the target image includes an area that is too dark (ie, a first area) and an area that is too bright (ie, a second area). At this time, if the automatic transform algorithm, the gamma transform algorithm or the logarithmic transform algorithm is used, the brightness improvement effect on the first region and the second region is small, and the linear transform algorithm can significantly enhance the brightness in the image which is too dark or too strong. The display effect and the display effect of other areas in the image can be appropriately improved. Therefore, the present embodiment can perform image enhancement processing on the target image by using a linear transformation algorithm. Specifically, the parameter b in the linear transformation algorithm (1) described above may be set to a different value for the first region and the second region, respectively, and then the first region and the second region are respectively subjected to gradation transformation processing.

但是若只采用采用线性变换算法对上述目标图像进行图像增强处理的话,虽然能够对亮度介于第一区域和第二区域之间的区域进行一定增强处理,但是其增强效果有限,考虑到对数变换能够较好的对该区域进行增强处理,因此,本实施例还可以在使用线性变换算法对目标图像进行图像增强处理之后再通过对数变换算法对亮度介于第一区域和第二区域之间的区域进行进一步的亮度增强,从而达到整体提升图像亮度的目的。However, if only the image transformation processing is performed on the target image by using a linear transformation algorithm, although the region where the luminance is between the first region and the second region can be enhanced, the enhancement effect is limited, considering the logarithm. The transform can perform the enhancement processing on the region. Therefore, in this embodiment, after the image enhancement processing is performed on the target image by using the linear transform algorithm, the logarithmic transformation algorithm is used to compare the brightness between the first region and the second region. The area between the areas is further enhanced in brightness to achieve an overall improvement in image brightness.

当然上述举例仅是为了示例说明而不是对本公开的唯一限定。The above examples are of course only illustrative and not limiting of the disclosure.

本实施例,通过基于目标图像上不同区域的平均亮度确定多个目标图像增强算法,再基于多个目标图像增强算法对目标图像进行图像增强处理,能够,避免采用单一图像增强算法所存在的缺陷,使得目标图像整体的亮度效果得到增强。In this embodiment, by determining a plurality of target image enhancement algorithms based on average brightness of different regions on the target image, and performing image enhancement processing on the target image based on the plurality of target image enhancement algorithms, the defects of the single image enhancement algorithm can be avoided. The brightness effect of the target image as a whole is enhanced.

图4是本公开实施例提供的一种图像增强装置的结构示意图,如图4所示,该装置包括以下模块。FIG. 4 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure. As shown in FIG. 4, the apparatus includes the following modules.

去雾模块41,用于对第一图像进行去雾处理,获得目标图像。The defogging module 41 is configured to perform a defogging process on the first image to obtain a target image.

确定模块42,用于基于预设策略,从多个预设的图像增强算法中,确定与所述目标图像的亮度特征相适应的目标图像增强算法。The determining module 42 is configured to determine, from the plurality of preset image enhancement algorithms, a target image enhancement algorithm that is adapted to the brightness feature of the target image based on the preset policy.

处理模块43,用于基于所述目标图像增强算法,对所述目标图像进行图像增强处理。The processing module 43 is configured to perform image enhancement processing on the target image based on the target image enhancement algorithm.

可选的,所述多个预设的图像增强算法,包括:线性变换算法、自动变换算法、对 数变换算法、伽马变换算法。Optionally, the multiple preset image enhancement algorithms include: a linear transformation algorithm, an automatic transformation algorithm, a logarithmic transformation algorithm, and a gamma transformation algorithm.

本实施例提供的图像增强装置,能够执行图1实施例的方法,其他执行方式和有益效果类似,在这里不再赘述。The image enhancement apparatus provided in this embodiment can perform the method of the embodiment of FIG. 1. Other implementation modes and beneficial effects are similar, and details are not described herein again.

图5是本公开实施例提供的一种图像增强装置的结构示意图,如图5所示,在图4实施例的基础上,所述目标图像的亮度特征包括所述目标图像整体的平均亮度;所述确定模块42,包括:FIG. 5 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure. As shown in FIG. 5, on the basis of the embodiment of FIG. 4, the brightness characteristic of the target image includes an average brightness of the target image as a whole; The determining module 42 includes:

第一确定子模块421,用于在所述目标图像整体的平均亮度小于第一预设阈值时,确定所述自动变换算法为目标图像增强算法;The first determining sub-module 421 is configured to determine, when the average brightness of the target image as a whole is less than a first preset threshold, that the automatic transform algorithm is a target image enhancement algorithm;

第二确定子模块422,用于在所述目标图像整体的平均亮度大于第一预设阈值,小于第二预设阈值时,确定对数变换算法或伽马变换算法为目标图像增强算法。The second determining sub-module 422 is configured to determine that the logarithmic transform algorithm or the gamma transform algorithm is the target image enhancement algorithm when the average brightness of the target image is greater than the first preset threshold and less than the second preset threshold.

本实施例提供的图像增强装置,能够用于执行图2实施例的方法,其执行方式和有益效果类似,在这里不再赘述。The image enhancement apparatus provided in this embodiment can be used to perform the method of the embodiment of FIG. 2, and the execution manner and the beneficial effects are similar, and details are not described herein again.

图6是本公开实施例提供的一种图像增强装置的结构示意图,如图6所示,在图4实施例的基础上,所述目标图像的亮度特征包括所述目标图像上不同区域各自的平均亮度;所述处理模块43,包括:6 is a schematic structural diagram of an image enhancement apparatus according to an embodiment of the present disclosure. As shown in FIG. 6, on the basis of the embodiment of FIG. 4, the brightness characteristic of the target image includes respective areas of different areas on the target image. The average brightness; the processing module 43 includes:

第一处理子模块431,用于针对所述目标图像上的不同区域,基于与所述区域的平均亮度相适应的目标图像增强算法对所述区域进行图像增强处理;a first processing sub-module 431, configured to perform image enhancement processing on the region based on a target image enhancement algorithm that is adapted to an average brightness of the region for different regions on the target image;

或者or

第二处理子模块432,用于基于分别与所述目标图像上不同区域对应的多个目标图像增强算法对所述目标图像整体反复进行多次图像增强处理。The second processing sub-module 432 is configured to repeatedly perform image enhancement processing on the target image as a whole based on a plurality of target image enhancement algorithms respectively corresponding to different regions on the target image.

本实施例提供的图像增强装置,能够用于执行图3实施例的方法,其执行方式和有益效果类似,在这里不再赘述。The image enhancement apparatus provided in this embodiment can be used to perform the method of the embodiment of FIG. 3, and the execution manner and the beneficial effects are similar, and details are not described herein again.

图7是本公开实施例提供的一种终端设备的结构示意图,该终端设备例如可以是手机等移动终端,也可以是交通摄像头等。如图7所示,一种终端设备700,包括:FIG. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure. The terminal device may be, for example, a mobile terminal such as a mobile phone, or may be a traffic camera or the like. As shown in FIG. 7, a terminal device 700 includes:

处理器701;Processor 701;

存储器702,用于存储计算机可执行指令以及图像数据;a memory 702, configured to store computer executable instructions and image data;

当所述处理器执行所述计算机可执行指令时,可以实现上述方法实施例的技术方 案。When the processor executes the computer executable instructions, the technical solution of the above method embodiments can be implemented.

本公开实施例还提供一种计算机可读非易失性存储介质,包括计算机指令,当所述计算机指令在处理器上运行时,可以实现上述方法实施例的技术方案。The embodiment of the present disclosure further provides a computer readable non-volatile storage medium, including computer instructions, which can implement the technical solutions of the foregoing method embodiments when the computer instructions are run on a processor.

最后需要说明的是,本领域普通技术人员可以理解上述实施例方法中的全部或者部分流程,是可以通过计算机程序来指令相关的硬件完成,所述的程序可存储于一计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可以为磁盘、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。Finally, it should be understood that those skilled in the art can understand that all or part of the processes in the above embodiment methods can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. The program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).

本公开实施例中的各个功能单元可以集成在一个处理模块中,也可以是各个单元单独的物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现,并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中。上述提到的存储介质可以是只读存储器、磁盘或光盘等。The various functional units in the embodiments of the present disclosure may be integrated into one processing module, or may be physically separated by individual units, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like.

以上各实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述各实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的范围。The above embodiments are only for explaining the technical solutions of the present disclosure, and are not intended to be limiting thereof; although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that The technical solutions described in the examples are modified, or some or all of the technical features are equivalently substituted; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present disclosure.

Claims (12)

一种图像增强方法,包括:An image enhancement method comprising: 对第一图像进行去雾处理,获得目标图像;Defogging the first image to obtain a target image; 基于预设策略,从多个预设的图像增强算法中,确定与所述目标图像的亮度特征相适应的目标图像增强算法;Determining, from a plurality of preset image enhancement algorithms, a target image enhancement algorithm that is adapted to the brightness characteristics of the target image based on a preset strategy; 基于所述目标图像增强算法,对所述目标图像进行图像增强处理。Image enhancement processing is performed on the target image based on the target image enhancement algorithm. 根据权利要求1所述的方法,所述多个预设的图像增强算法,包括:线性变换算法、自动变换算法、对数变换算法和伽马变换算法中的多者。The method according to claim 1, wherein the plurality of preset image enhancement algorithms comprise: a plurality of linear transformation algorithms, automatic transformation algorithms, log transformation algorithms, and gamma transformation algorithms. 根据权利要求2所述的方法,所述目标图像的亮度特征包括所述目标图像整体的平均亮度;The method according to claim 2, wherein the brightness characteristic of the target image comprises an average brightness of the target image as a whole; 所述基于预设策略,从预设的多个图像增强算法中,确定与所述目标图像的亮度特征相适应的目标图像增强算法,包括:Determining, according to a preset strategy, a target image enhancement algorithm that is adapted to the brightness feature of the target image from a plurality of preset image enhancement algorithms, including: 若所述目标图像整体的平均亮度小于第一预设阈值,则确定所述自动变换算法为目标图像增强算法;If the average brightness of the target image as a whole is less than a first preset threshold, determining that the automatic transform algorithm is a target image enhancement algorithm; 若所述目标图像整体的平均亮度大于第一预设阈值,小于第二预设阈值,则确定对数变换算法或伽马变换算法为目标图像增强算法。And if the average brightness of the target image as a whole is greater than the first preset threshold and less than the second preset threshold, determining that the logarithmic transformation algorithm or the gamma transformation algorithm is the target image enhancement algorithm. 根据权利要求1所述的方法,所述目标图像的亮度特征包括所述目标图像上不同区域各自的平均亮度;The method according to claim 1, wherein the brightness characteristic of the target image comprises respective average brightness of different regions on the target image; 所述基于所述目标图像增强算法,对所述目标图像进行图像增强处理,包括:And performing image enhancement processing on the target image based on the target image enhancement algorithm, including: 针对所述目标图像上的不同区域,基于与所述区域的平均亮度相适应的目标图像增强算法对所述区域进行图像增强处理。An image enhancement process is performed on the region based on a target image enhancement algorithm that is adapted to the average brightness of the region for different regions on the target image. 根据权利要求1所述的方法,所述目标图像的亮度特征包括所述目标图像上不同区域各自的平均亮度;The method according to claim 1, wherein the brightness characteristic of the target image comprises respective average brightness of different regions on the target image; 所述基于所述目标图像增强算法,对所述目标图像进行图像增强处理,包括:And performing image enhancement processing on the target image based on the target image enhancement algorithm, including: 基于分别与所述目标图像上不同区域相对应的多个目标图像增强算法对所述目标图像整体反复进行多次图像增强处理。The image enhancement processing is repeatedly performed on the target image as a whole based on a plurality of target image enhancement algorithms respectively corresponding to different regions on the target image. 一种图像增强装置,包括:An image enhancement device comprising: 去雾模块,用于对第一图像进行去雾处理,获得目标图像;a defogging module, configured to perform a defogging process on the first image to obtain a target image; 确定模块,用于基于预设策略,从多个预设的图像增强算法中,确定与所述目标图像的亮度特征相适应的目标图像增强算法;a determining module, configured to determine, according to a preset policy, a target image enhancement algorithm that is adapted to a brightness feature of the target image from among a plurality of preset image enhancement algorithms; 处理模块,用于基于所述目标图像增强算法,对所述目标图像进行图像增强处理。And a processing module, configured to perform image enhancement processing on the target image based on the target image enhancement algorithm. 根据权利要求6所述的装置,其特征在于,所述多个预设的图像增强算法,包括:线性变换算法、自动变换算法、对数变换算法、伽马变换算法。The apparatus according to claim 6, wherein the plurality of preset image enhancement algorithms comprise: a linear transformation algorithm, an automatic transformation algorithm, a logarithmic transformation algorithm, and a gamma transformation algorithm. 根据权利要求7所述的装置,其特征在于,所述目标图像的亮度特征包括所述目标图像整体的平均亮度;The apparatus according to claim 7, wherein the brightness characteristic of the target image comprises an average brightness of the entire target image; 所述确定模块,包括:The determining module includes: 第一确定子模块,用于在所述目标图像整体的平均亮度小于第一预设阈值时,确定所述自动变换算法为目标图像增强算法;a first determining submodule, configured to determine that the automatic transform algorithm is a target image enhancement algorithm when an average brightness of the target image as a whole is less than a first preset threshold; 第二确定子模块,用于在所述目标图像整体的平均亮度大于第一预设阈值,小于第二预设阈值时,确定对数变换算法或伽马变换算法为目标图像增强算法。The second determining submodule is configured to determine that the logarithmic transform algorithm or the gamma transform algorithm is the target image enhancement algorithm when the average brightness of the target image as a whole is greater than the first preset threshold and less than the second preset threshold. 根据权利要求6所述的装置,其特征在于,所述目标图像的亮度特征包括所述目标图像上不同区域各自的平均亮度;The apparatus according to claim 6, wherein the brightness characteristic of the target image comprises respective average brightness of different areas on the target image; 所述处理模块,包括:The processing module includes: 第一处理子模块,用于针对所述目标图像上的不同区域,基于与所述区域的平均亮度相适应的目标图像增强算法对所述区域进行图像增强处理。And a first processing submodule, configured to perform image enhancement processing on the region based on a target image enhancement algorithm that is adapted to an average brightness of the region for different regions on the target image. 根据权利要求6所述的装置,其特征在于,所述目标图像的亮度特征包括所述目标图像上不同区域各自的平均亮度;The apparatus according to claim 6, wherein the brightness characteristic of the target image comprises respective average brightness of different areas on the target image; 所述处理模块,包括:第二处理子模块,用于基于分别与所述目标图像上不同区域对应的多个目标图像增强算法对所述目标图像整体反复进行多次图像增强处理。The processing module includes: a second processing submodule, configured to repeatedly perform image enhancement processing on the target image as a whole based on a plurality of target image enhancement algorithms respectively corresponding to different regions on the target image. 一种终端设备,包括:A terminal device comprising: 处理器;processor; 存储器,用于存储计算机可执行指令;a memory for storing computer executable instructions; 所述计算机可执行指令被所述处理器执行时,实现上述权利要求1-5中任一项所述的方法。The method of any of the preceding claims 1-5, when the computer executable instructions are executed by the processor. 一种计算机可读非易失性存储介质,其上存储有计算机指令,所述计算机指令被处理器执行时实现权利要求1到5所述的方法。A computer readable non-volatile storage medium having stored thereon computer instructions that, when executed by a processor, implement the method of claims 1 to 5.
PCT/CN2019/072072 2018-04-26 2019-01-17 Image enhancement method Ceased WO2019205751A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810387527.2 2018-04-26
CN201810387527.2A CN108665428B (en) 2018-04-26 2018-04-26 Image enhancement method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2019205751A1 true WO2019205751A1 (en) 2019-10-31

Family

ID=63781049

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/072072 Ceased WO2019205751A1 (en) 2018-04-26 2019-01-17 Image enhancement method

Country Status (2)

Country Link
CN (1) CN108665428B (en)
WO (1) WO2019205751A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114298916A (en) * 2021-11-11 2022-04-08 电子科技大学 X-Ray image enhancement method based on gray stretching and local enhancement
CN114936981A (en) * 2022-06-10 2022-08-23 重庆尚优科技有限公司 Code registration system is swept in place based on cloud platform
CN117078521A (en) * 2022-05-10 2023-11-17 腾讯科技(深圳)有限公司 An image processing method, device, computer equipment and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108665428B (en) * 2018-04-26 2022-11-11 青岛海信移动通信技术股份有限公司 Image enhancement method, device, equipment and storage medium
CN110047052A (en) * 2019-04-25 2019-07-23 哈尔滨工业大学 A kind of strong Xanthophyll cycle night vision Enhancement Method based on FPGA
CN110689655A (en) * 2019-09-17 2020-01-14 南昌大学 An integrated system of dormitory access control management based on face recognition
CN113470122A (en) * 2020-05-27 2021-10-01 海信集团有限公司 Refrigerator and image enhancement method
CN112906712B (en) * 2021-03-02 2023-05-02 湖南金烽信息科技有限公司 Neural network image preprocessing method based on light intensity analysis
CN112967273B (en) * 2021-03-25 2021-11-16 北京的卢深视科技有限公司 Image processing method, electronic device, and storage medium
CN113744325B (en) * 2021-09-06 2024-04-26 中国地质科学院勘探技术研究所 Liquid level detection device and method based on image recognition technology
CN114332980B (en) * 2021-11-24 2025-08-29 奥比中光科技集团股份有限公司 Image processing method, device, intelligent terminal and storage medium
CN115018746B (en) * 2022-06-01 2025-06-27 北京百度网讯科技有限公司 Image synthesis method, device, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663683A (en) * 2012-03-14 2012-09-12 华平信息技术股份有限公司 Image enhancement method and image enhancement system
CN106412383A (en) * 2015-07-31 2017-02-15 阿里巴巴集团控股有限公司 Processing method and apparatus of video image
CN107403421A (en) * 2017-08-10 2017-11-28 杭州联吉技术有限公司 A kind of image defogging method, storage medium and terminal device
CN107644409A (en) * 2017-09-28 2018-01-30 深圳Tcl新技术有限公司 Image enchancing method, display device and computer-readable recording medium
CN108665428A (en) * 2018-04-26 2018-10-16 青岛海信移动通信技术股份有限公司 Image enchancing method, device, equipment and storage medium

Family Cites Families (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100590529B1 (en) * 2003-11-04 2006-06-15 삼성전자주식회사 Method and apparatus for improving local luminance of image and computer readable recording medium storing computer program
US7428333B2 (en) * 2004-01-23 2008-09-23 Old Dominion University Visibility improvement in color video stream
EP1934937A2 (en) * 2005-09-30 2008-06-25 Koninklijke Philips Electronics N.V. Image detail enhancement
TWI340586B (en) * 2006-11-21 2011-04-11 Wintek Corp Adjusting apparatus for enhancing the contrast of image and method thereof
CN101472113B (en) * 2007-12-29 2012-05-30 深圳艾科创新微电子有限公司 Digital image brightness contrast enhancement device
CN101271523B (en) * 2008-05-21 2010-06-02 北京中星微电子有限公司 Image brightness adjustment control method and device for face detection
US8396324B2 (en) * 2008-08-18 2013-03-12 Samsung Techwin Co., Ltd. Image processing method and apparatus for correcting distortion caused by air particles as in fog
CN101350933B (en) * 2008-09-02 2011-09-14 广东威创视讯科技股份有限公司 Method for regulating lighteness of filmed display screen based on image inductor
CN101510302B (en) * 2009-03-25 2014-05-21 北京中星微电子有限公司 Method and apparatus for enhancing image
CN101770639B (en) * 2010-01-14 2012-05-23 北京航空航天大学 Low-illumination image enhancement method
CN102456223B (en) * 2010-10-27 2014-05-07 珠海扬智电子有限公司 Device and method for carrying out enhancement and scaling on image details
CN102158699B (en) * 2011-03-28 2012-12-12 广州市聚晖电子科技有限公司 Embedded video compression coding system with image enhancement function
CN102202163B (en) * 2011-05-13 2013-01-23 成都西图科技有限公司 Adaptive enhancement method and device for monitored video
CN102611828B (en) * 2012-01-11 2014-03-26 四川大学 Real-time enhanced processing system for foggy continuous video image
CN102957919A (en) * 2012-11-14 2013-03-06 四川长虹电器股份有限公司 Digital image brightness enhancement method
CN102968769B (en) * 2012-11-27 2015-07-22 宁波盈芯信息科技有限公司 Image consistency enhancing device
CN103854255A (en) * 2012-11-29 2014-06-11 比亚迪股份有限公司 Image enhancement method and image enhancement device
CN103002291B (en) * 2012-12-06 2014-12-03 杭州藏愚科技有限公司 Camera wide dynamic image enhancement method and device
CN103024300B (en) * 2012-12-25 2015-11-25 华为技术有限公司 A kind of method for high dynamic range image display and device
CN103106644B (en) * 2013-02-02 2016-04-27 南京理工大学 Overcome the self-adaptation picture quality enhancement method of coloured image inhomogeneous illumination
CN104715453A (en) * 2013-12-12 2015-06-17 苏州长风航空电子有限公司 Image enhancement method by adopting regional processing mode and circuit
CN103996168B (en) * 2014-01-21 2017-02-01 公安部第一研究所 X-ray safety inspection image enhancing method based on region self-adaptive processing
CN105335933B (en) * 2014-05-27 2017-11-17 上海贝卓智能科技有限公司 A kind of method for enhancing picture contrast and device
CN105513015B (en) * 2014-09-24 2018-04-03 南京理工大学 A kind of clearness processing method of Misty Image
CN104463807B (en) * 2014-12-24 2017-05-10 深圳市安健科技股份有限公司 Method and system for self-adaptive enhancement of contrast ratio of X-ray image
CN104517272B (en) * 2014-12-31 2017-11-03 深圳市天视通电子科技有限公司 A kind of image enchancing method and device
US9288458B1 (en) * 2015-01-31 2016-03-15 Hrl Laboratories, Llc Fast digital image de-hazing methods for real-time video processing
JP6365355B2 (en) * 2015-03-09 2018-08-01 オムロン株式会社 Image generating apparatus and image generating method
CN104867115A (en) * 2015-04-09 2015-08-26 南京邮电大学 Color cast detection and image enhancement method for images after defogging
CN105809638A (en) * 2016-03-01 2016-07-27 深圳Tcl数字技术有限公司 Image processing method and apparatus
CN106023100B (en) * 2016-05-12 2020-03-31 珠海市杰理科技股份有限公司 Image wide dynamic range compression method and device
CN106485652A (en) * 2016-10-12 2017-03-08 青岛海信电器股份有限公司 Setting contrast method and device
CN107203982A (en) * 2017-06-26 2017-09-26 郑州云海信息技术有限公司 A kind of image processing method and device
CN107451979B (en) * 2017-08-08 2022-11-01 腾讯科技(深圳)有限公司 Image processing method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663683A (en) * 2012-03-14 2012-09-12 华平信息技术股份有限公司 Image enhancement method and image enhancement system
CN106412383A (en) * 2015-07-31 2017-02-15 阿里巴巴集团控股有限公司 Processing method and apparatus of video image
CN107403421A (en) * 2017-08-10 2017-11-28 杭州联吉技术有限公司 A kind of image defogging method, storage medium and terminal device
CN107644409A (en) * 2017-09-28 2018-01-30 深圳Tcl新技术有限公司 Image enchancing method, display device and computer-readable recording medium
CN108665428A (en) * 2018-04-26 2018-10-16 青岛海信移动通信技术股份有限公司 Image enchancing method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114298916A (en) * 2021-11-11 2022-04-08 电子科技大学 X-Ray image enhancement method based on gray stretching and local enhancement
CN117078521A (en) * 2022-05-10 2023-11-17 腾讯科技(深圳)有限公司 An image processing method, device, computer equipment and storage medium
CN114936981A (en) * 2022-06-10 2022-08-23 重庆尚优科技有限公司 Code registration system is swept in place based on cloud platform
CN114936981B (en) * 2022-06-10 2023-07-07 重庆尚优科技有限公司 Cloud platform-based place code scanning registration system

Also Published As

Publication number Publication date
CN108665428A (en) 2018-10-16
CN108665428B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
WO2019205751A1 (en) Image enhancement method
CN109801240B (en) Image enhancement method and image enhancement device
CN101951523B (en) Adaptive colour image processing method and system
CN101916431B (en) Low-illumination image data processing method and system
US8165419B2 (en) Histogram stretching apparatus and histogram stretching method for enhancing contrast of image
US9710715B2 (en) Image processing system, image processing device, and image processing method
CN103679733B (en) A kind of signal lamp image processing method and its device
WO2016206087A1 (en) Low-illumination image processing method and device
US9704227B2 (en) Method and apparatus for image enhancement
US10609303B2 (en) Method and apparatus for rapid improvement of smog/low-light-level image using mapping table
CN113191982B (en) Single image defogging method based on morphological reconstruction and saturation compensation
WO2019223068A1 (en) Iris image local enhancement method, device, equipment and storage medium
WO2021218603A1 (en) Image processing method and projection system
CN109817170B (en) Pixel compensation method and device and terminal equipment
WO2019100675A1 (en) Partition-based backlight control method and device
CN112312030A (en) Photographing light supplement method and device, computer equipment and storage medium
WO2017084255A1 (en) Real-time video enhancement method, terminal, and nonvolatile computer readable storage medium
CN112116536A (en) Low-illumination image enhancement method and system
CN109493291A (en) A kind of method for enhancing color image contrast ratio of adaptive gamma correction
CN109087254A (en) Unmanned plane image haze sky and white area adaptive processing method
CN116563180A (en) Image adaptive enhancement method and terminal
CN113449730A (en) Image processing method, system, automatic walking device and readable storage medium
CN113947553A (en) Image brightness enhancement method and device
EP4209990A2 (en) Blended gray image enhancement
CN112200755A (en) Image defogging method

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: 19793563

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.02.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19793563

Country of ref document: EP

Kind code of ref document: A1