CN102831591A - Gaussian filter-based real-time defogging method for single image - Google Patents

Gaussian filter-based real-time defogging method for single image Download PDF

Info

Publication number
CN102831591A
CN102831591A CN2012102177134A CN201210217713A CN102831591A CN 102831591 A CN102831591 A CN 102831591A CN 2012102177134 A CN2012102177134 A CN 2012102177134A CN 201210217713 A CN201210217713 A CN 201210217713A CN 102831591 A CN102831591 A CN 102831591A
Authority
CN
China
Prior art keywords
image
function
expression
atmospheric
atmosphere
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
CN2012102177134A
Other languages
Chinese (zh)
Other versions
CN102831591B (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.)
Beihang University
Original Assignee
Beihang 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 Beihang University filed Critical Beihang University
Priority to CN201210217713.4A priority Critical patent/CN102831591B/en
Publication of CN102831591A publication Critical patent/CN102831591A/en
Application granted granted Critical
Publication of CN102831591B publication Critical patent/CN102831591B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides a Gaussian filter-based real-time defogging method for a single image. The method is established on the basis of a physical model and can realize real-scene recovery of a degraded quality image. The method comprises the following four main steps of: step 1, calculating, inputting a dark channel image of a fogged image and estimating an overall atmosphere light value; steps 2, primarily estimating an atmosphere dissipative function; step 3, adopting Gaussian filtering to refine the atmosphere dissipative function; and step 4, recovering a scene radiancy. With the adoption of the method, defects that an existing defogging method is slower in defogging speed and cannot be applied to a real-time processing system are overcome; and the method is good in effect of an obtained defogged image and rapid in processing speed, can be applied to a real-time system, and has a better practical value and a wide application background.

Description

