CN114638765A - Low-illumination image enhancement method based on complementary gamma conversion - Google Patents

Low-illumination image enhancement method based on complementary gamma conversion Download PDF

Info

Publication number
CN114638765A
CN114638765A CN202210325152.3A CN202210325152A CN114638765A CN 114638765 A CN114638765 A CN 114638765A CN 202210325152 A CN202210325152 A CN 202210325152A CN 114638765 A CN114638765 A CN 114638765A
Authority
CN
China
Prior art keywords
image
illumination
component
low
complementary gamma
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.)
Pending
Application number
CN202210325152.3A
Other languages
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.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
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 Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN202210325152.3A priority Critical patent/CN114638765A/en
Publication of CN114638765A publication Critical patent/CN114638765A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a low-illumination image enhancement method based on complementary gamma conversion, which comprises the following steps: (1) converting an original color image from an RGB space to an HSV space, and acquiring an illumination component V, a hue component H and a saturation component S of the image; (2) processing the illumination component V by adopting a complementary gamma transformation function to obtain an enhanced illumination component V(ii) a (3) And then converting the color image from the HSV space to the RGB space to obtain an enhanced image. The invention can effectively improve the image blurring phenomenon caused by uneven illumination, so that the visual effect of the image is better, and the high exposure part of the image is inhibited.

Description

Low-illumination image enhancement method based on complementary gamma conversion
Technical Field
The invention relates to the technical field of image processing, in particular to a low-illumination image enhancement method based on complementary gamma conversion.
Background
Due to the limitations of image acquisition technology, imaging environment and other factors, it is sometimes very difficult to obtain high-quality images, and images taken under extreme weather conditions or at night often have low visibility, blurred details and greatly reduced quality. Obtaining an image with low illumination is almost unavoidable. Therefore, it is necessary to enhance the low-illuminance image to meet our needs. In the prior art, the image is enhanced by adopting a weighted distribution adaptive gamma correction enhancement map (AGCWD) or a low-light-level image enhancement map (LIME) technology for illumination estimation, but some high-exposure parts exist in the image enhanced by adopting the above technology.
Disclosure of Invention
The purpose of the invention is as follows: in view of the above disadvantages, the present invention provides a low-illumination image enhancement method based on complementary gamma conversion, which can effectively improve the image blurring caused by uneven illumination, so that the visual effect of the image is better, and at the same time, the high-exposure part of the image is suppressed.
The technical scheme is as follows: in order to solve the above problems, the present invention provides a low illumination image enhancement method based on complementary gamma transformation, comprising the following steps:
(1) converting an original color image from an RGB space to an HSV space, and acquiring an illumination component V, a hue component H and a saturation component S of the image;
(2) processing the illumination component V by adopting a complementary gamma transformation function to obtain an enhanced illumination component V'; the formula of the complementary gamma transformation function is as follows:
V′=a1V1+a2V2
V1=Vr
V2=1-(1-V)r
wherein r is 2.2; a is1、a2Are all weight coefficients;
(3) and then converting the color image from the HSV space to the RGB space to obtain an enhanced image.
Further, the weight coefficient calculation formula in step (2) is as follows:
Figure BDA0003573133200000011
in the formula: i, taking 1 and 2;
Figure BDA0003573133200000012
represents ViAverage value of (a).
Further, the formula for converting the original color image from the RGB space to the HSV space is as follows:
Figure BDA0003573133200000021
Figure BDA0003573133200000022
Figure BDA0003573133200000023
Figure BDA0003573133200000024
further, the formula for converting the color image from HSV space to RGB space is:
Figure BDA0003573133200000025
wherein: h isi=[H/60]mod6,f=H/60-hi,p=V′×(1-S),q=V′×(1-f×S),t=V′×(1-(1-f)×S)。
Has the advantages that: compared with the prior art, the invention has the following remarkable advantages: the designed complementary gamma conversion correction function is used for processing the illumination component V of the image, so that the brightness distribution of the image is more uniform, the details of the image are effectively enhanced, and the visual quality of the image is higher; and the brightness of the whole enhanced image is improved, and simultaneously, the high exposure part of the image is restrained, and the details are enhanced to a certain extent.
Drawings
FIG. 1 is a flow chart of a method according to the present invention;
FIG. 2 is a graph illustrating image contrast enhancement; FIG. 2(a) shows an original drawing; FIG. 2(b) shows an enhancement of the present invention;
FIG. 3 is a graph showing the comparison of the enhancement results of various algorithms; fig. 3(a) shows an original, fig. 3(b) shows an enhancement map of Adaptive Gamma Correction (AGCWD) using a weight distribution, fig. 3(c) shows an enhancement map of low-light-level image enhancement map (LIME) using illumination estimation, and fig. 3(d) shows an enhancement map of the present invention.
Detailed Description
The technical scheme of the invention is further explained by combining the attached drawings.
As shown in fig. 1, the method for enhancing low-illumination images based on complementary gamma conversion according to the present invention specifically includes the following steps:
(1) converting an original color image from an RGB space to an HSV space, and acquiring an illumination component V, a hue component H and a saturation component S of the image; the concrete formula is as follows:
Figure BDA0003573133200000031
Figure BDA0003573133200000032
Figure BDA0003573133200000033
in the formula:
Figure BDA0003573133200000034
(2) the acquired illumination component V is processed using the designed complementary gamma correction function:
(a) the stretching formula for the V component uses a conventional gamma correction function, and the formula is:
V1=Vr
(b) the designed compensation formula for the V component is as follows:
V2=1-(1-V)r
(c) the complementary gamma correction function is designed as:
V′=a1V1+a2V2
wherein r is 2.2; a is1、a2Are all weight coefficients; in order to enable the algorithm to be adaptive and the value to be maintained at 0,1]In the interval, the designed weight coefficient calculation formula is as follows:
Figure BDA0003573133200000035
wherein: i, taking 1 and 2;
Figure BDA0003573133200000036
represents ViAverage value of (a).
(3) And then converting the color image from the HSV space to the RGB space to obtain an enhanced image. The concrete formula is as follows:
Figure BDA0003573133200000041
wherein: h isi=[H/60]mod6,f=H/60-hi,p=V′×(1-S),q=V′×(1-f×S),t=V′×(1-(1-f)×S)。
In order to verify the effectiveness of the algorithm, a plurality of image tests are adopted to carry out comparison tests on the images before and after enhancement. As shown in fig. 2(a), the original image has the characteristics of blur, uneven illumination, and the like; as shown in fig. 2(b), after the image enhancement processing is performed by the method of the present invention, the image is clear, the image brightness is more uniform, and the enhancement effect is significant compared with the original image. As shown in fig. 3(a), the original image has the characteristics of blurring and uneven illumination, and as shown in fig. 3(b) and 3(c), although the overall brightness of the image is improved, the image has some high-exposure portions, as shown in fig. 3(d), and the method of the present invention can improve the overall brightness of the image, and simultaneously can inhibit the high-exposure portions of the image, and certain details are enhanced.

