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

Slides:



Advertisements
Similar presentations
Active Contours without Edges
Advertisements

Total Variation and Geometric Regularization for Inverse Problems
Level Set Methods for Shape Recovery Fan Ding and Charles Dyer Computer Sciences Department University of Wisconsin.
An Efficient and Fast Active Contour Model for Salient Object Detection Authors: Farnaz Shariat, Riadh Ksantini, Boubakeur Boufama
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.
Level set based Image Segmentation Hang Xiao Jan12, 2013.
Active Contours, Level Sets, and Image Segmentation
Usage of Sobolev metric to detect an object’s boundaries Supervisor: Arie Nahkmani Students: Yoav Ben-Raphael Itzik Ben-Basat.
1 Lecture #7 Variational Approaches and Image Segmentation Lecture #7 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department,
Medical Image Segmentation: Beyond Level Sets (Ismail’s part) 1.
Computer vision: models, learning and inference Chapter 13 Image preprocessing and feature extraction.
CDS 301 Fall, 2009 Image Visualization Chap. 9 November 5, 2009 Jie Zhang Copyright ©
Dynamics of Learning VQ and Neural Gas Aree Witoelar, Michael Biehl Mathematics and Computing Science University of Groningen, Netherlands in collaboration.
Segmentation In The Field Medicine Advanced Image Processing course By: Ibrahim Jubran Presented To: Prof. Hagit Hel-Or.
Image Segmentation some examples Zhiqiang wang
Image Segmentation and Active Contour
Active Contour Models (Snakes) 건국대학교 전산수학과 김 창 호.
Snakes with Some Math.
On Constrained Optimization Approach To Object Segmentation Chia Han, Xun Wang, Feng Gao, Zhigang Peng, Xiaokun Li, Lei He, William Wee Artificial Intelligence.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Active Contour Models (Snakes)
Deformable Contours Dr. E. Ribeiro.
1 Curvature Driven Flows Allen Tannenbaum. 2 Basic curve evolution: Invariant Flows  Planar curve:  General flow:  General geometric flow:
1 GEOMETRIE Geometrie in der Technik H. Pottmann TU Wien SS 2007.
EE663 Image Processing Edge Detection 2 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Segmentation Divide the image into segments. Each segment:
Comp 775: Deformable models: snakes and active contours Marc Niethammer, Stephen Pizer Department of Computer Science University of North Carolina, Chapel.
Comp 775: Graph Cuts and Continuous Maximal Flows Marc Niethammer, Stephen Pizer Department of Computer Science University of North Carolina, Chapel Hill.
Summer Project Presentation Presented by:Mehmet Eser Advisors : Dr. Bahram Parvin Associate Prof. George Bebis.
We build a surface between two complex closed spatial spline curves. Our algorithm allows the input curves to have differing degree, parameterization,
Active Contour Models (Snakes) Yujun Guo.
T-Snake Reference: Tim McInerney, Demetri Terzopoulos, T-snakes: Topology adaptive snakes, Medical Image Analysis, No ,pp73-91.
CSE554Laplacian DeformationSlide 1 CSE 554 Lecture 8: Laplacian Deformation Fall 2012.
Matching 3D Shapes Using 2D Conformal Representations Xianfeng Gu 1, Baba Vemuri 2 Computer and Information Science and Engineering, Gainesville, FL ,
06 - Boundary Models Overview Edge Tracking Active Contours Conclusion.
2008/10/02H704 - DYU1 Active Contours and their Utilization at Image Segmentation Author : Marián Bakoš Source : 5th Slovakian-Hungarian Joint Symposium.
1 PDE Methods are Not Necessarily Level Set Methods Allen Tannenbaum Georgia Institute of Technology Emory University.
Image Segmentation and Registration Rachel Jiang Department of Computer Science Ryerson University 2006.
Deformable Models Segmentation methods until now (no knowledge of shape: Thresholding Edge based Region based Deformable models Knowledge of the shape.
Techniques for Estimating Layers from Polar Radar Imagery Jerome E. Mitchell, Geoffrey C. Fox, and David J. Crandall :: CReSIS NSF Site Visit :: School.
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
7.1. Mean Shift Segmentation Idea of mean shift:
Level Set Methods and Fast Marching Methods Wen Hongwei.
Computer Vision Lecture #2 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
Lecture 6 : Level Set Method
5. SUMMARY & CONCLUSIONS We have presented a coarse to fine minimization framework using a coupled dual ellipse model to form a subspace constraint that.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
1 Lecture #6 Variational Approaches and Image Segmentation Lecture #6 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department,
Introduction to Level Set Methods: Part II
Overview of Propagating Interfaces Donald Tanguay October 30, 2002.
1 Lecture #4 Calculus of Variation and Euler-Lagrange Equation Lecture #4 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department,
Stress constrained optimization using X-FEM and Level Set Description
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
Mathematical Morphology Mathematical morphology (matematická morfologie) –A special image analysis discipline based on morphological transformations of.
1 Lecture #8 Variational Approaches and Image Segmentation Lecture #8 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department,
CS654: Digital Image Analysis Lecture 36: Feature Extraction and Analysis.
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.
Head Segmentation using a finite element approach J.Piovano, T. Papadopoulo Odyssée Laboratory (ENPC, ENS, INRIA), INRIA, Sophia-Antipolis, France I. Introduction.
Implicit Active Shape Models for 3D Segmentation in MR Imaging M. Rousson 1, N. Paragio s 2, R. Deriche 1 1 Odyssée Lab., INRIA Sophia Antipolis, France.
CDS 301 Fall, 2008 Image Visualization Chap. 9 November 11, 2008 Jie Zhang Copyright ©
Air Systems Division Definition of anisotropic denoising operators via sectional curvature Stanley Durrleman September 19, 2006.
Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow.
CSE 554 Lecture 2: Shape Analysis (Part I)
Computational Hydrodynamics
Image gradients and edges
Dynamical Statistical Shape Priors for Level Set Based Tracking
Snakes, Shapes, and Gradient Vector Flow
Active Contours (“Snakes”)
Fast Marching and Level Set for Shape Recovery
Anthony D. Fick & Dr. Ali Borhan Governing Equations
Presentation transcript:

1 Lecture #5 Variational Approaches and Image Segmentation Lecture #5 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

Variational Formulation in Computer Vision and Image Analysis Image/Curve/Surface is required to evolve to minimize a certain energy function. Image/Curve/Surface is required to evolve to minimize a certain energy function. The change of the Image/Curve/Surfaceis described by a partial differential equation (PDE). The change of the Image/Curve/Surface is described by a partial differential equation (PDE). In image segmentation, the evolution continuous until the curve/surface hits the object (region) boundaries. In image segmentation, the evolution continuous until the curve/surface hits the object (region) boundaries.

Advantages of Introducing the Variational Formulation to the Computer Vision Field Modeling images in continuous time domain which simplifies the formalism and makes it grid independent. Research on numerical analysis makes it possible to achieve high speed, accurate, and stable solutions of the derived PDE’s. Viscosity solutions provide a framework for dealing with non- smooth signals used with these approaches. Formal analysis in this area give the possibility of providing successful algorithms and useful theoretical results like existence and uniqueness of the solution.

Euler Lagrange & Gradient Descent (Recall) Given a real function: Define the following energy functional: The Euler Lagrange equation will be: The Gradient Descent will be:

Classical Deformable Models

Parametric Planar Curve Representation C(0) C(0.5) C(1) Parametric Form: Arc Length is:

Snake/Contour Evolution The contour is required to evolve minimizing the following energy function: Contour characteristicsImage data (force)

Internal Energy w 1 and w 2 are non negative. The term weighted by w 1 reduces curve length and removes ripples. The second term controls the bending and smoothness of the contour.

External Energy G is a Gaussian smoothing filter with width. λ is the magnitude of the external force. This term derives the contour towards the object boundaries.

Vector Valued PDE Using calculus of variation, the contour evolves according to the following equation:

u v Parametric Form: Energy: Parametric Surfaces Representation and Evolution Complete the derivation.

Example Aorta segmentation using active contours

Problems of Classical Deformable Models Dependency on the parameterization. Troubles with topology changes (merging/splitting). Initialization needs to be near the final solution (a big problem in 3D). Tuning of the weighting coefficients in the PDE (w’s, λ).

Level Sets

Curve Representation using Level Sets Zero Level Set or Z=0 plane Resulting Curve (Evolving Front) Invented by Osher and Sethian 1985, to overcome disadvantages of classical deformable models. Add extra dimension to the problem

Topology Change Topological changes in the evolving front are handled naturally. No parameterization is needed. This representation allows merging and breaking of the front as t advances

Level Sets and The Signed Distance Function 17 D is the min Euclidean distance between X and the contour. Ф is continuous and differentiable around the zero level.

Example of Signed Distance Functions wNwN

Example of Image Representation Image Representation

Applications of the Distance Transform (DT) The DT is a fundamental operator in shape analysis, having numerous applications, some of which are briefly listed bellow. Separation of overlapping objects through watershed segmentation. Computation of morphological operators. Computation of geometrical representations and measures, such as skeletonization. Shape matching. Shape measures related to distance. Other interesting areas in which the DT has been applied are: image registration subpixel contour tracing multidimensional data analysis (classification, clustering) image enhancement ray-tracing optimization embedding surface for level set-based methods efficient belief-propagation multiphase flow simulations medical image analysis analysis of interaction between biological structures

Signed Distance Generation Complexity So, to compute the distance function you need to get the closest point on the boundary/curve for each position in the domain. This process is very time-consuming especially for volumes in 3D and higher. Some approximation methods are used to expedite this process. See the following slides.

Distance Transform Generation Faster Algorithm ∞∞∞∞∞∞∞∞∞∞∞∞ ∞∞∞∞∞∞∞∞∞∞∞∞ ∞∞∞∞∞∞∞∞∞∞∞∞ ∞∞∞00000∞∞∞∞ ∞∞∞0∞∞∞0∞∞∞∞ ∞∞∞0∞∞∞0∞∞∞∞ ∞∞∞0∞∞∞0∞∞∞∞ ∞∞∞0∞∞∞0∞∞∞∞ ∞∞∞00000∞∞∞∞ ∞∞∞∞∞∞∞∞∞∞∞∞ ∞∞∞∞∞∞∞∞∞∞∞∞ 1.Set boundary points to zeroes while others to ∞. 2.Initialize an auxiliary set of pixels (usually a queue), the so-called contour set, with the boundary pixels and their zero values. 3.While the contour set is not empty do the following:- a)Remove a pixel from the contour set. Let us call it the central pixel (x p,y p ) now. b)For every pixel (x q,y q ) of the neighbors of the central pixel, do the following:- I.Compute the distance to the central point as: dd=|x p -x q |+|y p -y q |; II.Compute a temporary distance as : dtq=min(dist(p)+dd,dist(q)); III.If dtq < dist(q), add the pixel q to the contour set; IV.Dist(q)=dtq;

Distance Transform Generation Faster Algorithm (Cont…) Note that computing the distance as the difference is faster than the square root function. Also, this methodology updates the distance values around the boundary points/pixels until there are no points in the queue. Try this method with the dynamic implementation using linked lists. It will be much faster than the ordinary methods…. Assignment: Implement using C++. Apply it for 2D as well as 3D shapes.