CN105139358A - Video raindrop removing method and system based on combination of morphology and fuzzy C clustering - Google Patents

Video raindrop removing method and system based on combination of morphology and fuzzy C clustering Download PDF

Info

Publication number
CN105139358A
CN105139358A CN201510539855.6A CN201510539855A CN105139358A CN 105139358 A CN105139358 A CN 105139358A CN 201510539855 A CN201510539855 A CN 201510539855A CN 105139358 A CN105139358 A CN 105139358A
Authority
CN
China
Prior art keywords
raindrop
pixel
fuzzy
video
district
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510539855.6A
Other languages
Chinese (zh)
Inventor
朱青松
李佳恒
王磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
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 Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201510539855.6A priority Critical patent/CN105139358A/en
Publication of CN105139358A publication Critical patent/CN105139358A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a video raindrop removing method and system based on the combination of morphology and fuzzy C clustering, comprising the steps of: first, obtaining the gray scale intensity sequence at a video frame sequence corresponding pixel position in a video image; according to the gray scale intensity sequence, dividing pixels into a raindrop kind and a background kind by utilizing a fuzzy C-means algorithm; calculating length-width ratios corresponding to rain lines in the raindrop kind and the background kind by utilizing raindrop morphological characteristics; distinguishing a raindrop area and a moving target area according to the length-width ratios, determining a pixel to be the raindrop area if the length-width ratio of pixels of the background kind is greater, or else determining the pixel to be the moving target area; further removing moving objects; obtaining polluted pixels according to a detection result; and finally replacing the pixels detected to be polluted by raindrops with the mixed value between the raindrops and a background color to remove raindrops, thereby accurately and effectively removing raindrops, and improving the adaptability of a rain-removing algorithm.

Description

