CN101865859B - Detection method and device for image scratch - Google Patents

Detection method and device for image scratch Download PDF

Info

Publication number
CN101865859B
CN101865859B CN200910133800XA CN200910133800A CN101865859B CN 101865859 B CN101865859 B CN 101865859B CN 200910133800X A CN200910133800X A CN 200910133800XA CN 200910133800 A CN200910133800 A CN 200910133800A CN 101865859 B CN101865859 B CN 101865859B
Authority
CN
China
Prior art keywords
cut
image
point
interval
imaginary part
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.)
Expired - Fee Related
Application number
CN200910133800XA
Other languages
Chinese (zh)
Other versions
CN101865859A (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.)
University of Science and Technology of China USTC
Huawei Technologies Co Ltd
Original Assignee
University of Science and Technology of China USTC
Huawei Technologies Co Ltd
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 University of Science and Technology of China USTC, Huawei Technologies Co Ltd filed Critical University of Science and Technology of China USTC
Priority to CN200910133800XA priority Critical patent/CN101865859B/en
Publication of CN101865859A publication Critical patent/CN101865859A/en
Application granted granted Critical
Publication of CN101865859B publication Critical patent/CN101865859B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The embodiment of the invention discloses a detection method and a detection device for an image scratch. The method comprises the following steps of: projecting a single-color component in a two-dimensional image along a scratch direction to obtain the sum of single-dimensional scratch projection; calculating a filter function of pixel points according to a complex wavelet function; performing convolution on the sum of the filter function and the single-dimensional scratch projection to obtain a single-color multi-ridgelet coefficient, and calculating a fused multi-ridgelet coefficient of the image according to the single-color multi-ridgelet coefficient; and determining the edge of the scratch according to an imaginary part of the fused multi-ridgelet coefficient. The image is subjected to multi-ridgelet conversion so as to obtain the multi-ridgelet coefficient, and the precision of positioning the scratch can be improved by adopting the multi-ridgelet coefficient.

Description

