CN101504767B - Image splitting method based on level set relay - Google Patents

Image splitting method based on level set relay Download PDF

Info

Publication number
CN101504767B
CN101504767B CN2009100216202A CN200910021620A CN101504767B CN 101504767 B CN101504767 B CN 101504767B CN 2009100216202 A CN2009100216202 A CN 2009100216202A CN 200910021620 A CN200910021620 A CN 200910021620A CN 101504767 B CN101504767 B CN 101504767B
Authority
CN
China
Prior art keywords
image
level set
omega
edge
subregion
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
CN2009100216202A
Other languages
Chinese (zh)
Other versions
CN101504767A (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.)
Xidian University
Original Assignee
Xidian 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 Xidian University filed Critical Xidian University
Priority to CN2009100216202A priority Critical patent/CN101504767B/en
Publication of CN101504767A publication Critical patent/CN101504767A/en
Application granted granted Critical
Publication of CN101504767B publication Critical patent/CN101504767B/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 sequential level set-based method for automatically segmenting images, which comprises the steps: (1) inputting an image I to be segmented and automatically initializing a level set function in an image domain by using a morphological method; (2) evolving the level set function by using an iterative approach in a corresponding subdomain to obtain the level set function and a detected image border, and using the inside domain of the edge as a next subdomain; (3) converting an image edge detected in the subdomain into a binary image and storing the binary image; (4) judging whether the area of the next subdomain is zero, and executing a step (5) if the area of the next subdomain is zero, or returning to the step (1) if the area of the next subdomain is not zero; and (5) performing a 'combination' operation of the stored binary image, combining the image edges of all subdomains, and completing the image segmentation. The method has the advantages of detecting more image edges and automatically completing image segmentation, and can be used for segmenting natural images and medical images.

Description