The video raindrop minimizing technology of a kind of combining form and fuzzy C-means clustering and system thereof
Technical field
The present invention relates to technical field of image processing, particularly relate to video raindrop minimizing technology and the system thereof of a kind of combining form and fuzzy C-means clustering.
Background technology
Rain has a great impact image imaging, and image image blur and information can be caused to cover, and its direct result is that the sharpness of video image declines, the digitized processing of video image also can by this affects hydraulic performance decline.Carry out to the video image polluted by raindrop the further process that repair process is conducive to image, the performance comprised based on technology such as the target detection of image, identification, tracking, segmentation and monitoring improves.And video image goes rain technology all to have wide practical use in fields such as modern military, traffic and security monitorings.
About in video image, the research of raindrop characteristic has been subject to the extensive concern of international academic community, go the research of rain algorithm also from (StarikS such as Starik in 2003, WermanM.Simulationofraininvideos [C] ProceedingofTextureWorkshop, ICCV.Nice, France:2003, median method 2:406-409) proposed starts to obtain and develops rapidly, the method of process has no longer been confined to initial simple median calculation, the degree of bias calculates, K mean cluster, Kalman filtering, dictionary learning and sparse coding, guide filtering, interframe luminance difference, HSV space, optical flow method, a lot of method such as motion segmentation also starts to be applied in raindrop in video image gradually and detects with the algorithm removed, the effect that raindrop are removed also is enhanced gradually.The interframe luminance difference that Garg etc. propose to utilize raindrop to bring at first carries out raindrop initial survey, then the rectilinearity of the raindrop feature consistent with direction is utilized to screen further, finally remove raindrop impact according to the pixel intensity of front and back frame, the raindrop that raindrop do not cover in sequential frame image situation can be met preferably and detect and remove; The influence of color that raindrop bring to pixel is taken into account by Zhang etc., thus improve raindrop detect accuracy, improve based on brightness change remove the effect of rain algorithm on coloured image; The brightness impact of raindrop and influence of color are applied in the algorithm by Liu etc. simultaneously, detect raindrop and remove with two frames; Tripathi etc. first study the probabilistic statistical characteristics of raindrop pixel intensity change, and the symmetry then utilizing raindrop pixel intensity change realizes raindrop and detects, only based on time domain and in addition the affecting of consideration locus time effect incomplete same; First Kang etc. utilize bilateral filtering that rain figure is divided into HFS and low frequency part, and process further HFS and obtain non-rain composition, obtain rain figure in conjunction with low frequency part; First Huang etc. utilize context to retrain to carry out Iamge Segmentation, and utilize context-aware to carry out single image to remove rain, and propose innovatory algorithm on this basis, first used super complete dictionary and process HFS in literary composition.
Particularly recent years, the study hotspot that video image goes rain technology to become new.How ensureing that the prerequisite of high robust is rained the accuracy rate and real-time that improve and go, it is the focus that current video image goes to rain field.So we propose on this basis a kind of utilize gauss hybrid models to improve effectively go rain method.Program image goes rain algorithm to have very high accuracy, has more robustness.
In the algorithm of current existence, be applied to static scene video raindrop and detect the achievement in research having comparatively maturation with the algorithm removed, but when being applied on the video in dynamic scene, algorithm, it is considered that there is the interference that moving object brings in video, cannot reach desirable Detection results for the moving object not high with raindrop characteristic difference degree.
Summary of the invention
Based on this, the invention provides the video raindrop minimizing technology of a kind of combining form and fuzzy C-means clustering, effectively to solve prior art Problems existing.
The video raindrop minimizing technology providing a kind of combining form and fuzzy C-means clustering can not be invented, comprise the steps:
Obtain the gray-scale intensity sequence on sequence of frames of video respective pixel position in video image;
According to described gray-scale intensity sequence, utilize Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes;
Raindrop morphological characteristic is utilized to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes;
According to described length breadth ratio difference raindrop district and moving target district, if the length breadth ratio of the pixel of background classes is large, be then judged as raindrop district, otherwise this pixel is moving target district;
Raindrop district obtained above is deducted moving target district and obtains pure raindrop region;
The pixel polluted by raindrop is extracted in described pure raindrop region;
Detect that the pixel polluted by raindrop realizes the removal of raindrop by replacing by the mixed number between raindrop and background colour.
In certain embodiments, wherein, obtain the gray-scale intensity sequence on sequence of frames of video respective pixel position in video image, comprise the steps:
What produce when building formula quantitative description raindrop whereabouts is fuzzy,
I r ( x , y ) = ∫ 0 τ E r ( x , y ) d t + ∫ τ T E b ( x , y ) d t = αI E ( x , y ) + ( 1 - α ) I b ( x , y )
I r(x, y) represents the pixel intensity of location of pixels (x, y), and τ represents that raindrop fell through the time required for location of pixels (x, y), and T is the camera exposure time, E r(x, y) represents the irradiance of raindrop through location of pixels (x, y), E bthe average irradiance that (x, y) is background pixel;
According to described pixel intensity, the pixel of image sequence in described video image is divided into background classes and rain belt class.
In certain embodiments, wherein, according to described gray-scale intensity sequence, utilize Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes, specifically comprise the steps:
Objective definition function is:
J ( U , V ) = Σ i = 1 n Σ j = 1 c μ i j m d 2 ( x i , v j )
Wherein, smoothing factor m controls and shares degree between fuzzy class, and the optimum valuing range of m is [1.5,2.5], for subordinated-degree matrix, meet Σ j = 1 c μ i j = 1 , V = { v 1 , v 2 , ... v c } For the set of C cluster centre, d (x i, v j) be the Euclidean distance of i-th sample to a jth cluster, the criterion of cluster generally gets the minimal value of objective function J (U, V);
Lagrange multiplier is adopted to solve above-mentioned formula as follows:
F = Σ j = 1 c μ i j m · d i j 2 + λ ( Σ j = 1 c μ i j - 1 )
Adopt optimization first order necessary condition, following iteration optimization formula can be obtained:
μ i j = ( d i j 2 ) - 1 / ( m - 1 ) / Σ k = 1 c ( d k j 2 ) - 1 / ( m - 1 ) , ν j = k = Σ k = 1 c μ i k m x k / Σ k = 1 n μ i j m
Described optimization first order necessary condition is:
Based on above-mentioned iterationization excellent formula, pixel is divided into raindrop class and background classes.
In certain embodiments, wherein, utilize raindrop morphological characteristic to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes, be specially:
Build the final speed v of raindrop and the relational expression of diameter d, be designated as:
v(d)=-0.2+0.5d-0.9d 2+0.1d 3
Wherein, b ( d , z ) = d f z , l ( d , z ) = v ( d ) e f z + d f z ;
According to above-mentioned relation formula, calculate the scope of length breadth ratio corresponding to rain line:
A R ( d ) = l ( d , z ) b ( d , z ) = v ( d ) e d + 1
Wherein, the diameter of raindrop is d, and the distance of raindrop and camera is the focal length that the parameter list of z and camera shows the length l of a rain line and width b, f and represents camera, and e represents the time shutter of camera.
In certain embodiments, in described pure raindrop region, extract the pixel polluted by raindrop, be specially:
In described pure raindrop region, come to distinguish with other fast moving objects according to the rectilinearity of raindrop, finally draw the pixel polluted by raindrop.
In certain embodiments, detecting that the pixel polluted by raindrop realizes the removal of raindrop by replacing by the mixed number between raindrop and background colour, being specially:
The pixel of alternative raindrop is set to I mix, make I mix=α I bcenter+ (1-α) I rcenter, wherein α is the weight that in background colour B, number accounts for total number k.
The video raindrop that present invention also offers a kind of combining form and fuzzy C-means clustering on the other hand remove system, comprising:
Gray-scale intensity sequence units, obtains the gray-scale intensity sequence on sequence of frames of video respective pixel position in video image;
Fuzzy C-means clustering unit, according to described gray-scale intensity sequence, utilizes Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes;
Raindrop length breadth ratio computing unit, utilizes raindrop morphological characteristic to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes;
Pixel discrimination unit, according to described length breadth ratio difference raindrop district and moving target district, if the length breadth ratio of the pixel of background classes is large, be then judged as raindrop district, otherwise this pixel is moving target district;
Pure raindrop unit, the raindrop district obtained by above-mentioned initial survey deducts moving target district and obtains pure raindrop region;
Pixel extraction unit, extracts the pixel polluted by raindrop in described pure raindrop region;
By replacing by the mixed number between raindrop and background colour, raindrop removal unit, detects that the pixel polluted by raindrop realizes the removal of raindrop.
The present invention adopts technique scheme to have following beneficial effect:
The video raindrop minimizing technology of a kind of combining form provided by the invention and fuzzy C-means clustering and system, first the gray-scale intensity sequence in video image on sequence of frames of video respective pixel position is obtained, according to described gray-scale intensity sequence, utilize Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes, raindrop morphological characteristic is utilized to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes, according to described length breadth ratio difference raindrop district and moving target district, if the length breadth ratio of the pixel of background classes is large, then be judged as raindrop district, otherwise this pixel is moving target district, thus get rid of moving object further, contaminated pixel is obtained again according to testing result, detect that the pixel polluted by raindrop realizes the removal of raindrop finally by replacing by the mixed number between raindrop and background colour, thus raindrop can be removed accurately and effectively, improve the adaptability of rain algorithm.
In addition, the video raindrop minimizing technology of a kind of combining form provided by the invention and fuzzy C-means clustering and system, utilize α to mix and carry out raindrop removal, ensure that raindrop can not leave sharp-pointed edge after removing, add the robustness of algorithm.
Accompanying drawing explanation
The flow chart of steps of the video raindrop minimizing technology of the combining form that Fig. 1 provides for the embodiment of the present invention and fuzzy C-means clustering;
Fig. 2 is video image grey level histogram;
The video raindrop of the combining form that Fig. 3 provides for the embodiment of the present invention and fuzzy C-means clustering remove the structural representation of system.
Embodiment
For the ease of understanding the present invention, below with reference to relevant drawings, the present invention is described more fully.Better embodiment of the present invention is given in accompanying drawing.These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Unless otherwise defined, all technology used herein and scientific terminology are identical with belonging to the implication that those skilled in the art of the present invention understand usually.The object of term used in the description of the invention herein just in order to describe concrete embodiment, is not intended to be restriction the present invention.Term as used herein " and/or " comprise arbitrary and all combinations of one or more relevant Listed Items.
Refer to Fig. 1, the flow chart of steps of the video raindrop minimizing technology of the combining form that the embodiment of the present invention provides and fuzzy C-means clustering, comprises the steps:
Step S110: obtain the gray-scale intensity sequence on sequence of frames of video respective pixel position in video image;
Preferably, obtain the gray-scale intensity sequence on sequence of frames of video respective pixel position in video image, comprise the steps:
What produce when building formula quantitative description raindrop whereabouts is fuzzy,
I r ( x , y ) = ∫ 0 τ E r ( x , y ) d t + ∫ τ T E b ( x , y ) d t = αI E ( x , y ) + ( 1 - α ) I b ( x , y )
I r(x, y) represents the pixel intensity of location of pixels (x, y), and τ represents that raindrop fell through the time required for location of pixels (x, y), and T is the camera exposure time, E r(x, y) represents the irradiance of raindrop through location of pixels (x, y), E bthe average irradiance that (x, y) is background pixel;
According to described pixel intensity, the pixel of image sequence in described video image is divided into background classes and rain belt class.
Be appreciated that, because raindrop falling speed is fast, under normal exposure speed, image does not observe spherical raindrop, but the rain line that raindrop are formed due to rapid movement. under physical environment, above-mentioned formula can describe the physics imaging process of raindrop, and can quantitative description raindrop fall time produce fuzzy.
Be appreciated that the time domain specification according to raindrop, by the background light intensity that rain band covers, much larger than the light intensity of background itself.Therefore, in the static scene of Still Camera picked-up, if certain pixel was covered by rain, its light intensity histogram, refer to Fig. 2 and just there are two peaks, a light distribution (the dotted line left side) representing background, a light distribution (on the right of dotted line) representing raindrop.And if a certain pixel is not covered by raindrop in whole video, its light intensity histogram only has a peak representing background light distribution.For a certain pixel, according to light intensity property of the histogram, just the pixel of image sequence in whole video can be divided into two classes: background classes and rain belt class.
Step S120: according to described gray-scale intensity sequence, utilizes Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes;
Preferably, above-mentionedly specifically to comprise the steps:
Objective definition function is:
J ( U , V ) = Σ i = 1 n Σ j = 1 c μ i j m d 2 ( x i , v j )
Wherein, smoothing factor m controls and shares degree between fuzzy class, and the span of m is [1.5,2.5], for subordinated-degree matrix, meet Σ j = 1 c μ i j = 1 , V = { v 1 , v 2 , ... v c } For the set of C cluster centre, d (x i, v j) be the Euclidean distance of i-th sample to a jth cluster, the criterion of cluster generally gets the minimal value of objective function J (U, V);
Lagrange multiplier is adopted to solve above-mentioned formula as follows:
F = Σ j = 1 c μ i j m · d i j 2 + λ ( Σ j = 1 c μ i j - 1 )
Adopt optimization first order necessary condition, following iteration optimization formula can be obtained:
μ i j = ( d i j 2 ) - 1 / ( m - 1 ) / Σ k = 1 c ( d k j 2 ) - 1 / ( m - 1 ) , ν j = k = Σ k = 1 c μ i k m x k / Σ k = 1 n μ i j m .
Described optimization first order necessary condition is:
Based on above-mentioned iterationization excellent formula, pixel is divided into raindrop class and background classes.
Be appreciated that FCM Algorithms is the fuzzy clustering method of based target function, be summed up as the nonlinear programming problem of a belt restraining by cluster, obtained the fuzzy division of data set by Optimization Solution; The whole computation process of C fuzzy clustering algorithm is exactly improvement cluster centre repeatedly and cluster subordinated-degree matrix, is finally summed up as and solves a nonlinear optimal problem.
Step S130: utilize raindrop morphological characteristic to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes;
Preferably, utilize raindrop morphological characteristic to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes, be specially:
Build the final speed v of raindrop and the relational expression of diameter d, be designated as:
v(d)=-0.2+0.5d-0.9d 2+0.1d 3
Wherein, b ( d , z ) = d f z , l ( d , z ) = v ( d ) e f z + d f z ;
According to above-mentioned relation formula, calculate the scope of length breadth ratio corresponding to rain line:
A R ( d ) = l ( d , z ) b ( d , z ) = v ( d ) e d + 1
Wherein, the diameter of raindrop is d, and the distance of raindrop and camera is the focal length that the parameter list of z and camera shows the length l of a rain line and width b, f and represents camera, and e represents the time shutter of camera.
Can find out, under rain the ratio of width to height of line only depend on diameter and the time shutter of raindrop, this also shows that the shorter camera exposure time can cause the stretching that visible rain line is lower, has nothing to do with the distance of raindrop and camera, other parameter of camera.
In practice, suppose concerning camera in the same circumstances minimum the and full-size of visible raindrop be respectively 0.1mm and 3mm, the time shutter of camera is 16ms, and so we can obtain the aspect ratio range 47<AR<52 of a rain line.If the time shutter of camera is unknown, we can suppose that it is between conventional camera exposure time range 1-40ms, so can draw the aspect ratio range 3.5<AR<95 of rain line.
Step S140: according to described length breadth ratio difference raindrop district and moving target district, if the length breadth ratio of the pixel of background classes is large, be then judged as raindrop district, otherwise this pixel is moving target district;
Be appreciated that and can find out that raindrop have larger the ratio of width to height according to the shape attribute of raindrop.Object and the raindrop of motion can be distinguished based on this point, thus the scene containing moving object can be processed.If the length breadth ratio of foreground pixel is comparatively large, be then judged as raindrop district, otherwise this pixel is moving target district.The object that the method can well reduce motion detects and the impact of removing raindrop.
Step S150: raindrop district obtained above is deducted moving target district and obtains pure raindrop region;
Be appreciated that the raindrop region optics of frame difference method and raindrop and chromatic characteristic initial survey obtained, deduct the moving object region that optical flow method detects and obtain pure raindrop region.
Step S160: extract the pixel polluted by raindrop in described pure raindrop region;
Be appreciated that the fall trajectory due to raindrop is straight line, appear at projection plane when imaging with the form of rain line, therefore can come to distinguish with snow or other fast moving objects such as spray by the rectilinearity of raindrop, finally draw the pixel polluted by raindrop.
Step S170: detect that the pixel polluted by raindrop realizes the removal of raindrop by replacing by the mixed number between raindrop and background colour.
Preferably, detecting that the pixel polluted by raindrop realizes the removal of raindrop by replacing by the mixed number between raindrop and background colour, being specially:
The pixel of alternative raindrop is set to I mix, make I mix=α I bcenter+ (1-α) I rcenter, wherein α is the weight that in background colour B, number accounts for total number k.
Be appreciated that after successfully detecting rain belt, removal effect can be reached by the pixel replacing the raindrop detected by the mixed number between raindrop and background colour.According to statistical property, the pixel of alternative raindrop is set to I mix, make I mix=α I bcenter+ (1-α) I rcenter, wherein α is the weight that in background classes B, number accounts for total number k.Because at reservation background intensity values I bcenterbasis on, be mixed with the average intensity value I of raindrop rcenter, ensure that raindrop can not leave sharp-pointed edge after removing, serve level and smooth effect.
Refer to Fig. 3, the video raindrop that present invention also offers a kind of combining form and fuzzy C-means clustering remove system, comprising: gray-scale intensity sequence units 310, obtain the gray-scale intensity sequence on sequence of frames of video respective pixel position in video image; Fuzzy C-means clustering unit 320, according to described gray-scale intensity sequence, utilizes Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes; Raindrop length breadth ratio computing unit 330, utilizes raindrop morphological characteristic to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes; Pixel discrimination unit 340, according to described length breadth ratio difference raindrop district and moving target district, if the length breadth ratio of the pixel of background classes is large, be then judged as raindrop district, otherwise this pixel is moving target district; Pure raindrop unit 350, the raindrop district obtained by above-mentioned initial survey deducts moving target district and obtains pure raindrop region; Pixel extraction unit 360, extracts the pixel polluted by raindrop in described pure raindrop region; By replacing by the mixed number between raindrop and background colour, raindrop removal unit 370, detects that the pixel polluted by raindrop realizes the removal of raindrop.The detailed performing step of said system described in vide supra, here can repeat no more.
The video raindrop minimizing technology of a kind of combining form provided by the invention and fuzzy C-means clustering and system, first the gray-scale intensity sequence in video image on sequence of frames of video respective pixel position is obtained, according to described gray-scale intensity sequence, utilize Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes, raindrop morphological characteristic is utilized to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes, according to described length breadth ratio difference raindrop district and moving target district, if the length breadth ratio of the pixel of background classes is large, then be judged as raindrop district, otherwise this pixel is moving target district, thus get rid of moving object further, contaminated pixel is obtained again according to testing result, detect that the pixel polluted by raindrop realizes the removal of raindrop finally by replacing by the mixed number between raindrop and background colour, thus raindrop can be removed accurately and effectively, improve the adaptability of rain algorithm.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (7)