A kind of detection method of image scratch and device
Technical field
The present invention relates to image processing field, relate in particular to a kind of detection method and device of image scratch.
Background technology
Along with the rise of digital television techniques, after being digitized, a large amount of film movies passes through media play.Since cinefilm through long-term storage with repeatedly play, exist the zone that degrades of types such as dust, mildew, cut, it is increasingly important therefore to detect and repair the film regional digital technology that degrades automatically.Wherein, The film cut is meant the silver granuel peeling phenomenon that wire distributes in the cinefilm; Normally by hard particle in that to be parallel on the direction of motion of cinefilm scraping caused, very little although the width of cut (about 1~5 pixel) is compared whole image, run through whole image often; Cause the discontinuous of video, influence the play quality of video image.Because during the film cut and occur in the adjacent locations of several two field pictures that link to each other, the time and completely random, so the detection of film cut is challenging.
Detect to the image scratch of film, existing Ridgelet (ridge ripple) conversion is applicable to the detection of straight line, therefore can be used for the cut of detected image, and present scratch detection all is to adopt real number Ridgelet conversion.
In realizing process of the present invention, the inventor finds:
The scheme of prior art can't accurately be oriented the scope of scored area, and promptly the degree of accuracy of the scope of the location scored area of prior art is very low.
Summary of the invention
The embodiment of the invention provides a kind of detection method and device of image scratch, to improve the degree of accuracy of location cut.
According to the one side of the embodiment of the invention, a kind of detection method of image scratch is provided, said method comprises:
Single color component in the two dimensional image is done projection along the cut direction, obtain the projection of one dimension cut with;
Filter function according to multiple wavelet function calculating pixel point; The real part of said multiple wavelet function adopts the second derivative form of Gaussian function; Be used for the matching detection cut, the imaginary part of said multiple wavelet function is the first order derivative of Gaussian function, is used to locate the edge of cut;
With said filter function and the projection of said one dimension cut with make convolution, obtain the multiple ridge wave system number of single color, count the multiple ridge wave system number of fusion of computed image according to the multiple ridge wave system of said single color;
Confirm the edge of cut according to the imaginary part of the multiple ridge wave system number of said fusion.
According to the embodiment of the invention on the other hand, a kind of pick-up unit of image scratch is provided, said device comprises:
Projection module is done projection with the single color component in the two dimensional image along the cut direction, obtain the projection of one dimension cut with;
Computing module; According to the filter function of multiple wavelet function calculating pixel point, the real part of said multiple wavelet function adopts the second derivative form of Gaussian function, is used for the matching detection cut; The imaginary part of said multiple wavelet function is the first order derivative of Gaussian function, is used to locate the edge of cut;
Processing module, with said filter function and the projection of said one dimension cut with make convolution, obtain the multiple ridge wave system number of single color, count the multiple ridge wave system number of fusion of computed image according to the multiple ridge wave system of said single color;
Operational module is confirmed the edge of cut according to the imaginary part of the multiple ridge wave system number of said fusion.
The embodiment of the invention obtains multiple Ridgelet coefficient through image being done plural Ridgelet conversion, confirms the edge of cut according to the imaginary part of the multiple ridge wave system number of said fusion, thereby can improve the degree of accuracy of location cut.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the detection method process flow diagram of the image scratch that provides of the embodiment of the invention one;
Fig. 2 is the synoptic diagram of the image scratch that provides of the embodiment of the invention two;
Fig. 3 is the detection method process flow diagram of the image scratch that provides of the embodiment of the invention two;
Fig. 4 is the detection method process flow diagram of the image scratch that provides of the embodiment of the invention three;
Fig. 5 is the method flow diagram of the false cut of the eliminating that provides of the embodiment of the invention four;
Fig. 6 is the detection method process flow diagram of the image scratch that provides of the embodiment of the invention five;
Fig. 7 be the embodiment of the invention five provide cut apart after overlapping subgraph piecemeal synoptic diagram;
Fig. 8 is the pick-up unit structural drawing of the image scratch that provides of the embodiment of the invention six;
Fig. 9 is the pick-up unit structural drawing of the another image scratch that provides of the embodiment of the invention six;
Figure 10 is the pick-up unit structural drawing of the image scratch again that provides of the embodiment of the invention six.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
For making technical scheme of the present invention and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
Embodiment one
As shown in Figure 1, the detection method process flow diagram of the image scratch that provides for the embodiment of the invention, this method comprises:
101: the single color component in the two dimensional image is done projection along the cut direction, obtain the projection of one dimension cut with;
102: according to the filter function of multiple wavelet function calculating pixel point;
103: with filter function and the projection of one dimension cut with make convolution, obtain the multiple ridge wave system number of single color, count the multiple ridge wave system number of fusion of computed image according to the multiple ridge wave system of single color;
104: the edge of confirming cut according to the imaginary part that merges multiple ridge wave system number.
The method that provides through present embodiment; Image is done plural Ridgelet conversion obtain multiple Ridgelet coefficient; Wherein, the position and the intensity of the Gray Level Jump of the imaginary part extreme point correspondence image of multiple Ridgelet coefficient can be used for the cut edge and the vertical location of image border; And the phase information of the multiple Ridgelet coefficient that combination imaginary part coefficient and real part coefficient obtain then can be used to distinguish the edge of vertical cut and vertical step, thereby finally can improve the degree of accuracy of location cut.
Embodiment two
In practical application because image scratch shows as near normal (angle of inclination<5 °), so present embodiment with image scratch be vertical be example explanation, for cut, handle through the method in the subsequent implementation example with certain inclination angle.
In most cases, image scratch all fully can be approximate with vertical line.As shown in Figure 2, be the synoptic diagram of image scratch.Among Fig. 2, the discrete levels coordinate of n presentation video, the discrete vertical coordinate of m presentation video, image scratch is vertical, shows as the vertical line perpendicular to the n axle.Wherein, the value of n and m is integer or natural number.
Because coloured image can be handled through dividing three kinds of basic colors; Therefore the embodiment of the invention is divided into the example explanation with what image is carried out R (red), G (green), B (indigo plant) three primary colours; It is understandable that, can be other three kinds of basic colors with image division also.
Present embodiment to R, G, the B color component of image do respectively 0 the degree direction ridge small echo (Ridgelet) conversion, obtain corresponding Ridgelet conversion coefficient
Figure GSB00000726548300041
S=s wherein 1..., s JBe the parameter in the conversion process, represent a series of decomposition scale; X is an independent variable, does not have the physics implication here, in ridge wavelet transformation process, is appreciated that to be horizontal coordinate; Detect the edge of cut, differentiation cut and cut through the Ridgelet conversion coefficient.
As shown in Figure 3, the method for the detected image cut that provides for present embodiment, this method comprises:
301: with the single color component f in the Two-dimensional Color Image (m n) vertically does projection, obtain the one dimension vertical projection with Pf ( n ) = Σ m ∈ N f ( m , n ) .
Wherein, be reference with coordinate shown in Figure 2, n is the horizontal component coordinate, m is the vertical component coordinate, because image scratch is perpendicular to the n axle, therefore image is vertically done projection promptly does projection along the cut direction; (m n) refers to the image that certain color component of coloured image constitutes to single color component f, and here, (m n) is specially the image value of single color component to f, is scalar.
With image f (m; N) vertically the direction of n axle (promptly perpendicular to) done projection; Obtain
Figure GSB00000726548300052
and represent image f (m; N) pixel value of each row is added up, obtain an one dimension vertical projection with; Wherein, m, n are discrete independent variable, and value is integer or natural number; P representes the variable of projection vertically; N representes natural number.
302: obtain the multiple wavelet function that is used to detect cut according to pre-set criteria.
Wherein, the embodiment of the invention adopts the Ridgelet transform method detected image cut of plural number, need obtain the multiple wavelet function of s decomposition scale that is used to detect cut, s=s 1..., s JBe a series of decomposition scale parameters, its experience width range (it is generally acknowledged 1~5 pixel) decision by cut.Detailed process is following:
Plural number Ridgelet function shape such as ψ (r)((xcos θ+ysin θ)/s)+j ψ (i)((xcos θ+ysin θ)/s), wherein ψ (r)(t), ψ (i)(t) correspond to 1 of reality, imaginary part respectively and tie up wavelet function, θ and s are respectively direction and decomposition scale parameter, and x, y and t are continuous independent variable, and value is a real number, does not have special implication.In the present embodiment, because image scratch shows as near normal, so the θ value is 0 degree.Adopt the Ridgelet conversion of plural number, key is the selection to multiple wavelet function.The embodiment of the invention is obtained multiple wavelet function according to following pre-set criteria:
1) real part ψ (r)(t) the second derivative form of employing Gaussian function;
Because Gaussian function (meets Cexp ((t/s) 2) gang's function, C wherein, s is a constant, t is an independent variable) gray scale (image is made up of a series of gray-scale values) saltus step that causes of second derivative form and cut itself approaching, so the second derivative of Gaussian function can be used for scratch detection; So when confirming again wavelet function, real part ψ (r)(t) the second derivative form of employing Gaussian function.
2) fixing real part ψ (r)(t) after, select imaginary part ψ according to following pre-set criteria (i)(t):
A) ψ (i)(t) and ψ (r)(t) should be similar to formation Hilbert (Hilbert) transfer pair;
B) ψ (i)(t) has only a zero crossing;
C) ψ (r)(t)+j ψ (i)(t) envelope should have slickness and not have concussion property;
D) energy of envelope should have centrality.
Wherein, at first select imaginary part ψ (i)(t) for having free parameter (α, the ψ of family of functions β) (j)(t)=sign (t) C i(β) | t/ β | αExp ((t/ β) 2/ 2); Wherein, sign (t) is a sign function, C i(β) be normaliztion constant, to guarantee || ψ (r)(t) || 2With || ψ (i)(t) || 2Equate, || ψ (r)(t) || 2Expression ψ (r)(t) second order norm, || ψ (i)(t) || 2Expression ψ (i)(t) second order norm; Because this family's function and ψ (r)(t) approximate formation Hilbert transfer pair, thus satisfy above-mentioned optimization criterion a); And this family's function has only a zero crossing, therefore satisfies above-mentioned optimization criterion b); Secondly, make envelope A (t)=(ψ (r)(t)) 2+ (ψ (i)(t)) 2, wherein, the independent variable of t representative function does not have special implication; According to above-mentioned optimization criterion c), d), set up and the optimization aim function Arg Min α , β λ · ∫ 0 + ∞ ( A ′ ′ ( t ) ) 2 Dt + ( 1 - λ ) · ∫ 0 + ∞ t 2 · A ( t ) Dt , Wherein, λ is the weighting parameters of objective function, and span is 0~1, and (α β), thereby can confirm ψ to the parameter that gains freedom (i)(t), get α=1 in the reality, β=0.83.
The embodiment of the invention is according to above-mentioned 1), 2) content, can confirm that the multiple wavelet function of s decomposition scale is:
ψ s ( t ) = ψ s ( r ) ( t ) + j · ψ s ( i ) ( t ) ψ s ( r ) ( t ) = s - 1 ψ ( r ) ( t / s ) = s - 1 2 3 β ( ( t s ) 2 - 1 ) exp ( - 1 2 ( t s ) 2 ) , t ∈ R , s ∈ R + ψ s ( i ) ( t ) = s - 1 ψ ( i ) ( t / s ) = ( sβ ) - 1 · ( t sβ ) · exp ( - 1 2 ( t sβ ) 2 ) - - - ( 1 )
Wherein, ψ s(t) the multiple wavelet function of s decomposition scale that adopts for the embodiment of the invention,
Figure GSB00000726548300063
With
Figure GSB00000726548300064
Be respectively ψ s(t) real part functions and imaginary part function, t representes the independent variable of multiple wavelet function, and s representes decomposition scale, and β representes zooming parameter, and the experience value is 0.83, to obtain near optimum filter effect.Can find out from formula (1); Real part
Figure GSB00000726548300065
is the second derivative of Gaussian function, is used for the matching detection cut; And imaginary part is the first order derivative of Gaussian function; Be desirable Canny edge detection operator, can be used to locate the edge of cut.
303: According to the complex wavelet function calculates the integer pixel filter function
Figure GSB00000726548300067
and half-integer pixel filter function
Figure GSB00000726548300071
Wherein, the half-integer pixel be image x ∈ Z+1/2 (here with integer and 1/2 be defined as half-integer) pixel value located.Because in actual conditions, (m n) only is defined on the integer grid digital picture f, but the cut edge then possibly be between the pixel, so the Ridgelet conversion has half-pixel accuracy.That is, need to obtain image ridgelet conversion coefficient r s(x), in the value of x ∈ Z and x ∈ Z+1/2 (half-integer), wherein Z is a set of integers.Can realize that it defines as follows through the filter function
Figure GSB00000726548300072
of integer pixel point and the filter function
Figure GSB00000726548300073
of half-integer pixel:
H s ( I ) ( n ) = ∫ ker ( t ) · ψ s ( n - t ) dt H s ( H ) ( n ) = ∫ ker ( t ) · ψ s ( n + 1 / 2 - t ) dt - - - ( 2 )
In the formula, t is an argument of function, and the horizontal coordinate of n presentation video (discrete), value are integer, s=s 1..., s JBe a series of decomposition scale parameters, its experience width range (it is generally acknowledged 1~5 pixel) decision by cut; Complex wavelet function ψ sImplication and the ψ in the formula (1) sIdentical, ker (t) is a convolution kernel, and the embodiment of the invention is got ker (t)=1 [1/2,1/2]
304: the filter function
Figure GSB00000726548300075
of each yardstick and the projection P f (n) of
Figure GSB00000726548300076
and vertical direction are made convolution, obtain the value of the monochromatic multiple Ridgelet coefficient
Figure GSB00000726548300077
of each yardstick at half-pix point.
Wherein, The monochromatic multiple Ridgelet coefficient
Figure GSB00000726548300078
of each yardstick is
Figure GSB00000726548300079
value at x ∈ Z and x ∈ Z+1/2 in the value of half-pix point, and wherein Z is a set of integers.
Wherein, obtain
Figure GSB000007265483000710
through following formula (3)
r s a ( x ) = H s ( I ) ( n ) * Pf ( n ) ; x ∈ Z H s ( H ) ( n ) * Pf ( n ) ; x ∈ Z + 1 / 2 - - - ( 3 )
In the formula (3), * is a discrete convolution;
Figure GSB000007265483000712
is monochromatic multiple ridgelet conversion coefficient; X is an independent variable; Its value is x ∈ Z and x ∈ Z+1/2; N is the discrete levels coordinate, and value is an integer;
Figure GSB000007265483000713
defined image at the locational coefficient value of integral point and image at the locational coefficient value of half-integer point (x ∈ Z+1/2).
Through said method, get access to monochromatic Ridgelet coefficient
Figure GSB000007265483000714
R, G, B three primary colours again and have corresponding
Figure GSB000007265483000715
respectively
305: according to the multiple Ridgelet coefficient of monochrome
Figure GSB000007265483000716
The multiple Ridgelet coefficient r of the fusion of computed image s(x).
Wherein, obtaining the multiple Ridgelet coefficient of the corresponding respectively monochrome of R, G, B three primary colours
Figure GSB00000726548300081
After, real part Re [] and the imaginary part Im [] to coefficient handles respectively according to following mode, obtains the fusion coefficients r of image s(x):
Re [ r s ( x ) ] = ( Re [ r s ( R ) ( x ) ] ) 2 + ( Re [ r s ( G ) ( x ) ] ) 2 + ( Re [ r s ( B ) ( x ) ] ) 2 Im [ r s ( x ) ] = ( Im [ r s ( R ) ( x ) ] ) 2 + ( Im [ r s ( G ) ( x ) ] ) 2 + ( Im [ r s ( B ) ( x ) ] ) 2 , s = s 1 , . . . , s J - - - ( 4 )
Wherein, s=s 1..., s JBe a series of decomposition scale parameters, x representes the independent variable in the conversion coefficient, and its value is x ∈ Z and x ∈ Z+1/2, and Z is a set of integers.Through type (4) merges the multiple Ridgelet coefficient of three single color component half-pixel accuracy, obtains the multiple Ridgelet coefficient of fusion of image.
306: according to fusion coefficients r s(x) imaginary part extreme point is searched the interval at following possible cut of s yardstick place.
Wherein, the imaginary part of multiple wavelet function
Figure GSB00000726548300084
Be Canny edge detection operator (seeing formula 1), with fusion coefficients r s(x) imaginary part (Im [r s(x)]) extreme point is designated as x S, i, 1≤i≤K sx S, iI extreme point under the expression s yardstick, K sBe all extreme point numbers under the s yardstick; Because imaginary part extreme point x S, iThe corresponding vertically position and the intensity of Gray Level Jump, therefore, being defined in following of s yardstick might vertical straight line (comprising vertical cut and other vertical edge, for example edge of image) be L in the interval of horizontal coordinate S, i: [x S, i, x S, i+1], 1≤i<K sNeed to prove, under a s yardstick, coefficient r s(x) possibly there are a lot of extreme points in all imaginary parts.And arbitrarily a pair of adjacent extreme value (being minimal value and maximum value) all corresponding one possibly be the interval of cut, and cut of an interval delineation of cut.
Above-mentioned need to prove, the edge of the interval of cut, cut and cut is the notion that is mutually related, the edge delineation cut of cut is interval, and cut is positioned at the cut interval.
307: might cut the interval in according to the pre-conditioned interval of confirming remarkable straight line place.
Wherein, present embodiment according to below pre-conditioned but be not limited to that these are pre-conditioned, confirm the interval at vertical cut place, in this process, vertical cut is defined as remarkable straight line.Then confirm remarkable straight line place interval as follows:
(1) significantly there is and only has a r in the interval at straight line place s(x) mould maximal point e i∈ [x S, i, x S, i+1], and | r s(e i) |>=T Ci, wherein, | r s(e i) | expression r s(x) mould maximal point; T CiFor to interval L S, iThe distribution threshold value that the data set that all mould maximal point data are formed near the neighborhood is selected can rule of thumb artificial setting.
(2) remarkable two end points x in the interval at straight line place S, i, x S, i+1Satisfy Im [r s(x S, i)]>=T EiAnd Im [r s(x S, i+1]>=T Ei, T wherein EiFor to interval L S, iThe distribution threshold value that the data set that all imaginary part maximal point data are formed near the neighborhood is selected can rule of thumb artificial setting.
(3) | x S, i-x S, i+1|≤W Max, W MaxIt is the breadth extreme of cut.
(4) there is and only has a real part Re [r in the interval s(x)] maximal point m i∈ [x i, x I+1], and it satisfies | Re [r s(m i)]/Im [r s(m i)] |>=T θ, T wherein θFor to interval L S, iThe distribution threshold value that the data set that all real part maximal point data are formed near the neighborhood is selected can rule of thumb artificial setting.
In the embodiment of the invention, significantly straight line is a cut, describe for ease and understand, with the section definition of confirming the cut place for confirming the interval at remarkable straight line place, the two expression equivalent in meaning.
Comprehensively above-mentioned; Significantly the principle of straight line (cut) detection comprises: in plural Ridgelet function, real part
Figure GSB00000726548300091
is mainly used in the matching detection of vertical cut; Imaginary part
Figure GSB00000726548300092
then is mainly used in the location at vertical cut edge.Compare with real number field Ridgelet detection algorithm of the prior art, the complex field method can provide mould value and phase information.In fact, because the Gray Level Jump that mould value that provides in the complex field Ridgelet detection algorithm and cut itself cause is approaching, so each mould value | r s(x) | maximal point is corresponding to cut, and the intensity of the big or small corresponding cut of mould value, and the mould value is big more, and the expression cut is obvious more.The corresponding vertically Gray Level Jump of the imaginary part maximal point of Ridgelet coefficient then can effectively be distinguished vertical cut and vertical edge in the vertical Gray Level Jump through phase information.Particularly, each mould value maximal point can be unique corresponding to a cut, and because to r s(x) no matter delivery is the light and shade cut, all can be corresponding to the maximal point of a mould, thus bright, dark cut is detected simultaneously; Under the ideal situation, a vertically pulse on the corresponding horizontal projection of cut is so corresponding mould maximal point phase place is 0 °/180 ° (bright/dark cut); And vertically the edge corresponding step, so corresponding mould maximal point phase place is ± 90 °.
In the present embodiment, to image f (m, n) a ° rectilinear direction is done projection (the θ value is 0 in the present embodiment) along θ+90; Obtain 1 dimension projection signal; Be the multiple wavelet transformation of s to projection result as yardstick then, whole process can be called again that (m n) does plural Ridgelet conversion to image f.Because each point of 1 dimension projection signal is corresponding to vertically certain bar straight line in the image, so the real part of wavelet function can be used to detect cut in the Ridgelet conversion; Simultaneously, because the imaginary part of wavelet function is the Gaussian function first order derivative in the plural Ridgelet conversion, therefore it carry out above-mentioned mathematics manipulation with itself and one dimension projection signal corresponding to the Canny edge detection operator, can be used for the location at cut edge.
Simultaneously; The embodiment of the invention is obtained each single color component coefficient; Utilize each single color component information, the monochromatic component coefficient is merged the coefficient that the back obtains coloured image, and directly convert coloured image into gray scale image and compare; It can make full use of the color information of video, thereby improves detection efficiency.
Embodiment three
Present embodiment is on the basis of a last embodiment, at the multiple Ridgelet coefficient r of the later half integer precision of the fusion that obtains s(x), x ∈ N ∪ (N+1/2) (s=s 1..., s JBe decomposition scale), detect behind the linear feature under each yardstick s, the remarkable straight line that a plurality of yardstick s are detected down merges, and confirms that final candidate's cut is interval.
As shown in Figure 4, the detection method process flow diagram of the image scratch that provides for present embodiment, this method comprises:
401: the interval that obtains the remarkable straight line place under multiple dimensioned.
Wherein, according to embodiment two, can obtain under the s yardstick might cut the interval in the remarkable interval at straight line place; When the value of decomposition scale s is s 1..., s JThe time, can obtain the interval at the remarkable straight line place under multiple dimensioned through the method for the foregoing description.Be specially:
Suppose Ridgelet coefficient r s(x) at yardstick s j(extract K altogether under 1≤j≤J) jThe remarkable straight line of bar is designated as L J, i (k): [x J, i (k), x J, i (k)+1], 1≤j≤J, 1≤k≤K j, wherein, j is a variable, representes a certain yardstick; J representes total number of s yardstick; The interval sequence number of the remarkable straight line of i (k) expression k bar, K jThe number of representing remarkable straight line.
402:, set up the crestal line of being formed by the imaginary part maximum point of multiple dimensioned Ridgelet coefficient according to the interval at remarkable straight line place.
Particularly, 402 can realize through following sequencing step:
With multiple dimensioned Ridgelet coefficient
Figure GSB00000726548300101
All imaginary part maximum value are designated as OPEN (identifier is used for identifying the imaginary part maximum point that needs fusion); Wherein, s j, 1≤j≤J is a series of decomposition scales;
As yardstick s jFrom j=J to 1, and as remarkable straight line L J, i (k)From k=1 to K jThe time; Circulation is operated as follows, up to generating crestal line:
If remarkable straight line L J, i (k), left end point x J, i (k)By mark CLOSE (identifier identifies Fused imaginary part maximum point), then Ridge number this point of process is designated as left J, i (k)Otherwise with x J, i (k)Beginning is set up one from s jTo s 1, the continuous Ridge that all forms by the imaginary part maximal point, this Ridge the imaginary part maximum point of process all be designated as CLOSE, charge to letf to this Ridge number J, i (k)
In like manner, if L J, i (k)Right endpoint x J, i (k)+1By mark CLOSE, be designated as right to Ridge number that passes through this point J, i (k)Otherwise with x J, i (k)+1Beginning is set up one from s jTo s 1, the continuous Ridge that all forms by the imaginary part maximal point; This Ridge the imaginary part maximum point of process all be designated as CLOSE, charge to right to this Ridge number J, i (k)
Through above-mentioned processing, L J, i (k)The interval S of corresponding candidate's cut J, i (k), its left end point is that sequence number is left J, i (k)Ridge in the position of the strongest imaginary part maximum point of amplitude; Right endpoint then is that sequence number is right J, i (k)Ridge in the position of the strongest imaginary part maximum point of amplitude.
403: confirm the interval that cut belongs to according to crestal line, with the interval merging of all cuts.
Final candidate's scored area is the interval union of the corresponding cut of above-mentioned all remarkable straight lines, promptly satisfies Ω = { ( m , n ) | n ∈ ∪ 1 ≤ j ≤ J , 1 ≤ k ≤ K j S j , i ( k ) } Institute's pointed set.
The principle of above content is: the end points of each remarkable straight line is the imaginary part maximum point of conversion coefficient.According to the metric space filtering theory, when filter function adopted certain order derivative of Gaussian function, the very big/little value of its filtered can constitute a continuous crestal line (Ridge) from thick yardstick to thin yardstick in metric space.
Present embodiment is based on embodiment two, in 307 further, T Ci, T EiAnd T θCan also obtain through the choosing method of distribution as unimodal threshold value." single mode " distributes, and is meant that the distribution statistics histogram of data has unimodal form.Embodiment of the invention Ridgelet conversion coefficient is concentrated, and most sample points are the small magnitude regional value that background produces, and only comprises a small amount of cut generation sample point and then has big amplitude, thereby need a threshold value that itself and background sample point are separated.For automatic selected threshold, need to make following hypothesis earlier: the background sample point is obeyed Weibull (Weibull) distribution W (r among the data set X; α, β), r>0; And sample point (being produced by cut) is big amplitude " pollution " point away from this distribution.Weibull probability distribution function expression formula is P α, β(r)=1-exp ((r/ α) β), r>0, α wherein, β is respectively convergent-divergent, decay factor, and r is continuous independent variable, no Special Significance.
Because the p quantile of a probability distribution is the point that satisfies following character: promptly will be with Probability p less than this quantile corresponding to this distributed random variable.
Therefore, the automatic threshold of distribution as unimodal data set X chosen comprised:
The automatic threshold T of the sample point that background sample point and cut produce among the differentiation data set X A(X) can be taken as Weibull distribution W (r; α, p quantile β):
T A(X)=α[ln(1/(1-p))] 1/β(5)
Wherein, X representes to comprise the data set of the sample point that background sample point and cut produce, and α, β are respectively convergent-divergent, decay factor, and p is the quantile of Weibull distribution.
When through type (5) has been confirmed automatic threshold T A(X) after the expression formula, under the situation that contains the singular point sample, sane estimation (sane estimation is promptly carried out parameter estimation under the situation that comprises the interference of noise and unusual sample point) parameter alpha, β:
Note M (X) be the median of X, and " smaller part generally interval " that D (X) distributes for X (promptly having a least bit to drop on weak point interval wherein).Then can try to achieve and M (X) the Weibull model parameter alpha that these two robust statistics of D (X) are the most consistent through the system of equations in the formula of separating (6); β; Be different Weibull distribution parameters, can be corresponding to different M (X), D (X); So the M (X) that utilizes statistics to draw, D (X) estimates only distribution parameter.Formula (6) is:
d dr [ P α , β - 1 ( 1 / 2 + P α , β ( r ) ) - r ] = 0 P α , β - 1 ( 1 / 2 + P α , β ( r ) ) - r = D ( X ) P α , β - 1 ( 1 / 2 ) = M ( X ) - - - ( 6 )
Wherein, P α, β(r)=1-exp ((r/ α) β) be the Weibull probability distribution function.Formula (6) can solve through the process of iteration of nonlinear equation, and initial solution can be established W (r; α; β) obtain for Rayleigh distribution (β=2); (α at this moment; β r) is
Figure GSB00000726548300131
owing to there be " points of contamination " of big amplitude in the data, so traditional maximum-likelihood method and inapplicable; And this method through finding the solution the system of equations based on robust statistic, can estimate distribution parameter accurately.
To sum up, the selection of threshold step to distribution as unimodal data set X is:
1),, steadily and surely estimates Weibull distribution W (r to noisy distribution as unimodal data set X according to formula (6); α, model parameter α β), β.
2), select the threshold value of the p quantile of this model as data set X according to formula (5).
T Ci, T EiAnd T θCan obtain through the choosing method of above-mentioned distribution as unimodal threshold value.
In the present embodiment, behind the interval that obtains remarkable straight line place, set up the crestal line of being made up of the imaginary part maximum point of multiple dimensioned Ridgelet coefficient, each point has been represented detected cut frontier point under corresponding scale on the crestal line.And amplitude point of maximum intensity has wherein been represented the strongest skirt response (i.e. the optimum detection yardstick at this edge), thereby can be used as the accurate estimation at cut edge; Simultaneously; Detect through the cut of said method, and selected cut is interval, can adapts to the cut of different in width different scale.
In addition, adopt the choosing method of distribution as unimodal threshold value to obtain T in the present embodiment Ci, T EiAnd T θ, can avoid the artificial blindness that rule of thumb is worth setting threshold, help improving the robustness of scratch detection.
The method that provides through present embodiment; Image is done plural Ridgelet conversion obtain multiple Ridgelet coefficient; Wherein, the position and the intensity of the Gray Level Jump of the imaginary part extreme point correspondence image of multiple Ridgelet coefficient can be used for the cut edge and the vertical location of image border; And the phase information of the multiple Ridgelet coefficient that combination imaginary part coefficient and real part coefficient obtain then can be used to distinguish the edge of vertical cut and vertical step, thereby finally can improve the degree of accuracy of location cut; The different gray-scale values of the mould value correspondence image of the multiple Ridgelet coefficient that obtains in conjunction with imaginary part coefficient and real part coefficient can detect cut.Simultaneously; After the embodiment of the invention obtains each single color component coefficient; Utilize each single color component information, the monochromatic component coefficient is merged the coefficient that the back obtains coloured image, and directly convert coloured image into gray scale image and compare; Can make full use of the color information of video, thereby improve detection efficiency.
Embodiment four
Present embodiment will utilize the field colouring information, remove the false cut that possibly exist among the interval Ω of candidate's cut among the last embodiment.(m n) demarcates cut, and bianry image is to have only 0,1 two value in the image, and on duty is the true cut point of 1 interval scale can to define a bianry image SM unidimensional with image.
To any point r in the image 0=(m 0, n 0), wherein, m 0Be vertical coordinate, n 0Be horizontal coordinate; Define its neighborhood color distance as follows: at m 0-1, m 0, m 0The non-scored area of+1 these 3 row (among the SM (m, n)=0), is got apart from r 06 nearest pixels, and (m 0, n 0-1), (m 0, n 0+ 1) the non-cut point in constitutes r 0Neighborhood point set N (r 0).The neighborhood color distance is defined as:
Figure GSB00000726548300141
Wherein || || 2Be the second order norm, f (r i) be pixel r iThe coloured image value, this value is for vector.
Based on foregoing, as shown in Figure 5, the method flow diagram of the false cut of the eliminating that provides for present embodiment; In order to improve the accuracy rate of detection; This method will be utilized colouring information, and the false cut point among the interval Ω of the candidate's cut that obtains among the embodiment three is removed, and this method comprises:
501: (m n) is initialized as the point among all candidate's scored area Ω is designated as true cut point with SM.
502: the neighborhood color distance threshold value T that obtains the point set of all NCD formations s
Wherein, each pixel all has a NCD (neighborhood color distance), T sCan rule of thumb be worth setting, also can select threshold method to obtain through the distribution as unimodal among the last embodiment, particularly, through type (5) and formula (6) be obtained.
503: according to neighborhood color distance threshold value T sGet rid of false cut point.
Particularly, can realize through following steps:
When still having true cut point, promptly SM (m, some n)=1 be changed to non-cut point SM (m, n)=0; Following two steps operation is carried out in circulation, up to getting rid of false cut point:
1) each is satisfied SM (m 0, n 0The point r of)=1 0, if NCD (r 0)<T s, then put SM (m 0, n 0)=0 is to remove false cut point;
2) to n from 1 to Z (integer), if (∑ 1≤m≤MSM (m, n))/M<T SD, then put SM (m, n)=0,1≤m≤M, to remove false cut.Wherein, the columns of M presentation video; Threshold value T SDFor minimum allows cut density, can rule of thumb be worth setting.
Through said method, (m, some n)=1 is the cut point finally can to confirm SM.
In the present embodiment, use bianry image information and distribution as unimodal to select threshold method to combine, get rid of the false cut in the bianry image, realize verification, reduced false alarm rate testing result.
Embodiment five
The method that present embodiment provides detects the cut with small vertical inclination angle.Suppose that cut is θ apart from the vertical direction inclination maximum Max, then at H=1/tan θ MaxLocal vertically scope in, the horizontal-shift of cut is no more than a pixel, so can think that it is vertical fully.General θ Max<5 °, H gets 16.Therefore, can utilize the method for the foregoing description, image is grown the local vertically scratch detection for H.Concrete grammar still can be divided into: single color component half-pixel accuracy optimum complex Ridgelet filtering of adopting embodiment two to provide, and each color component ridglet coefficient merges; The method that adopts embodiment three to provide is carried out the remarkable straight-line detection of single scale, and multiple dimensioned testing result merges; The method that can also adopt embodiment four to provide is carried out the testing result verification.Below only to narrating with the foregoing description difference.
As shown in Figure 6, the detection method process flow diagram of the image scratch that provides for present embodiment, this method comprises:
601: (m n) is divided into a series of high H of being, and overlapped subgraph with coloured image f.
Wherein, (m, n) mode according to formula (7) is divided into a series of high be H, the subgraph f of overlapped H/r with coloured image f (j)(m, n), formula (7) as follows:
f (j)(m,n)=f(m+j·H/r,n);0≤m<H,
Figure GSB00000726548300151
Wherein, (m n) is pixel (m, coloured image value n) to the implication of each parameter: f; H is the subgraph height; H/r is the overlapping height of subgraph; M is that the height of entire image (is the line number of image; Height with the line number uncalibrated image), j is the subgraph sequence number,
Figure GSB00000726548300152
represent Mr/H is rounded up.
Overlapping subgraph piecemeal synoptic diagram after cutting apart is as shown in Figure 7.
602: each subgraph is carried out image scratch detect, obtain the candidate scored area of image in the vertical scope of subgraph.
Wherein, to each subgraph f (j)(m n) carries out image scratch and detects, and obtains image f (m, n) the candidate's scored area S in [jH/r, jH/r+H-1] vertical scope I, j, 1≤i≤N (j),
Figure GSB00000726548300153
The columns of N presentation video.
Particularly, to each subgraph f (j)(m; N) carry out image scratch according to the mode of previous embodiment and detect, comprise each subgraph is carried out single color component half-pixel accuracy optimum complex Ridgelet filtering, each color component ridglet coefficient merges; The remarkable straight-line detection of single scale, multiple dimensioned testing result merges; Through aforesaid operations, obtain image f (m, n) the candidate's scored area S in [jH/r, jH/r+H-1] vertical scope I, j, 1≤i≤N (j),
Figure GSB00000726548300161
603: all scored area are merged, obtain candidate's scored area Ω of entire image.
604: candidate's scored area is carried out verification as a result.
Wherein, candidate's scored area Ω of the entire image that obtains is carried out the verification of testing result, the method for its verification and embodiment four described methods are basic identical; Difference is; Among the relative embodiment four 503, the concrete grammar of getting rid of false cut is that (m n) does [90 °-θ to SM Max, 90 °+θ Max] the Hough conversion of angular range, wherein, θ MaxFor cut leaves the vertical direction inclination maximum; (m, n) middle semi-invariant surpasses threshold value T SM SD(T SDFor minimum allows cut density, can rule of thumb be worth settings) straight line the point of process compose 1, all the other some taxes 0, then (m is that 1 point is true cut point n) to SM.Wherein, the Hough conversion is to ask bianry image (0 or 1) accumulated value of straight line under certain angle, if SM (m n) has TSD cut point in certain rectilinear direction, then is judged to true cut, and the cut point that is judged to a little on this straight line.
In the present embodiment; The image segmentation that will have cut with angle becomes a series of subgraphs, because therefore the cut near normal in each subgraph carries out scratch detection to each subgraph according to aforesaid method; Scored area with the candidate merges afterwards, obtains candidate's scored area of entire image.Therefore, through the method for present embodiment, can detect the cut that has small vertical inclination angle.
Need to prove that the embodiment of the invention also can be used for the scratch detection of black-and-white film image, because the black-and-white film image has only brightness, is scalar, therefore need not the fusion of a color component Ridgelet coefficient.
Embodiment six
As shown in Figure 8, the pick-up unit structural drawing of the image scratch that provides for present embodiment, this device comprises:
Projection module 81 is done projection with the single color component in the two dimensional image along the cut direction, obtain the projection of one dimension cut with;
Computing module 82 is according to the filter function of multiple wavelet function calculating pixel point;
Processing module 83, with filter function and the projection of one dimension cut with make convolution, obtain the multiple ridge wave system number of single color, count the multiple ridge wave system number of fusion of computed image according to the multiple ridge wave system of single color;
Operational module 84 is confirmed the edge of cut according to merging again the imaginary part of ridge wave system number.Wherein, projection module 81 obtain the projections of one dimension cut with afterwards, obtain the multiple wavelet function that is used to detect cut according to pre-set criteria; Computing module 82 is according to the filter function that is somebody's turn to do multiple wavelet function calculating pixel point, and this pixel comprises integer pixel point and half-integer pixel; Processing module 83 with filter function and the projection of one dimension cut with make convolution, obtain the multiple ridge wave system number of single color, through the formula in the embodiment of the invention two (4), count the multiple ridge wave system number of fusion of computed image according to the multiple ridge wave system of single color; Operational module 84 is confirmed the edge of cut according to the imaginary part that merges multiple ridge wave system number, wherein, searches the interval that institute might the cut place according to the imaginary part extreme point of fusion coefficients, confirms the interval that cut belongs to through preset condition again.Concrete grammar sees embodiment two for details, repeats no more here.
As shown in Figure 9, further, this device can also comprise:
Acquisition module 91 obtains the multiple wavelet function that is used to detect cut.
Further, this device can also comprise:
Multiple dimensioned processing module 92 is used to obtain the interval that the cut under a plurality of decomposition scales belongs to; According to the interval at cut place, set up the crestal line of forming by the imaginary part maximum point of the multiple ridge wave system number under a plurality of decomposition scales; Merge according to the interval of crestal line the place of the cut under a plurality of decomposition scales.
Wherein, the handling principle of multiple dimensioned processing module 92 comprises: the end points of each remarkable straight line (the vertical cut of acute pyogenic infection of finger tip in embodiments of the present invention) is the imaginary part maximum point of conversion coefficient.According to the metric space filtering theory, when filter function adopted certain order derivative of Gaussian function, the very big/little value of its filtered can constitute a continuous crestal line (Ridge) from thick yardstick to thin yardstick in metric space.
Preferably, this device can also comprise:
Verification module 93 is used to obtain the neighborhood color distance threshold value of the point set that the neighborhood color distance constitutes, and the neighborhood color distance is a pixel neighborhood of a point color distance in the image; Get rid of false cut point according to neighborhood color distance threshold value.
Wherein, verification module 93 is utilized the field colouring information, can remove the false cut that possibly exist among the interval Ω of cut.(m n) demarcates cut, and bianry image is to have only 0,1 two value in the image, and on duty is the true cut point of 1 interval scale can to define a bianry image SM unidimensional with image.Through definition pixel neighborhood of a point color distance, and obtain the neighborhood color distance threshold value of the point set that the neighborhood color distance constitutes, get rid of false cut point according to neighborhood color distance threshold value.Wherein, neighborhood color distance threshold value can select threshold method to obtain according to the distribution as unimodal in the embodiment of the invention, also can rule of thumb be worth setting.
When cut has small vertical inclination angle, in order to detect cut, can utilize above-mentioned device with tiny inclination angle, image is grown the local vertically scratch detection for H, concrete method sees method embodiment for details, repeats no more here.
Therefore, on the basis of Fig. 8, this device also comprises: cut apart module 11 and merge module 12, shown in figure 10:
Cut apart module 11, two dimensional image is divided into overlapped subgraph;
Wherein, color images is become a series of high H of being, and overlapped subgraph;
Afterwards, each subgraph is carried out image scratch according to the method for the embodiment of the invention two detect, obtain the candidate scored area of image in the vertical scope of subgraph; Scored area with all subgraphs merges again, and therefore, correspondingly, device also comprises:
Merge module 12, be used for the cut of all subgraphs is merged, obtain the cut of image.
In the present embodiment, image is done plural Ridgelet conversion along rectilinear direction, because each point of 1 dimension projection signal is corresponding to vertically certain bar straight line in the image, so the real part of wavelet function can be used to detect cut in the Ridgelet conversion; Simultaneously; Because the imaginary part of wavelet function is the Gaussian function first order derivative in the plural Ridgelet conversion; It is corresponding to the Canny edge detection operator; Therefore itself and one dimension projection signal are carried out above-mentioned mathematics manipulation, can be used for the location at cut edge, thereby finally can improve the degree of accuracy of location cut.Simultaneously, present embodiment can make full use of the color information of image through the fusion coefficients of monochromatic component coefficient acquisition coloured image, improves detection efficiency.
It will be appreciated by those skilled in the art that accompanying drawing is the synoptic diagram of an embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
Part steps in the embodiment of the invention can utilize software to realize that corresponding software programs can be stored in the storage medium that can read, like CD or hard disk etc.
The embodiment of the invention can realize that corresponding software can be stored in the storage medium that can read, for example in the hard disk of computing machine, CD or the floppy disk through software.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. the detection method of an image scratch is characterized in that, said method comprises:
Single color component in the two dimensional image is done projection along the cut direction, obtain the projection of one dimension cut with;
Filter function according to multiple wavelet function calculating pixel point; The real part of said multiple wavelet function adopts the second derivative form of Gaussian function; Be used for the matching detection cut, the imaginary part of said multiple wavelet function is the first order derivative of Gaussian function, is used to locate the edge of cut;
With said filter function and the projection of said one dimension cut with make convolution, obtain the multiple ridge wave system number of single color, count the multiple ridge wave system number of fusion of computed image according to the multiple ridge wave system of said single color;
Confirm the edge of cut according to the imaginary part of the multiple ridge wave system number of said fusion.
2. method according to claim 1 is characterized in that, the step of the filter function of the multiple wavelet function calculating pixel point of said basis comprises:
According to the filter function of said multiple wavelet function computes integer pixel and the filter function of half-integer pixel.
3. method according to claim 1 is characterized in that, said imaginary part according to the multiple ridge wave system number of said fusion confirms that the step at the edge of cut comprises:
According to the imaginary part extreme point that merges multiple ridge wave system number obtain cut the interval that might belong to;
Interval according to pre-conditioned definite cut place.
4. method according to claim 3 is characterized in that, the step in said interval according to pre-conditioned definite cut place comprises:
If a mould maximal point that merges multiple ridge wave system number is arranged in the interval at cut place, and the value of said mould maximal point is more than or equal to the distribution threshold value of the data set of all mould maximal point data compositions near the field said interval;
If the imaginary part extreme value of two end points in the interval at cut place is more than or equal to the distribution threshold value of the data set of all imaginary part maximal point data compositions near the field said interval;
If the difference between two end points in the interval at cut place is smaller or equal to the breadth extreme of cut; With
If there is a maximal point that merges the real part of multiple ridge wave system number in the interval at cut place; And the real part of said point and the ratio of extreme values of imaginary part confirm then that more than or equal to the distribution threshold value of the data set of all real part maximal point data compositions near the field said interval said cut is in described interval.
5. method according to claim 4 is characterized in that, the distribution threshold value of said data set comprises:
Make up the Weibull probability distribution function of data set, estimate the convergent-divergent and the decay factor of Weibull Function;
Obtain the distribution threshold value of the quantile of Weibull probability distribution function according to said convergent-divergent and decay factor as data set.
6. according to claim 3 or 4 described methods, it is characterized in that said method also comprises:
Obtain the interval at the cut place under a plurality of decomposition scales;
According to the interval at said cut place, set up the crestal line of forming by the imaginary part maximum point of the multiple ridge wave system number under said a plurality of decomposition scales;
Merge according to the interval of said crestal line the place of the cut under a plurality of decomposition scales.
7. method according to claim 6 is characterized in that, said method also comprises:
Obtain the neighborhood color distance threshold value of the point set of neighborhood color distance formation, said neighborhood color distance is a pixel neighborhood of a point color distance in the image;
Get rid of false cut point according to said neighborhood color distance threshold value.
8. method according to claim 1 is characterized in that, said single color component in the two dimensional image is done also to comprise before the projection along the cut direction:
Two dimensional image is divided into overlapped subgraph;
Correspondingly, said imaginary part according to the multiple ridge wave system number of said fusion confirms that the edge of cut also comprises afterwards:
All subgraphs are merged, obtain the cut of image.
9. the pick-up unit of an image scratch is characterized in that, said device comprises:
Projection module is done projection with the single color component in the two dimensional image along the cut direction, obtain the projection of one dimension cut with;
Computing module; According to the filter function of multiple wavelet function calculating pixel point, the real part of said multiple wavelet function adopts the second derivative form of Gaussian function, is used for the matching detection cut; The imaginary part of said multiple wavelet function is the first order derivative of Gaussian function, is used to locate the edge of cut;
Processing module, with said filter function and the projection of said one dimension cut with make convolution, obtain the multiple ridge wave system number of single color, count the multiple ridge wave system number of fusion of computed image according to the multiple ridge wave system of said single color;
Operational module is confirmed the edge of cut according to the imaginary part of the multiple ridge wave system number of said fusion.
10. device according to claim 9 is characterized in that, said device also comprises:
Multiple dimensioned processing module is used to obtain the interval that the cut under a plurality of decomposition scales belongs to;
According to the interval at said cut place, set up the crestal line of forming by the imaginary part maximum point of the multiple ridge wave system number under said a plurality of decomposition scales;
Merge according to the interval of said crestal line the place of the cut under a plurality of decomposition scales.
11. device according to claim 9 is characterized in that, said device also comprises:
The verification module is used to obtain the neighborhood color distance threshold value of the point set that the neighborhood color distance constitutes, and said neighborhood color distance is a pixel neighborhood of a point color distance in the image;
Get rid of false cut point according to said neighborhood color distance threshold value.
12. device according to claim 9 is characterized in that, said device also comprises:
Cut apart module, two dimensional image is divided into overlapped subgraph;
Correspondingly, said device also comprises:
Merge module, be used for confirming that according to the imaginary part of the multiple ridge wave system number of said fusion the edge of cut merges all subgraphs afterwards, obtains the cut of image.
CN200910133800XA 2009-04-17 2009-04-17 Detection method and device for image scratch Expired - Fee Related CN101865859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910133800XA CN101865859B (en) 2009-04-17 2009-04-17 Detection method and device for image scratch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910133800XA CN101865859B (en) 2009-04-17 2009-04-17 Detection method and device for image scratch

