CN104867115A - Color cast detection and image enhancement method for images after defogging - Google Patents

Color cast detection and image enhancement method for images after defogging Download PDF

Info

Publication number
CN104867115A
CN104867115A CN201510168754.2A CN201510168754A CN104867115A CN 104867115 A CN104867115 A CN 104867115A CN 201510168754 A CN201510168754 A CN 201510168754A CN 104867115 A CN104867115 A CN 104867115A
Authority
CN
China
Prior art keywords
image
colour cast
mist elimination
images
defogging
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
CN201510168754.2A
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 Post and Telecommunication University
Nanjing University of Posts and Telecommunications
Original Assignee
Nanjing Post and Telecommunication University
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 Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN201510168754.2A priority Critical patent/CN104867115A/en
Publication of CN104867115A publication Critical patent/CN104867115A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The invention relates to a color cast detection and image enhancement method for images after defogging. Brightness radiation estimation is performed on the images after defogging by utilizing a guiding filter with low complexity and the edge preservation characteristic so that color cast of the images after defogging is corrected and the images are enhanced. Firstly, color cast detection is performed on the images; then a gray world method is performed on the images exceeding the color cast threshold value; and an improved single-scale Retinex method is performed on the images. With application of the method, color cast detection and image enhancement of the images after defogging are realized.

Description

