Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Lecture #7 Variational Approaches and Image Segmentation Lecture #7 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department,

Similar presentations


Presentation on theme: "1 Lecture #7 Variational Approaches and Image Segmentation Lecture #7 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department,"— Presentation transcript:

1 1 Lecture #7 Variational Approaches and Image Segmentation Lecture #7 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical and Computer Engineering Department, University of Louisville, Louisville, KY, USA ECE 643 – Fall 2010

2 The curvature and The Implicit Function Form The level set function has the following relation with the embedded curve C: Us the following derivative equation w.r.t. the arc-length s: To prove that: (Assignment)

3 Calculating Additional Quantities Example of a Level Set Function iso-contours H and Delta Functions Applying H FunctionApplying δ Function Enclosed Area Length of Interface Mainly used to track the Interface/contour:-

4 Narrow Banding Points of the interface/front/contour are only the points of interest. The points (highlighted) are called the narrow band. The change of the level set function at these points only are considered. Other points (outside the narrow band) are called far away points and take large positive or large negative values. This will expedite the processing later on. Boundary Band Points. Red line is the zero level set corresponding to front.

5 Level Set PDE Curve Contracts with time Level Set Function changes with time Fundamental Level Set Equation The velocity vector V has a component F in the normal direction. The other tangential component has no effect because the gradient works in the normal direction.

6 Speed Function Among several forms, the following speed function is used: Contour characteristics: Smoothes the evolution and the bending is quantized by ε Image data (force): +1 for expansion -1 for contraction It will be a function of the image (I).

7 Variational Edge-based Segmentation Where g is an indicator function of the image gradient: Edge map

8 Variational Edge-based Segmentation (Cont…) Energy = Arc-Length + Enclosed Area: By calculus of variation: The amount of bending is controlled by λ>0. The sign of ע depends on the position of the contour w.r.t. the object.

9 Variational Segmentation without Edges Chan-Vese Model Object Mean Background Mean Maximizes the distance between c 1 and c 2 Only one level set function is used

10 Variational Segmentation without Edges Chan-Vese Model (Cont…) The PDE will be: For computational issues: where:

11 Chan & Vese--Examples

12 Multi-phase Evolution Chan & Vese Ф 1 >0 Ф 2 >0 Ф 2 <0 Ф 1 <0 Ф 2 <0 Ф 1 >0 Ф 2 >0 In this example 2 functions are used. Then 2 2 =4 regions are considered. The energy will be: C2C2 C3C3 C1C1 C4C4

13 Multi-phase Evolution Chan & Vese (Cont…) Using calculus of variations will result in:

14 Multi-phase Evolution Chan & Vese (Example) The given image contains 4 regions. Three different color boxes are represented in the foreground. The background is considered the fourth region.

15 Multi-phase Evolution 8 Regions-3 Level sets

16 Chan & Vese (Cont…) The curvature is included with a coefficient μ which helps in segmenting images with noise but when the noise level is high, the weight needs to be increased. This affects the boundaries of the object and also increases the convergence time. Number of regions are always 2 n depending on the number of level set functions n. No vacuum pixels appear because if any point does not belong to a certain region, it will go to another one. Unless the region can be described by only its mean, the segmentation will fail.

17 Thank You & Questions


Download ppt "1 Lecture #7 Variational Approaches and Image Segmentation Lecture #7 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department,"

Similar presentations


Ads by Google