Publications (2)

Publication Number Publication Date
CN101865859A CN101865859A (en) 2010-10-20
CN101865859B true CN101865859B (en) 2012-07-04

Family

ID=42957663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910133800XA Expired - Fee Related CN101865859B (en) 2009-04-17 2009-04-17 Detection method and device for image scratch

Country Status (1)

Country Link
CN (1) CN101865859B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156978B (en) * 2010-12-24 2012-09-26 辽宁科锐科技有限公司 Industrial device rapid locating method based on machine vision
CN102129670B (en) * 2011-02-25 2013-02-06 上海交通大学 Method for detecting and repairing movie scratch damage
CN103257143A (en) * 2013-05-09 2013-08-21 苏州金牛精密机械有限公司 Test fixture suitable for film base
CN103308523B (en) * 2013-05-28 2015-04-15 清华大学 Method for detecting multi-scale bottleneck defects, and device for achieving method
CN103868929B (en) * 2013-11-29 2017-01-25 中广核研究院有限公司 Three-dimensional detection method for defects of sealing surface
CN109425610B (en) * 2017-08-24 2021-03-26 南京理工大学 Automatic identification method for limit cutting depth of brittle material
CN108491769A (en) * 2018-03-08 2018-09-04 四川大学 Atrial fibrillation sorting technique based on phase between RR and multiple characteristic values
CN109584212B (en) * 2018-11-05 2022-04-26 华中科技大学 MATLAB-based SLM powder bed powder laying image scratch defect identification method
CN117114655B (en) * 2023-09-06 2024-04-12 江苏华夏电影胶片修复技术有限公司 Quality analysis and comparison method for film after restoration

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JP特开2007-226756A 2007.09.06
US特开2008-107311A 2008.05.08
宋文蕾等.基于脊波变换的数字图像处理.《长春大学学报》.2007,第17卷(第1期),49-53. *
张国华等.基于脊波变换的圆形图像边缘检测.《西安工业大学学报》.2007,第27 卷(第1 期),73-77,82. *