After a kind of mist elimination, image colour cast detects and image enchancing method
To the present invention relates in image mist elimination image color chips after a kind of mist elimination to detect and image enchancing method, belong to image mist elimination field.
Background technology
At present be the society of information-based develop rapidly, there occurs qualitative leap at the acquisition of information, the everyway such as process and propagation, image information can account for about 60% of gross information content.Image is the basis of vision, and people utilize image to record, obtain, propagate important information, and it can show all kinds of personages and the events such as natural landscape, humane landscape, daily routines.Image uses all kinds of imaging device, in several ways and angle views obtain, direct impact formed to human eye, obtain the entity of visual perception.The quality of image also drastically influence reading and the judgement of information.
The image obtained from image acquisition device is difficult to meet application demand due to a variety of causes, needs to process image, convert the quality improving image, reaches the demand meeting human vision and psychology while application requires.Digital Image Processing is that certain width picture is become digital form from original formal transformation, forms the image of numeral through digitizing.Digital image processing techniques appear at the initial stage in last century the earliest, and this field receives great attention in decades, have developed into an independent educational project.
Along with the aggravation of environmental pollution, air quality serious degradation, fog weather is also more and more frequent, and PM2.5 value also becomes the topic that people more and more pay close attention to.In fog weather, because dust granules has the effect of scattering and absorption to light, thus light intensity is weakened, the light intensity entering receiving equipment changes, thus reduce the contrast of image, result in image blurring, that sharpness decays, reduces image resolution.Meanwhile, also easily there is the phenomenon of colour cast in image, does not meet human vision effect.These visually ambiguous picture information is lost to a certain extent, have impact on the accuracy of result of determination, constrain the performance of the effectiveness such as identification and tracking, navigational system, supervisory system, military observation system of target, serious impact is all brought on the production of society, the life of people.Such as freeway monitoring system, fog weather reduces atmospheric visibility, and driver can be inaccurate to the judgement of surrounding traffic situation, extremely easily traffic hazard occurs in this case.
In order to obtain the second best in quality image at fog weather, a lot of scholar begins one's study the problem of image mist elimination.Image mist elimination is through various method and is removed the impact that image produces by fog, restores image that is clear, lively, that meet human visual system.Image mist elimination technology has interdisciplinary feature, has a extensive future, and is one of research direction of image processing field, receives the concern of domestic and international numerous researchers, has become the study hotspot of computer vision and image processing field.Image mist elimination, as a new branch of science, relates to randomness and the very large weather conditions of complicacy.Up to the present, although emerged in large numbers the method for a lot of image mist elimination.But for fog image, also can along with image distortion in various degree while removal mist, such as image colour cast, therefore needs to find effective method and carries out colour cast detection and image enhaucament to image after mist elimination.
Summary of the invention
The object of the invention is, propose image color chips after a kind of mist elimination and detect and image enchancing method, achieve the object optimizing image after mist elimination, there is applicability widely simultaneously.
Technical scheme of the present invention is as follows:
After a kind of mist elimination, image colour cast detects and image enchancing method, comprises the steps:
The first step, carries out color chips detection to the image after mist elimination;
Second step, performs gray world algorithm to the image exceeding colour cast threshold values;
3rd step, performs the single scale Retinex algorithm improved to image;
1, colour cast threshold values is chosen
Choosing colour cast threshold values is 1.5.If the colour cast K calculated cast>=1.5, then process decision chart picture has colour cast, enters step 2, advanced Grey-world algo-rithms, then uses the single scale Retinex algorithm of improvement to strengthen image; If K cast< 1.5, enters step 3, then think that image does not have colour cast situation, directly uses the single chi Retinex algorithm for image enhancement improved to the image enhancement processing after mist elimination.
2, the single scale Retinex image enchancing method improved
The rough estimate of A, brightness radiation;
Method of estimation is:
L = ( mean c &Element; { R , G , B } ( J ( : , : , c ) ) ) &gamma; 1 - - - ( 1 )
Here, J, mean (J) are respectively the average corresponding with it of the image after mist elimination;
γ 1=min (min (J)+0.6,1) is gamma factor.
B, utilize the accurate estimated brightness radiation of Steerable filter device;
Method of estimation is:
L refine=guidedfilter(J gray,L,ω ll) (2)
Here, guidedfilter () is the reduced form of Steerable filter device; J grayfor guiding figure; L, ω l, ε 1; Be respectively thick illumination estimate, the size of filter window and penalty term.
The enhancing of image after C, mist elimination
According to the brightness radiation after accurate estimation, the image after mist elimination is strengthened.Its expression formula is as follows:
J enhance ( x , y , c ) = exp ( log ( J ( x , y , R ) ) - &alpha; &CenterDot; log ( L refine ( x , y ) ) ) J ( x , y , R ) &CenterDot; J ( x , y , c ) - - - ( 3 )
Here, c is color component, α=1/exp (L refine(x, y)) be the brightness regulation factor, the object of introducing avoids the highlight regions of image too saturated after strengthening.As can be seen from formula (3), because each color component strengthens on year-on-year basis, the image after therefore strengthening is that brightness increases, and colourity does not change.
Accompanying drawing explanation
Fig. 1: after mist elimination of the present invention, image colour cast detects and image enhaucament process flow diagram.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Be that after giving mist elimination, image colour cast detects and image enhaucament process flow diagram shown in Fig. 1, and will realize detecting and image enhaucament image colour cast after mist elimination, following link is crucial:
(1) colour cast threshold values is chosen
Choosing colour cast threshold values is 1.5.If the colour cast K calculated cast>=1.5, then process decision chart picture has colour cast, enters step 2, advanced Grey-world algo-rithms, then uses the single scale Retinex algorithm of improvement to strengthen image; If K cast< 1.5, enters step 3, then think that image does not have colour cast situation, directly uses the single chi Retinex algorithm for image enhancement improved to the image enhancement processing after mist elimination.
(2) the single scale Retinex image enchancing method improved
The rough estimate of A, brightness radiation;
Method of estimation is:
L = ( mean c &Element; { R , G , B } ( J ( : , : , c ) ) ) &gamma; 1 - - - ( 1 )
Here, J, mean (J) are respectively the average corresponding with it of the image after mist elimination;
γ 1=min (min (J)+0.6,1) is gamma factor.
B, utilize the accurate estimated brightness radiation of Steerable filter device;
Method of estimation is:
L refine=guidedfilter(J gray,L,ω ll) (2)
Here, guidedfilter () is the reduced form of Steerable filter device; J grayfor guiding figure; L, ω l, ε 1; Be respectively thick illumination estimate, the size of filter window and penalty term.
The enhancing of image after C, mist elimination
According to the brightness radiation after accurate estimation, the image after mist elimination is strengthened.Its expression formula is as follows:
J enhance ( x , y , c ) = exp ( log ( J ( x , y , R ) ) - &alpha; &CenterDot; log ( L refine ( x , y ) ) ) J ( x , y , R ) &CenterDot; J ( x , y , c ) - - - ( 3 )
Here, c is color component, α=1/exp (L refine(x, y)) be the brightness regulation factor, the object of introducing avoids the highlight regions of image too saturated after strengthening.As can be seen from formula (3), because each color component strengthens on year-on-year basis, the image after therefore strengthening is that brightness increases, and colourity does not change.

Claims (2)