Image partition method based on level set relay
Technical field
The invention belongs to technical field of image processing, relate to level set (Level Set Method) image partition method, can be used for cutting apart medical image and natural image.
Background technology
Image obtains with multi-form and means observation objective world by various recording geometrys, can directly or indirectly act on human eye and and then produce the entity of vision.The human information that obtains from the external world has 75% to obtain from image approximately, and this had both illustrated that amount of image information was huge, shows that also the mankind have higher utilization factor to image information.Along with the development of signal processing theory and computer science and technology, Image Engineering also become one abundant in content and develop subject rapidly.And as the basis of Image Engineering, image segmentation is the committed step from the Flame Image Process to the graphical analysis, also is a kind of basic computer vision technique.
To the history in existing 40 years of Study of Image Segmentation, during emerged various dividing methods based on different theories, however, this field never forms design and the realization that a unified theoretical system instructs new dividing method.In recent years, initiatively consistency profiles showed in the image segmentation field and enlivened, and had produced a lot of new algorithms, as the snake method, and Level Set Method (Level set Method).Different according to the expression of evolution curve and implementation method, initiatively consistency profiles can be divided into:
1) parameter active profile (PAC, Parametric Active Contour), this class methods operation parameter curve method explicitly is represented the curve that develops, and instructs curve to develop in image by constructing corresponding energy function, and finally reaches the purpose of cutting apart.The shortcoming of this method maximum is the change in topology that must solve target in the image, and this problem is to be difficult to very much solve.
2) how much active profile (GAC, Geometric Active Contour), such method is converted into the evolution that is defined in the level set function in the higher dimensional space with the evolution in the plane of evolution curve, and the zero level collection of usage level set function (ZeroLevel Set) is implicitly represented the evolution curve.People such as Suri are at its article " J.S.Suri; K.Liu; S.Singh; S.N.Laxminarayan; X.Zeng and L.Reden.Shape recovery algorithms using level sets in 2-d/3-dmedical imagery:a state-of-the-art review.IEEE Trans.Information Technology in Biomedicine; 2002,6 (1): 8-28. " at length introduce and analyzed the advantage of Level Set Method in; wherein most important is exactly that the develop implicit representation of curve makes that Level Set Method can be simply and the topological deformation of processing target neatly; as division, merge etc.
Level Set Method the earliest is to be proposed in " S.Osher; J.A.Sethian.Fronts propagatingwith curvature-dependent speed:algorithms based on Hamilton-Jacobi formulation.J.Computational Physics; 1988; 79 (1): 12-49. " literary composition by Osher and Sethian, after this people such as Maladi has been used in it cut apart " R.Malladi; J.A.Sethian; and B.C.Vemuri.Shape modeling with frontpropagation:a level set approach.IEEE Trans.Pattern Analysis and Machine Intelligence; 1995,17 (2): 158-175. " of complex target again.There are following three subject matters in these early stage methods:
(1) need artificial initialization evolution curve, promptly manual closed curve of placement on image to be split, thereby ability initialization level set function, this process can not be finished automatically;
(2) instruct the evolution curve to stop on the edge in the image by definition edge indicator function, to reach the purpose of split image, but this indicator function can only make curve rest on the nearest edge of the initial evolution curve of distance, thus omission the initial evolution curve image border far away of distance;
(3) must be in the evolution of level set function add artificially and reinitialize link, make level set function in evolutionary process, remain the symbolic distance function.This link that reinitializes all is by finding the solution a partial differential equation aperiodically in the process of level set function iterative, and calculated amount is bigger.And Gomes also points out the very coordination of theory of this mode and level set in its article " J.Gomes and O.Faugeras.Reconciling distance functions and level sets.J.Visual Communication and ImageRepresentation; 2000,11 (2): 209-223. ".Given this, people such as Li proposed a kind of variation level diversity method " C.Li; C.Xu; C.Gui; and M.D.Fox.Level set evolution without re-initialization:a new variational formulation.IEEEConf.Computer Vision Pattern Recognition; 2005; 1:430-436. " of reinitializing of not needing in 2005 again, this method guarantees that by introduce penalty term in energy function level set function is the symbolic distance function, has avoided reinitializing process in evolution.But still there is following problem:
(1) needing the people is initialization evolution curve, thus ability initialization level set function;
(2) employing is based on the edge indicator function of gradient of image and gray scale, and zero level collection curvilinear motion direction shows as shrinks or expansion, makes this method can only detect the initial nearest edge of evolution curve of distance.
The Level Set Method that not needing of the present invention is based on that people such as Li proposes reinitializes, automatically image is divided into a series of nested subregions according to edge feature, level set function keeps sequential evolution in each subregion, and detect edge in this zone, synthetic at last detected all edges, realized the cutting apart fully of image overcome two shortcomings mentioned above.
Summary of the invention
The object of the invention is to overcome the deficiency of above-mentioned existing level set cutting techniques, a kind of image partition method and device based on level set relay proposed, not need the people be the situation of initialization evolution curve to be implemented in, automatically more edge in the detected image improves the automatization level and the segmentation effect of existing level set dividing method based on the edge.
The technical thought that realizes the object of the invention is: the usage level collection that replaces develops and nested subregion auto-initiation, makes level set function develop in the subregion of correspondence and detects respective edges.When the group region area is zero, synthesize detected edge in each sub regions, get segmentation result to the end.
Proposed a kind of image partition method, comprised the steps: based on level set relay
A. import image I to be split, and in image, utilize morphological method auto-initiation level set function;
B. to the level set function φ after the initialization X, y, t=0 r, use iterative computation that it is developed in corresponding subregion, obtain the level set function φ of stable state X, y rAnd detected image border
Figure G2009100216202D00031
And with this edge
Figure G2009100216202D00032
Interior zone is as next subregion Ω R+1
C. with the edge
Figure G2009100216202D00033
Be converted into bianry image, and this bianry image is kept in the internal memory;
D. judge next subregion Ω R+1Area whether be zero, if area is zero then execution in step E, otherwise return steps A, stop condition is:
Area(Ω r+1)=0;
E. the bianry image of all preservations is carried out " also " operation,, finish image segmentation to merge the edge of all subregions.
Above-mentioned image partition method based on level set relay, the described morphological method auto-initiation level set function that utilizes of steps A wherein, carry out as follows:
A1. according to stable state evolution curve in the top area, obtain nested subregion Ω r, wherein r represents the r sub regions, top layer regions fixedly installs and is Ω 0=I;
A2. use morphological method initialization evolution curve
Figure G2009100216202D00034
Wherein t=0 represents initially to develop curve, and its initialization formula is:
∂ Ω t = 0 r = | ▿ Erode ( Ω r , ϵ d ) |
In the formula, Erode () expression corrosion operation, ε dFor positive constant span is 3-5,
Figure G2009100216202D00036
Represent gradient, || represent the amplitude of gradient;
A3. according to subregion Ω r, initialization evolution curve
Figure G2009100216202D00037
With its interior zone Ω T=0 rCalculate initial level set function φ X, y, t=0 r, computing formula is::
φ x , y , t = 0 r = d ( x , y ) ∈ Ω t = 0 r 0 ( x , y ) ∈ ∂ Ω t = 0 r - d ( x , y ) ∈ Ω r \ Ω t = 0 r - ∂ Ω t = 0 r ,
In the formula,
Figure G2009100216202D00039
Expression evolution curve, Ω T=0 rThe zone of expression evolution curve inside,
Figure G2009100216202D000310
Expression subregion Ω rIn and the zone of evolution extra curvature, d is that the common value of positive constant is 4.
Above-mentioned image partition method based on level set relay, wherein step C is described with the edge
Figure G2009100216202D000311
Being converted into bianry image, is to generate a width of cloth and the onesize image B of image I r(x, y), with image B r(x, y) middle corresponding edge
Figure G2009100216202D000312
Locational pixel assignment be 1, image B r(x, y) in other locational pixel assignment be 0, calculate this bianry image according to following formula:
B r ( x , y ) = 1 ( x , y ) ∈ ∂ Ω r 0 ( x , y ) ∉ ∂ Ω r
In the formula,
Figure G2009100216202D00042
Represent zero level collection curve in the r sub regions, promptly detected image border.
Above-mentioned image partition method based on level set relay, wherein the described bianry image to all preservations of step e is carried out " also " operation, is by detected whole edges in the following formula computed image:
∂ Ω = ∪ r = 1 R ∂ Ω r
In the formula,
Figure G2009100216202D00044
Be illustrated in detected all edges in the image I, Represent detected edge in the r sub regions.
Image segmentation device based on level set relay provided by the invention comprises:
The auto-initiation device is used to calculate initial level set function φ X, y, t=0 r, promptly according to known image region Ω r, utilize formula to calculate initial evolution curve earlier: ∂ Ω t = 0 r = | ▿ Erode ( Ω r , ϵ d ) | , Computing formula according to level set function calculates initial level set function φ again X, y, t=0 r, wherein t=0 represents the level set function in 0 moment, Erode () expression corrosion operation, ε dBe positive constant, span is 3-5, Represent gradient, || represent the amplitude of gradient; The evolution device is used to carry out the iterative computation that level set function develops, and obtains the level set function φ of stable state X, y rAnd detected image border
Figure G2009100216202D00048
And with this edge Interior zone is as next subregion Ω R+1
Save set is used for the image border Be converted into bianry image B r(x y), and is kept at this bianry image in the internal memory, and the conversion formula of bianry image is:
B r ( x , y ) = 1 ( x , y ) ∈ ∂ Ω r 0 ( x , y ) ∉ ∂ Ω r
In the formula, Represent zero level collection curve in the r sub regions, promptly detected image border;
Decision maker is used to judge next subregion Ω R+1Area whether be zero, if be zero then carry out the function of edge synthesizer, otherwise return the auto-initiation device;
The edge synthesizer is used for the bianry image of all preservations is passed through formula: ∂ Ω = ∪ r = 1 R ∂ Ω r Carry out " also " operation,, finish image segmentation to merge the edge of all subregions, in the formula,
Figure G2009100216202D000414
Be illustrated in detected whole edges in the image,
Figure G2009100216202D000415
Represent detected edge in the r sub regions.
The present invention compared with prior art has the following advantages:
(1) the present invention has avoided artificial mutual initial evolution curve owing to use morphological method auto-initiation level set function, has improved the automatization level of method;
(2) the present invention has realized cutting apart fully of image because image is used alternatingly auto-initiation and two processes of level set function;
(3) simulation result shows, the more existing level set dividing method based on the edge of the present invention has detected the more images edge.
Technical process of the present invention and effect can describe in detail in conjunction with the following drawings.
Description of drawings
Fig. 1 is a schematic flow sheet of the present invention;
Fig. 2 is a device synoptic diagram of the present invention;
Fig. 3 is the present invention and existing Li and the contrast and experiment figure of Chan-Vese method on the non-homogeneous target image;
Fig. 4 be the present invention with existing Li and Chan-Vese method the contrast and experiment figure on the nested circular image of non-homogeneous;
Fig. 5 is the present invention and existing Li and the contrast and experiment figure of Chan-Vese method on complicated artificial image;
Fig. 6 is the present invention and existing Li and the contrast and experiment figure of Chan-Vese method on the nuclear-magnetism image;
Fig. 7 is the present invention and existing Li and the contrast and experiment figure of Chan-Vese method on natural image.
Embodiment
With reference to Fig. 1, the image segmentation that the present invention is based on level set relay comprises:
Step 1, the auto-initiation level set function.
Import image I to be split, use morphological method auto-initiation evolution curve, and further initialization level set function.The auto-initiation process is divided into determines nested subregion, initialization evolution curve and initialization level set function three sub-steps, that is:
1.1, then image is made as top layer subregion, i.e. Ω if carry out the auto-initiation process for the first time 0=I; Otherwise subregion Ω rBe the zone of inside, detected edge in the top area, promptly Ω r = Inside ( ∂ Ω r - 1 ) ;
1.2 behind the known subregion, use morphological method initialization evolution curve
Figure G2009100216202D00052
Computing formula is as follows:
∂ Ω t = 0 r = | ▿ Erode ( Ω r , ϵ d ) |
Wherein Erode () expression corrosion operation, ε dRepresent a positive constant, value 3-5;
Figure G2009100216202D00054
The expression compute gradient, || the amplitude of expression compute gradient;
1.3 according to subregion Ω r, initialization evolution curve
Figure G2009100216202D00055
With its interior zone Ω T=0 rCalculate initial level set function φ X, y, t=0 r, computing formula is:
φ x , y , t = 0 r = d ( x , y ) ∈ Ω t = 0 r 0 ( x , y ) ∈ ∂ Ω t = 0 r - d ( x , y ) ∈ Ω r \ Ω t = 0 r - ∂ Ω t = 0 r
In the formula;
Figure G2009100216202D00057
Expression evolution curve, Ω T=0 rThe zone of expression evolution curve inside, Expression subregion Ω rIn and the zone of evolution extra curvature, d is that the common value of positive constant is 4.
Step 2, evolution level set function φ in subregion X, y, t=0 r
2.1 input initial level set function, by iterative formula, the steady state solution of calculated level set function:
∂ φ r ∂ t = μ [ Δ φ r - div ( ▿ φ r | ▿ φ r | ) ] + λ δ ϵ ( φ r ) div ( g r ▿ φ r | ▿ φ r | ) + v g r δ ϵ ( φ r )
In the formula, Represent gradient, Δ is a Laplace operator, represents the divergence of gradient, || be the amplitude of gradient, φ rBe the level set function in the r sub regions, μ, λ and v are positive constants, δ ε() is the Dirac function of serialization, and computing formula is as follows:
δ ϵ ( x ) = 0 | x | > ϵ 1 2 [ 1 + cos ( πx ϵ ) ] | x | ≤ ϵ
ε is positive constant, g rBe edge indicator function, computing formula is as follows:
g r = 1 1 + | ▿ G σ * I | 2
Wherein
Figure G2009100216202D00065
Being to use variance is that the Gaussian filter of σ is to the filtered amplitude response of image I.
As can be seen, the iterative formula of level set function is a partial differential equation, and the present invention uses explicit numerical method to find the solution, and specifically is calculated as follows:
φ x , y , t + 1 r = φ x , y , t r + Δtμ [ ( φ x + 1 , y , t r - 2 φ x , y , t r + φ x - 1 , y , t r Δx ) + ( φ x , y + 1 , t r - 2 φ x , y , t r + φ x , y - 1 , t r Δy ) - K r ]
+ Δtλ δ ϵ ( φ r ) [ ( g x + 1 , y r - g x - 1 , y r ) 2 Δx ( φ x + 1 , y r - φ x - 1 , y , t r 2 Δx ) ( φ x + 1 , y r - φ x - 1 , y , t r 2 Δx ) 2 + ( φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy ) 2 + ( g x , y + 1 r - g x , y - 1 r 2 Δy ) ( φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy ) ( φ x + 1 , y r - φ x - 1 , y , t r 2 Δx ) 2 + ( φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy ) 2 + g r K r ]
+ Δtv g r δ ϵ ( φ r )
Wherein, φ X, y, t rRepresent t level set function constantly in the position (x, the y) value on, φ X, y, t+1 rRepresent next level set function constantly in the position (x, the y) value on, φ X ± 1, y ± 1, t rRepresent t level set function constantly in the position value on (x ± 1, y ± 1), g X ± 1, y ± 1 rFor edge indicator function in the position value on (x ± 1, y ± 1), Δ t is the time step value, Δ x and Δ y represent the step value on the horizontal direction and vertical direction on the plane respectively, carry out on image owing to develop, and generally select Δ x=Δ y=1, K rBe the curvature of evolution curve, calculate by following formula:
K r = div ( ▿ φ r | ▿ φ r | ) = div ( φ x + 1 , y , t r - φ x - 1 , y , t r 2 Δx i + φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy j ( φ x + 1 , y , t r - φ x - 1 , y , t r 2 Δx ) 2 + ( φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy ) 2 )
Divergence is calculated in div () expression in the formula.
2.2 because level set function adopts the method for iteration to calculate,,, obtain steady state solution, otherwise continue iteration up to stable if satisfy condition iteration stopping so need to judge the iteration stopping condition.The iteration stopping condition is:
any(Δφ 1,...,M)<δ φ
Just when in M iteration, level set function with respect to the increment of the level set function of last iteration all less than given threshold value δ φThen iteration stopping has obtained steady state solution φ X, y r, otherwise continue iteration;
2.3 obtained the level set function φ of stable state X, y rAfter, calculate the zero level collection curve of this level set function correspondence Also just obtained the edge in should the zone, computing formula is as follows:
∂ Ω r = { ( x , y ) | φ x , y r ( x , y ) = 0 } ;
2.4 because the zero level collection curve of level set function correspondence is a closed curve, thus the present invention circulated as the next one in the zone of this curve inside in the input of auto-initiation step, promptly Ω r + 1 = inside ( ∂ Ω r ) .
Step 3 is kept at detected edge in the subregion.Through after the evolution of level set function, the edge in the subregion is zero level collection curve just, and these edges must be preserved in order to carrying out the synthetic of edge at last.The form of preserving is a bianry image, and computing formula is as follows:
B r ( x , y ) = 1 ( x , y ) ∈ ∂ Ω r 0 ( x , y ) ∉ ∂ Ω r
In the formula,
Figure G2009100216202D00076
Represent zero level collection curve in the r sub regions, promptly detected image border.
Step 4 is judged next subregion Ω R+1Area whether be zero, whether decision also needs to generate the evolution of nested subregion and executive level set function.Concrete condition is:
Area(Ω r+1)=0.
Wherein Area () represents zoning Ω R+1Area.If area is the null representation level set function to be developed on entire image and has detected all edges, also just there is no need to create again nested subregion, then execution in step five, otherwise jump to step 1.
Step 5 after the traversal entire image, thereby need be synthesized the edge that generates entire image in detected edge with level set in each nested subregion.Because the edge in each zone is all preserved in the mode of bianry image, so only these bianry images need be carried out " also " operation here, computing formula is as follows:
∂ Ω = ∪ r = 1 R ∂ Ω r .
Wherein,
Figure G2009100216202D00082
Be exactly all detected edges in the image,
Figure G2009100216202D00083
It is the image border in the r sub regions.
With reference to Fig. 2, the virtual bench of the image partition method based on level set relay of the present invention comprises:
The auto-initiation device is according to known subregion Ω rUtilize morphological method to generate initial evolution curve
Figure G2009100216202D00084
Definition according to level set function generates initial level set function φ again X, y, t=0 r, wherein t=0 represents t=0 level set function constantly, i.e. initial level set function.The known subregion Ω of this device input r, output initialization level set function.Comprise evolution curve initial module and level set function initialization module.
Evolution curve initial module is input as subregion Ω r, be output as initial evolution curve Be formulated as follows:
∂ Ω t = 0 r = | ▿ Erode ( Ω r , ϵ d ) |
In the formula, Erode () expression corrosion operation, ε dRepresent positive constant, value 3-5; If carry out initialization module for the first time, the curve module that then develops is input as Ω 0=I is image area.
The level set function initialization module is input as subregion Ω r, initialization evolution curve
Figure G2009100216202D00087
With its interior zone Ω T=0 r, be output as initial level set function φ X, y, t=0 r, be formulated as follows:
φ x , y , t = 0 r = d ( x , y ) ∈ Ω t = 0 r 0 ( x , y ) ∈ ∂ Ω t = 0 r - d ( x , y ) ∈ Ω r \ Ω t = 0 r - ∂ Ω t = 0 r
In the formula,
Figure G2009100216202D00089
Expression evolution curve, Ω T=0 rThe zone of expression evolution curve inside, Expression subregion Ω rIn and the zone of evolution extra curvature, d is that the common value of positive constant is 4.
The evolution device is used for the iterative computation that level set function develops, and preserving level set function, to develop stable be corresponding zero level collection curve Wherein r represents the r sub regions.This device input initial level set function φ X, y, t=0 r, export stable zero level collection curve Nested subregion Ω with the next one R+1Comprise iterative computation module, zero level collection curve calculation module and subregion generation module.
The iterative computation module is input as initial level set function φ X, y, t=0 r, output steady-state level set function φ X, y r, computing formula is:
φ x , y , t + 1 r =
φ x , y , t r + Δtμ [ ( φ x + 1 , y , t r - 2 φ x , y , t r + φ x - 1 , y , t r Δx ) + φ x , y + 1 , t r - 2 φ x , y , t r + φ x , y - 1 , t r Δy - K r ]
+ Δtλ δ ϵ ( φ r ) [ ( g x + 1 , y r - g x - 1 , y r ) 2 Δx ( φ x + 1 , y r - φ x - 1 , y , t r 2 Δx ) ( φ x + 1 , y r - φ x - 1 , y , t r 2 Δx ) 2 + ( φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy ) 2 + ( g x , y + 1 , t r - g x , y - 1 , t r 2 Δy ) ( φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy ) ( φ x + 1 , y r - φ x - 1 , y , t r 2 Δx ) 2 + ( φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy ) 2 + g r K r ]
+ Δtv g r δ ϵ ( φ r )
In the formula, φ X, y, t rRepresent t level set function constantly in the position (x, y) value on; φ X, y, t+1 rRepresent next level set function constantly in the position (x, y) value on; φ X ± 1, y ± 1, t rRepresent t level set function constantly in the position value on (x ± 1, y ± 1); Δ t is the time step value, and Δ x and Δ y represent the step value on the horizontal direction and vertical direction on the plane respectively, carry out on image owing to develop, and generally select Δ x=Δ y=1, K rBe the curvature of evolution curve, calculate by following formula:
K r = div ( ▿ φ r | ▿ φ r | ) = div ( φ x + 1 , y , t r - φ x - 1 , y , t r 2 Δx i + φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy j ( φ x + 1 , y , t r - φ x - 1 , y , t r 2 Δx ) 2 + ( φ x , y + 1 , t r - φ x , y - 1 , t r 2 Δy ) 2 )
Divergence is calculated in div () expression in the formula.
Zero level collection curve calculation module is input as steady-state level set function φ X, y r, be output as zero level collection curve
Figure G2009100216202D00096
Computing formula is:
∂ Ω r = { ( x , y ) | φ x , y r ( x , y ) = 0 }
The subregion generation module is input as zero level collection curve Be output as next subregion Ω r + 1 = inside ( ∂ Ω r ) .
Preserve module, be input as and detect the edge, be i.e. zero level collection curve
Figure G2009100216202D000910
Be output as bianry image, computing formula is as follows:
B r ( x , y ) = 1 ( x , y ) ∈ ∂ Ω r 0 ( x , y ) ∉ ∂ Ω r
In the formula,
Figure G2009100216202D000912
Represent zero level collection curve in the r sub regions, promptly detected image border;
Decision maker is used to judge whether cycling condition satisfies, and curve promptly develops
Figure G2009100216202D000913
Whether the inner region area is zero, continues to carry out if condition satisfies, otherwise continues to generate subregion and carry out the level set iteration.The mathematical notation of decision condition is as follows:
Area(Ω r)=0.
Whether the area of promptly judging subregion is zero, wherein the area of Area () expression zoning.
The edge synthesizer is used for the edge in the synthetic entire image in detected edge, each zone.Because the edge is to preserve with the form of bianry image, so adopt " also " operation to synthesize the edge.The edge of this device input picture saves as the bianry image form, is output as the edge of entire image.Be formulated as:
∂ Ω = ∪ r = 1 R ∂ Ω r .
Wherein,
Figure G2009100216202D00102
Be exactly all detected edges in the image,
Figure G2009100216202D00103
It is the image border in the r sub regions.
Below validity and practicality by emulation experiment checking the inventive method.
The emulation content:
(1) employing contrast experiment's form selects two representative level set image segmentation methods to test on same image, to verify validity of the present invention.It is concrete that what select is the method that people such as Li proposes, concrete list of references " C.Li; C.Xu; C.Gui; and M.D.Fox.Level set evolution without re-initialization:a newvariational formulation.IEEE Conf.Computer Vision Pattern Recognition; 2005; 1:430-436. ", method (abbreviating the Chan-Vese method as) with Chan and Vese, concrete list of references " T.F.Chan; L.A.Vese.Active contours without edges.IEEE Trans.Image Processing, 2001,10 (2): 266-277. ");
(2) use artificial image, medical image and natural image carry out emulation experiment, with the segmentation effect of checking the present invention to different images.Concrete simulated conditions sees the description of each experiment for details.
Experiment one, image to be split is 256 * 256 artificial image, and image is made up of three target and backgrounds, and wherein the gray scale of triangular day mark and background gray scale are approaching.Triplex row is represented method, Chan-Vese method and the level set function evolutionary process of the present invention of Li respectively from top to bottom in Fig. 4.Simulation result shows: the method omission of Li the inward flange of annular target, the evolution that in a single day velocity function that reason is based on shade of gray reaches the edge level set function will stop, so the method for Li can only detect the edge nearest apart from initial curve; The present invention is cut apart on a plurality of subregions, so after the method for Li stops, still can continuing to cut apart in the zone of inside, has detected whole edges; The omission of Chan-Vese method triangular day mark, its essential reason is that Chan-Vese algorithm hypothesis image is that target and background by homogeneity constitutes, and with image segmentation linear expression is:
I=α 1H(φ)+α 2(1-H(φ))
In the formula, H () step function, the zone in H (φ) the expression curve; The zone of 1-H (φ) expression extra curvature; φ is a level set function; a 1And a 2It is respectively the gray scale barycenter of the pixel of zero level collection inside or outside of curve.Because triangular day mark and background gray scale are approaching,, be used as background so be considered to belong to the part of extra curvature.From top analysis as can be seen, under the situation of target nonuniformity, the present invention has better segmentation effect than side and the Chan-Vese of Li in image, detects whole edges in the image preferably.
Experiment two, image to be split is 256 * 256 artificial image, image is made of the nested circle of three different gray scales, among Fig. 5 from top to bottom triplex row represent method, Chan-Vese method and the level set function evolutionary process of the present invention of Li respectively.Simulation result shows that the method convergent speed of Li is very fast, but only detected the edge of close initial curve, omission inner edge; The Chan-Vese method detects two-layer edge, for experiment in 1 same reason omission the edge of center white object; The present invention is because carry out repeated segmentation at different subregions to image, so detected whole edges in the image.
Experiment three, image to be split is 256 * 256 artificial image, image is made up of the complex target of some difformities and gray scale and the literal of gray scale gradual change, and Fig. 6 triplex row from top to bottom represents method, Chan-Vese method and the level set function evolutionary process of the present invention of Li respectively.Simulation result shows: the method for Li still only detects the edge nearest apart from initial curve, omission than general objective, as the edge of oval and square target and alphabetical p and e inside; The Chan-Vese method is cut apart according to the half-tone information of pixel in the entire image, has detected all than general objective and the less target of part, omission the alphabetical e close and square and ellipse target internal edge with the background gray scale; The present invention is repeated segmentation in different subregions, has considered the local feature of subregion, so detected whole edges in the image.
Experiment four, image to be split is 181 * 217 human brain nuclear magnetic resonance image, and image is the axial bitmap of human brain, and tissue is respectively fat, brainpan and intracranial tissue from outside to inside.Fig. 7 triplex row from top to bottom represents method, Chan-Vese method and the level set function evolutionary process of the present invention of Li respectively.Simulation result shows: the method for Li only detects outermost edge between brain and the background; The Chan-Vese method contains the background of a large amount of black owing in the image, so also only detect the outermost edge of brain; The present invention has detected more internal edge.
Experiment five, image to be split is 192 * 256 natural image, in the image be to put the hand on the desktop and the object of mouse, and uneven illumination is even.Fig. 8 triplex row from top to bottom represents method, Chan-Vese method and the level set function evolutionary process of the present invention of Li respectively.Simulation result shows: though the method for Li detects left hand and mouse pad edge, omission the edge on the right hand and left hand sleeve limit; The Chan-Vese method detects the right hand portion edge, but omission whole left hand, this method is not fine for the even image segmentation effect of uneven illumination; The present invention is complete has detected right-hand man and other edge.
Experimental result shows, invents more existing Level Set Method and can detect more edge, especially can detect more internal edge; The image even to uneven illumination also has tangible segmentation effect; And medical image and natural image all had segmentation effect and practicality preferably.

