CN104200435A - Single-image defogging method based on fog imaging model - Google Patents
Single-image defogging method based on fog imaging model Download PDFInfo
- Publication number
- CN104200435A CN104200435A CN201410436143.7A CN201410436143A CN104200435A CN 104200435 A CN104200435 A CN 104200435A CN 201410436143 A CN201410436143 A CN 201410436143A CN 104200435 A CN104200435 A CN 104200435A
- Authority
- CN
- China
- Prior art keywords
- image
- prime
- formula
- imaging model
- method based
- 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
Links
Landscapes
- Image Processing (AREA)
Abstract
The invention relates to a single-image defogging method based on a fog imaging model. The single-image defogging method based on the fog imaging model includes steps that reading an original image with fog; setting the atmospheric optical color as a fixed value; assuming that the albedo of the local region of the image is a constant vector, and there is local statistic irrelevance between the object surface chroma and medium propagation, and using independent component analysis to estimate the constant vector albedo so as to obtain a transmittance and a scene depth; carrying out normalization treatment on the transmittance; substituting into a physical model according to the transmittance and atmospheric optical color parameter, and outputting a defogged clear image. The single-image defogging method based on the fog imaging model is capable of improving the problem of serious partial distortion of the defogged image through the transmittance normalization method and obtaining a reduced image with good contrast ratio.
Description
Technical field
The invention belongs to digital image processing techniques field, be specifically related to a kind of single image defogging method capable based on greasy weather imaging model.
Background technology
Picture contrast and resolution that under foggy environment, video camera is taken obviously decline, and make the scene image observed under foggy environment muddy, are unfavorable for the observation of human eye.Along with expanding economy, the fields such as video monitoring, target identification are increasing to the dependence of image, so image mist elimination is very necessary simultaneously.
Mist is when the relative humidity of air molecule reaches capacity, and some air molecules are condensed to little water droplet and produce, and the gas sol particles in these atmosphere can have scattering process to imaging light.The light losing that scattering causes can make " transmitted light " strength retrogression, thereby causes the contrast of image to decline.And that the unevenness of particulate can make image thicken is unclear.Meanwhile, particulate also can be because of the effect of Multiple Scattering to the scattered portion of light, and original forward scattering is partly superimposed together imaging, thereby produces certain fuzzy.The summation of above-mentioned various effects, causes last Misty Image can produce serious degeneration, and smudgy, contrast is on the low side, and the minutia of scenery is covered, the unsaturated and distortion of color.
At present, the method for raising Misty Image sharpness mainly contains two classes: non-modelling and the algorithm based on model.Non-model Misty Image mist elimination algorithm is not considered the material elements that image deterioration produces, but only from the angle of figure image intensifying, processes image, to reach the object that improves picture quality, simply says to be exactly the overall contrast that strengthens image.Common method has histogram equalization, homomorphic filtering and Retinex algorithm etc., this method is applied widely, can have the contrast that more effectively improves image, and the grain details of outstanding image, but may cause the information loss of outshot, make the image after processing have distortion.Defogging method capable based on mist model is mist image to be carried out to a contrary inverse process of rain imaging recover without mist image.The He Kaiming of Hong Kong Chinese University etc. has proposed a kind of mist elimination algorithm (reference papers < < Single Image Haze Removal Using Dark Channel Prior > >) based on dark primary priori, this algorithm effect is outstanding, but algorithm complex is very large, limited its widespread use in engineering.
Summary of the invention
The present invention solves the existing technical matters of prior art; Providing a kind of not only can have good image mist elimination effect, and can solve the single image defogging method capable based on greasy weather imaging model that computation process complicated and time consumption that the algorithm of prior art exists is difficult to be applied to the problem of practical matter.
Above-mentioned technical matters of the present invention is mainly solved by following technical proposals:
A single image defogging method capable based on greasy weather imaging model, is characterized in that, comprises the following steps:
Step 1: read in the original mist image I (x) that has;
Step 2: image mist elimination based on greasy weather imaging model I (x), the coordinate of putting on x presentation video, I (x) represents the image of observing, t (x) is the transmissivity that a scalar represents light, A represents the color of atmosphere light, J (x) true picture recovering of indicating;
I (x)=J (x) t (x) R+ (1-t (x)) A formula one
R is decomposed along both direction, is respectively A direction and perpendicular to A direction; Residual vector after A Directional Decomposition is represented with R':
Wherein,
r is a three-dimensional RGB vector, presentation surface reflection coefficient, and R' represents that R is along the component of A Directional Decomposition; L (x) is a scalar, represents how much catoptrically from body surface, l'(x) represents that l (x) is along the component of A Directional Decomposition;
Wherein, transmissivity t (x) is based on following formula:
Wherein, η is based on following formula:
Wherein
c
Ω(I
a, h) and C
Ω(I
r', h) represent respectively I
awith h and I
r'covariance with h;
Step 3: obtain transmissivity t (x) value based on formula four and formula three, and t (x) is normalized:
Therefore, tool of the present invention has the following advantages: 1, can effectively process coloured image and also can process gray level image; 2, algorithm process effect is better, and the brighter part of light can both clearly show, and there is no distortion; 3, for asking transmissivity t (x), the normalized that the utilization of this algorithm is comparatively easy, can either effectively solve problem of dtmf distortion DTMF, makes clear picture, again can shortcut calculation, improve image processing speed.
Accompanying drawing explanation
Fig. 1 is method flow schematic diagram of the present invention.
Fig. 2 is the pending original mist image one that has in the embodiment of the present invention.
Fig. 3 be after processing in the embodiment of the present invention, obtain without mist image one.
Fig. 4 is the pending original mist image two that has in the embodiment of the present invention.
Fig. 5 is the result of a kind of image defogging method capable of non-use the present invention.
Fig. 6 is this method result.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is described in further detail.
Embodiment:
One, first, set forth the method applied in the present invention: the physical model of propagating in the greasy weather according to light, as follows to atmospheric scattering model description:
I(x)=J(x)t(x)+(1-t(x))×A
The coordinate of putting on x presentation video, I (x) represents the image observe, and t (x) is a scalar, represents the transmissivity of light, and A represents the color of atmosphere light, J (x) true picture recovering of indicating.
To formula, rewrite as follows:
I(x)=t(x)l(x)R+(1-t(x))A
J=R*l wherein, R is a three-dimensional RGB vector, presentation surface reflection coefficient; L is a scalar, represents how much catoptrical from body surface.
Step 1: will have mist image to read in, and be designated as I (x).
Step 2: think that atmosphere light color is certain value, in this example, suppose its value for [0.8,0.8,0.9] '
Step 3: R is decomposed along both direction, is respectively A direction and perpendicular to A direction.Residual vector after A Directional Decomposition is represented with R'.
Can obtain formula:
Step 4: make l'(x)=l (x) R', has:
Again
Above formula becomes:
Step 5: order
Have:
Step 6: I (x), also along A direction and vertical A Directional Decomposition, is obtained:
Step 7: because I (x)
2=I
a(x)
2+ I
r'(x)
2,
:
Like this, mist elimination work has just become and has asked η.
Step 8: think that these two amounts of t and l are separate, covariance is 0.Consider
Define a new variables h, and order
Step 9::
We have just obtained the expression formula of η in normal albedo situation like this, and this is the form of a ratio, make the meaningful certain assurance C of η
Ω(I
r', be not h) 0.
Step 10: t (x) is normalized.
Step 11: obtain after the expression formula of η, can draw final J (x) according to formula.
Two, Fig. 1 and Fig. 4 are the pending original mist image that has; Fig. 2 and Fig. 6 are the pending original mist image that has in the embodiment of the present invention; Fig. 5 is the result of a kind of image defogging method capable of non-use the present invention; From result contrast, can find out: the present invention can effectively process coloured image also can process gray level image, the brighter part of light can both clearly be shown, and there is no distortion.
Specific embodiment described herein is only to the explanation for example of the present invention's spirit.Those skilled in the art can make various modifications or supplement or adopt similar mode to substitute described specific embodiment, but can't depart from spirit of the present invention or surmount the defined scope of appended claims.
Claims (1)
1. the single image defogging method capable based on greasy weather imaging model, is characterized in that, comprises the following steps:
Step 1: read in the original mist image I (x) that has;
Step 2: image mist elimination based on greasy weather imaging model I (x), the coordinate of putting on x presentation video, I (x) represents the image of observing, t (x) is the transmissivity that a scalar represents light, A represents the color of atmosphere light, J (x) true picture recovering of indicating;
I (x)=J (x) t (x) R+ (1-t (x)) A formula one
R is decomposed along both direction, is respectively A direction and perpendicular to A direction; Residual vector after A Directional Decomposition is represented with R':
Wherein,
r is a three-dimensional RGB vector, presentation surface reflection coefficient, and R' represents that R is along the component of A Directional Decomposition; L (x) is a scalar, represents how much catoptrically from body surface, l'(x) represents that l (x) is along the component of A Directional Decomposition;
Wherein, transmissivity t (x) is based on following formula:
Wherein, η is based on following formula:
Wherein
c
Ω(I
a, h) and C
Ω(I
r', h) represent respectively I
awith h and I
r'covariance with h;
Step 3: obtain transmissivity t (x) value based on formula four and formula three, and t (x) is normalized:
And transmissivity t' and formula one based on after adjusting, according to formula, draw final J (x):
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410436143.7A CN104200435A (en) | 2014-08-29 | 2014-08-29 | Single-image defogging method based on fog imaging model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410436143.7A CN104200435A (en) | 2014-08-29 | 2014-08-29 | Single-image defogging method based on fog imaging model |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104200435A true CN104200435A (en) | 2014-12-10 |
Family
ID=52085721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410436143.7A Pending CN104200435A (en) | 2014-08-29 | 2014-08-29 | Single-image defogging method based on fog imaging model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104200435A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104809711A (en) * | 2015-05-14 | 2015-07-29 | 西安近代化学研究所 | Method for processing video image of plume smog of solid propellant |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102170574A (en) * | 2011-05-23 | 2011-08-31 | 北京工业大学 | Real-time video defogging system |
CN102243758A (en) * | 2011-07-14 | 2011-11-16 | 浙江大学 | Fog-degraded image restoration and fusion based image defogging method |
CN102968772A (en) * | 2012-12-04 | 2013-03-13 | 电子科技大学 | Image defogging method based on dark channel information |
CN103747213A (en) * | 2014-01-15 | 2014-04-23 | 北京工业大学 | Traffic monitoring video real-time defogging method based on moving targets |
-
2014
- 2014-08-29 CN CN201410436143.7A patent/CN104200435A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102170574A (en) * | 2011-05-23 | 2011-08-31 | 北京工业大学 | Real-time video defogging system |
CN102243758A (en) * | 2011-07-14 | 2011-11-16 | 浙江大学 | Fog-degraded image restoration and fusion based image defogging method |
CN102968772A (en) * | 2012-12-04 | 2013-03-13 | 电子科技大学 | Image defogging method based on dark channel information |
CN103747213A (en) * | 2014-01-15 | 2014-04-23 | 北京工业大学 | Traffic monitoring video real-time defogging method based on moving targets |
Non-Patent Citations (2)
Title |
---|
RAANAN FATTAL: "Single Image Dehazing", 《ACM TRANSACTIONS ON GRAPHICS》 * |
冯新沪等: "《近红外光谱及其在石油产品分析中的应用》", 31 July 2002 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104809711A (en) * | 2015-05-14 | 2015-07-29 | 西安近代化学研究所 | Method for processing video image of plume smog of solid propellant |
CN104809711B (en) * | 2015-05-14 | 2017-07-04 | 西安近代化学研究所 | Solid propellant plume smog method of video image processing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102750674B (en) | Video image defogging method based on self-adapting allowance | |
CN102831591B (en) | Gaussian filter-based real-time defogging method for single image | |
CN112132958B (en) | Underwater environment three-dimensional reconstruction method based on binocular vision | |
CN102768760A (en) | Quick image dehazing method on basis of image textures | |
CN104050637A (en) | Quick image defogging method based on two times of guide filtration | |
CN103020914B (en) | Based on the rapid image defogging method capable of spatial continuity principle | |
CN105225210A (en) | A kind of self-adapting histogram based on dark strengthens defogging method capable | |
CN101783012A (en) | Automatic image defogging method based on dark primary colour | |
CN110211067B (en) | Defogging method for UUV visible light image on offshore surface | |
CN104751421B (en) | A kind of image defogging method realized on FPGA | |
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 | |
CN105139347A (en) | Polarized image defogging method combined with dark channel prior principle | |
CN106548461A (en) | Image defogging method | |
CN108492259A (en) | A kind of image processing method and image processing system | |
CN103914820A (en) | Image haze removal method and system based on image layer enhancement | |
Cheng et al. | Visibility enhancement of single hazy images using hybrid dark channel prior | |
CN111598814B (en) | Single image defogging method based on extreme scattering channel | |
CN105023246B (en) | A kind of image enchancing method based on contrast and structural similarity | |
CN106780362B (en) | Road video defogging method based on dichromatic reflection model and bilateral filtering | |
CN103778605A (en) | Greasy weather image enhancement method | |
CN107085830B (en) | Single image defogging method based on propagation filtering | |
CN111476736A (en) | Image defogging method, terminal and system | |
CN113487509B (en) | Remote sensing image fog removal method based on pixel clustering and transmissivity fusion | |
CN104091306A (en) | Image defogging method based on mathematic morphology and multi-resolution fusion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141210 |
|
RJ01 | Rejection of invention patent application after publication |