A kind of real-time defogging method capable of the single image based on gaussian filtering
(1) technical field:
The present invention relates to a kind of real-time defogging method capable of the single image based on gaussian filtering, be applicable to the image mist elimination under the greasy weather condition, belong to digital image processing field.
(2) background technology:
Under weather conditions such as mist, haze, the scenery visibility and the contrast of the natural scene image of outdoor shooting significantly reduce.The light of body surface reflection is by gasoloid and be suspended in molecule absorption and the scattering in the atmosphere, the scene image color degradation that causes outdoor supervisory system to be obtained, and contrast and saturation degree descend.The degeneration of outdoor image directly has influence on the outdoor use of computer vision system, like video monitoring, urban transportation, intelligent vehicle etc., therefore need handle to eliminate the influence that weather brings image and the video taken under the greasy weather condition.In fact, the image mist elimination is the research content of computer graphics and computer vision field always.At first, the image mist elimination can increase the visibility of scene significantly and eliminate the color drift that the influence owing to surround lighting brings; Secondly, no matter be rudimentary graphical analysis or senior Target Recognition, most computer vision algorithms make often supposes that input picture is the scene radiancy, does not promptly have the mist image clearly.Thereby the performance of many computer vision algorithms make can receive the radiometric influence of scene of low contrast.At last, the image mist elimination can provide scene depth information for many computer vision algorithms make.
The existence of mist is information-related with unknown scene depth to the influence of image in the outdoor image, thereby the image mist elimination is faced with very big challenge.In fact, the image mist elimination is the problem of a underconstrained, because it needs only to estimate scene radiancy, propagation in atmosphere function and overall atmosphere light the mist image exactly from having of degeneration.In recent years, the defogging method capable of single image has been obtained significant progress.Tan realizes the mist elimination of image through the method for maximization local contrast; Fattal is irrelevant through the surface emissivity degree of hypothesis propagation in atmosphere function and scene, uses the method for independent component analysis to estimate scene reflectivity rate and propagation in atmosphere function; People such as He have proposed to help secretly the priori rule based on the statistics to open air no mist image rule, and general outdoor image has been obtained good mist elimination effect.But the complexity of above algorithm is high, and processing speed is slow, can not reach the effect of real-time processing, thereby can not be applied to actual application system.
(3) summary of the invention:
1, purpose: the purpose of this invention is to provide a kind of real-time defogging method capable of the single image based on gaussian filtering, it has overcome the deficiency of prior art, and the mist elimination effect is better, and processing speed is fast, can be used in the real time processing system.
2, technical scheme:
Introduce the principle and the process of image mist elimination among the present invention below.
One, greasy weather imaging model
Atmospheric scattering model under the greasy weather condition can be described as
I(x)=J(x)t(x)+A(1-t(x))
t(x)=e -βd(x)
Wherein, I (x) has a mist image for input; J (x) is the scene radiancy, does not promptly have the scene image under the greasy weather gas condition; T (x) is the propagation in atmosphere function, the transmissivity of expression scene radiation; A is overall atmosphere light, is assumed to be overall constant vector usually; β is the atmospheric scattering coefficient; D (x) is a scene depth.The image mist elimination will be tried to achieve J (x), t (x) and A through I (x) exactly.In the equation of atmospheric scattering model, first J of equality right-hand member (x) t (x) representes direct attenuation term, and second A (1-t (x)) representes surround lighting.Directly attenuation term is described scene radiation and the decay in propagation medium thereof, and the surround lighting that is caused by scattered light then can cause the drift of scene color.
Two, help priori secretly
Helping priori secretly is to obtain through the statistical observation to a large amount of outdoor no mist images: in the regional area of most images, some pixel has at least a Color Channel to have very low brightness value.Helping secretly of image J is defined as
J dark ( x ) = min y ∈ Ω ( x ) ( min c ∈ { r , g , b } J c ( y ) )
Wherein, J cCertain Color Channel of presentation video J, Ω (x) expression is a square region at center with pixel x.Statistics through to great amount of images can know, the image of clear no mist help J secretly DarkValue always very low and approach 0.
Three, estimate overall atmosphere light
For a width of cloth did not have the mist image, it helps image secretly should be the almost black full image of a width of cloth, but a width of cloth has the overall brightness of helping image secretly of mist image to brighten.See that from visual effect it is a guestimate to the concentration of mist that the image of helping secretly of mist image is arranged.Adopt following method to estimate overall atmosphere light among the present invention
A=I(x k)
Wherein, x k = Arg x Max ( J Dark ( x ) ) .
This method of estimation has better robustness than directly choosing the method for estimation of the maximum pixel value of intensity in the image as overall atmosphere light, can more accurately estimate the value of overall atmosphere light A.
Four, atmospheric dissipation Function Estimation
4.1 rough estimate
Being defined as of atmospheric dissipation function
V(x)=1-t(x)
So the atmospheric scattering model can be rewritten as
I(x)=J(x)t(x)+AV(x)
Atmospheric dissipation function representation surround lighting is the increasing function about scene depth d (x) to the extention of scene imaging.In the atmospheric scattering model, respectively each Color Channel is carried out normalization, promptly the model two ends are together divided by overall atmosphere light A c, obtain normalized atmospheric scattering model and do
I c ( x ) A c = J c ( x ) A c t ( x ) + V ( x )
For the zone of brightness in the input picture greater than overall atmosphere light A; This shows that the corresponding region color overflows promptly corresponding , need carry out special processing to these zones.The present invention is limited in
Figure BDA00001815035600033
in [0,1] scope through grey level stretching
I c ( x ) A c = ( I c ( x ) A c - min ( I c ( x ) A c ) ) / ( max ( I c ( x ) A c ) - min ( I c ( x ) A c ) )
So the atmospheric scattering model can be reduced to
I ( x ) A = J ( x ) A t ( x ) + V ( x )
Known by the above formula, atmospheric dissipation function V (x) satisfy two constraints: 1) V (x) ≥ 0, that is V (x) is positive; 2)
Figure BDA00001815035600036
ie V (x) is not greater than
Figure BDA00001815035600037
The minimum color components .
Suppose that propagation in atmosphere function and atmospheric dissipation function are constant in a zonule, use and
Figure BDA00001815035600039
expression respectively.Atmospheric scattering model two ends are got help secretly
min y ∈ Ω ( x ) ( min c ∈ { r , g , b } I c ( y ) A c ) = t ~ ( x ) min y ∈ Ω ( x ) ( min c ∈ { r , g , b } J c ( y ) A c ) + V ~ ( x )
For the image J (x) of clear no mist, it is helped image secretly and approaches 0
min y ∈ Ω ( x ) ( min c ∈ { r , g , b } J c ( y ) ) → 0
Because A cAlways be on the occasion of, so
min y ∈ Ω ( x ) ( min c ∈ { r , g , b } J c ( y ) A c ) → 0
Thus, can obtain the rough estimate of atmospheric dissipation function
V ~ ( x ) = min y ∈ Ω ( x ) ( min c ∈ { r , g , b } I c ( y ) A c )
Ω among the present invention (x) gets 1 * 1, promptly uses
Figure BDA00001815035600043
minimum color component is estimated the atmospheric dissipation function
V ~ ( x ) = min c ∈ { R , G , B } I c ( x ) A c
4.2 Refinement operation based on gaussian filtering
Because the minimum color component that in to the rough estimate of atmospheric dissipation function, uses
Figure BDA00001815035600045
, cause the rough estimate
Figure BDA00001815035600046
of atmospheric dissipation function also maybe be no longer continuous in the variation of non-depth of field sudden change place.Thereby need carry out the segment smoothing operation to the rough estimate
Figure BDA00001815035600047
of atmospheric dissipation function, need keep the edge details of depth of field sudden change simultaneously.The present invention adopts Gauss's LPF to come refinement atmospheric dissipation function
Figure BDA00001815035600048
to be expressed as
V ( x ) = 1 W g Σ y ∈ S G σ ( | | x - y | | ) V ~ ( y )
Wherein, W gBe normalization coefficient
W g = Σ y ∈ S G σ ( | | x - y | | )
In the formula, G σBe Gaussian function.For with the pixel of center pixel close together, gauss low frequency filter is given bigger weight; And, give less weight for distance pixel far away.
Atmospheric dissipation function by after the refinement can be tried to achieve the propagation in atmosphere function
t(x)=1-V(x)
Five, restoration scenario radiancy
Through overall atmosphere light and propagation in atmosphere function, can recover the scene radiancy at an easy rate according to the atmospheric scattering model.Because the rough estimate of atmospheric dissipation function is counted the minimum color component of image
Figure BDA000018150356000411
, thus the difference of image
Figure BDA000018150356000412
and atmospheric dissipation function with very big probability near 0.In addition, be positioned at the sky of infinite distant place, propagation in atmosphere function t (x) approaches 0, so directly attenuation term J (x) t (x) approaches 0, causes the scene radiancy J that recovers to be regarded noise probably.For fear of the uncertain value of 0/0 type, the present invention takes following two measures to solve: 1) through introducing a lower bound t 0Restriction propagation in atmosphere function t (x); 2) introducing factor k is that distant objects keeps a spot of mist.In fact, even under bright day gas condition, distant objects still can receive the influence of mist.If the mist in the image is removed fully, image will become untrue and can lose depth of view information.Come to make the scene that recovers seem truer through introducing factor k among the present invention for distant objects keeps a spot of mist.So according to the atmospheric scattering model, scene radiancy J (x) can recover through following formula
J ( x ) = A × I ( x ) / A - kV ( x ) max ( t ( x ) , t 0 )
Six, improve algorithm
Experiment through to great amount of images shows, the sky in the image, the bright areas such as object and the water surface of white partially tend to take place serious distortion through color after the defogging.In fact,, can not find pixel value and approach 0 dark access points, thereby help priori secretly in these zones and be false even the pixel value of these bright areas is just very big under the condition of no mist.
Do not considering to help secretly under the condition of priori, the atmospheric dissipation function does accurately
V ~ ( x ) = 1 - 1 - min y ∈ Ω ( x ) ( min c ∈ { r , g , b } I c ( y ) A c ) 1 - min y ∈ Ω ( x ) ( min c ∈ { r , g , b } J c ( y ) A c )
In bright areas,
Figure BDA00001815035600053
Can not be approximately 0, therefore actual atmospheric dissipation function V Actual(x) be less than according to the atmospheric dissipation function of helping prior estimate secretly
Figure BDA00001815035600054
The reason of bright areas color distortion in the no mist image that recovers is described below.Passage I cWith J cBetween the difference of color can use I c-A cWith J c-A cBetween difference represent, bright areas corresponding the wrong atmospheric dissipation function V bigger than normal that estimates, also promptly corresponding propagation in atmosphere function t less than normal.Even so I r, I g, I bBetween only differ several pixel values, after divided by very little propagation in atmosphere function t (although the minimum value of t is 0.1), interchannel color distortion can be exaggerated several times even ten times, makes the no mist image finally recover and the color of former figure that bigger drop arranged.Particularly when three channel direction inconsistent (passage that has is greater than A, and the passage that has is less than A), drop superposes, and the phenomenon of colour cast, i.e. color distortion can appear in the bright areas of similar sky.
In order to eliminate color distortion, must adjust the propagation in atmosphere function of bright areas, feasible estimation
Figure BDA00001815035600061
More near actual t Actual(x), do not destroy the Unified frame of helping mist elimination secretly simultaneously.Based on this, the present invention introduces parameter M, is defined as tolerance, for | I-A| thinks bright areas less than the zone of M, recomputates the propagation in atmosphere function; , think to satisfy the zone of helping priori secretly greater than the zone of M for | I-A|, keep original transmissivity constant., tolerance is reduced to original algorithm when being 0.For this reason, the present invention defines propagation in atmosphere function and atmospheric dissipation function again
t'(x)=min(max(M/|I-A|,1)·max(t(x),t 0),1)
V'(x)=1-t'(x)
So the scene radiancy of improving the back recovery does
J ( x ) = A × I ′ ( x ) / A - kV ′ ( x ) t ′ ( x )
Following formula has guaranteed that the propagation in atmosphere function of bright areas is unlikely to be partial to by error very little value.Tolerance mechanism is that a kind of of former algorithm replenished and expansion in fact, make its can handle well contain the large tracts of land bright areas the mist image arranged, and meet and help the priori principle secretly.
Because the integral image behind the mist elimination becomes very dark, the present invention uses piecewise nonlinear to stretch increases the mist elimination picture contrast.
In sum, the real-time defogging method capable of a kind of single image based on gaussian filtering of the present invention, this method specifically may further comprise the steps:
Step 1: read the original mist image I (x) that has, " calculated dark channel image and estimate overall atmosphere light value A "
(1) in Microsoft Visual Studio 2008 language environments, reads one and original mist image I (x) arranged;
(2) calculate the image of helping secretly that input has the mist image
Figure BDA00001815035600063
I wherein cCertain Color Channel of presentation video I; Ω (x) expression is the square region at center with pixel x, is of a size of 4 * 4;
(3) estimate overall atmosphere light value A=I (x k), wherein Image I is helped in expression secretly Dark(x) two-dimensional coordinate of the brightest pixel in.So overall atmosphere light value is to help the corresponding original color of pixel value that the mist image is arranged of pixel the brightest in the image secretly.
Step 2: according to input the image of helping secretly of mist image is arranged, " the thick step is estimated atmospheric dissipation function V (x) "
(1) atmospheric scattering model normalization.In the atmospheric scattering model, respectively each Color Channel is carried out normalization, promptly the model two ends are together divided by overall atmosphere light A c, obtain normalized atmospheric scattering model
I c ( x ) A c = J c ( x ) A c t ( x ) + V ( x )
(2) through grey level stretching
Figure BDA00001815035600072
is limited in [0,1] scope
I c ( x ) A c = ( I c ( x ) A c - min ( I c ( x ) A c ) ) / ( max ( I c ( x ) A c ) - min ( I c ( x ) A c ) )
Where,
Figure BDA00001815035600074
means taking the matrix
Figure BDA00001815035600075
The minimum;
Figure BDA00001815035600076
indicates taking matrix
Figure BDA00001815035600077
the maximum.
(3) the thick step is estimated the atmospheric dissipation function
V ~ ( x ) = min y ∈ Ω ( x ) ( min c ∈ { r , g , b } I c ( y ) A c )
Here Ω (x) expression is the square region at center with pixel x, and size is taken as 1 * 1.
Step 3: " refinement atmospheric dissipation function
Figure BDA00001815035600079
"
(1) adopt Gauss's LPF to come refinement atmospheric dissipation function
Figure BDA000018150356000710
to be expressed as
V ( x ) = 1 W g Σ y ∈ S G σ ( | | x - y | | ) V ~ ( y )
In the following formula, W gBe normalization coefficient
W g = Σ y ∈ S G σ ( | | x - y | | )
Wherein, G σBe Gaussian function, Gauss's template is of a size of 5 * 5, and σ is 0.7.
(2) calculate the propagation in atmosphere function
According to the definition of atmospheric dissipation function, can try to achieve the propagation in atmosphere function
t(x)=1-V(x)
The atmospheric dissipation function after V (x) the expression refinement wherein.
Step 4: " restoration scenario radiancy J (x) "
(1) recomputates propagation in atmosphere function and atmospheric dissipation function
t'(x)=min(max(M/|I-A|,1)·max(t(x),t 0),1)
V'(x)=1-t'(x)
Wherein, tolerance M is 50; t 0Be 0.1; The propagation in atmosphere function of t (x) for trying to achieve in the step 3; The minimum value in the element and 1 among the matrix * is got in min (*, 1) expression; The maximal value in the element and 1 among the matrix * is got in max (*, 1) expression; Max (t (x), t 0) expression gets element and t among the matrix t (x) 0In maximal value, the expression dot product.
(2) the scene radiancy of recovering does
J ( x ) = A × I ′ ( x ) / A - kV ′ ( x ) t ′ ( x )
Wherein, A is overall atmosphere light value; I' (x)/A representes the composograph of three Color Channels of
Figure BDA00001815035600082
of the operation of process grey level stretching in the step 2; The k value is generally 0.8-0.9.
3, advantage and effect: the real-time defogging method capable of a kind of single image based on gaussian filtering of the present invention; Its advantage is: the present invention is based upon on the basis of physical model of greasy weather imaging; Algorithm is simple, and computation complexity is low, and processing speed is fast; Can recover the real scene of degraded image preferably, can be applicable in the real time processing system.
(4) description of drawings
Fig. 1 the method for the invention FB(flow block)
(5) embodiment
In order to understand technical scheme of the present invention better, below embodiment of the present invention is further described:
The present invention realizes under Microsoft Visual Studio 2008 language environments.Computing machine reads the original mist image that has; At first calculating input image helps image secretly and estimates overall atmosphere light value through helping image secretly; Then the atmospheric dissipation function is carried out rough estimate; Utilize gaussian filtering that the atmospheric dissipation function of rough estimate is carried out refinement then, use improved algorithm computation scene radiancy at last.
The present invention is a kind of single image defogging method capable based on gaussian filtering, and the flow process of this method is seen shown in Figure 1.This method may further comprise the steps:
Step 1: read the original mist image I (x) that has, " calculated dark channel image and estimate overall atmosphere light value A "
(1) in Microsoft Visual Studio 2008 language environments, reads one and original mist image I (x) arranged;
(2) calculate the image of helping secretly that input has the mist image I wherein cCertain Color Channel of presentation video I; Ω (x) expression is the square region at center with pixel x, is of a size of 4 * 4;
(3) estimate overall atmosphere light value A=I (x k), wherein
Figure BDA00001815035600091
Image I is helped in expression secretly Dark(x) two-dimensional coordinate of the brightest pixel in.So overall atmosphere light value is to help the corresponding original color of pixel value that the mist image is arranged of pixel the brightest in the image secretly.
Step 2: according to input the image of helping secretly of mist image is arranged, " the thick step is estimated atmospheric dissipation function V (x) "
(1) atmospheric scattering model normalization.In the atmospheric scattering model, respectively each Color Channel is carried out normalization, promptly the model two ends are together divided by overall atmosphere light A c, obtain normalized atmospheric scattering model
I c ( x ) A c = J c ( x ) A c t ( x ) + V ( x )
(2) through grey level stretching
Figure BDA00001815035600093
is limited in [0,1] scope
I c ( x ) A c = ( I c ( x ) A c - min ( I c ( x ) A c ) ) / ( max ( I c ( x ) A c ) - min ( I c ( x ) A c ) )
Where,
Figure BDA00001815035600095
means taking the matrix
Figure BDA00001815035600096
The minimum;
Figure BDA00001815035600097
indicates taking matrix
Figure BDA00001815035600098
the maximum.
(3) the thick step is estimated the atmospheric dissipation function
V ~ ( x ) = min y ∈ Ω ( x ) ( min c ∈ { r , g , b } I c ( y ) A c )
Here Ω (x) expression is the square region at center with pixel x, and size is taken as 1 * 1.
Step 3: " refinement atmospheric dissipation function
Figure BDA000018150356000910
"
(1) adopt Gauss's LPF to come refinement atmospheric dissipation function
Figure BDA000018150356000911
to be expressed as
V ( x ) = 1 W g Σ y ∈ S G σ ( | | x - y | | ) V ~ ( y )
In the following formula, W gBe normalization coefficient
W g = Σ y ∈ S G σ ( | | x - y | | )
Wherein, G σBe Gaussian function, Gauss's template is of a size of 5 * 5, and σ is 0.7.
(2) calculate the propagation in atmosphere function
According to the definition of atmospheric dissipation function, can try to achieve the propagation in atmosphere function
t(x)=1-V(x)
The atmospheric dissipation function after V (x) the expression refinement wherein.
Step 4: " restoration scenario radiancy J (x) "
(1) recomputates propagation in atmosphere function and atmospheric dissipation function
t'(x)=min(max(M/|I-A|,1)·max(t(x),t 0),1)
V'(x)=1-t'(x)
Wherein, tolerance M is 50; t 0Be 0.1; The propagation in atmosphere function of t (x) for trying to achieve in the step 3; The minimum value in the element and 1 among the matrix * is got in min (*, 1) expression; The maximal value in the element and 1 among the matrix * is got in max (*, 1) expression; Max (t (x), t 0) expression gets element and t among the matrix t (x) 0In maximal value, the expression dot product.
(2) the scene radiancy of recovering does
J ( x ) = A × I ′ ( x ) / A - kV ′ ( x ) t ′ ( x )
Wherein, A is overall atmosphere light value; I' (x)/A representes the composograph of three Color Channels of
Figure BDA00001815035600102
of the operation of process grey level stretching in the step 2; The k value is generally 0.8-0.9.
In order to verify validity of the present invention, use said method to handle to the mist image is arranged, obtained mist elimination effect preferably.The maximum advantage of the present invention is that algorithm is simple; Computation complexity is low; Processing speed is fast; The image of in Microsoft Visual Studio 2008 language environments, handling one 600 * 400 only needs 31ms, and the image of handling 523 * 598 only needs 50ms, can be applied in the real time processing system.
From experimental result, the method among the present invention has solved the recovery problem of the degraded image of taking under the greasy weather condition well, and processing speed is fast, can be applicable in the real time processing system, has broad application prospects and is worth.

