Instructor: Dr. Peyman Milanfar

Slides:



Advertisements
Similar presentations
TP11 - Fitting: Deformable contours Computer Vision, FCUP, Miguel Coimbra Slides by Prof. Kristen Grauman.
Advertisements

Fitting: Deformable contours
MRI Brain Extraction using a Graph Cut based Active Contour Model Noha Youssry El-Zehiry Noha Youssry El-Zehiry and Adel S. Elmaghraby Computer Engineering.
Active Contours, Level Sets, and Image Segmentation
Snakes, Strings, Balloons and Other Active Contour Models.
CS 4487/9587 Algorithms for Image Analysis
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
EARS1160 – Numerical Methods notes by G. Houseman
P. Brigger, J. Hoeg, and M. Unser Presented by Yu-Tseh Chi.
Shaohui Huang, Boliang Wang, Xiaoyang Huang.  Traditional Active Contour (Snake)  Gradient Vector Flow Snake (GVF Snake)  SEGMENT CT IMAGES  Edge.
Image Segmentation some examples Zhiqiang wang
Image Segmentation and Active Contour
Active Contours / Planes Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision Some slides.
International Journal of Computer Vision, (1988) o 1987 KIuwer Academic Publishers, Boston, Manufactured in The Netherlands Snakes: Active Contour.
Active Contour Models (Snakes) 건국대학교 전산수학과 김 창 호.
Active Contour Model (Snake) rew. Outline Introduce Active Contour Model.
Tuesday, Oct 7 Kristen Grauman UT-Austin
Active Contours (SNAKES) Back to boundary detection –This time using perceptual grouping. This is non-parametric –We’re not looking for a contour of a.
Snakes with Some Math.
Segmentation and Region Detection Defining regions in an image.
Segmentation Using Active Contour Model and Tomlab By: Dalei Wang 29/04/2003.
Snake: Active Contour Models. Department of Computer Science University of Missouri at Columbia History A seminal work in Computer vision, and imaging.
Chunlei Han Turku PET centre March 31, 2005
Why Road Geometry? Mobile Mapping Technology  The concept of active contours or snakes was first introduced by (Kass et al., 1988) and since then, it.
Snakes : Active Contour models
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Snakes - Active Contour Lecturer: Hagit Hel-Or
Active Contour Models (Snakes)
Deformable Contours Dr. E. Ribeiro.
NCIP SEGMENTATION OF MEDICAL IMAGES USING ACTIVE CONTOURS AND GRADIENT VECTOR FLOW B.Hemakumar M.Tech student, Biomedical signal processing and.
Local or Global Minima: Flexible Dual-Front Active Contours Hua Li Anthony Yezzi.
Hierarchical Region-Based Segmentation by Ratio-Contour Jun Wang April 28, 2004 Course Project of CSCE 790.
Active Contours Technique in Retinal Image Identification of the Optic Disk Boundary Soufyane El-Allali Stephen Brown Department of Computer Science and.
Today: Image Segmentation Image Segmentation Techniques Snakes Scissors Graph Cuts Mean Shift Wednesday (2/28) Texture analysis and synthesis Multiple.
Snakes Goes from edges to boundaries. Edge is strong change in intensity. Boundary is boundary of an object. –Smooth (more or less) –Closed. –…
Snake: Active Contour Models
Optical flow and Tracking CISC 649/849 Spring 2009 University of Delaware.
SNAKES Adapted from : Octavia Camps, Penn. State UCF.
Comp 775: Deformable models: snakes and active contours Marc Niethammer, Stephen Pizer Department of Computer Science University of North Carolina, Chapel.
Active Contour Models (Snakes) Yujun Guo.
EE392J Final Project, March 20, Multiple Camera Object Tracking Helmy Eltoukhy and Khaled Salama.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.
Fitting: Deformable contours Tuesday, September 24 th 2013 Devi Parikh Virginia Tech 1 Slide credit: Kristen Grauman Disclaimer: Many slides have been.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Active Shape Models: Their Training and Applications Cootes, Taylor, et al. Robert Tamburo July 6, 2000 Prelim Presentation.
06 - Boundary Models Overview Edge Tracking Active Contours Conclusion.
3D Computer Vision Generalized Hough Boundaries Representations Snakes (Trucco: ) Computational Vision / Ioannis Stamos.
1 PDE Methods are Not Necessarily Level Set Methods Allen Tannenbaum Georgia Institute of Technology Emory University.
Snakes : Active Contour Models MICHAEL KASS International journal of computer vision.
Deformable Models Segmentation methods until now (no knowledge of shape: Thresholding Edge based Region based Deformable models Knowledge of the shape.
7.1. Mean Shift Segmentation Idea of mean shift:
Detection of nerves in Ultrasound Images using edge detection techniques NIRANJAN TALLAPALLY.
A Segmentation Algorithm Using Dyadic Wavelet Transform and the Discrete Dynamic Contour Bernard Chiu University of Waterloo.
Conclusions The success rate of proposed method is higher than that of traditional MI MI based on GVFI is robust to noise GVFI based on f1 performs better.
CS 641 Term project Level-set based segmentation algorithms Presented by- Karthik Alavala (under the guidance of Dr. Jundong Liu)
A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 1/20 Geometric Morphometrics Feb 27, 2013 Geometric Morphologyd.
Theory of Object Class Uncertainty and its Application Punam Kumar Saha Professor Departments of ECE and Radiology University of Iowa
Wrapping Snakes For Improved Lip Segmentation Matthew Ramage Dr Euan Lindsay (Supervisor) Department of Mechanical Engineering.
Occlusion Tracking Using Logical Models Summary. A Variational Partial Differential Equations based model is used for tracking objects under occlusions.
Detection of nerves in Ultrasound Images using edge detection techniques NIRANJAN TALLAPALLY.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow.
1 Variational and Weighted Residual Methods. 2 Introduction The Finite Element method can be used to solve various problems, including: Steady-state field.
TP11 - Fitting: Deformable contours
Outline Perceptual organization, grouping, and segmentation
ECE 692 – Advanced Topics in Computer Vision
Snakes, Shapes, and Gradient Vector Flow
Active Contours (“Snakes”)
Image Segmentation Image analysis: First step:
Active Contour Models.
Presentation transcript:

Instructor: Dr. Peyman Milanfar Active Contour Models (Snakes) Amyn Poonawala EE 264 Instructor: Dr. Peyman Milanfar

What is the objective? To perform the task of Image Segmentation. What is segmentation? Subdividing or partitioning an image into its constituent regions or objects. Why use it when there are many methods already existing??

Problems with common methods No prior used and so can’t separate image into constituent components. Not effective in presence of noise and sampling artifacts (e.g. medical images).

Solution Use generalize Hough transform or template matching to detect shapes But the prior required are very high for these methods. The desire is to find a method that looks for any shape in the image that is smooth and forms a closed contour.

Active Contour Models First introduced in 1987 by Kass et al,and gained popularity since then. Represents an object boundary or some other salient image feature as a parametric curve. An energy functional E is associated with the curve. The problem of finding object boundary is cast as an energy minimization problem.

Framework for snakes A higher level process or a user initializes any curve close to the object boundary. The snake then starts deforming and moving towards the desired object boundary. In the end it completely “shrink-wraps” around the object. courtesy (Diagram courtesy “Snakes, shapes, gradient vector flow”, Xu, Prince)

Modeling What are these energy terms which do the trick for us?? The contour is defined in the (x, y) plane of an image as a parametric curve v(s)=(x(s), y(s)) Contour is said to possess an energy (Esnake) which is defined as the sum of the three energy terms. The energy terms are defined cleverly in a way such that the final position of the contour will have a minimum energy (Emin) Therefore our problem of detecting objects reduces to an energy minimization problem. What are these energy terms which do the trick for us??

Internal Energy (Eint ) Depends on the intrinsic properties of the curve. Sum of elastic energy and bending energy. Elastic Energy (Eelastic): The curve is treated as an elastic rubber band possessing elastic potential energy. It discourages stretching by introducing tension. Weight (s) allows us to control elastic energy along different parts of the contour. Considered to be constant  for many applications. Responsible for shrinking of the contour.

Bending Energy (Ebending): The snake is also considered to behave like a thin metal strip giving rise to bending energy. It is defined as sum of squared curvature of the contour. (s) plays a similar role to (s). Bending energy is minimum for a circle. Total internal energy of the snake can be defined as

External energy of the contour (Eext) It is derived from the image. Define a function Eimage(x,y) so that it takes on its smaller values at the features of interest, such as boundaries. Key rests on defining Eimage(x,y). Some examples

Energy and force equations The problem at hand is to find a contour v(s) that minimize the energy functional Using variational calculus and by applying Euler-Lagrange differential equation we get following equation Equation can be interpreted as a force balance equation. Each term corresponds to a force produced by the respective energy terms. The contour deforms under the action of these forces.

Elastic force Generated by elastic potential energy of the curve. Characteristics (refer diagram)

Bending force Generated by the bending energy of the contour. Characteristics (refer diagram): Thus the bending energy tries to smooth out the curve. Initial curve (High bending energy) Final curve deformed by bending force. (low bending energy)

External force It acts in the direction so as to minimize Eext Zoomed in Image

Discretizing the contour v(s) is represented by a set of control points The curve is piecewise linear obtained by joining each control point. Force equations applied to each control point separately. Each control point allowed to move freely under the. influence of the forces. The energy and force terms are converted to discrete form with the derivatives substituted by finite differences.

Solution and Results Method 1:  is a constant to give separate control on external force. Solve iteratively.

Method 2: Consider the snake to also be a function of time i.e. If RHS=0 we have reached the solution. On every iteration update control point only if new position has a lower external energy. Snakes are very sensitive to false local minima which leads to wrong convergence.

Noisy image with many local minimas WGN sigma=0.1 Threshold=15

Weakness of traditional snakes (Kass model) Extremely sensitive to parameters. Small capture range. No external force acts on points which are far away from the boundary. Convergence is dependent on initial position.

Weakness (contd…) Fails to detect concave boundaries. External force cant pull control points into boundary concavity.

Gradient Vector Flow (GVF) (A new external force for snakes) Detects shapes with boundary concavities. Large capture range.

Model for GVF snake The GVF field is defined to be a vector field V(x,y) = Force equation of GVF snake V(x,y) is defined such that it minimizes the energy functional f(x,y) is the edge map of the image.

GVF field can be obtained by solving following equations 2 Is the Laplacian operator. Reason for detecting boundary concavities. The above equations are solved iteratively using time derivative of u and v.

Traditional external force field v/s GVF field Traditional force GVF force (Diagrams courtesy “Snakes, shapes, gradient vector flow”, Xu, Prince)

A look into the vector field components u(x,y) v(x,y) Note forces also act inside the object boundary!!

Results Traditional snake GVF snake

Cluster and reparametrize the contour dynamically. Final shape detected

The contour can also be initialized across the boundary of object!! Something not possible with traditional snakes.

Notice that the image is poor quality with sampling artifacts Medical Imaging Magnetic resonance image of the left ventricle of human heart Notice that the image is poor quality with sampling artifacts

Problem with GVF snake Very sensitive to parameters. Slow. Finding GVF field is computationally expensive.

Applications of snakes Image segmentation particularly medical imaging community (tremendous help). Motion tracking. Stereo matching (Kass, Witkin). Shape recognition.

References M. Kass, A. Witkin, and D. Terzopoulos, "Snakes: Active contour models.“, International Journal of Computer Vision. v. 1, n. 4, pp. 321-331, 1987. Chenyang Xu and Jerry L. Prince , "Snakes, Shape, and Gradient Vector Flow“, IEEE Transactions on Image Processing, 1998. C. Xu and J.L. Prince, “Gradient Vector Flow: A New External Force for Snakes”, Proc. IEEE Conf. on Comp. Vis. Patt. Recog. (CVPR), Los Alamitos: Comp. Soc. Press, pp. 66-71, June 1997.

Questions??