CN101673345B - Method for extracting target closed contour based on shape prior - Google Patents

Method for extracting target closed contour based on shape prior Download PDF

Info

Publication number
CN101673345B
CN101673345B CN2009100880689A CN200910088068A CN101673345B CN 101673345 B CN101673345 B CN 101673345B CN 2009100880689 A CN2009100880689 A CN 2009100880689A CN 200910088068 A CN200910088068 A CN 200910088068A CN 101673345 B CN101673345 B CN 101673345B
Authority
CN
China
Prior art keywords
phi
shape
profile
edge
image
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
CN2009100880689A
Other languages
Chinese (zh)
Other versions
CN101673345A (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.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN2009100880689A priority Critical patent/CN101673345B/en
Publication of CN101673345A publication Critical patent/CN101673345A/en
Application granted granted Critical
Publication of CN101673345B publication Critical patent/CN101673345B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a method for extracting target closed contour based on shape prior, belonging to the field of computer application technology. From the point of view of simitating the information of human vision, the extraction method inhibiting salient edges of noise and texture is adopted, the shape prior is blended on the basis, and a new target closed contour extraction algorithm can be provided by utilizing curve evolution technology based on differential geometry, so that the important technology is provided for automatic target detection. The experiments on a plurality of image libraries prove that when the image background is very disordered and has partial shading, and part of the target boundary is indistinct caused by weaker light, the method can obtain the whole target closed contour. Simultaneously, when only a few of templates of a certain category of objects are provided, the method can extract the contour of the category of objects with different postures, namely, the method has invariance property for elastic deformation to a certain extent, so as to be directly applied to intelligent image processing. The method can accurately extract the target closed contour and has wide applicability.

Description

Method based on the extraction target closed contour of shape prior
Technical field
The invention belongs to the Computer Applied Technology field, particularly a kind of method of the extraction target closed contour based on shape prior.
Background technology
People are in the face of a strange and complex image time, and people can mark objective contour rapidly, exactly.Yet, when quite simple thing is given computing machine and done concerning people this, be not so easy just.Having lacked information such as priori, where computing machine is the edge, where be objective contour if can't being judged, which is the marking area that we want, and which content is redundant noise.Therefore, the objective contour in the complicated irregular image extracts and has just become the problem of often facing in the computer vision.
Extracting target closed contour is one of approach of target detection and tracking; Although the method for some non-supervision has obtained local success on image-forming condition better image (for example: background is single, the target background contrast strongly, is not blocked etc.), from the complex natural scene, obtain the target integrity profile that possibly have arbitrary shape and be still a still unsolved difficult problem.
What accomplish that the difficulty of this task forms sharp contrast with computing machine is that the human visual system has high efficiency and robustness when the perception objective contour.How could let computing machine can find objective contour rapidly accurately as human? The present invention concentrates the target closed contour extraction algorithm under the inspiration of research biological vision, for automatic target detects important technology is provided.Existing contour extraction method is divided into two types: based on the method and the driving wheel contour method of cluster.
Method based on cluster comprises the k-mean cluster, conviction transmission (Affinity propagation), and the most general spectral clustering of in profile extracts, using." spectrum " is meant the energy spectrum of the data that the second-order statistic of data dependence is represented.Spectral clustering at first makes up relational matrix according to the relation between the picture element, and the proper vector of the analysis matrix data that will constitute matrix are divided into different classes then, makes the just in time profile of a target of correspondence of each type.Minimum cutting (mini-cut) [Wu 1993], average cutting (averagecut) [Sarkar 2000] and normalization cutting (normalized cut) [Shi 1997] are cut apart and can be divided into to number according to the Different function forms of relational matrix and the proper vector of getting with order (possibly get maximum proper vector and also possibly get the minimal characteristic vector) figure.
Shortcoming based on the contour extraction method of cluster is: most applications can produce discontinuous profile fragment, but not a complete closed contour; This unsupervised method is relatively poor to the robustness of noise; The computation complexity of spectral clustering method is higher.
The driving wheel contour method is through under the acting in conjunction of image force and external constraint power, and the motion of controllable continuous deformation curve obtains the final goal profile.People such as Kass have proposed active contour model (Active ContourModel, snake model Snake Model is otherwise known as) in 1987.The energy equation of model can be made up of two parts: a part defined one telescopic and have an internal energy of the curve of certain hard degree; Controlling the physical behavio(u)r and the local continuity of model, making curve keep level and smooth again when curve is inwardly shunk.Another part is an external energy, is made up of image energy quantifier and external force constraint energy term again.By defining suitable image energy item, can make curve to required characteristics of image place motion.The pairing external constraint power of external constraint energy can artificially increase, and is used for strengthening the constraint to curve.
Active contour model has the incomparable advantage of previous methods:
Snake model provides a kind of effectively unified settling mode for the multiple visual problem that needed to solve respectively in the past.Edge, line segment and objective contour have same significance under this model mechanism; Motion tracking and matching problem can easily solve under Unified frame too.
Snake model has changed the single representation mode of lower-level vision information in the past; Through the extreme value of one group of separate lower-level vision problem is provided; With diversified mode to the high-level vision transmission; Mode and high-level vision knowledge through iteration are carried out alternately, and both are unified in the same characteristic extraction procedure first.
After suitable initialization, model can converge on the minimal value place of energy equation automatically.
Meanwhile, active contour model also has intrinsic defective:
Responsive to initial position, need to rely on manual or other machine-processedly are placed on initial curve near the interested characteristics of image, so that obtain correct convergence result.
Because the non-convexity of energy function causes the snake model might be retracted to Local Extremum, even disperses.
Exactly because the plurality of advantages that active contour model had makes it in nearly more than 20 years, obtain swift and violent development.Be broadly divided into based on the active contour model at edge with based on two big types of the active contour models in zone, and introduced curve evolvement technology, come optimization aim with the mode of finding the solution PDE based on level set.
Its main thought is the zero level line that contour curve C is expressed as imbedding function (embedding function) φ, promptly C={ (x, y) | (t)=0}, the evolution of contour curve just is converted into the evolution of its corresponding imbedding function to φ like this, promptly for x, y ∂ C ∂ t → ∂ φ ∂ t . That first is applied to image segmentation with the level set technology is Caselles et al. (1993); He does a convolution with image and the Gaussian smoothing filter that with σ is variance earlier; Through defining suitable image energy quantifier and curvature bound term; Can make the edge motion of curve in image, and reduce the influence of noise as much as possible, can under complex background, extract complete closed contour difform target to the result.
This model can obtain satisfied profile when the contrast of the prospect of image and background is very strong, then powerless to discontinuous edge.Therefore not being suitable for the illumination dimness causes the not so good images of image-forming condition such as edge fog, partial occlusion.In addition, the input of directly extracting as profile with the image of making of the Gaussian wave filter after the smoothing processing, limited to the Noise Suppression effect, only the image to background comparison " totally " has effect preferably.Under complex background, might cause curve not restrained.Also restriction to some extent of shape to target if target contains the profile of depression, is difficult to be deep into the depression position during curve evolvement.
Summary of the invention
The problem that the present invention will solve is to disturb for be subject to ground unrest and the inner vein that overcomes prior art; Do not possess to block, the robustness of illumination and to the above-mentioned defective of elastically-deformable unchangeability; A kind of method of the extraction target closed contour based on shape prior is provided; It is characterized in that, comprise following steps:
Step 1 is utilized the imageing sensor input picture;
Step 2 to the image of step 1 input, is set up the bank of filters p of Simulation of Complex cell 1(f 1, θ 1)~p n(f n, θ n), and image carried out Filtering Processing, obtain the edge;
Step 3 is set up the texture inhibition function r that simulates non-classical receptive field 1(f 1, θ 1)~r n(f n, θ n);
Step 4 suppresses both synergy c to the edge extracting of step 2 Simulation of Complex cell and the texture of step 3 simulation non-classical receptive field 1(f 1, θ 1)~c n(f n, θ n) maximize processing, obtain prominent edge figure;
Step 5, the step of the similarity of shape among shape among calculation template 1~template m and the prominent edge figure;
Step 6, the step of the accurate closed contour of extraction target.
Described step 2,3,4 is the simulating human vision system, and performing step is following:
(1a) input picture is carried out filtering by the Gabor bank of filters of one group of odd symmetry and even symmetry; This is similar to the operation that the complex cell in the human primary visual cortex is taked input picture, purpose be from input picture, extract have CF and towards the edge line segment:
p f , θ = ( p f , θ e ) 2 + ( p f , θ o ) 2 - - - ( 1 )
p f , θ e = I ( x , y ) ⊗ h e ( x , y , θ , f ) - - - ( 2 )
p f , θ o = I ( x , y ) ⊗ h o ( x , y , θ , f ) - - - ( 3 )
h e ( x , y , θ , f ) = exp ( - 1 2 ( x ′ 2 σ x 2 + y ′ 2 σ y 2 ) ) cos ( 2 πf x ′ ) - - - ( 4 )
h o ( x , y , θ , f ) = exp ( - 1 2 ( x ′ 2 σ x 2 + y ′ 2 σ y 2 ) ) sin ( 2 πf x ′ ) - - - ( 5 )
Wherein x '=xcos θ+ysin θ y '=-xsin θ+ycos θ,
I (x, y) expression one width of cloth be of a size of M * N image in (x, the monochrome information of y) locating; p eThe Gabor wave filter h of expression even symmetry eTo the result of image filtering, p oRepresent odd symmetric Gabor wave filter h oTo the result of image filtering, p F, θThe energy summation of representing these two kinds of filter filtering results, the response of corresponding complex cell;
Figure G2009100880689D00045
The expression convolution algorithm, exp () expression is the exponent arithmetic at the end with e; F and θ represent respectively wave filter frequency and towards; σ x 2And σ y 2Represent the width of wave filter on x direction and y direction respectively.
(1b) consider to connect the inhibiting effect that produces through side between the cell, calculating the energy that suppresses to produce is r F, θ, purpose is to suppress noise edge and mixed and disorderly texture edge, thereby only keeps the edge of remarkable structure, this be the priority processing that in the long-term evolution process, forms of human visual system significantly or information of interest, ignore the strategy of redundant information:
r f , θ = p f , θ ⊗ ω ~ - - - ( 6 )
ω ( x , y ) = 1 2 π ( 4 σ ) 2 exp ( - x 2 + y 2 2 ( 4 σ ) 2 ) - 1 2 π σ 2 exp ( - x 2 + y 2 2 σ 2 ) - - - ( 7 )
ω ~ = ω | | ω | |
In the formula, σ representes the bandwidth of wave filter, || || expression norm, r F, θThe expression inhibiting effect is with the difference of gaussian wave filter of normalization Response p with complex cell F, θConvolution represent, be the non-classical receptive field pattern of simulation primary visual cortex cell.
(1c) from the edge that complex cell extracts, get rid of repressed edge, promptly obtain the edge that keeps
c f,θ=[p f,θ-αr f,θ] + (8)
α is a constant, is used for regulating inhibiting power.[] +For getting the operation of nonnegative number, nonnegative number remains unchanged after operating through this, and negative is output as zero after operating through this.
(1d) when θ get different towards the time, from each c of correspondence F, θIn get maximum as prominent edge.
sc f=max{c f,θ|θ=θ 1,θ 2,…,θ n}(9)
Described step (5) realizes through the distance between the definition shape.Suppose s iAnd s jBe any two shapes, SD (s i, s j) represent the distance between them, weigh shape and the similarity of the contour shape among the prominent edge figure in each template with this;
SD ( s i , s j ) = | | φ ( s i ) - φ ( s j ) | | 2 + | | ▿ φ ( s i ) - ▿ φ ( s j ) | | 2 - - - ( 10 )
Wherein, φ (s i) be shape s iThe symbolic distance function, (x y) just in time is positioned at s to any point in the image two dimensional surface iProfile on the time, symbolic distance is 0; When (x y) is positioned at s iProfile when inner, symbolic distance is for just, size is that (x is y) apart from s iThe shortest Euclidean distance of profile; When (x y) just in time is positioned at s iProfile when outside, symbolic distance is for negative, size is that (x is y) apart from s iThe shortest Euclidean distance of profile.
Figure G2009100880689D00052
D ((x, y), s i) (x is y) to shape s for any point in the presentation video two dimensional surface iThe shortest Euclidean distance of profile.
It should be noted that we have carried out alignment operation to the profile among shape in the template and the prominent edge figure in advance, make algorithm have rotation, translation invariance.
Said step 5,6 is realized by following steps;
(1) combine the gray scale geological information of prominent edge figure and the shape information that template provides, constitute energy function,
E=E snake+E shape (12)
Wherein, E SnakeSnake model energy function for traditional is defined as
E snake = ∫ 0 L ( C ) g ( | ▿ I [ C ( p ) ] | ) dp - - - ( 13 )
The arc length of L in the formula (C) expression closed curve C; C (p) is the parametric representation form of closed curve, and when p got different values, C (p) was the coordinate of point under two-dimensional coordinate system different on the closed curve;
Figure G2009100880689D00054
The shade of gray value at presentation video certain some place on closed curve; G () is a positive monotone decreasing and the zero function that levels off to, and can get usually g ( ▿ I ) = 1 1 + | | ▿ G ⊗ I | | , (I is an original image, and G is a Gaussian function,
Figure G2009100880689D00062
The expression convolution algorithm) is used for controlling level collection curve and moves, and finally stop near the edge E towards edge of image ShapeBe defined as
E shape = Σ i = 1 m γ i SD 2 ( C , C i ) - - - ( 14 )
C in the formula 1, C 2..., C mProfile for m template providing; SD defines like (10) formula; γ iBe weights, satisfy γ i>=0, ∑ γ i=1, concrete computing method are: certain template contours C iWith the profile C among the prominent edge figure 0Distance,
Divided by prominent edge figure and all template contours apart from sum
γ i = SD 2 ( C 0 , C i ) Σ i = 1 m SD 2 ( C 0 , C i ) - - - ( 15 )
(2) minimization of energy function: the rectangle corresponding with image boundary is the first closure profile, carries out curve evolvement along the negative gradient direction of energy function, promptly carries out the gradient decline iteration of energy function;
∂ φ ∂ t = - ∂ E ( φ ) ∂ φ - - - ( 16 )
∂ φ ∂ t = g ( ▿ I ) | ▿ φ | ( div ( ▿ φ | ▿ φ | + v ) ) - β ▿ E shape - - - ( 17 )
▿ E shape = Σ i = 1 m ( φ - φ i | | φ - φ i | | - div ( ▿ ( φ - φ i ) | | ▿ ( φ - φ i ) | | ) ) - - - ( 18 )
Wherein, v is a constant; Div representes divergence; β representes to be used for regulating the constant of the effect power of prior shape in energy function.Here φ is an imbedding function, and the zero level collection of imbedding function is exactly the target closed contour C that we will extract, promptly C={ (x, y) | φ (x, y, t)=0};
The initial value of said imbedding function is the symbolic distance function of first closure profile, and above-mentioned formula (11) is defined as according to formula (17) t evolution in time;
(3) if the distance between adjacent twice profile corresponding shape less than threshold epsilon, then stops iteration, the closed contour that obtain this moment is the final goal profile.
Beneficial effect of the present invention: proposed a kind of new target closed contour extraction algorithm.Through with the experiment confirm of this algorithm application in the multiclass natural image; This algorithm is a kind of effective objective contour method for distilling; Noisy background and partial occlusion are had robustness, thereby make this algorithm be applicable to multiple visual task, like target detection, tracking and identification etc.
Description of drawings
Fig. 1 is for extracting the process flow diagram of target closed contour.
The human primary visual cortex of Fig. 2 (a) has the cell receptive field figure of odd symmetry and even symmetry character;
The inhibiting effect synoptic diagram of the human primary visual cortex non-classical receptive field of Fig. 2 (b);
The prominent edge figure that Fig. 3 uses the step (1) of this algorithm to obtain;
(a) original image; (b) experimental result of the present invention; (c) experimental result of Canny edge extracting operator;
Fig. 4 template exemplary plot;
(a) template of in embodiment 1, using; (b) template of in embodiment 2, using;
The result of the similarity of the profile among shape in Fig. 5 calculation template and the prominent edge figure;
(a) the minimum situation (promptly the most similar) of distance; (b) distance situation placed in the middle; (c) the maximum situation (promptly least similar) of distance;
Fig. 6 uses the exemplary plot of the iterative process of this algorithm;
Fig. 7 is under noisy background and partial occlusion, and the present invention extracts the result of the accurate closed contour of target;
(a1) original image; (b1) experimental result of the present invention;
(a2) original image; (b2) experimental result of the present invention;
(a3) original image; (b3) experimental result of the present invention.
Embodiment
The present invention provides a kind of method of the extraction target closed contour based on shape prior, below in conjunction with accompanying drawing and embodiment invention is further specified.
Shown in Figure 1 for extracting the process flow diagram of target closed contour, the method for extracting target closed contour comprises following steps;
Step 1 is utilized the imageing sensor input picture;
Step 2 to the image of step 1 input, is set up the bank of filters p of Simulation of Complex cell 1(f 1, θ 1)~p n(f n, θ n), and image carried out Filtering Processing, obtain the edge;
Step 3 is set up the texture inhibition function r that simulates non-classical receptive field 1(f 1, θ 1)~r n(f n, θ n); (shown in the inhibiting effect synoptic diagram of cell receptive field figure and the human primary visual cortex non-classical receptive field of Fig. 2 (b) that the human primary visual cortex of Fig. 2 (a) has odd symmetry and even symmetry character);
Step 4 suppresses both synergy c to the edge extracting of step 2 Simulation of Complex cell and the texture of step 3 simulation non-classical receptive field 1(f 1, θ 1)~c n(f n, θ n) maximize processing, obtain prominent edge figure;
Step 5, the step of the similarity of shape among shape among calculation template 1~template m and the prominent edge figure;
Step 6, the step of the accurate closed contour of extraction target.
Experimental situation is PentiumIV2.4GHz CPU, the computing machine of 1G internal memory, and native system practical standard C++ and Matlab realize.The image library of using is the Weizmann image library, Cremers image library and INRIA PersonDataset image library.
The closed contour of embodiment 1 horse extracts
At first, obtain the prominent edge figure of input picture.Its course of work is described below:
1. the complex cell in the simulating human primary visual cortex from input picture, extract have CF and towards the mode of edge line segment, image I is carried out filtering by the Gabor bank of filters of one group of odd symmetry and even symmetry.Fig. 2 (a) has provided the cell receptive field figure that human primary visual cortex has odd symmetry and even symmetry character respectively, and the two-dimensional Gabor function at the image in spatial domain similarly.
2. the inhibiting effect in the simulating human primary visual cortex is with the difference of gaussian wave filter of normalization
Figure G2009100880689D00081
Response p with complex cell F, θConvolution represent.Fig. 2 (b) has provided the inhibiting effect synoptic diagram of the classical receptive field of human primary visual cortex.
3. the edge extracting that extracts at complex cell adds inhibiting effect on, and when Gabor wave filter θ get different towards the time, respectively respond c from correspondence F, θIn get maximum as prominent edge.Fig. 3 (a), Fig. 3 (b), Fig. 3 (c) have described the inhibiting prominent edge extraction effect of this consideration to noise and texture edge, as a comparison, give the result of Canny edge extracting operator commonly used.Can find out that the result of Canny edge extracting operator comprises many chickenshits and texture edge, and technology of the present invention has suppressed the texture edge of most of ground unrest edge and target internal effectively, has mainly kept significant profile.Can see also simultaneously that at the very approaching profile of locating of the contrast of prospect and background, use should technology also can't extract.
This just needs the curve evolvement technology based on template of back to obtain complete closed contour.
Secondly, the coarse profile among the calculating prominent edge figure and the similarity of each template, the weights of each shape of template when utilizing shape prior as next step.Fig. 4 (a) has provided 5 horse templates that this example is used, and Fig. 4 (b) has provided 6 people's templates that this example is used, and all is binary pictures.
The result of the similarity of the profile among shape in Fig. 5 calculation template and the prominent edge figure; Provided result according to the similarity of profile among the distance measurement prominent edge figure of formula (10) definition and template.Wherein
(a) the minimum situation (promptly the most similar) of distance; (b) distance situation placed in the middle; (c) the maximum situation (promptly least similar) two of distance
Can find out with prominent edge figure in contour shape approaching, the distance less; Have than large deformation with contour shape among the prominent edge figure, distance is just big.
Once more,, utilize, extract the accurate closed contour of target based on differential geometric curve evolvement technology according to the shape prior that template provides.Its course of work is described below:
1. the energy function that combines classical snake model and shape of template priori is set, and obtains the gradient expression-form of energy function;
2. be the first closure profile with the corresponding rectangle of image boundary, carry out iteration along the negative gradient direction of energy function;
3. the distance between adjacent twice profile corresponding shape stops iteration less than threshold epsilon, and the closed contour that obtain this moment is the final goal profile.
Fig. 6 is in the iterative process of energy function, 4 different middle corresponding constantly profile diagrams, and visible closed contour is shunk towards the border of target by initial rectangle gradually.
The objective contour that obtains when Fig. 7 is iteration stopping, wherein, (a1) original image; (b1) experimental result of the present invention;
(a2) original image; (b2) experimental result of the present invention; (a3) original image; (b3) experimental result of the present invention.Can find out that from this result the present invention has robustness to illumination, complex background and partial occlusion, can not produce the profile breakage problem, and when the target in the image and shape of template have than large deformation, also can produce profile accurately.
Embodiment 2 pedestrians' closed contour extracts
The unique difference part of the operation of the present embodiment and first embodiment is: when the coarse profile in calculating prominent edge figure and the similarity of each template; The size different to template taking; Get 6 sizes from equally spaced between full-sized 0.5 times to 2 times of the template; Calculate the similarity of different scaled lower bolster and prominent edge figure respectively, make similarity the highest (being that distance is minimum between shape) be of a size of matching size, follow-up step is all carried out under this matching size.This is that such pre-service is for making the present invention have the convergent-divergent unchangeability because pedestrian in the template and the pedestrian's size in the pending image have difference.
The information processing mechanism of simulating human vision; Merge shape prior; And utilize based on differential geometric curve evolvement technology, a kind of new target closed contour extraction algorithm VISDG (Human Vision InspiredIntegration of Shape Prior and Differential Geometry) has been proposed.The present invention has following outstanding characteristics: the first, and the VISDG algorithm necessarily can obtain complete target closed contour, and other contour extraction methods (such as the method based on cluster) are had to discrete profile fragment usually.Second; When image background is in a mess; The VISDG algorithm still can extract objective contour exactly, and this is to suppress texture among the human visual system with noise, only keep the mechanism of remarkable structure because we have simulated on the one hand, has introduced shape prior owing to us on the other hand.The 3rd, the VISDG algorithm has the robustness to partial occlusion.The 4th, the VISDG algorithm is not subject to illumination effect, even light causes that certain segment boundary of target is fuzzy a little less than excessively, still can extract the accurate target profile with the VISDG algorithm.The 5th, a small amount of template of a certain classification object only is provided, just can carry out profile to this type objects of different attitudes and extract, promptly the VISDG algorithm have to a certain degree to elastically-deformable unchangeability.
The present invention also exists and treats improvements: only considered to have only the situation of a well-marked target in the image at present, and do not considered that a plurality of targets are arranged in the image, need carry out the situation that profile separately extracts.
These instances only are used to the present invention is described and are not used in and limit usable range of the present invention; After having read teachings of the present invention; Those skilled in the art can do various changes and modification to this invention, and these equivalent form of values belong to the application's appended claims institute restricted portion equally.

Claims (1)

1. the method based on the extraction target closed contour of shape prior is characterized in that, comprises following steps;
Step 1 is utilized the imageing sensor input picture;
Step 2 to the image of step 1 input, is set up the bank of filters of Simulation of Complex cell, promptly by the Gabor bank of filters of one group of odd symmetry and even symmetry input picture is carried out filtering and obtains p 1(f 1, θ 1)~p n(f n, θ n), this is similar to the operation that the complex cell in the human primary visual cortex is taked input picture, purpose be from input picture, extract have CF and towards the edge line segment:
p f , θ = ( p f , θ e ) 2 + ( p f , θ o ) 2 - - - ( 1 )
p f , θ e = I ( x , y ) ⊗ h e ( x , y , θ , f ) - - - ( 2 )
p f , θ o = I ( x , y ) ⊗ h o ( x , y , θ , f ) - - - ( 3 )
h e ( x , y , θ , f ) = exp ( - 1 2 ( x ′ 2 σ x 2 + y ′ 2 σ y 2 ) ) cos ( 2 πf x ′ ) - - - ( 4 )
h o ( x , y , θ , f ) = exp ( - 1 2 ( x ′ 2 σ x 2 + y ′ 2 σ y 2 ) ) sin ( 2 π fx ′ ) - - - ( 5 )
Wherein x '=xcos θ+ysin θ y '=-xsin θ+ycos θ,
I (x, y) expression one width of cloth be of a size of M * N image in (x, the monochrome information of y) locating; p eThe Gabor wave filter h of expression even symmetry eTo the result of image filtering, p oRepresent odd symmetric Gabor wave filter h oTo the result of image filtering, p F, θThe energy summation of representing these two kinds of filter filtering results, the response of corresponding complex cell;
Figure FSB00000671675000016
The expression convolution algorithm, exp () expression is the exponent arithmetic at the end with e; F and θ represent respectively wave filter frequency and towards; σ x 2And σ y 2Represent the width of wave filter on x direction and y direction respectively; p 1(f 1, θ 1)~p n(f n, θ n) represent by a class frequency to be f 1..., f n, be oriented θ 1..., θ nThe bank of filters result that input picture carried out filtering;
Step 3 is set up the texture inhibition function r that simulates non-classical receptive field 1(f 1, θ 1)~r n(f n, θ n); Said texture inhibition function r 1(f 1, θ 1)~r n(f n, θ n) be established as and consider to connect the inhibiting effect that produces through side between the cell, calculating the energy that suppresses to produce is r F, θ, purpose is to suppress noise edge and mixed and disorderly texture edge, thereby only keeps the edge of remarkable structure, this be the priority processing that in the long-term evolution process, forms of human visual system significantly or information of interest, ignore the strategy of redundant information:
r f , θ = p f , θ ⊗ ω ~ - - - ( 6 )
ω ( x , y ) = 1 4 π ( 4 σ ) 2 exp ( - x 2 + y 2 4 ( 4 σ ) 2 ) - 1 2 π σ 2 exp ( - x 2 + y 2 2 σ 2 ) - - - ( 7 )
ω ~ = ω | | ω | | ,
In the formula, σ representes the bandwidth of wave filter, || || expression norm, r F, θThe expression inhibiting effect is with the difference of gaussian wave filter of normalization
Figure FSB00000671675000024
Response p with complex cell F, θConvolution represent, be the non-classical receptive field pattern of simulation primary visual cortex cell;
Step 4 obtains prominent edge figure, comprising: from the edge that complex cell extracts, get rid of repressed edge earlier, promptly obtain the edge that keeps:
c f,θ=[p f,θ-αr f,θ] + (8)
Wherein α is a constant, is used for regulating inhibiting power, [] +For getting non-negative operation, nonnegative number remains unchanged after operating through this, and negative is output as zero after operating through this;
Then, when θ get different towards the time, from each c of correspondence F, θIn get maximum as prominent edge:
sc f=max{c f,θ|θ=θ 1,θ 2,…,θ n} (9)
Step 5; Template set { template 1~template m} for the target to be detected that provides; Calculate the similarity of the contour shape among shape and the prominent edge figure that is obtained by step 4 in each template through the definition of the distance between shape and the shape, wherein the distance definition between the shape is following: suppose s iAnd s jBe any two shapes, SD (s i, s j) represent the distance between them
SD ( s i , s j ) = | | φ ( s i ) - φ ( s j ) | | 2 + | | ▿ φ ( s i ) - ▿ φ ( s j ) | | 2 - - - ( 10 )
Wherein, φ (s i) be shape s iThe symbolic distance function, (x y) just in time is positioned at s to any point in the image two dimensional surface iProfile on the time, symbolic distance is 0; When (x y) is positioned at s iProfile when inner, symbolic distance is for just, size is that (x is y) apart from s iThe shortest Euclidean distance of profile; When (x y) just in time is positioned at s iProfile when outside, symbolic distance is for negative, size is that (x is y) apart from s iThe shortest Euclidean distance of profile,
Figure FSB00000671675000031
D ((x, y), s i) (x is y) to shape s for any point in the presentation video two dimensional surface iThe Euclidean distance of profile; It should be noted that in advance and will carry out alignment operation, make algorithm have rotation, translation invariance the profile among shape in the template of target to be detected and the prominent edge figure;
Step 6 is obtained the closed contour of target through following fine division step, comprises
(1) combine the gray scale geological information of prominent edge figure and the shape information that template provides, constitute energy function,
E=E snake+E shape (12)
Wherein, E SnakeSnake model energy function for traditional is defined as
E snake = ∫ 0 L ( C ) g ( | ▿ I [ C ( p ) ] | ) dp - - - ( 13 )
The arc length of L in the formula (C) expression closed curve C; C (p) is the parametric representation form of closed curve, and when p got different values, C (p) was the coordinate of point under two-dimensional coordinate system different on the closed curve;
Figure FSB00000671675000033
The shade of gray value at presentation video certain some place on closed curve; G () is a positive monotone decreasing and the zero function that levels off to, and gets
Figure FSB00000671675000034
I is an original image, and G is a Gaussian function,
Figure FSB00000671675000035
The expression convolution algorithm; Be used for controlling level collection curve and move, and finally stop near the edge E towards edge of image ShapeBe defined as
E shape = Σ i = 1 m γ i SD 2 ( C , C i ) - - - ( 14 )
C in the formula 1, C 2..., C mProfile for m template of the target to be detected that provides; SD defines like (10) formula; γ iBe weights, satisfy γ i>=0, ∑ γ i=1, concrete computing method are: certain template contours C iWith the profile C among the prominent edge figure 0Distance, divided by prominent edge figure and all template contours apart from sum,
γ i = SD 2 ( C 0 , C i ) Σ i = 1 m SD 2 ( C 0 , C i ) - - - ( 15 )
(2) minimization of energy function: the rectangle corresponding with image boundary is the first closure profile, carries out curve evolvement along the negative gradient direction of energy function, promptly carries out the gradient decline iteration of energy function;
∂ φ ∂ t = - ∂ E ( φ ) ∂ φ - - - ( 16 )
∂ φ ∂ t = g ( ▿ I ) | ▿ φ | ( div ( ▿ φ | ▿ φ | ) + v ) - β ▿ E shape - - - ( 17 )
▿ E shape = Σ i = 1 m ( φ - φ i | | φ - φ i | | - div ( ▿ ( φ - φ i ) | | ▿ ( φ - φ i ) | | ) ) - - - ( 18 )
Wherein, v is a constant; Div representes divergence; β representes to be used for regulating the constant of the effect power of prior shape in energy function; φ is an imbedding function, and the zero level collection of imbedding function is exactly the target closed contour C that we will extract, promptly C={ (x, y) | φ (x, y, t)=0};
The initial value of said imbedding function is the symbolic distance function of first closure profile, defines like above-mentioned formula (11); Imbedding function is according to formula (17) t evolution in time;
(3) if the distance between adjacent twice profile corresponding shape less than threshold epsilon, then stops iteration, the closed contour that obtain this moment is the final goal profile.
CN2009100880689A 2009-07-01 2009-07-01 Method for extracting target closed contour based on shape prior Expired - Fee Related CN101673345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100880689A CN101673345B (en) 2009-07-01 2009-07-01 Method for extracting target closed contour based on shape prior

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100880689A CN101673345B (en) 2009-07-01 2009-07-01 Method for extracting target closed contour based on shape prior

Publications (2)

Publication Number Publication Date
CN101673345A CN101673345A (en) 2010-03-17
CN101673345B true CN101673345B (en) 2012-05-09

Family

ID=42020566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100880689A Expired - Fee Related CN101673345B (en) 2009-07-01 2009-07-01 Method for extracting target closed contour based on shape prior

Country Status (1)

Country Link
CN (1) CN101673345B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375985A (en) * 2010-08-10 2012-03-14 富士通株式会社 Target detection method and device
CN101968850B (en) * 2010-10-21 2012-12-12 重庆大学 Method for extracting face feature by simulating biological vision mechanism
CN101964112B (en) * 2010-10-29 2013-04-03 上海交通大学 Adaptive prior shape-based image segmentation method
CN102201120B (en) * 2011-06-17 2012-08-29 电子科技大学 Multifeature-based target object contour detection method
CN103679688B (en) * 2012-09-18 2016-11-09 浙江大华技术股份有限公司 A kind of method and device extracting target image
CN103065333B (en) * 2012-12-11 2015-06-17 华中科技大学 Color snake image segmentation method based on quaternion
JP6197340B2 (en) * 2013-04-05 2017-09-20 オムロン株式会社 Image processing apparatus, image processing method, and program
CN104123712B (en) * 2013-04-26 2017-07-28 富士通株式会社 Similarity Measure apparatus and method and object identification device and method
CN104766287A (en) * 2015-05-08 2015-07-08 哈尔滨工业大学 Blurred image blind restoration method based on significance detection
CN105631867B (en) * 2015-12-25 2019-08-23 中国科学院深圳先进技术研究院 A kind of fully-automatic ultrasonic contrastographic picture dividing method
CN105631460A (en) * 2016-01-07 2016-06-01 董超超 Automobile auxiliary brake device capable of fast braking
CN105512642A (en) * 2016-01-07 2016-04-20 杨超坤 Packing device capable of packing rapidly
CN105603912A (en) * 2016-01-07 2016-05-25 吴本刚 High-efficiency intelligent zebra stripe guardrail
CN105447495A (en) * 2016-01-07 2016-03-30 邱林新 Automatic tracking apparatus realizing rapid tracking
CN105894496A (en) * 2016-03-18 2016-08-24 常州大学 Semi-local-texture-feature-based two-stage image segmentation method
CN105894546A (en) * 2016-04-27 2016-08-24 梧州市自动化技术研究开发院 Video image modeling processing method for moving object on belt conveyor
CN106845495B (en) * 2016-12-30 2019-05-24 浙江工业大学 Broken curve method of closing in a kind of image
CN107767387B (en) * 2017-11-09 2020-05-05 广西科技大学 Contour detection method based on variable receptive field scale global modulation
CN108090492B (en) * 2017-11-09 2019-12-31 广西科技大学 Contour detection method based on scale clue suppression
CN109919945B (en) * 2019-02-01 2022-03-25 广西科技大学 Contour detection method based on non-classical receptive field non-linear two-side subunit response
CN111754455B (en) * 2020-05-15 2024-03-19 华能国际电力股份有限公司海门电厂 Water leakage detection method and system for thermal power plant
US11488021B2 (en) * 2020-06-18 2022-11-01 Shanghai United Imaging Intelligence Co., Ltd. Systems and methods for image segmentation
CN113205476A (en) * 2020-08-04 2021-08-03 黄永芹 Platform and method for intelligently identifying germ target
CN112464948A (en) * 2020-11-11 2021-03-09 常州码库数据科技有限公司 Natural scene target contour extraction method and system based on bionics
CN113189634B (en) * 2021-03-02 2022-10-25 四川新先达测控技术有限公司 Gaussian-like forming method
CN113808119B (en) * 2021-09-24 2024-02-20 杭州永川科技有限公司 Magnetic induction imaging method for automatically acquiring outline of detection target

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1169079C (en) * 2002-03-25 2004-09-29 北京工业大学 Chinese medicine tongue image computer cutting based on sample strip Snakes model

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1169079C (en) * 2002-03-25 2004-09-29 北京工业大学 Chinese medicine tongue image computer cutting based on sample strip Snakes model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Michael Kass et al.Snakes:Active Contour Models.《International Journal of Computer Vision》.1988,321-331. *
窦燕等.一种视皮层非经典感受野的模型.《燕山大学学报》.2009,第33卷(第2期),109-113. *

Also Published As

Publication number Publication date
CN101673345A (en) 2010-03-17

Similar Documents

Publication Publication Date Title
CN101673345B (en) Method for extracting target closed contour based on shape prior
CN102592136B (en) Three-dimensional human face recognition method based on intermediate frequency information in geometry image
De Siqueira et al. Multi-scale gray level co-occurrence matrices for texture description
Bileschi StreetScenes: Towards scene understanding in still images
CN102509091B (en) Airplane tail number recognition method
CN101520894B (en) Method for extracting significant object based on region significance
CN101847163B (en) Design patent image retrieval method with multi-characteristics fusion
Hung et al. Image texture analysis
CN103198303B (en) A kind of gender identification method based on facial image
CN102254323B (en) Method for carrying out change detection on remote sensing images based on treelet fusion and level set segmentation
CN105719285A (en) Pedestrian detection method based on directional chamfering distance characteristics
Kobayashi et al. Three-way auto-correlation approach to motion recognition
CN104766046A (en) Detection and recognition algorithm conducted by means of traffic sign color and shape features
Soni et al. Text detection and localization in natural scene images based on text awareness score
CN101334834B (en) Bottom-up caution information extraction method
CN103700089B (en) Extracting and sorting method of multi-scale isomeric features of three-dimensional medical image
CN103886589A (en) Goal-oriented automatic high-precision edge extraction method
CN104392241A (en) Mixed regression-based head pose estimation method
Widynski et al. Local symmetry detection in natural images using a particle filtering approach
CN103984920A (en) Three-dimensional face identification method based on sparse representation and multiple feature points
CN103186790A (en) Object detecting system and object detecting method
CN109034213B (en) Hyperspectral image classification method and system based on correlation entropy principle
Liu et al. Shape context based mesh saliency detection and its applications: A survey
Wu et al. CNN refinement based object recognition through optimized segmentation
Zhu et al. A diffusion wavelet approach for 3-D model matching

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120509

Termination date: 20130701