Claims (5)

1. the image partition method based on level set relay comprises the steps:
A. import image I to be split, and in image I to be split, utilize morphological method auto-initiation level set function,, then image to be split is made as top layer subregion, i.e. Ω if carry out the auto-initiation process for the first time 0=I; Otherwise subregion Ω rBe the zone of inside, detected edge in the top area, promptly
B. to the level set function after the initialization
Figure FSB00000489937200012
, use iterative computation that it is developed in the subregion that the expression current iteration is used, obtain the level set function of stable state
Figure FSB00000489937200013
And detected image border
Figure FSB00000489937200014
, and with this edge
Figure FSB00000489937200015
Interior zone is as next subregion Ω R+1
C. with the edge Be converted into bianry image, and this bianry image is kept in the internal memory;
D. judge next subregion Ω R+1Area whether be zero, if area is zero then execution in step E, otherwise at regional Ω R+1In utilize morphological method auto-initiation level set function, stop condition is:
Area(Ω r+1)=0;
E. the bianry image of all preservations is carried out " also " operation,, finish image segmentation to merge the edge of all subregions.
2. according to right 1 described image partition method based on level set relay, the described morphological method auto-initiation level set function that utilizes of steps A wherein, carry out as follows:
2a., obtain subregion Ω according to stable state evolution curve in the top area r, wherein r represents the r sub regions, top layer regions fixedly installs and is Ω 0=I;
2b. use morphological method initialization evolution curve
Figure FSB00000489937200017
, wherein t=0 represents initially to develop curve, its initialization formula is:
∂ Ω t = 0 r = | ▿ Erode ( Ω r , ϵ d ) |
In the formula, Erode () expression corrosion operation, ε dFor positive constant span is 3-5, Represent gradient, || represent the amplitude of gradient;
2c. according to subregion Ω r, initialization evolution curve With its interior zone
Figure FSB000004899372000111
Calculate the initial level set function
Figure FSB000004899372000112
, computing formula is:
φ x , y , t = 0 r = d ( x , y ) ∈ Ω t = 0 r d ( x , y ) ∈ ∂ Ω t = 0 r - d ( x , y ) ∈ Ω r \ Ω t = 0 r - ∂ Ω t = 0 r ,
In the formula, Expression evolution curve,
Figure FSB000004899372000115
The zone of expression evolution curve inside,
Figure FSB000004899372000116
Expression subregion Ω rIn and the zone of evolution extra curvature, d is that positive constant value is 4.
3. according to right 1 described image partition method based on level set relay, wherein step C is described with the edge
Figure FSB00000489937200021
Being converted into bianry image, is to generate a width of cloth and the onesize image B of image I to be split r(x, y), with image B r(x, y) middle corresponding edge
Figure FSB00000489937200022
Locational pixel assignment be 1, image B r(x, y) in other locational pixel be 0, calculate its bianry image according to following formula:
B r ( x , y ) = 1 ( x , y ) ∈ ∂ Ω r 0 ( x , y ) ∉ ∂ Ω r
In the formula, Represent zero level collection curve in the r sub regions, promptly detected image border.
4. according to right 1 described image partition method based on level set relay, wherein the described bianry image to all preservations of step e is carried out " also " operation, is by detected all edges in the following formula computed image:
∂ Ω = ∪ r = 1 R ∂ Ω r .
In the formula, Be illustrated in detected all edges in the image I to be split, Represent detected edge in the r sub regions.
5. image segmentation device based on level set relay comprises:
The auto-initiation device is used to calculate the initial level set function
Figure FSB00000489937200028
, promptly earlier according to subregion Ω r, calculate initial evolution curve: Wherein t=0 represents the level set function in 0 moment, Erode () expression corrosion operation, ε dBe positive constant, span is 3-5,
Figure FSB000004899372000210
Represent gradient, || represent the amplitude of gradient; Again according to subregion Ω r, initialization evolution curve
Figure FSB000004899372000211
With its interior zone
Figure FSB000004899372000212
Calculate the initial level set function
Figure FSB000004899372000213
, computing formula is:
φ x , y , t = 0 r = d ( x , y ) ∈ Ω t = 0 r d ( x , y ) ∈ ∂ Ω t = 0 r - d ( x , y ) ∈ Ω r \ Ω t = 0 r - ∂ Ω t = 0 r ,
In the formula,
Figure FSB000004899372000215
Expression evolution curve,
Figure FSB000004899372000216
The zone of expression evolution curve inside,
Figure FSB000004899372000217
Expression subregion Ω rIn and the zone of evolution extra curvature, d is that positive constant value is 4;
The evolution device is used to carry out the iterative computation that level set function develops, and obtains the level set function of stable state
Figure FSB000004899372000218
And detected image border
Figure FSB000004899372000219
, and with this edge
Figure FSB000004899372000220
Interior zone is as next subregion Ω R+1
Save set is used for the image border
Figure FSB000004899372000221
Be converted into bianry image, and this bianry image is kept in the internal memory, the conversion formula of bianry image is:
B r ( x , y ) = 1 ( x , y ) ∈ ∂ Ω r 0 ( x , y ) ∉ ∂ Ω r
In the formula,
Figure FSB000004899372000223
Represent zero level collection curve in the r sub regions, promptly detected image border, image B r(x, y) middle corresponding edge Locational pixel assignment be 1, image B r(x, y) in other locational pixel assignment be 0;
Decision maker is used to judge next subregion Ω R+1Area whether be zero, if be zero then carry out the function of edge synthesizer, otherwise return the auto-initiation device;
The edge synthesizer is used for the bianry image of all preservations is passed through formula:
Figure FSB00000489937200032
Carry out " also " operation,, finish image segmentation to merge the edge of all subregions, in the formula,
Figure FSB00000489937200033
Be illustrated in detected all edges in the image,
Figure FSB00000489937200034
Represent detected edge in the r sub regions.
CN2009100216202A 2009-03-20 2009-03-20 Image splitting method based on level set relay Expired - Fee Related CN101504767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100216202A CN101504767B (en) 2009-03-20 2009-03-20 Image splitting method based on level set relay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100216202A CN101504767B (en) 2009-03-20 2009-03-20 Image splitting method based on level set relay

Publications (2)

Publication Number Publication Date
CN101504767A CN101504767A (en) 2009-08-12
CN101504767B true CN101504767B (en) 2011-07-20

Family

ID=40977002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100216202A Expired - Fee Related CN101504767B (en) 2009-03-20 2009-03-20 Image splitting method based on level set relay

Country Status (1)

Country Link
CN (1) CN101504767B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982835B (en) * 2010-11-12 2012-02-08 西安电子科技大学 Level set method for edge detection of SAR images of airport roads
CN102129683B (en) * 2011-03-17 2013-01-09 上海大学 Oral-lip image automatic segmenting method based on Chinese medical inspection
CN102930273B (en) * 2012-10-15 2015-06-17 西安电子科技大学 Auroral oval segmenting method based on brightness self-adaptive level set
CN105096302B (en) * 2014-05-13 2017-12-08 富士通株式会社 The segmenting device of adhesion object, method and electronic equipment in image
CN104156967B (en) * 2014-08-18 2017-09-08 深圳开立生物医疗科技股份有限公司 A kind of fetus neck hyaline layer image partition method, device and ultrasonic image-forming system
CN107368805A (en) * 2017-07-17 2017-11-21 深圳森阳环保材料科技有限公司 A kind of remote control based on the identification of intelligent domestic system electrical equipment
CN108171258B (en) * 2017-12-12 2020-05-26 西安电子科技大学 Independent component analysis multi-shape prior level set method and image segmentation system
CN108230342A (en) * 2017-12-29 2018-06-29 电子科技大学 A kind of left and right ventricles level-set segmentation methods based on cardiac anatomy
CN109785293B (en) * 2018-12-22 2022-09-27 昆明理工大学 Ultrasonic image focus segmentation method based on global and local active contour models
CN110517271B (en) * 2019-08-22 2023-02-07 东北大学 Image level set segmentation method based on prior shape constraint