1. a video raindrop minimizing technology for combining form and fuzzy C-means clustering, is characterized in that, comprise the steps:
Obtain the gray-scale intensity sequence on sequence of frames of video respective pixel position in video image;
According to described gray-scale intensity sequence, utilize Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes;
Raindrop morphological characteristic is utilized to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes;
According to described length breadth ratio difference raindrop district and moving target district, if the length breadth ratio of the pixel of background classes is large, be then judged as raindrop district, otherwise this pixel is moving target district;
Raindrop district obtained above is deducted moving target district and obtains pure raindrop region;
The pixel polluted by raindrop is extracted in described pure raindrop region;
Detect that the pixel polluted by raindrop realizes the removal of raindrop by replacing by the mixed number between raindrop and background colour.
2. the video raindrop minimizing technology of combining form according to claim 1 and fuzzy C-means clustering, is characterized in that, wherein, obtains the gray-scale intensity sequence on sequence of frames of video respective pixel position in video image, comprises the steps:
What produce when building formula quantitative description raindrop whereabouts is fuzzy,
I r ( x , y ) = &Integral; 0 &tau; E r ( x , y ) d t + &Integral; &tau; T E b ( x , y ) d t = &alpha;I E ( x , y ) + ( 1 - &alpha; ) I b ( x , y )
I r(x, y) represents the pixel intensity of location of pixels (x, y), and τ represents that raindrop fell through the time required for location of pixels (x, y), and T is the camera exposure time, E r(x, y) represents the irradiance of raindrop through location of pixels (x, y), E bthe average irradiance that (x, y) is background pixel;
According to described pixel intensity, the pixel of image sequence in described video image is divided into background classes and rain belt class.
3. the video raindrop minimizing technology of combining form as claimed in claim 1 and fuzzy C-means clustering, it is characterized in that, wherein, according to described gray-scale intensity sequence, utilize Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes, specifically comprise the steps:
Objective definition function is:
J ( U , V ) = &Sigma; i = 1 n &Sigma; j = 1 c &mu; i j m d 2 ( x i , v j )
Wherein, smoothing factor m controls and shares degree between fuzzy class, and the span of m is [1.5,2.5], for subordinated-degree matrix, meet for the set of C cluster centre, d (x i, v j) be the Euclidean distance of i-th sample to a jth cluster, the criterion of cluster generally gets the minimal value of objective function J (U, V);
Lagrange multiplier is adopted to solve above-mentioned formula as follows:
F = &Sigma; j = 1 c &mu; i j m &CenterDot; d i j 2 + &lambda; ( &Sigma; j = 1 c &mu; i j - 1 )
Adopt optimization first order necessary condition, following iteration optimization formula can be obtained:
&mu; i j = ( d i j 2 ) - 1 / ( m - 1 ) / &Sigma; k = 1 c ( d k j 2 ) - 1 / ( m - 1 ) , &nu; j = k = &Sigma; k = 1 c &mu; i k m x k / &Sigma; k = 1 n &mu; i j m
Described optimization first order necessary condition is: &mu; i j = ( d i j 2 ) - 1 / ( m - 1 ) / &Sigma; k = 1 c - ( d k j 2 ) - 1 / ( m - 1 ) , &nu; j = k = &Sigma; k = 1 c &mu; i k m x k / &Sigma; k = 1 n &mu; i j m , j = 1 , 2 , ... , c . ;
Based on above-mentioned iterationization excellent formula, pixel is divided into raindrop class and background classes.
4. the video raindrop minimizing technology of combining form as claimed in claim 1 and fuzzy C-means clustering, is characterized in that, wherein, utilizes raindrop morphological characteristic to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes, is specially:
Build the final speed v of raindrop and the relational expression of diameter d, be designated as:
v(d)=-0.2+0.5d-0.9d 2+0.1d 3
Wherein, b ( d , z ) = d f z , l ( d , z ) = v ( d ) e f z + d f z ;
According to above-mentioned relation formula, calculate the scope of length breadth ratio corresponding to rain line:
A R ( d ) = l ( d , z ) b ( d , z ) = v ( d ) e d + 1
Wherein, the diameter of raindrop is d, and the distance of raindrop and camera is the focal length that the parameter list of z and camera shows the length l of a rain line and width b, f and represents camera, and e represents the time shutter of camera.
5. the video raindrop minimizing technology of combining form as claimed in claim 1 and fuzzy C-means clustering, is characterized in that, extracts the pixel polluted by raindrop, be specially in described pure raindrop region:
In described pure raindrop region, come to distinguish with other fast moving objects according to the rectilinearity of raindrop, finally draw the pixel polluted by raindrop.
6. the video raindrop minimizing technology of combining form as claimed in claim 1 and fuzzy C-means clustering, is characterized in that, detecting that the pixel polluted by raindrop realizes the removal of raindrop, being specially by replacing by the mixed number between raindrop and background colour:
The pixel of alternative raindrop is set to I mix, make I mix=α I bcenter+ (1-α) I rcenter, wherein α is the weight that in background colour B, number accounts for total number k.
7. the video raindrop of combining form and fuzzy C-means clustering remove a system, it is characterized in that, comprising:
Gray-scale intensity sequence units, obtains the gray-scale intensity sequence on sequence of frames of video respective pixel position in video image;
Fuzzy C-means clustering unit, according to described gray-scale intensity sequence, utilizes Fuzzy C-Means Cluster Algorithm that pixel is divided into raindrop class and background classes;
Raindrop length breadth ratio computing unit, utilizes raindrop morphological characteristic to calculate length breadth ratio corresponding to rain line in described raindrop class and background classes;
Pixel discrimination unit, according to described length breadth ratio difference raindrop district and moving target district, if the length breadth ratio of the pixel of background classes is large, be then judged as raindrop district, otherwise this pixel is moving target district;
Pure raindrop unit, the raindrop district obtained by above-mentioned initial survey deducts moving target district and obtains pure raindrop region;
Pixel extraction unit, extracts the pixel polluted by raindrop in described pure raindrop region;
By replacing by the mixed number between raindrop and background colour, raindrop removal unit, detects that the pixel polluted by raindrop realizes the removal of raindrop.
CN201510539855.6A 2015-08-28 2015-08-28 Video raindrop removing method and system based on combination of morphology and fuzzy C clustering Pending CN105139358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510539855.6A CN105139358A (en) 2015-08-28 2015-08-28 Video raindrop removing method and system based on combination of morphology and fuzzy C clustering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510539855.6A CN105139358A (en) 2015-08-28 2015-08-28 Video raindrop removing method and system based on combination of morphology and fuzzy C clustering