Claims (4)

1. A low-illumination image enhancement method based on complementary gamma conversion is characterized by comprising the following steps:
(1) converting an original color image from an RGB space to an HSV space, and acquiring an illumination component V, a hue component H and a saturation component S of the image;
(2) processing the illumination component V by adopting a complementary gamma transformation function to obtain an enhanced illumination component V'; the formula of the complementary gamma transformation function is as follows:
V′=a1V1+a2V2
V1=Vr
V2=1-(1-V)r
wherein r is 2.2; a is1、a2Are all weight coefficients;
(3) and then converting the color image from the HSV space to the RGB space to obtain an enhanced image.
2. The method of low-illumination image enhancement based on complementary gamma conversion as claimed in claim 1, wherein the weight coefficient calculation formula in step (2) is as follows:
Figure FDA0003573133190000011
in the formula: i, taking 1 and 2;
Figure FDA0003573133190000012
represents ViAverage value of (a).
3. The complementary gamma transform-based low-illumination image enhancement method according to claim 1, wherein the formula for converting the original color image from the RGB space to the HSV space is as follows:
Figure FDA0003573133190000013
Figure FDA0003573133190000014
Figure FDA0003573133190000015
Figure FDA0003573133190000016
4. the complementary gamma transform-based low-illumination image enhancement method according to claim 1, wherein the formula for converting the color image from HSV space to RGB space is:
Figure FDA0003573133190000021
wherein: h isi=[H/60]mod6,f=H/60-hi,p=V′×(1-S),q=V′×(1-f×S),t=V′×(1-(1-f)×S)。
CN202210325152.3A 2022-03-30 2022-03-30 Low-illumination image enhancement method based on complementary gamma conversion Pending CN114638765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210325152.3A CN114638765A (en) 2022-03-30 2022-03-30 Low-illumination image enhancement method based on complementary gamma conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210325152.3A CN114638765A (en) 2022-03-30 2022-03-30 Low-illumination image enhancement method based on complementary gamma conversion