Claims (1)

1. real-time defogging method capable based on the single image of gaussian filtering, it is characterized in that: these method concrete steps are following:
Step 1: read the original mist image I (x) that has, calculated dark channel image and estimate overall atmosphere light value A:
(1) in Microsoft Visual Studio 2008 language environments, reads one and original mist image I (x) arranged;
(2) calculate the image of helping secretly that input has the mist image
Figure FDA00001815035500011
Wherein, I cCertain Color Channel of presentation video I; Ω (x) expression is the square region at center with pixel x, is of a size of 4 * 4;
(3) estimate overall atmosphere light value A=I (x k), wherein
Figure FDA00001815035500012
Image I is helped in expression secretly Dark(x) two-dimensional coordinate of the brightest pixel in is so overall atmosphere light value is to help the corresponding original color of pixel value that the mist image is arranged of pixel the brightest in the image secretly;
Step 2: according to input the image of helping secretly of mist image is arranged, the thick step is estimated atmospheric dissipation function V (x):
(1) atmospheric scattering model normalization; In the atmospheric scattering model, respectively each Color Channel is carried out normalization, promptly the model two ends are together divided by overall atmosphere light A c, obtain normalized atmospheric scattering model
I c ( x ) A c = J c ( x ) A c t ( x ) + V ( x ) ;
(2) through grey level stretching
Figure FDA00001815035500014
is limited in [0,1] scope
I c ( x ) A c = ( I c ( x ) A c - min ( I c ( x ) A c ) ) / ( max ( I c ( x ) A c ) - min ( I c ( x ) A c ) )
Where, indicates taking matrix
Figure FDA00001815035500017
The minimum;
Figure FDA00001815035500018
indicates taking matrix
Figure FDA00001815035500019
The maximum value;
(3) the thick step is estimated the atmospheric dissipation function
V ~ ( x ) = min y ∈ Ω ( x ) ( min c ∈ { r , g , b } I c ( y ) A c )
Here Ω (x) expression is the square region at center with pixel x, and size is taken as 1 * 1;
Step 3: refinement atmospheric dissipation function
Figure FDA000018150355000111
(1) adopt Gauss's LPF to come refinement atmospheric dissipation function to be expressed as
V ( x ) = 1 W g Σ y ∈ S G σ ( | | x - y | | ) V ~ ( y )
In the following formula, W gBe normalization coefficient
W g = Σ y ∈ S G σ ( | | x - y | | )
Wherein, G σBe Gaussian function, Gauss's template is of a size of 5 * 5, and σ is 0.7;
(2) calculate the propagation in atmosphere function
According to the definition of atmospheric dissipation function, try to achieve the propagation in atmosphere function
t(x)=1-V(x)
Wherein, the atmospheric dissipation function after V (x) the expression refinement;
Step 4: restoration scenario radiancy J (x)
(1) recomputates propagation in atmosphere function and atmospheric dissipation function
t'(x)=min(max(M/|I-A|,1)·max(t(x),t 0),1)
V'(x)=1-t′(x)
Wherein, tolerance M is 50; t 0Be 0.1; The propagation in atmosphere function of t (x) for trying to achieve in the step 3; The minimum value in the element and 1 among the matrix * is got in min (*, 1) expression; The maximal value in the element and 1 among the matrix * is got in max (*, 1) expression; Max (t (x), t 0) expression gets element and t among the matrix t (x) 0In maximal value, the expression dot product;
(2) the scene radiancy of recovering does
J ( x ) = A × I ′ ( x ) / A - kV ′ ( x ) t ′ ( x )
Wherein, A is overall atmosphere light value; I' (x)/A representes the composograph of three Color Channels of
Figure FDA00001815035500024
of the operation of process grey level stretching in the step 2; The k value is generally 0.8-0.9.
CN201210217713.4A 2012-06-27 2012-06-27 Gaussian filter-based real-time defogging method for single image Expired - Fee Related CN102831591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210217713.4A CN102831591B (en) 2012-06-27 2012-06-27 Gaussian filter-based real-time defogging method for single image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210217713.4A CN102831591B (en) 2012-06-27 2012-06-27 Gaussian filter-based real-time defogging method for single image

Publications (2)

Publication Number Publication Date
CN102831591A true CN102831591A (en) 2012-12-19
CN102831591B CN102831591B (en) 2014-11-05

Family

ID=47334708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210217713.4A Expired - Fee Related CN102831591B (en) 2012-06-27 2012-06-27 Gaussian filter-based real-time defogging method for single image

Country Status (1)

Country Link
CN (1) CN102831591B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034984A (en) * 2013-01-10 2013-04-10 厦门大学 Image defogging method based on variational method
CN103034983A (en) * 2013-01-10 2013-04-10 厦门大学 Defogging method based on anisotropic filtering
CN103136735A (en) * 2013-03-07 2013-06-05 中国科学院光电技术研究所 Single image defogging method based on dual-scale dark channel
CN103226816A (en) * 2013-04-10 2013-07-31 成都国腾电子技术股份有限公司 Haze image medium transmission rate estimation and optimization method based on quick gaussian filtering
CN103942758A (en) * 2014-04-04 2014-07-23 中国人民解放军国防科学技术大学 Dark channel prior image dehazing method based on multiscale fusion
CN104217404A (en) * 2014-08-27 2014-12-17 华南农业大学 Video image sharpness processing method in fog and haze day and device thereof
CN104318528A (en) * 2014-10-21 2015-01-28 北京工业大学 Foggy weather image restoration method based on multi-scale WLS filtering
CN104715239A (en) * 2015-03-12 2015-06-17 哈尔滨工程大学 Vehicle color identification method based on defogging processing and weight blocking
CN105096251A (en) * 2015-07-18 2015-11-25 哈尔滨工业大学 Method for improving splicing image resolution by using super-resolution reconstruction technology
CN105160886A (en) * 2015-04-08 2015-12-16 高萍 Traffic intersection overtaking vehicle identification platform
CN105205793A (en) * 2015-09-23 2015-12-30 成都融创智谷科技有限公司 Image defogging method based on dark channel prior
CN105225480A (en) * 2015-04-08 2016-01-06 王秀珍 Pass through data acquisition system (DAS) in crossing, signal lamp place
CN105243849A (en) * 2015-04-08 2016-01-13 王秀珍 Traffic data collecting method of crossing where signal lamp is located
CN105701783A (en) * 2016-01-14 2016-06-22 浙江大学 Single image defogging method based on ambient light model and apparatus thereof
CN106033597A (en) * 2015-03-17 2016-10-19 杭州海康威视数字技术股份有限公司 Image defogging method and equipment thereof
CN106127706A (en) * 2016-06-20 2016-11-16 华南理工大学 A kind of single image defogging method based on non-linear cluster
CN106408526A (en) * 2016-08-25 2017-02-15 南京邮电大学 Visibility detection method based on multilayer vectogram
CN107256539A (en) * 2017-06-12 2017-10-17 哈尔滨理工大学 A kind of image sharpening method based on local contrast
CN111598886A (en) * 2020-05-25 2020-08-28 中国科学院长春光学精密机械与物理研究所 Pixel-level transmittance estimation method based on single image

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050074140A1 (en) * 2000-08-31 2005-04-07 Grasso Donald P. Sensor and imaging system
CN101754032A (en) * 2008-12-12 2010-06-23 汉王科技股份有限公司 Defogging method capable of keeping colors

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050074140A1 (en) * 2000-08-31 2005-04-07 Grasso Donald P. Sensor and imaging system
CN101754032A (en) * 2008-12-12 2010-06-23 汉王科技股份有限公司 Defogging method capable of keeping colors

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YONG DU ET AL.: "Haze detection and removal in high resolution satellite image with wavelet analysis", 《IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING》 *
郭璠 等: "单幅图像自动去雾新算法", 《中国图象图形学报》 *

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034983B (en) * 2013-01-10 2016-01-27 厦门大学 A kind of defogging method capable based on anisotropic filtering
CN103034983A (en) * 2013-01-10 2013-04-10 厦门大学 Defogging method based on anisotropic filtering
CN103034984A (en) * 2013-01-10 2013-04-10 厦门大学 Image defogging method based on variational method
CN103034984B (en) * 2013-01-10 2016-05-18 厦门大学 A kind of image defogging method capable based on the calculus of variations
CN103136735A (en) * 2013-03-07 2013-06-05 中国科学院光电技术研究所 Single image defogging method based on dual-scale dark channel
CN103226816A (en) * 2013-04-10 2013-07-31 成都国腾电子技术股份有限公司 Haze image medium transmission rate estimation and optimization method based on quick gaussian filtering
CN103942758A (en) * 2014-04-04 2014-07-23 中国人民解放军国防科学技术大学 Dark channel prior image dehazing method based on multiscale fusion
CN103942758B (en) * 2014-04-04 2017-02-15 中国人民解放军国防科学技术大学 Dark channel prior image dehazing method based on multiscale fusion
CN104217404A (en) * 2014-08-27 2014-12-17 华南农业大学 Video image sharpness processing method in fog and haze day and device thereof
CN104217404B (en) * 2014-08-27 2017-06-20 华南农业大学 Haze sky video image clearness processing method and its device
CN104318528A (en) * 2014-10-21 2015-01-28 北京工业大学 Foggy weather image restoration method based on multi-scale WLS filtering
CN104715239A (en) * 2015-03-12 2015-06-17 哈尔滨工程大学 Vehicle color identification method based on defogging processing and weight blocking
CN104715239B (en) * 2015-03-12 2019-01-18 哈尔滨工程大学 A kind of vehicle color identification method based on defogging processing and weight piecemeal
CN106033597B (en) * 2015-03-17 2019-02-26 杭州海康威视数字技术股份有限公司 The method and apparatus of image defogging
CN106033597A (en) * 2015-03-17 2016-10-19 杭州海康威视数字技术股份有限公司 Image defogging method and equipment thereof
CN105160886A (en) * 2015-04-08 2015-12-16 高萍 Traffic intersection overtaking vehicle identification platform
CN105225480A (en) * 2015-04-08 2016-01-06 王秀珍 Pass through data acquisition system (DAS) in crossing, signal lamp place
CN105243849A (en) * 2015-04-08 2016-01-13 王秀珍 Traffic data collecting method of crossing where signal lamp is located
CN105096251A (en) * 2015-07-18 2015-11-25 哈尔滨工业大学 Method for improving splicing image resolution by using super-resolution reconstruction technology
CN105205793A (en) * 2015-09-23 2015-12-30 成都融创智谷科技有限公司 Image defogging method based on dark channel prior
CN105701783B (en) * 2016-01-14 2018-08-07 浙江大学 A kind of single image to the fog method and device based on environment light model
CN105701783A (en) * 2016-01-14 2016-06-22 浙江大学 Single image defogging method based on ambient light model and apparatus thereof
CN106127706A (en) * 2016-06-20 2016-11-16 华南理工大学 A kind of single image defogging method based on non-linear cluster
CN106408526A (en) * 2016-08-25 2017-02-15 南京邮电大学 Visibility detection method based on multilayer vectogram
CN106408526B (en) * 2016-08-25 2019-02-12 南京邮电大学 A kind of visibility detecting method based on multilayer polar plot
CN107256539A (en) * 2017-06-12 2017-10-17 哈尔滨理工大学 A kind of image sharpening method based on local contrast
CN107256539B (en) * 2017-06-12 2020-06-02 哈尔滨理工大学 Image sharpening method based on local contrast
CN111598886A (en) * 2020-05-25 2020-08-28 中国科学院长春光学精密机械与物理研究所 Pixel-level transmittance estimation method based on single image
CN111598886B (en) * 2020-05-25 2022-03-22 中国科学院长春光学精密机械与物理研究所 Pixel-level transmittance estimation method based on single image