1. after mist elimination, image colour cast detects and an image enchancing method, it is characterized in that comprising the steps:
Step one, carries out color chips detection to the image after mist elimination;
Step 2, performs gray world method to the image exceeding colour cast threshold values;
Step 3, performs the single scale Retinex method improved to image.
2. after a kind of mist elimination according to claim 1, image colour cast detects and image enchancing method, it is characterized in that, in described step one and step 3:
(1) colour cast threshold values is chosen
Choosing colour cast threshold values is 1.5, if the colour cast K calculated cast>=1.5, then process decision chart picture has colour cast, enters step 2, advanced grey-world method, then uses the single scale Retinex algorithm of improvement to strengthen image; If enter step 3, then think that image does not have colour cast situation, directly use the single chi Retinex algorithm for image enhancement improved to the image enhancement processing after mist elimination;
(2) the single scale Retinex image enchancing method improved
The rough estimate of A, brightness radiation;
L = ( mean c &Element; { R , G , B } ( J ( : , : , c ) ) ) &gamma; 1 - - - ( 1 )
Here, J, mean (J) are respectively the average corresponding with it of the image after mist elimination;
γ 1=min (min (J)+0.6,1) is gamma factor;
B, utilize the accurate estimated brightness radiation of Steerable filter device;
Method of estimation is:
L refine=guidedfilter(J gray,L,ω ll) (2)
Here, guidedfilter () is the reduced form of Steerable filter device; J grayfor guiding figure; L, ω l, ε 1be respectively thick illumination estimate, the size of filter window and penalty term;
The enhancing of image after C, mist elimination
According to the brightness radiation after accurate estimation, strengthen the image after mist elimination, its expression formula is as follows:
J enhance ( x , y , c ) = exp ( log ( J ( x , y , R ) ) - &alpha; &CenterDot; log ( L refine ( x , y ) ) ) J ( x , y , R ) &CenterDot; ( x , y , c ) - - - ( 3 )
Here, c is color component, α=1/exp (L refine(x, y)) be the brightness regulation factor.
CN201510168754.2A 2015-04-09 2015-04-09 Color cast detection and image enhancement method for images after defogging Pending CN104867115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510168754.2A CN104867115A (en) 2015-04-09 2015-04-09 Color cast detection and image enhancement method for images after defogging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510168754.2A CN104867115A (en) 2015-04-09 2015-04-09 Color cast detection and image enhancement method for images after defogging

Publications (1)

Publication Number Publication Date
CN104867115A true CN104867115A (en) 2015-08-26

Family

ID=53912932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510168754.2A Pending CN104867115A (en) 2015-04-09 2015-04-09 Color cast detection and image enhancement method for images after defogging

Country Status (1)

Country Link
CN (1) CN104867115A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303515A (en) * 2015-09-22 2016-02-03 中国科学院上海技术物理研究所 Color cast correction method under condition of special illumination in enclosed experiment box
CN108665428A (en) * 2018-04-26 2018-10-16 青岛海信移动通信技术股份有限公司 Image enchancing method, device, equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ZHEQI LIN等: "《Dehazing for Image and Video Using Guided Filter》", 《OPEN JOURNAL OF APPLIED SCIENCES》 *
刁扬桀等: "《颜色保持的实时图像/视频去雾算法》", 《计算机应用》 *
刘松等: "《基于单尺度Retinex雾天降质图像增强算法》", 《微电子学与计算机》 *
江志: "《基于Lab色度空间的色偏检测技术研究》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303515A (en) * 2015-09-22 2016-02-03 中国科学院上海技术物理研究所 Color cast correction method under condition of special illumination in enclosed experiment box
CN105303515B (en) * 2015-09-22 2018-06-26 中国科学院上海技术物理研究所 A kind of color misregistration correction method under special illumination condition in closed experimental box
CN108665428A (en) * 2018-04-26 2018-10-16 青岛海信移动通信技术股份有限公司 Image enchancing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102750674B (en) Video image defogging method based on self-adapting allowance
Babu et al. Vehicle number plate detection and recognition using bounding box method
CN104408707B (en) Rapid digital imaging fuzzy identification and restored image quality assessment method
KR101448164B1 (en) Method for Image Haze Removal Using Parameter Optimization
CN103034843B (en) Method for detecting vehicle at night based on monocular vision
CN108399403B (en) Vehicle distance detection method based on license plate size calculation
CN103020914B (en) Based on the rapid image defogging method capable of spatial continuity principle
CN104318524A (en) Method, device and system for image enhancement based on YCbCr color space
CN104050637A (en) Quick image defogging method based on two times of guide filtration
CN104282003B (en) Digital blurred image blind restoration method based on gradient screening
CN105139347A (en) Polarized image defogging method combined with dark channel prior principle
CN104748857A (en) Method and system for inverting urban surface temperatures
CN103488975A (en) Zebra crossing real-time detection method based in intelligent driving
CN105701783A (en) Single image defogging method based on ambient light model and apparatus thereof
CN116778293B (en) Image fusion method based on mask
Shaikh et al. A novel approach for automatic number plate recognition
CN103914820A (en) Image haze removal method and system based on image layer enhancement
CN102521587B (en) License plate location method
CN103065133A (en) Method and device for detecting pedestrian in foggy weather
CN102254306B (en) Real-time image defogging method based on image simplified hierachical model
CN104867115A (en) Color cast detection and image enhancement method for images after defogging
CN114581914A (en) License plate recognition method in haze environment
CN112419272B (en) Method and system for quickly estimating visibility of expressway in foggy weather
CN106203273A (en) The lane detection system of multiple features fusion, method and senior drive assist system
CN103927523B (en) Fog level detection method based on longitudinal gray features

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150826