Also Published As

Publication number Publication date
CN101504767A (en) 2009-08-12

Similar Documents

Publication Publication Date Title
CN101504767B (en) Image splitting method based on level set relay
Shi et al. A fast level set method without solving pdes [image segmentation applications]
Goldenberg et al. Fast geodesic active contours
Chen et al. Global minimum for a Finsler elastica minimal path approach
CN107292234A (en) It is a kind of that method of estimation is laid out based on information edge and the indoor scene of multi-modal feature
Han et al. A new fast multiphase image segmentation algorithm based on nonconvex regularizer
CN101639935A (en) Digital human serial section image segmentation method based on geometric active contour target tracking
CN103955945B (en) Self-adaption color image segmentation method based on binocular parallax and movable outline
CN101447076A (en) Method for partitioning interested areas in WEB image
CN104835168B (en) Quick multiphase image dividing method based on global convex optimization Variation Model
Rangarajan et al. Adjoint-based anisotropic hp-adaptation for discontinuous Galerkin methods using a continuous mesh model
CN103700101A (en) Non-rigid brain image registration method
CN104732551A (en) Level set image segmentation method based on superpixel and graph-cup optimizing
Chang et al. Segmentation of heterogeneous blob objects through voting and level set formulation
Yang Local smoothness enforced cost volume regularization for fast stereo correspondence
Wang et al. Retinex theory based active contour model for segmentation of inhomogeneous images
CN103413332B (en) Based on the image partition method of two passage Texture Segmentation active contour models
CN101430789B (en) Image edge detection method based on Fast Slant Stack transformation
Zhang et al. An automatic coastline extraction method based on active contour model
CN102496150A (en) Smooth local region active contour model method based on Gaussian
CN102426699A (en) Level set synthetic aperture radar (SAR) image segmentation method based on edge and regional information
CN110969635B (en) Robust rapid image segmentation method based on priori constraint level set frame
Siva et al. Grid seams: A fast superpixel algorithm for real-time applications
Li et al. Point cloud surface segmentation based on volumetric eigenfunctions of the Laplace-Beltrami operator
Rastgarpour et al. Improved fast two cycle by using KFCM clustering for image segmentation

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

Granted publication date: 20110720

Termination date: 20170320