Image Segmentation II Advanced Approaches

Similar documents
O4 Digital Imaging 1

Snakes operating on Gradient Vector Flow

Image Segmentation I Basics. Jorge Jara W.

Snakes, Active Contours, and Segmentation Introduction and Classical Active Contours Active Contours Without Edges

Geometrical Modeling of the Heart

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics 1/15

1. Two double lectures about deformable contours. 4. The transparencies define the exam requirements. 1. Matlab demonstration

Segmentation. Namrata Vaswani,

CS337 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics. Bin Sheng Representing Shape 9/20/16 1/15

A Modified Image Segmentation Method Using Active Contour Model

Snakes reparameterization for noisy images segmentation and targets tracking

Edge Detection and Active Contours

Level Set Evolution without Reinitilization

Automated Segmentation Using a Fast Implementation of the Chan-Vese Models

1. Two double lectures about deformable contours. 4. The transparencies define the exam requirements. 1. Matlab demonstration

Non-Rigid Image Registration III

Variational Methods II

Automated length measurement based on the Snake Model applied to nanoscience and nanotechnology

A Finite Element Method for Deformable Models

Chromosome Segmentation and Investigations using Generalized Gradient Vector Flow Active Contours

Snakes, level sets and graphcuts. (Deformable models)

B. Tech. Project Second Stage Report on

Multimodality Imaging for Tumor Volume Definition in Radiation Oncology

SCIENCE & TECHNOLOGY

Non-Rigid Registration I

Geometric Modeling and Processing

Chapter 3. Automated Segmentation of the First Mitotic Spindle in Differential Interference Contrast Microcopy Images of C.

For Information on SNAKEs. Active Contours (SNAKES) Improve Boundary Detection. Back to boundary detection. This is non-parametric

Medical Image Segmentation by Active Contour Improvement

Active Geodesics: Region-based Active Contour Segmentation with a Global Edge-based Constraint

Fast Segmentation of Kidneys in CT Images

Segmentation. Separate image into coherent regions

Motivation. Freeform Shape Representations for Efficient Geometry Processing. Operations on Geometric Objects. Functional Representations

Feature Extraction and Image Processing, 2 nd Edition. Contents. Preface

Contents. I The Basic Framework for Stationary Problems 1

Automatic Extraction of Femur Contours from Hip X-ray Images

Dr. Ulas Bagci

Unit 3 : Image Segmentation

Physically-Based Modeling and Animation. University of Missouri at Columbia

Finding a Needle in a Haystack: An Image Processing Approach

Segmentation Using Active Contour Model and Level Set Method Applied to Medical Images

weighted minimal surface model for surface reconstruction from scattered points, curves, and/or pieces of surfaces.

Optimization. Intelligent Scissors (see also Snakes)

Boundary descriptors. Representation REPRESENTATION & DESCRIPTION. Descriptors. Moore boundary tracking

The Level Set Method. Lecture Notes, MIT J / 2.097J / 6.339J Numerical Methods for Partial Differential Equations

Yunyun Yang, Chunming Li, Chiu-Yen Kao and Stanley Osher. Speaker: Chiu-Yen Kao (Math Department, The Ohio State University) BIRS, Banff, Canada

Normalized cuts and image segmentation

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

Discrete Coons patches

Accurate Boundary Localization using Dynamic Programming on Snakes

Adaptive active contours (snakes) for the segmentation of complex structures in biological images

Meshless Modeling, Animating, and Simulating Point-Based Geometry

Segmentation of Volume Images Using Trilinear Interpolation of 2D Slices

GEOMETRIC TOOLS FOR COMPUTER GRAPHICS

Problem Solving Assignment 1

ELASTICA WITH HINGES

Gradient Vector Flow: A New External Force for Snakes

Elastic Bands: Connecting Path Planning and Control

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Research Article Local- and Global-Statistics-Based Active Contour Model for Image Segmentation

CHAPTER 1 Introduction 1. CHAPTER 2 Images, Sampling and Frequency Domain Processing 37

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

2D Spline Curves. CS 4620 Lecture 18

Parameterization. Michael S. Floater. November 10, 2011

Global Minimization of the Active Contour Model with TV-Inpainting and Two-Phase Denoising

Computer Vision. Recap: Smoothing with a Gaussian. Recap: Effect of σ on derivatives. Computer Science Tripos Part II. Dr Christopher Town

Levelset and B-spline deformable model techniques for image segmentation: a pragmatic comparative study.

Computergrafik. Matthias Zwicker. Herbst 2010

Implicit Active Contours Driven by Local Binary Fitting Energy

ISSN: X International Journal of Advanced Research in Electronics and Communication Engineering (IJARECE) Volume 6, Issue 8, August 2017

An Active Contour Model without Edges

Computer Graphics I Lecture 11

Extract Object Boundaries in Noisy Images using Level Set. Literature Survey