Publications (1)

Publication Number Publication Date
CN114638765A true CN114638765A (en) 2022-06-17

Family

ID=81952657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210325152.3A Pending CN114638765A (en) 2022-03-30 2022-03-30 Low-illumination image enhancement method based on complementary gamma conversion

Country Status (1)

Country Link
CN (1) CN114638765A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106504212A (en) * 2016-11-07 2017-03-15 湖南源信光电科技有限公司 A kind of improved HSI spatial informations low-luminance color algorithm for image enhancement
CN106530250A (en) * 2016-11-07 2017-03-22 湖南源信光电科技有限公司 Low illumination color image enhancement method based on improved Retinex
CN110706172A (en) * 2019-09-27 2020-01-17 郑州轻工业学院 Low-illumination color image enhancement method based on adaptive chaotic particle swarm optimization
CN111861899A (en) * 2020-05-20 2020-10-30 河海大学 Image enhancement method and system based on illumination nonuniformity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106504212A (en) * 2016-11-07 2017-03-15 湖南源信光电科技有限公司 A kind of improved HSI spatial informations low-luminance color algorithm for image enhancement
CN106530250A (en) * 2016-11-07 2017-03-22 湖南源信光电科技有限公司 Low illumination color image enhancement method based on improved Retinex
CN110706172A (en) * 2019-09-27 2020-01-17 郑州轻工业学院 Low-illumination color image enhancement method based on adaptive chaotic particle swarm optimization
CN111861899A (en) * 2020-05-20 2020-10-30 河海大学 Image enhancement method and system based on illumination nonuniformity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智宁等: "基于双伽马函数的煤矿井下低亮度图像增强算法", 辽宁工程技术大学学报(自然科学版), vol. 37, no. 1, 15 February 2018 (2018-02-15), pages 1 - 4 *

Similar Documents

Publication Publication Date Title
JP4662190B2 (en) Image processing apparatus, image processing method, and image processing program
CN107680056B (en) Image processing method and device
JP4415236B2 (en) Image processing apparatus and image processing method
CN109816608B (en) Low-illumination image self-adaptive brightness enhancement method based on noise suppression
KR20090078583A (en) Method and system for processing for low light level image
CN108280836B (en) Image processing method and device
CN111968065B (en) Self-adaptive enhancement method for image with uneven brightness
US7903900B2 (en) Low complexity color de-noising filter
CN105931206B (en) A kind of color image definition enhancing method of color constancy
CN112435184B (en) Image recognition method for haze days based on Retinex and quaternion
CN109118437B (en) Method and storage medium capable of processing muddy water image in real time
US9014503B2 (en) Noise-reduction method and apparatus
JP5701640B2 (en) Image processing device
CN112288646A (en) Stack noise reduction method and device, electronic equipment and storage medium
CN116681606A (en) Underwater uneven illumination image enhancement method, system, equipment and medium
TWI827771B (en) Image processing equipment and methods
CN107358578B (en) Yin-yang face treatment method and device
CN114998122A (en) Low-illumination image enhancement method
CN112488968B (en) Image enhancement method for hierarchical histogram equalization fusion
TWI711005B (en) Method for adjusting luminance of images and computer program product
CN111861899A (en) Image enhancement method and system based on illumination nonuniformity
CN114638765A (en) Low-illumination image enhancement method based on complementary gamma conversion
JP4273748B2 (en) Image processing apparatus and method
CN112991240B (en) Image self-adaptive enhancement algorithm for real-time image enhancement
CN109886901B (en) Night image enhancement method based on multi-channel decomposition

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination