CN103150708A - Image quick defogging optimized method based on black channel - Google Patents

Image quick defogging optimized method based on black channel Download PDF

Info

Publication number
CN103150708A
CN103150708A CN2013100199190A CN201310019919A CN103150708A CN 103150708 A CN103150708 A CN 103150708A CN 2013100199190 A CN2013100199190 A CN 2013100199190A CN 201310019919 A CN201310019919 A CN 201310019919A CN 103150708 A CN103150708 A CN 103150708A
Authority
CN
China
Prior art keywords
image
zone
black channel
edge
mist
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
CN2013100199190A
Other languages
Chinese (zh)
Other versions
CN103150708B (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.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong 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 Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN201310019919.0A priority Critical patent/CN103150708B/en
Publication of CN103150708A publication Critical patent/CN103150708A/en
Application granted granted Critical
Publication of CN103150708B publication Critical patent/CN103150708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

Provided is an image quick defogging optimized method based on a black channel. Edges of an image and non-edge areas of the image are processed through different templates to obtain a transmission picture, and a precise atmosphere light value is obtained by the fact that a sky area or an area with thickest fog is divided. The method greatly reduces consumption, improves the image recovery speed, and improves image recovery effects.

Description

Image Quick demisting optimization method based on black channel
Technical field
The present invention relates to image processing techniques, specifically a kind of image Quick demisting optimization method based on black channel.
Background technology
At present, in existing image defogging method capable, utilize the differentiated treatment mist elimination of multiple image under same scene different shooting angles or different weather condition, can obtain certain effect, but in actual applications, be difficult to obtain multiple image in the short time.Utilize the geometric model of known scene, or utilize artificial input depth information to limit too the practicality of method.
In recent years, utilize the single image mist elimination to obtain very much progress.Tan(R Tan.Visibility in bad weather from a single image[A] .Proc of IEEE CVPR[C] .Anchorage, Alaska:IEEE Computer Society, 2008:1-8.) the image ratio Misty Image observed under fine day has higher contrast, and the hypothesis neighborhood territory pixel has the identical dough softening, utilize and maximize the color contrast that the local contrast method is come Recovery image, obtained better effects on some scene image, but the method does not also meet real physical model, the easy distortion of the result that obtains.Fattal(R Fattal.Single image dehazing[A] .Proc of SIGGRAPH[C] .Los Angeles:ACM Transactions on Graphics, 2008,27 (3): 1-9.) hypothesis shade and transmissivity are incoherent, utilize the ICA model to estimate transmissivity, thereby obtain the mist elimination result, but the method can not well be processed the thick fog image.He(K He, J Sun, X O Tang.Single image haze removal using dark channel prior[J] .IEEE Transactions on Pattern Analysis and Machine Intelligence, 2011, 33:1-13.) etc. the people proposed to help secretly sequence rule (statistics shows that most outdoor photos meet this rule), utilize this rule mist elimination, can obtain good effect to most of Outdoor Scene mist images, but keep off in 0 zone at some black channel and deviation can occur, adopt same atmosphere light value to cause restoration result regional area cross-color to entire image, and the soft matting algorithm of optimizing transmission plot can consume plenty of time and internal memory.
Summary of the invention
The present invention provides a kind of image Quick demisting optimization method based on black channel in order to overcome above-mentioned the deficiencies in the prior art, has promoted image optimization speed, has improved recovery effects.
Technical solution of the present invention is as follows:
A kind of image Quick demisting optimization method based on black channel is characterized in that the method comprises the following steps:
The first step is inputted pending image;
Second step, select day dummy section or mist the denseest zone:
To containing the image of day dummy section, choose a day dummy section, then choose atmosphere light A in the zone on high;
To not containing the image of day dummy section, choose mist the denseest zone, then choose atmosphere light A in mist the denseest zone;
The 3rd step, the marginal information of extraction image, after the fringe region expansion, edge zone and non-fringe region adopt respectively different templates to process the black channel that obtains entire image;
The 4th step, the transmissivity of computed image pixel, formula is as follows:
t(x)=e -βd(x) (4)
Wherein, β is the atmosphere light-scattering coefficient, and d (x) is depth map;
The 5th step obtained according to second step the transmissivity that atmosphere light A and the 4th step obtain, and calculated the image after recovering, and formula is as follows:
J ( x ) = I ( x ) - A max ( t ( x ) , t 0 ) + A - - - ( 2 )
Wherein, t 0Be that minimum transmittance restriction is processed, result after causing recovering becomes noise spot for the transmissivity t (x) that prevents some pixel is too little, and I (x) is original image,
Described day dummy section or the mist the denseest zone chosen is specifically as the black channel I of a certain pixel x min(x)>T vAnd the edge pixel number in this neighborhood of pixels and the ratio N of total edge pixel count Edge(x)<T p, should the zone be day dummy section or mist the denseest zone, arrange day dummy section or mist the minimum value of the black channel pixel value in dense zone be T v, neighborhood of pixels inward flange pixel count and total edge pixel count ratio N in day dummy section or mist the denseest zone is set EdgeMaximal value be T p:
T v=0.9I min_max
T p = N min _ edge 0.9
Wherein, I Min_maxBe the max pixel value of black channel image, N Min_edgeMinimum value for neighborhood inward flange pixel count and the total edge pixel count ratio of all pixels.
Described edge zone is adopted different templates to process with non-fringe region and referred to: edge zone employing 3 * 3 little templates are processed, adopt 15 * 15 large forms to process to non-fringe region, then the black channel of fringe region and the black channel of non-fringe region are integrated the black channel that obtains entire image.
Principle of the present invention is as follows:
The basic model of Misty Image is:
I(x)=J(x)t(x)+A(1-t(x)) (1)
In formula (1), J (x) is the radiation information from target, the transmissivity of t (x) expression target emanation information, J (x) t (x) is the direct decay of target emanation information, the electromagnetic wave information of having described from target arrives the energy of sensor through transmission medium; A is the atmosphere light component, and A (1-t (x)) represents that atmosphere light arrives the energy of sensor after overdamping.
If atmosphere light A and transmission plot t are known, just can utilize formula (2) to carry out the image mist elimination and process.
J ( x ) = I ( x ) - A max ( t ( x ) , t 0 ) + A - - - ( 2 )
T wherein 0Be that minimum transmittance restriction is processed, result after causing recovering becomes noise spot for the transmissivity t (x) that prevents some pixel is too little.Adopt t in the He algorithm 0Be 0.1.
In the He algorithm, when atmosphere light A is known, can be in the hope of the transmissivity of a certain pixel, namely according to formula (3)
t ( x ) = 1 - ω min y ∈ Ω ( x ) ( min c ( I c ( y ) A c ) ) - - - ( 3 )
Wherein, I c(y) refer to the Color Channel of a certain pixel y,
Figure BDA00002751747300033
Can regard as
Figure BDA00002751747300034
Black channel (the black channel J of a certain pixel x Dark(x) refer to interior all pixels of neighborhood Ω (x) of this pixel x
Figure BDA00002751747300035
Minimum value, y is a certain pixel in this neighborhood, J cThe a certain Color Channel of pixel y, namely
Figure BDA00002751747300036
A is known atmosphere light, and ω is the constant parameter that arranges in order to prevent thorough mist elimination from causing distortion, and it is 0.95 that ω is set in the He algorithm.
Utilize formula (3) when finding the solution, need in the neighborhood Ω (x) of certain pixel of hypothesis, its transmissivity all equates, and in reality, pixel might not equate with transmissivity between pixel, the transmission plot of therefore trying to achieve and actual certain deviation arranged, the transmission plot that causes obtaining are the shapes of one one.Block size is decided by the neighborhood template Ω size of selecting, and selects neighborhood Ω larger, and this deviation also can be larger.In the algorithm of He, it is 15 * 15 template that entire image is all adopted the Ω size, although template is larger, and J Dark(x) → 0 degree is larger, but equally also can cause the boundary information out of true, form serious milky spot phenomenon, and template is less, and transmission plot is more accurate.Adopt in addition soft matting algorithm that it is optimized after obtaining coarse transmission plot, picture for 400 * 600 sizes, the size of the Matting Laplacian matrix L in soft matting algorithm is 240000 * 240000, this is a very huge matrix, and its calculated amount is also just well imagined.
For need to consume in the He algorithm a large amount of internal memories and computing time this deficiency, the present invention carries out following modification:
At first farthest reduce the transmission plot deviation by changing neighborhood Ω size, improve accuracy.Because the image after recovering is that fringe region difference is apparent in view at the scene depth Sudden change region, namely maximum in edge's transmission plot error, and it is all very little in other most of area differentiation, therefore fringe region need to keep detailed information, should adopt little formwork calculation black channel, and in non-edge, brightness of image changes milder, the transmission plot error is less, and is less demanding to details, should adopt large form to calculate black channel.The black channel J of entire image DarkBe the black channel J of edge Dark EdgeBlack channel J with non-edge Dark NonedgeSum.
Secondly, when transmission plot is optimized, do not adopt soft matting algorithm, can greatly improve speed like this, save internal memory and consumption, shorten computing time.Because black channel itself has just represented depth information roughly: for black matrix, do not reflect extraneous light, if be not subjected to the impact of atmosphere light, its brightness is 0, is subject to the impact of atmosphere light, and black matrix brightness meeting increases; Within the specific limits, mist is denseer, and the particulate of day aerial floating dust is more, and the atmosphere light scattering is more serious, and the impact that black matrix is subject to atmosphere light is larger, and brightness is also just larger; Black matrix from sensor more away from, namely d is larger, mist is just denseer, its brightness is also just larger; Therefore under the greasy weather condition, black matrix is relevant from the gamma correction apart from d and black matrix of sensor, and namely the degree of depth is relevant with gamma correction; Black channel is the black matrix model that utilizes, when not being subjected to the atmosphere influence of light under fine day, be black, under the greasy weather condition, be subject to the impact of atmosphere light, brightness increases with distance, depth information so correspondingly is provided, the larger explanation mist of the brightness of black channel is denseer, object from the distance of sensor more away from, namely d is larger.Utilize the relation between black channel and the degree of depth, the communication theory formula (4) according to light in atmospheric medium calculates transmissivity:
t(x)=e -βd(x) (4)
Wherein, β is the atmosphere light-scattering coefficient, and its scattering coefficient to all visible lights is the same, in uniform dielectric, can think that β is steady state value in addition, the depth map of d (x) for trying to achieve.
In addition, in the He algorithm, with cloudy day day dummy section or mist the max pixel value in dense zone as atmosphere light A, determine cloudy day sky dummy section or the mist the denseest zone of former Misty Image by seeking in black channel front 0.1% pixel maximum region.The method is for the very large Misty Image of sky dummy section or contain the less Misty Image of white object and can obtain atmosphere light value accurately, but for containing the bulk white object, its pixel value will cause certain error greater than the image of cloudy sky pixel value, because black channel can't filter the white object larger than template, for this deficiency, the present invention has carried out following modification, thereby can better search out day dummy section or mist the denseest zone.
For sky dummy section or mist the denseest zone, because the impact that is subject to atmosphere light is comparatively serious, its pixel value I skyMust be relatively large in whole black channel image, establish the black channel image I minMax pixel value be I Min_max, I sky∈ λ I Min_max, λ ∈ [0.9,1]; Because this part zone is relatively level and smooth, details is relatively less in addition, the edge pixel number in neighborhood of pixels and the ratio N of total edge pixel count EdgeLess, namely
Figure BDA00002751747300051
λ ∈ [0.9,1], wherein, N Min_edgeAll pixel N EdgeMinimum value.Satisfy simultaneously these two conditions and be only in Misty Image day dummy section or mist the denseest zone.Introduced similar approach in document (Jing Yu, Qingmin Liao.Fast single image fog removal using edge-preserving smoothing.IEEE ICASS P, 2011:1245-1248.), but threshold value T pValue be fixed value 0.001, do not have robustness.Here, we enlarge I skyAnd N EdgeValue, can enlarge so the scope in dense zone of day dummy section or mist, therefore get black channel pixel value I minCount ratio N with edge pixel EdgeThreshold value T v, T pBe respectively:
T v=0.9I min_max (5)
T p = N min _ edge 0.9 - - - ( 6 )
Only has the I of satisfying min(x)>T vAnd N Edge(x)<T pPixel just be considered to day dummy section or mist the denseest zone;
Compared with prior art, the invention has the beneficial effects as follows:
1, because the present invention can choose day dummy section or mist the denseest zone more accurately, thereby search out atmosphere light value more accurately, make the result after recovery more accurate.
2, the present invention has improved the Optimizing Flow of transmission plot, the restored image that utilizes the restored image after optimizing more not optimize is apparent in view this principle of fringe region difference at the scene depth Sudden change region, ask for the marginal information of former Misty Image, fringe region and non-fringe region are asked for respectively black channel under its different templates, and according to the relation of black channel and the degree of depth, the transmission plot after being improved.Simultaneously, greatly reduced memory consumption, optimal speed can promote 10 to 15 times.And exponentially curved line relation between the transmission plot that the present invention finds the solution and depth information, the transmissivity that makes the object of infinite point obtain is more accurate, thereby has greatly improved the recovery effects of day dummy section.
Description of drawings
Fig. 1 (a) is the Misty Image that contains the bulk white object; Fig. 1 (b) is the black channel image; Fig. 1 (c) is the atmosphere light value region that the He algorithm obtains; Fig. 1 (d) is the atmosphere light value region that the present invention obtains.Fig. 1 (e) is that the He algorithm is not optimized transmission plot t'; Fig. 1 (f) is He algorithm optimization transmission plot t; Fig. 1 (g) uses mist elimination that t' calculates J' as a result; Fig. 1 (h) uses mist elimination that t calculates J as a result; Fig. 1 (i) is the transmission plot that obtains after the present invention only improves atmosphere light; Fig. 1 (j) is that the present invention improves atmosphere light and is optimized transmission plot afterwards; Fig. 1 (k) is the restoration result after the present invention only improves atmosphere light; Fig. 1 (l) is that the present invention improves atmosphere light and optimizes transmission plot mist elimination result afterwards.
Fig. 2 (a) is the Misty Image that another width contains the bulk white object; Fig. 2 (b) obtains the brightness maximum region in black channel image and He algorithm; Fig. 2 (c) is the atmosphere light value region that the He algorithm obtains; Fig. 2 (d) is the atmosphere light value region that the present invention obtains.Fig. 2 (e) is that the He algorithm is not optimized transmission plot t'; Fig. 2 (f) is He algorithm optimization transmission plot t; Fig. 2 (g) uses mist elimination that t' calculates J' as a result; Fig. 2 (h) uses mist elimination that t calculates J as a result; Fig. 2 (i) is the transmission plot that obtains after the present invention only improves atmosphere light; Fig. 2 (j) is that the present invention improves atmosphere light and is optimized transmission plot afterwards; Fig. 2 (k) is the restoration result after the present invention only improves atmosphere light; Fig. 2 (l) is that the present invention improves atmosphere light and optimizes transmission plot mist elimination result afterwards.
Fig. 3 (a) is a common Misty Image; Fig. 3 (b) is that the He algorithm is not optimized transmission plot t '; Fig. 3 (c) is He algorithm optimization transmission plot t; Fig. 3 (d) uses mist elimination that t' calculates J' as a result; Fig. 3 (e) uses mist elimination that t calculates J as a result; Fig. 3 (f) is the restoration result after the present invention only is optimized transmission plot; Fig. 3 (g) is the sky dummy section (representing with white portion) of trying to achieve in the present invention; Fig. 3 (h) is that the present invention improves atmosphere light and is optimized transmission plot afterwards; Fig. 3 (i) improves atmosphere light and optimizes transmission plot mist elimination result afterwards.
Fig. 4 (a) is a width greasy weather input picture; Fig. 4 (b) is that the He algorithm is not optimized transmission plot t '; Fig. 4 (c) is He algorithm optimization transmission plot t; Fig. 4 (d) uses mist elimination that t' calculates J' as a result; Fig. 4 (e) uses mist elimination that t calculates J as a result; Fig. 4 (f) is the scene depth region of variation | J-J ' |; Fig. 4 (g) is the sky dummy section (representing with white portion) of trying to achieve in the present invention; Fig. 4 (h) is the edge extracting that carries out with the sobel operator in the present invention; Fig. 4 (i) is the fringe region that in the present invention, expansion obtains; Fig. 4 (j) is the transmission plot that the present invention obtains; Fig. 4 (k) is the mist elimination result that the present invention obtains.
Fig. 5 is process flow diagram of the present invention.
Embodiment
Elaborate to of the present invention below in conjunction with drawings and Examples: the example that the present embodiment is implemented under take technical solution of the present invention as prerequisite provided detailed embodiment and process, but protection scope of the present invention should not be limited to following embodiment.
Please first consult Fig. 5, Fig. 5 is process flow diagram of the present invention, and as shown in the figure, the concrete implementation step of the present invention is as follows:
The first step is inputted pending image;
Second step, select day dummy section or mist the denseest zone:
When containing the image of day dummy section, choose a day dummy section, then choose atmosphere light A in the zone on high;
To not containing the image of day dummy section, choose mist the denseest zone, then choose atmosphere light A in mist the denseest zone;
The solution procedure of atmosphere light is specific as follows:
(1) ask the black channel I of original image I (x) min(x), template size is 15 * 15;
(2) calculate the marginal information of original image gray-scale map, obtain bianry image;
(3) to the pixel value of each edge, calculate edge pixel number that its neighborhood contains and the ratio of total edge pixel count, obtain chart of percentage comparison as N Edge(x);
(4) only has the I of satisfying min(x)>T vAnd N Edge(x)<T pPixel just be considered to day dummy section or mist the denseest zone;
(5) ask for the max pixel value of former figure as atmosphere light A value in the sky dummy section of trying to achieve or mist the denseest zone.
The 3rd step, the marginal information of extraction image, after the fringe region expansion, edge zone and non-fringe region adopt respectively different templates to process the black channel that obtains entire image;
The 4th goes on foot, and calculates the transmissivity of certain pixel, and formula is as follows:
t(x)=e -βd(x) (4)
Wherein, β is the atmosphere light-scattering coefficient, and d (x) is depth map;
The optimization concrete steps of transmission plot are:
(1) extract the marginal information (as using the sobel operator) of image, obtain the most obvious regional I of graded in transmission plot Edge
(2) expand this zone I EdgeWidth, the bianry image after being expanded
Figure BDA00002751747300071
(edge calculation information accounts for the ratio of total pixel, if ratio large (as greater than 50%), namely marginal information is abundanter, can carry out the small neighbourhood expansion, as expansion neighborhood neighbors=8; If ratio less (less than 50%) can suitably increase the expansion neighborhood, as neighbors=12);
(3) to this bianry image
Figure BDA00002751747300082
Fringe region utilize little template (as 3 * 3) to ask black channel I Dark Edge, non-fringe region utilizes large form (as 15 * 15) to ask black channel I Dark Nonedge
(4) black channel of entire image is the black channel I of fringe region Dark EdgeBlack channel I with non-fringe region Dark NonedgeSum, namely
I dark=I dark edge+I dark nonedge
(5) depth image d (x)=I Dark
(6) try to achieve corresponding transmission plot t (x) according to formula (4).
The 5th step obtained according to second step the transmissivity that atmosphere light A and the 4th step obtain, and calculated the image after recovering, and formula is as follows:
J ( x ) = I ( x ) - A max ( t ( x ) , t 0 ) + A - - - ( 2 )
Wherein, t 0Be that the minimum transmittance restriction is processed, t is set herein 0=0.1, I (x) is original image.
The present invention has verified that the He algorithm finds the solution the incorrectness of atmosphere light to containing bulk white portion image, as shown in Fig. 1 (c), Fig. 2 (c).Obtain atmosphere light region accurately by the atmosphere light derivation algorithm in the present invention, as shown in Fig. 1 (d), Fig. 2 (d), and then try to achieve atmosphere light value A accurately.After trying to achieve transmission plot according to formula (3), substitution formula (2) restoration result after atmosphere light that is improved, as shown in Fig. 1 (k), Fig. 2 (k), result shows, to containing the image of bulk white portion, only revise atmosphere light recovery effects afterwards and be greatly improved than the He algorithm.
After the present invention has verified and only transmission plot has been optimized on the impact of recovery effects.As shown in Fig. 4 (f), utilize the transmission plot t' that do not optimize and the image of trying to achieve respectively after recovery with the transmission plot t after soft matting algorithm optimization is that fringe region difference is apparent in view at the scene depth Sudden change region.Utilize the present invention to obtain after transmission plot t and He algorithm obtain atmosphere light A, according to be improved restoration result after transmission plot of formula (2), as shown in Fig. 3 (f).(f) in comparison diagram 3 and (e) can find, the mist elimination of sky dummy section is processed, and the present invention is better than the He method.Because the He method is to utilize formula (3) to try to achieve the transmission plot of entire image, transmission plot and black channel are linear, if in image, atmosphere light A value is less than the max pixel value of image, the transmission plot of utilizing so formula (3) to try to achieve has negative value, and it dummy section and atmosphere light value are very approaching, cause the transmissivity that obtains very little, the easy distortion of image sky dummy section that recovers with formula (2).And we adopt formula (4), the curved relation of transmission plot and black channel, the transmission plot of calculating can guarantee be all on the occasion of, and be difficult for forming noise, because the present invention does not adopt soft matting algorithm, greatly promote computing velocity in addition, shortened computing time.
The present invention verified and improved simultaneously atmosphere light and optimize after transmission plot the impact of recovery effects, and step is as follows:
(1) ask the black channel I of Fig. 4 (a) I min(x), adopting template size is 15 * 15;
(2) with the marginal information of its gray-scale map of sobel operator calculating chart 4 (a), obtain bianry image I Edge, as Fig. 4 (h);
(3) to the pixel value of each edge, calculate edge pixel number that its neighborhood contains and the ratio of total edge pixel count, obtain chart of percentage comparison as N Edge(x);
(4) ask for and satisfy I min(x)>T vAnd N Edge(x)<T pPixel region as the denseest zone of mist, as Fig. 4 (g);
(5) ask for the max pixel value of Fig. 4 (a) as atmosphere light A value in the mist the denseest zone of trying to achieve;
(6) to bianry image I EdgeCarry out the neighborhood expansion, adopt neighbors=12, the bianry image after being expanded
Figure BDA00002751747300091
, as Fig. 4 (i);
(7) to this bianry image Fringe region ask black channel I with 3 * 3 templates Dark Edge, non-fringe region is asked black channel I with 15 * 15 template Dark Nonedge, the black channel that obtains entire image is:
I dark=I dark edge+I dark nonedge
(8) depth image d (x)=I Dark
(9) try to achieve corresponding transmission plot t (x) according to formula (4), as Fig. 4 (j);
(10) try to achieve atmosphere light A and transmission plot t (x) afterwards, utilize the result after formula (2) is tried to achieve recovery, as shown in Fig. 4 (k), t 0Be 0.1.

Claims (3)

1. the image Quick demisting optimization method based on black channel, is characterized in that, comprises the following steps:
The first step is inputted pending image;
Second step, select day dummy section or mist the denseest zone:
When containing the image of day dummy section, choose a day dummy section, then choose atmosphere light A in the zone on high;
To not containing the image of day dummy section, choose mist the denseest zone, then choose atmosphere light A in mist the denseest zone;
The 3rd step, the marginal information of extraction image, after the fringe region expansion, edge zone and non-fringe region adopt respectively different templates to process the black channel that obtains entire image;
The 4th goes on foot, and calculates the transmissivity of certain pixel, and formula is as follows:
t(x)= e-βd(x) (4)
Wherein, β is the atmosphere light-scattering coefficient, and d (x) is depth map;
The 5th step obtained according to second step the transmissivity that atmosphere light A and the 4th step obtain, and calculated the image after recovering, and formula is as follows:
Figure FDA00002751747200011
Wherein, t 0The=0.1st, the minimum transmittance restriction is processed, and I (x) is original image.
2. the image Quick demisting optimization method based on black channel according to claim 1, is characterized in that, described day dummy section or the mist the denseest zone chosen is specifically as the black channel I of a certain pixel x min(x)>T vAnd the edge pixel number in this neighborhood of pixels and the ratio N of total edge pixel count Edge(x)<T p, should the zone be day dummy section or mist the denseest zone, arrange day dummy section or mist the minimum value of the black channel pixel value in dense zone be T v, neighborhood of pixels inward flange pixel count and total edge pixel count ratio N in day dummy section or mist the denseest zone is set EdgeMaximal value be T p:
T v=0.9I min_max
Figure FDA00002751747200012
Wherein, I Min_maxBe the max pixel value of black channel image, N Min_edgeMinimum value for neighborhood inward flange pixel count and the total edge pixel count ratio of all pixels.
3. the image Quick demisting optimization method based on black channel according to claim 1, it is characterized in that, described edge zone is adopted different templates to process with non-fringe region and referred to: edge zone employing 3 * 3 little templates are processed, adopt 15 * 15 large forms to process to non-fringe region, then the black channel of fringe region and the black channel of non-fringe region are integrated the black channel that obtains entire image.
CN201310019919.0A 2013-01-18 2013-01-18 Based on the image Quick demisting optimization method of black channel Active CN103150708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310019919.0A CN103150708B (en) 2013-01-18 2013-01-18 Based on the image Quick demisting optimization method of black channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310019919.0A CN103150708B (en) 2013-01-18 2013-01-18 Based on the image Quick demisting optimization method of black channel

Publications (2)

Publication Number Publication Date
CN103150708A true CN103150708A (en) 2013-06-12
CN103150708B CN103150708B (en) 2015-11-18

Family

ID=48548762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310019919.0A Active CN103150708B (en) 2013-01-18 2013-01-18 Based on the image Quick demisting optimization method of black channel

Country Status (1)

Country Link
CN (1) CN103150708B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240192A (en) * 2013-07-04 2014-12-24 西南科技大学 Rapid single-image defogging algorithm
CN104253930A (en) * 2014-04-10 2014-12-31 西南科技大学 Real-time video defogging method
CN104574325A (en) * 2014-12-18 2015-04-29 华中科技大学 Skylight estimation method and system as well as image defogging method thereof
CN104794688A (en) * 2015-03-12 2015-07-22 北京航空航天大学 Single image defogging method and device based on depth information separation sky region
CN104966273A (en) * 2015-05-29 2015-10-07 昆山数字城市信息技术有限公司 DCM-HTM haze-removing method suitably used for optical remote sensing images
CN105005966A (en) * 2015-01-16 2015-10-28 西安电子科技大学 Haze-removing algorithm of single image based on physical properties of yellow haze
CN105023246A (en) * 2015-06-23 2015-11-04 首都师范大学 Image enhancement method based on contrast and structural similarity
CN105046656A (en) * 2015-06-23 2015-11-11 首都师范大学 Shape-adaptive image dehazing method based on edge-preserving filtering
CN105282421A (en) * 2014-07-16 2016-01-27 宇龙计算机通信科技(深圳)有限公司 Defogged image obtaining method, device and terminal
CN105303522A (en) * 2014-06-30 2016-02-03 高德软件有限公司 Image defogging method and apparatus
CN106204459A (en) * 2014-09-02 2016-12-07 台北科技大学 The method of image visibility reparation and image processing apparatus thereof
CN106651822A (en) * 2016-12-20 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Picture recovery method and apparatus
CN106780390A (en) * 2016-12-27 2017-05-31 西安电子科技大学 Single image to the fog method based on marginal classification Weighted Fusion
CN108460778A (en) * 2017-12-26 2018-08-28 浙江工商大学 Class sky areas detection towards foggy image and localization method
CN111489302A (en) * 2020-03-27 2020-08-04 武汉理工大学 Maritime image enhancement method in fog environment
CN115170443A (en) * 2022-09-08 2022-10-11 荣耀终端有限公司 Image processing method, shooting method and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809641B (en) * 2016-03-09 2018-02-16 北京理工大学 The exposure compensating and edge enhancing method of a kind of mist elimination image

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110188775A1 (en) * 2010-02-01 2011-08-04 Microsoft Corporation Single Image Haze Removal Using Dark Channel Priors
CN102411774A (en) * 2011-08-08 2012-04-11 安防科技(中国)有限公司 Processing method, device and system based on single-image defogging
CN102768760A (en) * 2012-07-04 2012-11-07 电子科技大学 Quick image dehazing method on basis of image textures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110188775A1 (en) * 2010-02-01 2011-08-04 Microsoft Corporation Single Image Haze Removal Using Dark Channel Priors
CN102411774A (en) * 2011-08-08 2012-04-11 安防科技(中国)有限公司 Processing method, device and system based on single-image defogging
CN102768760A (en) * 2012-07-04 2012-11-07 电子科技大学 Quick image dehazing method on basis of image textures

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KAIMING HE ET AL.: "Single Image Haze Removal Using Dark Channel Prior", 《IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE》, vol. 33, no. 12, 31 December 2011 (2011-12-31), pages 2341 - 2353, XP011409121, DOI: 10.1109/TPAMI.2010.168 *
褚宏莉等: "基于黑色通道的图像快速去雾优化算法", 《电子学报》, vol. 41, no. 4, 30 April 2013 (2013-04-30), pages 791 - 797 *

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240192A (en) * 2013-07-04 2014-12-24 西南科技大学 Rapid single-image defogging algorithm
CN104240192B (en) * 2013-07-04 2017-09-26 西南科技大学 A kind of quick single image to the fog method
CN104253930A (en) * 2014-04-10 2014-12-31 西南科技大学 Real-time video defogging method
CN104253930B (en) * 2014-04-10 2017-04-05 西南科技大学 A kind of real-time video defogging method
CN105303522A (en) * 2014-06-30 2016-02-03 高德软件有限公司 Image defogging method and apparatus
CN105303522B (en) * 2014-06-30 2018-09-28 高德软件有限公司 A kind of image defogging processing method and processing device
CN105282421B (en) * 2014-07-16 2018-08-24 宇龙计算机通信科技(深圳)有限公司 A kind of mist elimination image acquisition methods, device and terminal
CN105282421A (en) * 2014-07-16 2016-01-27 宇龙计算机通信科技(深圳)有限公司 Defogged image obtaining method, device and terminal
CN106204459A (en) * 2014-09-02 2016-12-07 台北科技大学 The method of image visibility reparation and image processing apparatus thereof
CN104574325A (en) * 2014-12-18 2015-04-29 华中科技大学 Skylight estimation method and system as well as image defogging method thereof
CN105005966A (en) * 2015-01-16 2015-10-28 西安电子科技大学 Haze-removing algorithm of single image based on physical properties of yellow haze
CN105005966B (en) * 2015-01-16 2017-07-28 西安电子科技大学 A kind of single image based on yellow haze physical characteristic goes haze method
CN104794688A (en) * 2015-03-12 2015-07-22 北京航空航天大学 Single image defogging method and device based on depth information separation sky region
CN104794688B (en) * 2015-03-12 2018-04-03 北京航空航天大学 Single image to the fog method and device based on depth information separation sky areas
CN104966273A (en) * 2015-05-29 2015-10-07 昆山数字城市信息技术有限公司 DCM-HTM haze-removing method suitably used for optical remote sensing images
CN104966273B (en) * 2015-05-29 2018-06-22 昆山数字城市信息技术有限公司 Haze method is gone suitable for the DCM-HTM of optical remote sensing image
CN105023246A (en) * 2015-06-23 2015-11-04 首都师范大学 Image enhancement method based on contrast and structural similarity
CN105046656A (en) * 2015-06-23 2015-11-11 首都师范大学 Shape-adaptive image dehazing method based on edge-preserving filtering
CN106651822A (en) * 2016-12-20 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Picture recovery method and apparatus
CN106780390A (en) * 2016-12-27 2017-05-31 西安电子科技大学 Single image to the fog method based on marginal classification Weighted Fusion
CN106780390B (en) * 2016-12-27 2019-10-11 西安电子科技大学 Single image to the fog method based on marginal classification Weighted Fusion
CN108460778A (en) * 2017-12-26 2018-08-28 浙江工商大学 Class sky areas detection towards foggy image and localization method
CN108460778B (en) * 2017-12-26 2021-07-30 浙江工商大学 Sky-like region detection and positioning method facing foggy image
CN111489302A (en) * 2020-03-27 2020-08-04 武汉理工大学 Maritime image enhancement method in fog environment
CN111489302B (en) * 2020-03-27 2023-12-05 武汉理工大学 Maritime image enhancement method in fog environment
CN115170443A (en) * 2022-09-08 2022-10-11 荣耀终端有限公司 Image processing method, shooting method and electronic equipment
CN115170443B (en) * 2022-09-08 2023-01-13 荣耀终端有限公司 Image processing method, shooting method and electronic equipment

Also Published As

Publication number Publication date
CN103150708B (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN103150708B (en) Based on the image Quick demisting optimization method of black channel
CN102411774B (en) Processing method, device and system based on single-image defogging
Wang et al. Dehazing for images with large sky region
CN106157267B (en) Image defogging transmissivity optimization method based on dark channel prior
CN104517110A (en) Binarization method and system of two-dimensional code image
CN103778599B (en) A kind of image processing method and system
CN104376535A (en) Rapid image repairing method based on sample
CN104008528B (en) Nonuniform illumination Underwater Target Detection image enchancing method based on Threshold segmentation
CN103927717A (en) Depth image recovery method based on improved bilateral filters
CN102620673A (en) Tunnel deformation online monitoring system based on image analysis and application of system
CN103578083A (en) Single image defogging method based on joint mean shift
CN104299263A (en) Method for modeling cloud scene based on single image
CN103364410A (en) Crack detection method of hydraulic concrete structure underwater surface based on template search
CN104794685A (en) Image denoising realization method and device
CN104166968A (en) Image dehazing method and device and mobile terminal
CN105654440A (en) Regression model-based fast single-image defogging algorithm and system
CN103578085A (en) Image empty region inpainting method based on variable blocks
CN103208115A (en) Detection method for salient regions of images based on geodesic line distance
Huang et al. Image-guided non-local dense matching with three-steps optimization
Zhu et al. An single image dehazing algorithm using sky detection and segmentation
CN105931208A (en) Physical model-based low-illuminance image enhancement algorithm
CN103400368A (en) Parallel rapid SAR image segmentation method based on graph theory and superpixel
CN103955906A (en) Criminisi image restoration method based on bat algorithm
CN104036481A (en) Multi-focus image fusion method based on depth information extraction
CN105809673A (en) SURF (Speeded-Up Robust Features) algorithm and maximal similarity region merging based video foreground segmentation method

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