Spline Morphing. CG software practical course in the IWR. Carl Friedrich Bolz. Carl Friedrich Bolz

INF3320 Computer Graphics and Discrete Geometry

Fairing Scalar Fields by Variational Modeling of Contours

Leukocyte Segmentation in Blood Smear Images Using Region-Based Active Contours

Curves and Surfaces for Computer-Aided Geometric Design

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

Image Processing, Analysis and Machine Vision

Medical Image Segmentation using Level Sets

Level-set MCMC Curve Sampling and Geometric Conditional Simulation

A Survey of Image Segmentation Based On Multi Region Level Set Method

College of Engineering, Trivandrum.

Parallel Implementation of Lagrangian Dynamics for real-time snakes

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

Curves and Curved Surfaces. Adapted by FFL from CSE167: Computer Graphics Instructor: Ronen Barzel UCSD, Winter 2006

ACTIVE CONTOURS BASED OBJECT DETECTION & EXTRACTION USING WSPF PARAMETER: A NEW LEVEL SET METHOD

Active contours in Brain tumor segmentation

Video 11.1 Vijay Kumar. Property of University of Pennsylvania, Vijay Kumar

Introduction to the Mathematical Concepts of CATIA V5

A Geometric Flow Approach for Region-based Image Segmentation

Vectorization Using Stochastic Local Search

Almost Curvature Continuous Fitting of B-Spline Surfaces

Building Roof Contours Extraction from Aerial Imagery Based On Snakes and Dynamic Programming

Shape Modeling and Geometry Processing

A NURBS-BASED APPROACH FOR SHAPE AND TOPOLOGY OPTIMIZATION OF FLOW DOMAINS

Information Coding / Computer Graphics, ISY, LiTH. Splines

Research on the Wood Cell Contour Extraction Method Based on Image Texture and Gray-scale Information.

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1

Transcription:

Image Segmentation II Advanced Approaches Jorge Jara W. 1,2 1 Department of Computer Science DCC, U. of Chile 2 SCIAN-Lab, BNI

Outline 1. Segmentation I Digital image processing Segmentation basics 2. Segmentation II Advanced techniques

Segmentation basics Some times more information is needed in order to achieve a good segmentation

Designed to optimize a cost or fitness function Interest features detection (e.g. edges, points) SIFT Template matching Hough transform Pixel clustering Statistics, probabilities Graph cuts Machine learning (support vector machine, neural networks ) Differential equations, calculus of variations Contour properties Region properties Segmentation - Advanced This can be a VERY long list

Segmentation - Advanced Template matching Classic model Hough transform Applies to circles, line segments and a variety of shapes If we can detect edges we can approximate a circle (center, radius) Hough P (1959) n connected edges and m (=n or <> n) circles A test is performed to determine the circles with best fit Aguilar P, Hitschfeld N (DCC, 2010)

Segmentation - Advanced Variational methods Based on energy minimization, defining integral models Idea: to include desirable features on segmented images (like homogeneus regions, short or smooth ROI boundaries) Optimum solutions found by partial differential equations Examples: Mumford-Shah, Ambrosio-Tortorelli, Chan-Vese (details in the book from Aubert & Kornprobst 2006) image I main discontinuties in I ROI boundaries B piecewise smooth image J The Mumford & Shah functional (1989)

Segmentation - Advanced Active contour models Optimization of different properties input image +initial guess contour C(s) - elasticity (contraction) - rigidity (bending, cornering) force field - repulsion - attraction output: force balance minimal energy First active contours approach: Kass, Witkin & Terzopoulos (1988) Snakes

Segmentation - Advanced 2D active contours or snakes Snakes Contour model [2D discrete point curve] Image [2D: I = I(x, y)] Resolution control Interpolation Approximation Adjusted contour Description Shape, topology

Segmentation - Advanced 1 contour function 1 ROI (this is called parametric approach) 2D parametric curve C = C(s) = [x(s), y(s)] s є [0, 1] (arbitrary length) 2D discretization C = {[x i, y i ]; i = 0..n}

Segmentation - Advanced Snakes: optimization derived from a variational approach Minimization of an integral functional a snake minimizes its energy 1 2 1 2 2 C( s) C( s) E Eext [ C( s)] ds 2 2 s s 0 Elasticity term (coefficient α) Internal energy, contour dependant Rigidity term (coefficient β) External energy, image dependant Kass et al (1988) Snakes: active contour models Int. J. of Computer Vision 1(4): 321-331

Segmentation \ Active contour models Elasticity - α

Segmentation \ Active contour models Rigidity - β

Segmentation \ Active contour models Resolution (f)

Intensity gradient vectors V 0 =[I x, I y ] 14

Segmentation \ Active contour models Attraction fields can be constructed from the intensity gradients Edgemap image Image intensity Or a gaussian-smoothed version

