Presentation is loading. Please wait.

Presentation is loading. Please wait.

Level set based Image Segmentation Hang Xiao Jan12, 2013.

Similar presentations


Presentation on theme: "Level set based Image Segmentation Hang Xiao Jan12, 2013."— Presentation transcript:

1 Level set based Image Segmentation Hang Xiao Jan12, 2013

2 Outline Part1 : Level set method Part2 : Image segmentation

3 Part1 : Level set method In mathematics, a level set of a real-valued function f of n variables is a set of the form STANLEY OSHER 1988

4 Front propagating problems Ocean waves Burning flames Image contour

5 Interface Propagation Inside Outside F = F(L, G, I) F(L,G,I) : speed function L : local properties, e.g. curvature and normal direction G: Global properties, e.g. heat I: Independent properties, independ of the shape of the front, e.g. underlying fluid velocity

6 Arrival time function Assume F > 0, hence the front moves “outward” T(x,y) : the arrival time, characterize the position of the expanding front Distance = speed * time 1D : 2D: : the initial location of the interface

7 Time-depend level set function F is inconstant to t The stationary level set function F is constant to t

8 Level set function properties By the chain rule, Front formula: Inside Outside F Hamilton-Jacobi equation

9 Level set method work flow Initialize level set function Φ t=0 Compute speed F Compute level set function in next state Φ t+1 Compute final zero level set Reinitialize level set function t++ e.g. Arrival time

10 Example – simple curve evolution Simple curve Complex curves Curvature Level set Speed Property: Any simple curve will become a ball in the force of curvature

11 Example – simple curve evolution

12 Example – 3D surface 3D curvature Gaussian curvature Mean curvature Gaussian curvature

13 Other examples The particle level set method was used to represent the interface separating water from air as water is being poured into a glass Level set method is used to simulate a ball catching on fire

14 Part2 : Image segmentation

15 Image segmentation models Explicit method Implicit method Inside Outside Interface front Evolution equation Energy minimization

16 The Chan-Vese Segmentation Model Assume the image is piecewise constant Energy : Sum of difference Add more regularizing terms

17 The Chan-Vese Segmentation Model Energy Minimization Energy function Substituting into the Euler-Lagrange equation, and applying Green’s identity and Green’s theorem

18 Effect of Parameters μ controls the importance of the length of C in the minimization. – if μ ≫ 1, then a few large closed curves will retain in the steady state, compared to many small ones. This may be useful in ignoring noise, or grouping objects of similar characteristics ν controls the the importance of area inside C. – If ν ≫ 1, like the geometric active contour model, it forces C to move strictly inward. Also, the speed at which C evolves inward increases. The relative balance between λ1 and λ2 determines which side, inside or outside, has higher importance in minimizing the regional variance. – This is useful in segmenting blurred images: for example, if one wishes to completely enclose the blurred object, λ2 > λ1 will ensure this.

19 Chan-Vese Examples Parameters: μ=1, ν=0, λ 1 = λ 2 =1, iterations = 41

20 Chan-Vese Examples Change in topology Parameters: μ=1, ν=0, λ 1 = 1, λ 2 =2, iterations = 45

21 Chan-Vese Examples Blurred and Noised Image Parameters: μ=1, ν=0, λ 1 = 1, λ 2 =2, iterations = 45

22 Chan-Vese Examples Chromatic Resemblance Parameters: μ=10^8, ν=0, λ 1 = λ 2 = 1, iterations = 40

23 Chan-Vese Examples Restriction on Curve Evolution Direction Parameters: μ=1, ν=0, λ 1 = λ 2 = 1, iterations = 40

24 Chan-Vese Examples Restriction on Curve Evolution Direction Parameters: μ=1, ν=10^6, λ 1 = λ 2 = 1, iterations = 40

25 Detection of lines and curves not necessarily closed Example of image for which the averages “inside” and “outside” are the same Detection of a simulated minefield, with contour without gradient.

26 E1: false negative error E2: false positive error Conclusion: The image can be segmented well in one iteration for timesteps greater than about Time steps (dt) evalution Overlap error after one iteration for small or large dt

27 Conclusion: 1). When the timestep is small the segmentation converges. 2). However, if we take the timestep too large, the results diverge after a few iterations even though the segmentation is initially good. Overlap error vs. number of iterations for a small timestep Overlap error vs. number of iterations for a large timestep Iteration number evalution

28 Top: The noisy image Bottom : the thresholding segmentation result max(E1, E2) = , min(E1, E2) = Evaluation on noisy image: 1) Use the true segmentation from the noiseless image (ground truth) for forming the overlap error 2) Perform five iterations of the algorithm for each fixed value of c1, c2 3) Vary one parameter at a time and plot the overlap errors against that parameter.

29 Overlap errors vs. length penalty μ. The best segmentation is obtained for μ ∼ 94.

30 Overlap error vs. λ1. Changing λ1 from 1 does not improve the segmentation, since our foreground and background regions both have uniform intensity before noise is added. The results for varying λ2 are similar.

31 Chan-Vese VS. Mumford-Shah Chan-Vese function 2001 Mumford-Shah function 1992 MS model  CV model

32 The Chan-Vese Segmentation Model

33 Energy Minimization Energy function Substituting into the Euler-Lagrange equation, and applying Green’s identity and Green’s theorem How to add area constant constraint?

34 Generalizing to Vector-Valued Images

35 Texture Segmentation 1.Generate sparse texture features by nonlinear diffusion filtering Brox, Weickert ’04, ’06

36 Texture Segmentation 2. Vector-Image based level set methods Brox, Weickert ’04, ’06

37 Texture Segmentation efficient coarse-to-fine scheme Brox, Weickert ’04, ’06

38 Coupling Multiple Active Surfaces (Dufour 2004) Needs N level set functions for N objects segmentation

39 Multi-Phase Level Set methods Need log 2 N Level set functions for segmenting N objects

40 Multi-Phase Level Set methods Results on a synthetic image, with a triple junction, using the 4-phase piecewise constant model with 2 level set functions. We also show the zero level sets of φ1 and φ2

41 Multi-Phase Level Set methods Brox, Weickert ’04, ’06

42 One Level Set without Coupling Based Multiple object segmentation

43 Pros. And Cons. For level set method Advantage – Capture Range – Effect of Local Noise – No Need of Elasticity Coefficients – Suitability for Medical Image Segmentation – Normal Computation – Integration of Regional Statistics – Flexible Topology – Extension to high dimension – Incorporation of Regularizing Terms e.g. volume – Handling Corners – Resolution Changes Jasjit S. et. al. 2002

44 Pros. And Cons. For level set method Disadvantage – Initial Placement of the Contour – Hard to stop – Expensive running time Jasjit S. et. al. 2002

45 Thanks!!!


Download ppt "Level set based Image Segmentation Hang Xiao Jan12, 2013."

Similar presentations


Ads by Google