CN105096278A - Image enhancement method based on illumination adjustment and equipment thereof - Google Patents

Image enhancement method based on illumination adjustment and equipment thereof Download PDF

Info

Publication number
CN105096278A
CN105096278A CN201510608275.8A CN201510608275A CN105096278A CN 105096278 A CN105096278 A CN 105096278A CN 201510608275 A CN201510608275 A CN 201510608275A CN 105096278 A CN105096278 A CN 105096278A
Authority
CN
China
Prior art keywords
image
component
luminance component
illumination
algorithm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510608275.8A
Other languages
Chinese (zh)
Other versions
CN105096278B (en
Inventor
马玉军
赵雪
刘丽
刘晓慧
刘中艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanyang Institute of Technology
Original Assignee
Nanyang Institute of 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 Nanyang Institute of Technology filed Critical Nanyang Institute of Technology
Priority to CN201510608275.8A priority Critical patent/CN105096278B/en
Publication of CN105096278A publication Critical patent/CN105096278A/en
Application granted granted Critical
Publication of CN105096278B publication Critical patent/CN105096278B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides an adaptive Gamma enhancement method based on a Retinex theory. The Retinex theory is used for separating the brightness component and the reflection component of an image. Adaptive Gamma correction is performed on the brightness component. Finally the detail and the color of the image are restored through the reflection component. The adaptive Gamma enhancement method settles problems of poor timeliness and low processing effect of an existing Retinex algorithm. The processed heterogeneous illumination image has an optimal contrast, an optimal visibility, an optimal naturalness and an optimal timeliness.

Description

Based on image enchancing method and the equipment of illumination adjustment
Technical field
The present invention relates to image processing field, particularly based on image enchancing method and the equipment of illumination adjustment.
Background technology
Constantly upgrade along with mobile device performance and popularize, in daily life, people more and more get used to taking pictures to things interested or making a video recording anywhere or anytime, but the generation of these images or video is often under nonrestrictive condition, this just causes there is the even situation of uneven illumination in image.Process for inhomogeneous illumination image has become image processing field problem in the urgent need to address.
In order to solve the even problem of uneven illumination, scientific research personnel has carried out large quantifier elimination.Retinex (RetinaandCortex) theory is widely used in the enhancing of the even image of uneven illumination.This theory hypothesis image is combined into by luminance component and reflecting component, and two components can separating treatment.Early stage Retinex algorithm, while compensating light photograph, has suppressed the dynamic range of image, and there will be halation and cross-color phenomenon.In order to solve halation and color distortion problem, adopt the method for multiple dimensioned Retinex tone mapping to strengthen inhomogeneous illumination image, but enhancing image seem natural not.In conjunction with Retinex principle and double-log luminance filter, improve visibility and the naturality of image further, but its computation complexity is very high, greatly consuming time, brightness change greatly.
Summary of the invention
The present invention solves existing algorithm poor real and strengthens the undesirable problem of effect, propose a kind of self-adaptation Gamma based on Retinex theory and strengthen algorithm, utilize luminance component and the reflecting component of the theoretical separate picture of Retinex, self-adaptation Gamma correction is carried out to luminance component, finally utilizes details and the color of reflecting component Recovery image.The results show, it is higher that algorithm of carrying has image definition, strengthens effect more natural, the ageing advantage such as better.
Accompanying drawing illustrates:
Fig. 1 is the image enchancing method based on illumination adjustment;
Fig. 2 is the enhancing result of image Boy;
Fig. 3 is the enhancing result of image Museum;
Fig. 4 is the enhancing result of image Cockpit;
Fig. 5 is the enhancing result of image Girl;
Fig. 6 is the enhancing result of image Hall;
Fig. 7 is the enhancing result of image Building;
Fig. 8 is application image Enhancement Method in ISP chip.
Technical scheme
As shown in Figure 1, Fig. 1 gives the algorithm for image enhancement process flow diagram based on illumination adjustment, herein by for several dissimilar degraded image, passes through proposed algorithm for image enhancement and processes, and contrast from different algorithms respectively, verify herein put forward performance and the versatility of algorithm.
Several step is divided into the algorithm for image enhancement adjusted based on illumination:
Step one: obtain observed image I (x, y);
Step 2: decompose the image observed, becomes reflecting component and luminance component by picture breakdown;
Retinex theory thinks that image is made up of luminance component and reflecting component.Suppose that each passage of RGB image I (x, y) has identical brightness, that is:
I c(x,y)=R c(x,y)·L(x,y),c∈{r,g,b}(1)
R in formula c(x, y) represents the reflecting component of each passage, and L (x, y) represents the luminance component of image.Usually, using the illumination V (x, y) of the maximal value of RGB passage as eye-observation.
V ( x , y ) = max c ∈ { r , g , b } I c ( x , y ) - - - ( 2 )
Theoretical according to Retinex, with 2D Gaussian filter G (x, y), the luminance component L (x, y) that convolution can obtain image is carried out to illumination image V (x, y).
L(x,y)=G(x,y)*V(x,y)(3)
Thus, reflecting component R c(x, y) can be separated.
R c(x,y)=I c(x,y)/L(x,y),c∈{r,g,b}(4)
Reflecting component mainly contains the radio-frequency component of image, comprises edge and details.
Step 3: Gamma conversion is carried out to luminance component;
After acquisition luminance component image, self-adaptation Gamma correction is carried out to it.
L en(x,y)=L(x,y) γ(x,y)(5)
γ ( l ) = 1 - Σ v = 0 l [ P ω ( v ) / s p ] - - - ( 6 )
s p = Σ l = 0 l m a x P ω ( l ) - - - ( 7 )
L en(x, y) represents the luminance component after strengthening, and γ (x, y) represents Gamma correction coefficient matrix, P ωl () is for corresponding to the weights distribution function of each brightness value:
P ω ( l ) = P ( l ) - p min p m a x - p min - - - ( 8 )
In formula, P (l) is the probability density function of luminance component, p maxfor the maximal value of P (l), p minfor the minimum value of P (l), P (l) tries to achieve by following formula:
P(l)=n l/n p(9)
In formula, n lpixel count contained by the brightness of correspondence, n pfor the sum of all pixels that luminance component comprises.
Step 4: by the luminance component synthesis after reflecting component and conversion;
Merge L en(x, y) and R c(x, y) can obtain final enhancing image I en(x, y).
I e n c ( x , y ) = R c ( x , y ) · L e n ( x , y ) , c ∈ { r , g , b } - - - ( 10 )
Step 5: form the image strengthened.
The image quality evaluation strengthened:
For evaluating the performance of algorithm herein, choosing advanced Retinex inhomogeneous illumination algorithm for image enhancement, carrying out subjective assessment, objective evaluation and ageing comparison.
1. subjective assessment
Fig. 2 ~ 7 are the inhomogeneous illumination processing result image of different scene.The former figure of Fig. 2 is that fine day is outdoor, and the face of boy is in shade, face's low visibility.The former figure of Fig. 3 is that indoor weak light shines image, and the scene scenery after showcase is unintelligible.Glass reflecting is had, the things low visibility in aircraft cabin in the former figure of Fig. 4.In the former figure of Fig. 5, because illumination is blocked, right side seems very dark.The former figure of Fig. 6 is indoor inhomogeneous illumination image.Fig. 7 is the result of outdoor cloudy day building photo, and in former figure red block, the result of topography lists in the below of corresponding enhancing image.
Document 1 (Zhang Shangwei, Zeng Ping, Luo Xuemei, Deng. there is the multiple dimensioned Retinex tone-mapping algorithm [J] of details compensation and color recovery. XI AN JIAOTONG UNIVERSITY Subject Index, 2012,46 (4): 32-37) result of algorithm strengthens effect not obviously, and the dynamic range of image is compressed.Document 2 (WangS, ZhengJ, HuH, etal.Naturalnesspreservedenhancementalgorithmfornon-unif ormilluminationimages [J] .IEEETransactionsonImageProcessing, 2013,22 (9): 3538 – 3548.) result of algorithm makes image be largely increased in the sharpness of the overall situation and local, but the dynamic range of image is also pressed.Algorithm of the present invention can not only significantly improve the sharpness of image overall and regional area, and makes image have good dynamic range and subjective natural sense.
2. objective evaluation
In order to carry out objective appraisal to process image, introduce EBCM (edgebasedcontrastmeasure) herein, the evaluation indexes such as VE (visibleedges), NIQE (naturalnessimagequalityevaluator).Wherein EBCM is used for the contrast of evaluation map picture, and this parameter values is larger, then the contrast of image is higher.VE is for evaluating the ratio strengthening image and improve relative to the visibility of former figure, and its value is larger, then in image, things visibility is higher.NIQE is used for the naturality of evaluation map picture, and its value is less, and the naturality of key diagram picture is better.
Table 1 ~ 3 list the evaluation index result of image in Fig. 2 ~ 7 respectively.As can be seen from the table, after each algorithm process, image is obtained for relative to former figure and significantly improves in contrast, visibility, naturality three.Method herein obviously has better performance than algorithm in document [1] and document [2]: in contrast, on average improve 49.7% and 10.8% respectively; In visibility, on average improve 102.4% and 38.5% respectively; In naturality, improve 31% and 16.4% respectively.
The EBCM result of each algorithm of table 1
The VE result of each algorithm of table 2
The NIQE result of each algorithm of table 3
3. ageing comparison
Ageing in order to more each algorithm, it is the on average consuming time of 2000 × 1312 images that table 4 shows various algorithm to size, and these data are the test results utilizing Matlab2014 on hardware parameter 3.3GHzCPU, 4GBRAM computer.Obviously, herein institute's extracting method is ageing best, be only document [6] 11% and document [7] consuming time consuming time 2%.
Process 2000 × 1312 image of each algorithm of table 4 on average consuming time
Can observe from experimental result, self-adaptation Gamma proposed by the invention strengthens algorithm can become luminance picture and albedo image by a width observation RGB separation of images.Because the brightness only for image processes, do not introduce colouring information.Therefore isolated luminance picture and albedo image are gray level image, and wherein luminance picture has reacted the monochrome information of surrounding environment well, has the character of space smoothing simultaneously.Albedo image then remains edge and the detailed information of image self, and these features demonstrate the new objective function that this title of the song proposes well, i.e. the rationality of formula (10).And under rgb space, luminance picture and albedo image, except having the characteristic of the result of calculation under HSV space, also show colouring information.As can be seen from result, corrected adjust to illumination the enhancing image obtained in conjunction with reflectivity again by Gamma, except strengthening detail section, while promoting the brightness of dark area, subjective vision effect also has to be improved definitely.
The algorithm that the present invention proposes can be applied on the images such as TV, mobile phone, the video camera common apparatus relevant with video.The figure that can be applied to specific occasion (medical science, military affairs, public safety etc.) strengthens.This section introduces the application of algorithm on high-definition camera.
Usually, in order to improve graphics process performance, high-definition camera is all integrated with image-signal processor ISP (ImageSingalProcessor), signal for exporting imageing sensor (CCD or CMOS) carries out post-processed (as: accumulation of 3D noise reduction, frame, high light suppress), and then strengthen the quality of institute's output image, meet the demand of application-specific.By algorithm integration herein in ISP chip, can realize the image enhaucament under inhomogeneous illumination condition.System composition as shown in Figure 7.
The present invention proposes a kind of self-adaptation Gamma Enhancement Method based on Retinex theory, utilize luminance component and the reflecting component of the theoretical separate picture of Retinex, self-adaptation Gamma correction is carried out to luminance component, finally utilizes details and the color of reflecting component Recovery image.Herein algorithm solves existing Retinex algorithm poor in timeliness and the undesirable problem for the treatment of effect, and the inhomogeneous illumination image of this algorithm process has best contrast, visibility, naturality and ageing.Herein algorithm to hardware without particular/special requirement, portable to various TV, mobile phone, video camera or other have in the electronic product of image displaying function.

Claims (2)

1., based on an image enchancing method for illumination adjustment, it is characterized in that, this method is divided into several step:
Step one: obtain observed image I (x, y);
Step 2: decompose the image observed, becomes reflecting component and luminance component by picture breakdown;
Retinex theory thinks that image is made up of luminance component and reflecting component, supposes that each passage of RGB image I (x, y) has identical brightness, that is:
I c(x,y)=R c(x,y)·L(x,y),c∈{r,g,b}(1)
R in formula c(x, y) represents the reflecting component of each passage, and L (x, y) represents the luminance component of image.Usually, using the illumination V (x, y) of the maximal value of RGB passage as eye-observation,
V ( x , y ) = m a x c ∈ { r , g , b } I c ( x , y ) - - - ( 2 )
Theoretical according to Retinex, with 2D Gaussian filter G (x, y), the luminance component L (x, y) that convolution can obtain image is carried out to illumination image V (x, y),
L(x,y)=G(x,y)*V(x,y)(3)
Thus, reflecting component R c(x, y) can be separated,
R c(x,y)=I c(x,y)/L(x,y),c∈{r,g,b}(4)
Reflecting component mainly contains the radio-frequency component of image, comprises edge and details,
Step 3: after acquisition luminance component image, self-adaptation Gamma correction is carried out to it;
L en(x,y)=L(x,y) γ(x,y)(5)
γ ( l ) = 1 - Σ v = 0 l [ P ω ( v ) / s p ] - - - ( 6 )
s p = Σ l = 0 l m a x P ω ( l ) - - - ( 7 )
L en(x, y) represents the luminance component after strengthening, and γ (x, y) represents Gamma correction coefficient matrix, P ωl () is for corresponding to the weights distribution function of each brightness value:
P ω ( l ) = P ( l ) - p min p m a x - p min - - - ( 8 )
In formula, P (l) is the probability density function of luminance component, p maxfor the maximal value of P (l), p minfor the minimum value of P (l), P (l) tries to achieve by following formula:
P(l)=n l/n p(9)
In formula, n lpixel count contained by the brightness of correspondence, n pfor the sum of all pixels that luminance component comprises;
Step 4: merge L en(x, y) and R c(x, y) can obtain final enhancing image I en(x, y).
I e n c ( x , y ) = R c ( x , y ) · L e n ( x , y ) , c ∈ { r , g , b } - - - ( 10 )
2. a high-performance image signal processor ISP, is characterized in that, employs method according to claim 1.
CN201510608275.8A 2015-09-22 2015-09-22 The image enchancing method adjusted based on illumination and equipment Expired - Fee Related CN105096278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510608275.8A CN105096278B (en) 2015-09-22 2015-09-22 The image enchancing method adjusted based on illumination and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510608275.8A CN105096278B (en) 2015-09-22 2015-09-22 The image enchancing method adjusted based on illumination and equipment

Publications (2)

Publication Number Publication Date
CN105096278A true CN105096278A (en) 2015-11-25
CN105096278B CN105096278B (en) 2016-08-17

Family

ID=54576629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510608275.8A Expired - Fee Related CN105096278B (en) 2015-09-22 2015-09-22 The image enchancing method adjusted based on illumination and equipment

Country Status (1)

Country Link
CN (1) CN105096278B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255756A (en) * 2017-07-14 2019-01-22 北京大学 The Enhancement Method and device of low light image
CN109712097A (en) * 2019-01-04 2019-05-03 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN109816608A (en) * 2019-01-22 2019-05-28 北京理工大学 A kind of low-light (level) image adaptive brightness enhancement based on noise suppressed
CN109919869A (en) * 2019-02-28 2019-06-21 腾讯科技(深圳)有限公司 A kind of image enchancing method, device and storage medium
CN110458768A (en) * 2019-07-16 2019-11-15 上海联影智能医疗科技有限公司 Image processing method, computer equipment and readable storage medium storing program for executing
CN110782400A (en) * 2019-09-12 2020-02-11 南宁师范大学 Self-adaptive uniform illumination realization method and device
CN110889348A (en) * 2019-11-15 2020-03-17 亚信科技(中国)有限公司 Method and device for improving success rate of face recognition under complex light
CN111899197A (en) * 2020-08-05 2020-11-06 广州市百果园信息技术有限公司 Image brightening and denoising method and device, mobile terminal and storage medium
CN112580672A (en) * 2020-12-28 2021-03-30 安徽创世科技股份有限公司 License plate recognition preprocessing method and device suitable for dark environment and storage medium
CN114565563A (en) * 2022-01-31 2022-05-31 扬州江净空调制造有限公司 Color steel plate surface abnormity detection method based on artificial intelligence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102044070A (en) * 2011-01-10 2011-05-04 北京师范大学 Retinex based nonlinear color image enhancement method
CN102682436A (en) * 2012-05-14 2012-09-19 陈军 Image enhancement method on basis of improved multi-scale Retinex theory
CN103236040A (en) * 2013-04-19 2013-08-07 华为技术有限公司 Color enhancement method and color enhancement device
CN103413275A (en) * 2013-07-26 2013-11-27 北京工业大学 Retinex night image enhancement method based on gradient zero norm minimum

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102044070A (en) * 2011-01-10 2011-05-04 北京师范大学 Retinex based nonlinear color image enhancement method
CN102682436A (en) * 2012-05-14 2012-09-19 陈军 Image enhancement method on basis of improved multi-scale Retinex theory
CN103236040A (en) * 2013-04-19 2013-08-07 华为技术有限公司 Color enhancement method and color enhancement device
CN103413275A (en) * 2013-07-26 2013-11-27 北京工业大学 Retinex night image enhancement method based on gradient zero norm minimum

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255756A (en) * 2017-07-14 2019-01-22 北京大学 The Enhancement Method and device of low light image
CN109255756B (en) * 2017-07-14 2020-12-29 北京大学 Low-illumination image enhancement method and device
CN109712097A (en) * 2019-01-04 2019-05-03 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN109816608B (en) * 2019-01-22 2020-09-18 北京理工大学 Low-illumination image self-adaptive brightness enhancement method based on noise suppression
CN109816608A (en) * 2019-01-22 2019-05-28 北京理工大学 A kind of low-light (level) image adaptive brightness enhancement based on noise suppressed
CN109919869A (en) * 2019-02-28 2019-06-21 腾讯科技(深圳)有限公司 A kind of image enchancing method, device and storage medium
CN109919869B (en) * 2019-02-28 2021-06-04 腾讯科技(深圳)有限公司 Image enhancement method and device and storage medium
CN110458768B (en) * 2019-07-16 2022-03-01 上海联影智能医疗科技有限公司 Image processing method, computer device, and readable storage medium
CN110458768A (en) * 2019-07-16 2019-11-15 上海联影智能医疗科技有限公司 Image processing method, computer equipment and readable storage medium storing program for executing
CN110782400A (en) * 2019-09-12 2020-02-11 南宁师范大学 Self-adaptive uniform illumination realization method and device
CN110782400B (en) * 2019-09-12 2024-03-01 南宁师范大学 Self-adaptive illumination uniformity realization method and device
CN110889348A (en) * 2019-11-15 2020-03-17 亚信科技(中国)有限公司 Method and device for improving success rate of face recognition under complex light
CN111899197A (en) * 2020-08-05 2020-11-06 广州市百果园信息技术有限公司 Image brightening and denoising method and device, mobile terminal and storage medium
CN111899197B (en) * 2020-08-05 2024-04-30 广州市百果园信息技术有限公司 Image brightening and denoising method and device, mobile terminal and storage medium
CN112580672A (en) * 2020-12-28 2021-03-30 安徽创世科技股份有限公司 License plate recognition preprocessing method and device suitable for dark environment and storage medium
CN114565563A (en) * 2022-01-31 2022-05-31 扬州江净空调制造有限公司 Color steel plate surface abnormity detection method based on artificial intelligence
CN114565563B (en) * 2022-01-31 2022-12-02 扬州江净空调制造有限公司 Color steel plate surface abnormity detection method based on artificial intelligence

Also Published As

Publication number Publication date
CN105096278B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN105096278A (en) Image enhancement method based on illumination adjustment and equipment thereof
CN104240194B (en) A kind of enhancement algorithm for low-illumination image based on parabolic function
CN106897981A (en) A kind of enhancement method of low-illumination image based on guiding filtering
CN103268598B (en) Based on the low-light (level) low altitude remote sensing image Enhancement Method of Retinex theory
CN103714520B (en) Digital video image strengthening system and its method are realized based on FPGA
CN106897972A (en) A kind of self-adapting histogram underwater picture Enhancement Method of white balance and dark primary
CN104021532B (en) A kind of image detail enhancement method of infrared image
CN103049888A (en) Image/video demisting method based on combination of dark primary color of atmospheric scattered light
Fu et al. Improved single image dehazing using dark channel prior
CN105931208B (en) Enhancement algorithm for low-illumination image based on physical model
CN103455979A (en) Low illumination level video image enhancement method
CN107240081A (en) The denoising of night scene image and enhancing processing method
CN105989583B (en) A kind of image defogging method
CN105225205A (en) Image enchancing method, Apparatus and system
Wen et al. A survey of image dehazing algorithm based on retinex theory
CN102768758B (en) Improved color image unsharp masking (USM) method
CN105516674B (en) A kind of supervision equipment with HDR display functions
CN103996179A (en) Fast real-time image enhancement method based on single-scale Retinex
Li et al. Applying daytime colors to night-time imagery with an efficient color transfer method
CN104657939A (en) Low-illumination video image enhancement method
Lang et al. A real-time high dynamic range intensified complementary metal oxide semiconductor camera based on FPGA
Chaubey et al. A hybrid DWT-DCLAHE method for enhancement of low contrast underwater images
CN105118032A (en) Wide dynamic processing method based on visual system
CN105005976B (en) A kind of infrared image enhancing method based on fusion
Asadi et al. Improving dark channel prior for single image dehazing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160817

Termination date: 20170922