Segmentation \ Active contour models Image force fields (external forces in active contour models) Gradient vector flow (GVF) Generalized GVF (GGVF) Xu & Prince (1998) Active contours and gradient vector flow http://iacl.ece.jhu.edu/projects/gvf Xu & Prince (1998) Generalized gradient vector flow external forces for active contours

Defined by an energy functional to be minimized ), ( ), ( ], [ ), ( y x v v y x u u v u y x V Let GVF image force field Segmentation \ Active contour models Edge similarity term Diffusion (global smoothness) term

Segmentation \ Active contour models The GVF (GGVF) energy minimization Diffusion term Edge term g h 18

Campo de gradientes GVF V 0 =[I g( I ) x, I y ] = μ μ = 0.05 > 0 h( I ) = I 2 19

Generalized GVF (GGVF) g( I ) = e (- I /μ) μ = 0.05 >0 h( I ) = 1 - g( I ) 20

Segmentation - Advanced Snakes formulation Energy minimization condition: Euler-Lagrange equation 2 C( s) 2 s 4 C( s) 4 s E ext [ C( s)] 0 Internal forces External force

Snakes numerical solution Dynamic formulation C(s) C(s, t) Time equilibrium leads to solution 0 ), ( t t s C y t x )], ( [ ), ( ), ( ), ( 4 4 2 2 t s C E s t s C s t s C t t s C ext Internal forces External force Time evolution Segmentation - Advanced

Segmentation - Advanced Snakes numerical solution Parameters α (elasticity), β (rigidity) 2 C 2 s 4 C E [ C] 0 4 ext s An * nc Eext[ C] 0 κ (added as the external force weight), γ (contour viscosity) C t AC t E ext ( Ct 1) ( Ct Ct 1) Iterative scheme, solved computationally A is a 5-diagonal matrix, suitable for numeric solution C( s, t) t 1 ( A) ( Ct 1 E ext ( Ct 1)) In order to computationallly solve this system: matrix inversion, array data structures, adaptive algorithms, 0

Segmentation - Advanced α = 0 = 0.01 = 3 = 0.01 = 0.05 Iterations = 5 f = 0.15

Segmentation - Advanced

Segmentation - Advanced Some problems with the snakes method The quantity of contours must not change, given the 1-1 correspondence of the model Dependecy on the initial guess Local optima for the functional minimization A bad initialization of the snakes can lead to unstability and undesired results Control of the snake parameters is crucial

α = 0.01 = 0.5 = 0.6 = 5 = 0.05 Iterations = 5 f = 0.15 Bad parameter selection.

A bad 3D case (the gold standard segmentation is the green sphere)

Segmentation - Advanced Alternatives Arbitrary contour initialization automation Inference (machine learning approaches)

Segmentation - Advanced Topology adaptive snakes (or surfaces) McInerney & Terzopoulos, 1995 (2D), 2002 (3D) Topological changes handling: splitting, merging, collapse

Between deformations, the contours are re-parametrized by using a grid to detect topology changes

This is an algorithmic approach, additional to the mathematical optimization model. The computation becomes more intensive

Segmentation - Advanced Hardest cases: initialization by manual ROI sketching Raw Treatment image

Boundary model construction 2D Freeman chain code Segmentation - Advanced 3D mesh models (voxel based): marching cubes (surface meshes), tethraedra (volume meshes) 2D polygon chain code Voxel ( 3D pixel ) model 3D polygon mesh

Segmentation - Advanced A typical 3D surface mesh model is formed by: Nodes or vertices Polygons Other models Polynomial surfaces (splines, Bézier, NURBS, ) Primitives composition

Segmentation - Advanced Surface mesh model construction Many approaches for construction Many approaches for modeling Voxel ( 3D pixel ) model Triangle mesh Triangular and quarilateral mesh

Sample 3D ROI

References David Marr. Vision MIT press, 1982 John Russ. The image processing handbook, 4 th ed. CRC Press, 2002 Nixon, Aguado. Feature extraction & image processing, 1 st 2 nd 3 rd ed. Academic Press, 2002 2008 2012 Aubert & Kornprobst. Mathematical Problems In Image Processing Springer, 2006 From SCIAN-Lab (see publications section on the website) Jara, 2006. 2D/3D active contours Olmos, 2009. 2D topology adaptive active contours (t-snakes)

References Some free and open source software tools Java based (Java runtime requried) ImageJ (http://rsbweb.nih.gov/ij/, public domain) Fiji (http://fiji.sc; GPL license) Icy (http://icy.bioimageanalysis.org; GPLv3 license) Others CellProfiler (http://cellprofiler.org; GPL, BSD licenses) Slicer (www.slicer.org; BSD license) IPOL (Image Processing Online): open access electronic journal with peer reviewed articles + code (in C language) + examples (www.ipol.im; BSD / GPL / LGPL licenses or similar)