Publications (1)

Publication Number Publication Date
CN105139358A true CN105139358A (en) 2015-12-09

Family

ID=54724691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510539855.6A Pending CN105139358A (en) 2015-08-28 2015-08-28 Video raindrop removing method and system based on combination of morphology and fuzzy C clustering

Country Status (1)

Country Link
CN (1) CN105139358A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678336A (en) * 2016-01-07 2016-06-15 吴绍根 Method for judging convex figure shape similarity in digital image
CN107657593A (en) * 2017-04-20 2018-02-02 湘潭大学 A kind of removing rain based on single image method
CN111062394A (en) * 2019-11-18 2020-04-24 济南大学 Fuzzy clustering color image segmentation method based on multi-channel weighting guide filtering
CN111353954A (en) * 2020-02-20 2020-06-30 新疆大学 Video image processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254149A (en) * 2011-06-13 2011-11-23 南京航空航天大学 Method for detecting and identifying raindrops in video image
CN103714517A (en) * 2013-12-12 2014-04-09 中国科学院深圳先进技术研究院 Video rain removing method
CN104484865A (en) * 2014-12-31 2015-04-01 中国科学院深圳先进技术研究院 Method for removing raindrops in video image
CN104537622A (en) * 2014-12-31 2015-04-22 中国科学院深圳先进技术研究院 Method and system for removing raindrop influence in single image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254149A (en) * 2011-06-13 2011-11-23 南京航空航天大学 Method for detecting and identifying raindrops in video image
CN103714517A (en) * 2013-12-12 2014-04-09 中国科学院深圳先进技术研究院 Video rain removing method
CN104484865A (en) * 2014-12-31 2015-04-01 中国科学院深圳先进技术研究院 Method for removing raindrops in video image
CN104537622A (en) * 2014-12-31 2015-04-22 中国科学院深圳先进技术研究院 Method and system for removing raindrop influence in single image

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
朱志超等: "一种雨景视频图像的复原方法", 《合肥工业大学学报》 *
胡巍等: "基于FCM的雨天视频图像复原", 《通信技术》 *
蔡志祥等: "一种雨景视频图像的复原方法", 《电子测量与仪器学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678336A (en) * 2016-01-07 2016-06-15 吴绍根 Method for judging convex figure shape similarity in digital image
CN105678336B (en) * 2016-01-07 2018-08-24 吴绍根 A method of judgement digital picture convexity geometric figure shape similarity
CN107657593A (en) * 2017-04-20 2018-02-02 湘潭大学 A kind of removing rain based on single image method
CN107657593B (en) * 2017-04-20 2021-07-27 湘潭大学 Rain removing method for single image
CN111062394A (en) * 2019-11-18 2020-04-24 济南大学 Fuzzy clustering color image segmentation method based on multi-channel weighting guide filtering
CN111353954A (en) * 2020-02-20 2020-06-30 新疆大学 Video image processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN104392468B (en) Based on the moving target detecting method for improving visual background extraction
CN105404847B (en) A kind of residue real-time detection method
US8457360B2 (en) Detection of vehicles in an image
CN105427626B (en) A kind of statistical method of traffic flow based on video analysis
CN101447082B (en) Detection method of moving target on a real-time basis
CN102307274B (en) Motion detection method based on edge detection and frame difference
CN105205791A (en) Gaussian-mixture-model-based video raindrop removing method and system
CN103258332B (en) A kind of detection method of the moving target of resisting illumination variation
CN104978567B (en) Vehicle checking method based on scene classification
CN103955949B (en) Moving target detecting method based on Mean-shift algorithm
CN105404857A (en) Infrared-based night intelligent vehicle front pedestrian detection method
CN109918971B (en) Method and device for detecting number of people in monitoring video
CN105046677A (en) Enhancement processing method and apparatus for traffic video image
CN103679704B (en) Video motion shadow detecting method based on lighting compensation
CN106204594A (en) A kind of direction detection method of dispersivity moving object based on video image
CN101299268A (en) Semantic object dividing method suitable for low depth image
CN104123734A (en) Visible light and infrared detection result integration based moving target detection method
CN104598929A (en) HOG (Histograms of Oriented Gradients) type quick feature extracting method
CN106991686A (en) A kind of level set contour tracing method based on super-pixel optical flow field
CN105303581A (en) Adaptive parameter moving target detection method
CN105139358A (en) Video raindrop removing method and system based on combination of morphology and fuzzy C clustering
Lian et al. A novel method on moving-objects detection based on background subtraction and three frames differencing
CN105335949A (en) Video image rain removal method and system
CN106570885A (en) Background modeling method based on brightness and texture fusion threshold value
CN105046670A (en) Image rain removal method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20151209