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

## 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 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

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)

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:-

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.

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.

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).

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

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.

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

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

Chan & Vese--Examples

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

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

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.

Multi-phase Evolution 8 Regions-3 Level sets 1 2 3 4 56 7 8

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.

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