Also Published As

Publication number Publication date
CN101865859A (en) 2010-10-20

Similar Documents

Publication Publication Date Title
CN101865859B (en) Detection method and device for image scratch
CN107045629B (en) Multi-lane line detection method
Nguyen et al. 3D point cloud segmentation: A survey
US6453056B2 (en) Method and apparatus for generating a database of road sign images and positions
Rasmussen Texture-Based Vanishing Point Voting for Road Shape Estimation.
CN106210444A (en) Kinestate self adaptation key frame extracting method
CN110210428B (en) MSER-based smoke root node detection method in remote complex environment
CN111598780B (en) Terrain adaptive interpolation filtering method suitable for airborne LiDAR point cloud
CN113177959B (en) QR code real-time extraction method in rapid movement process
CN110263794B (en) Training method of target recognition model based on data enhancement
CN108829711A (en) A kind of image search method based on multi-feature fusion
Arge et al. Cleaning massive sonar point clouds
CN104463138A (en) Text positioning method and system based on visual structure attribute
CN102779157A (en) Method and device for searching images
Poggenhans et al. A universal approach to detect and classify road surface markings
CN116704333B (en) Single tree detection method based on laser point cloud data
CN110321855A (en) A kind of greasy weather detection prior-warning device
Bormann et al. Autonomous dirt detection for cleaning in office environments
CN108288268A (en) Inshore ship detection method in high-resolution remote sensing image based on Projection Analysis
CN107832732A (en) Method for detecting lane lines based on ternary tree traversal
Zhang et al. Object-based classification of urban airborne LiDAR point clouds with multiple echoes using SVM
Wang et al. A novel traffic stream detection method based on inverse perspective mapping
CN105930813B (en) A method of detection composes a piece of writing this under any natural scene
RU2488881C2 (en) Method of identifying lines on earth's surface
CN109919863B (en) Full-automatic colony counter, system and colony counting method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120704

Termination date: 20160417

CF01 Termination of patent right due to non-payment of annual fee