Also Published As

Publication number Publication date
CN102831591B (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN102831591B (en) Gaussian filter-based real-time defogging method for single image
CN102750674B (en) Video image defogging method based on self-adapting allowance
CN104036466B (en) A kind of video defogging method and system
CN102063706B (en) Rapid defogging method
CN103955905B (en) Based on the single image to the fog method that fast wavelet transform and weighted image merge
CN103198459B (en) Haze image rapid haze removal method
CN106846263A (en) The image defogging method being immunized based on fusion passage and to sky
CN104253930B (en) A kind of real-time video defogging method
CN102768760B (en) Quick image dehazing method on basis of image textures
CN103049888A (en) Image/video demisting method based on combination of dark primary color of atmospheric scattered light
CN105913390B (en) A kind of image defogging method and system
CN104318524A (en) Method, device and system for image enhancement based on YCbCr color space
CN105225210A (en) A kind of self-adapting histogram based on dark strengthens defogging method capable
CN103985091A (en) Single image defogging method based on luminance dark priori method and bilateral filtering
CN107103591A (en) A kind of single image to the fog method based on image haze concentration sealing
CN103077504B (en) A kind of image defogging method capable based on self-adaptation illumination calculation
CN103489166A (en) Bilateral filter-based single image defogging method
CN103426151A (en) Method and device for defogging image
CN103914820A (en) Image haze removal method and system based on image layer enhancement
CN106657948A (en) low illumination level Bayer image enhancing method and enhancing device
CN106530240A (en) Image defogging method based on multi-scale fusion and total variational optimization
CN103226816A (en) Haze image medium transmission rate estimation and optimization method based on quick gaussian filtering
CN105096272A (en) De-hazing method based on dual-tree complex wavelet
Zhu et al. An single image dehazing algorithm using sky detection and segmentation
CN104717400A (en) Real-time defogging method of monitoring video

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

Granted publication date: 20141105