Registration: Rigid vs. Deformable

Similar documents
All images are degraded

Lecture 13 Theory of Registration. ch. 10 of Insight into Images edited by Terry Yoo, et al. Spring (CMU RI) : BioE 2630 (Pitt)

Lecture 15 Active Shape Models

Lecture 12 Level Sets & Parametric Transforms. sec & ch. 11 of Machine Vision by Wesley E. Snyder & Hairong Qi

Lecture 14 Shape. ch. 9, sec. 1-8, of Machine Vision by Wesley E. Snyder & Hairong Qi. Spring (CMU RI) : BioE 2630 (Pitt)

Lecture 10 Segmentation, Part II (ch 8) Active Contours (Snakes) ch. 8 of Machine Vision by Wesley E. Snyder & Hairong Qi

Lecture 6 Linear Processing. ch. 5 of Machine Vision by Wesley E. Snyder & Hairong Qi. Spring (CMU RI) : BioE 2630 (Pitt)

2/7/18. For more info/gory detail. Lecture 8 Registration with ITK. Transform types. What is registration? Registration in ITK

What are advanced filters? Lecture 19 Write Your Own ITK Filters, Part2. Different output size. Details, details. Changing the input requested region

Visual Tracking (1) Tracking of Feature Points and Planar Rigid Objects

The Pipeline. Lecture 17 ITK Pipeline. The pipeline idea. Image sources. Image to image filters. Input and output

Non-Rigid Image Registration III

Lecture 09 Segmentation (ch 8) ch. 8 of Machine Vision by Wesley E. Snyder & Hairong Qi. Dr. John Galeo3. Into connected regions

Visual Tracking (1) Feature Point Tracking and Block Matching

Preprocessing II: Between Subjects John Ashburner

The Insight Toolkit. Image Registration Algorithms & Frameworks

Feature Tracking and Optical Flow

Feature Tracking and Optical Flow

COMPUTER VISION > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE

Combinatorial optimization and its applications in image Processing. Filip Malmberg

Leow Wee Kheng CS4243 Computer Vision and Pattern Recognition. Motion Tracking. CS4243 Motion Tracking 1

Large-Deformation Image Registration using Fluid Landmarks

Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation

Learning-based Neuroimage Registration

Motion Analysis. Motion analysis. Now we will talk about. Differential Motion Analysis. Motion analysis. Difference Pictures

Goals for this lecture. Lecture 4 Getting Started with ITK! Getting help. Assignments. Assignments, cont. Grading of assignments

Dense Image-based Motion Estimation Algorithms & Optical Flow

REAL-TIME ADAPTIVITY IN HEAD-AND-NECK AND LUNG CANCER RADIOTHERAPY IN A GPU ENVIRONMENT

COMP 175 COMPUTER GRAPHICS. Lecture 10: Animation. COMP 175: Computer Graphics March 12, Erik Anderson 08 Animation

The Jello Cube Assignment 1, CSCI 520. Jernej Barbic, USC

CS 231. Deformation simulation (and faces)

Knowledge-Based Deformable Matching for Pathology Detection

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123

Implementation of Advanced Image Guided Radiation Therapy

LOCAL-GLOBAL OPTICAL FLOW FOR IMAGE REGISTRATION

Image Registration. Prof. Dr. Lucas Ferrari de Oliveira UFPR Informatics Department

Curvature guided surface registration using level sets

Visual Tracking (1) Pixel-intensity-based methods

Image Warping. Srikumar Ramalingam School of Computing University of Utah. [Slides borrowed from Ross Whitaker] 1

CAP 5415 Computer Vision Fall 2012

Motion and Optical Flow. Slides from Ce Liu, Steve Seitz, Larry Zitnick, Ali Farhadi

Structured Light II. Thanks to Ronen Gvili, Szymon Rusinkiewicz and Maks Ovsjanikov

Non-Rigid Multimodal Medical Image Registration using Optical Flow and Gradient Orientation

Brain Warping Via Landmark Points and Curves with a Level Set Representation

Brilliance CT Big Bore.

Optical Flow Estimation

A Non-Linear Image Registration Scheme for Real-Time Liver Ultrasound Tracking using Normalized Gradient Fields

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Augmented Reality VU. Computer Vision 3D Registration (2) Prof. Vincent Lepetit

Metafor FE Software. 2. Operator split. 4. Rezoning methods 5. Contact with friction

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

SPM Introduction. SPM : Overview. SPM: Preprocessing SPM! SPM: Preprocessing. Scott Peltier. FMRI Laboratory University of Michigan

Using Subspace Constraints to Improve Feature Tracking Presented by Bryan Poling. Based on work by Bryan Poling, Gilad Lerman, and Arthur Szlam

3D Computer Vision. Structured Light II. Prof. Didier Stricker. Kaiserlautern University.

3D Human Motion Analysis and Manifolds

Shape-based Diffeomorphic Registration on Hippocampal Surfaces Using Beltrami Holomorphic Flow

Dr. Ulas Bagci

SPM Introduction SPM! Scott Peltier. FMRI Laboratory University of Michigan. Software to perform computation, manipulation and display of imaging data

A brief introduction to fluidstructure. O. Souček

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

Mass-Spring Systems. Last Time?

Characteristic Aspects of SPH Solutions

EE795: Computer Vision and Intelligent Systems

Multimodality Imaging for Tumor Volume Definition in Radiation Oncology

Geometric Transformations and Image Warping

Matching. Compare region of image to region of image. Today, simplest kind of matching. Intensities similar.

Comparison between Optical Flow and Cross-Correlation Methods for Extraction of Velocity Fields from Particle Images

Optic Flow and Basics Towards Horn-Schunck 1

Computational Design. Stelian Coros

Lecture 20: Tracking. Tuesday, Nov 27

Registration-Based Segmentation of Medical Images

An Eulerian Approach for Computing the Finite Time Lyapunov Exponent (FTLE)

Neuroimaging and mathematical modelling Lesson 2: Voxel Based Morphometry

CS201: Computer Vision Introduction to Tracking

Level-set and ALE Based Topology Optimization Using Nonlinear Programming

Image Segmentation and Registration

Viscoelastic Registration of Medical Images

Anomaly Detection through Registration

Machine Learning for Medical Image Analysis. A. Criminisi

BACK AND FORTH ERROR COMPENSATION AND CORRECTION METHODS FOR REMOVING ERRORS INDUCED BY UNEVEN GRADIENTS OF THE LEVEL SET FUNCTION

Image Coding with Active Appearance Models

CS 231. Deformation simulation (and faces)

Correspondence. CS 468 Geometry Processing Algorithms. Maks Ovsjanikov

Edge and local feature detection - 2. Importance of edge detection in computer vision

Probabilistic Registration of 3-D Medical Images

Medical Image Segmentation using Level Sets

Programming, numerics and optimization

Fmri Spatial Processing

Outline 7/2/201011/6/

Basic principles of MR image analysis. Basic principles of MR image analysis. Basic principles of MR image analysis

Tracking Computer Vision Spring 2018, Lecture 24

Comparison between Motion Analysis and Stereo

Is deformable image registration a solved problem?

Post Processing, Visualization, and Sample Output

Motion Estimation. There are three main types (or applications) of motion estimation:

Elastic registration of medical images using finite element meshes

Motion. 1 Introduction. 2 Optical Flow. Sohaib A Khan. 2.1 Brightness Constancy Equation

A Multiple-Layer Flexible Mesh Template Matching Method for Nonrigid Registration between a Pelvis Model and CT Images

1.7.1 Laplacian Smoothing

Integrated Approaches to Non-Rigid Registration in Medical Images

Transcription:

Lecture 20 Deformable / Non-Rigid Registration ch. 11 of Insight into Images edited by Terry Yoo, et al. Spring 2017 16-725 (CMU RI) : BioE 2630 (Pitt) Dr. John Galeotti The content of these slides by John Galeotti, 2012-2017 Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN276201000580P, and is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/3.0/ or send a letter to Creative Commons, 171 2nd Street, Suite 300, San Francisco, California, 94105, USA. Permissions beyond the scope of this license may be available either from CMU or by emailing itk@galeotti.net. The most recent version of these slides may be accessed online via http://itk.galeotti.net/ Registration: Rigid vs. Deformable Rigid Registration: Uses a simple transform, uniformly applied Rotations, translations, etc. Deformable Registration: Allows a non-uniform mapping between images Measure and/or correct small, varying discrepancies by deforming one image to match the other Usually only tractable for deformations of small spatial extent! 2 1

Deformable, i.e. Non-Rigid, Registration (NRR) A B B(T) Vector field (aka deformation field) T is computed from A to B Inverse warp transforms B into A s coordinate system Not only do we get correspondences, but We also get shape differences (from T) 3 NRR Clinical Background Internal organs are non-rigid The body can change posture Even skeletal arrangement can change Single-patient variations: Normal Pathological Treatment-related Inter-subject mapping: People are different! Atlas-based segmentation typically requires NRR 4 2

More Clinical Examples Physical brain deformation during neurosurgery Normal squishing, shifting and emptying of abdominal/pelvic organs and soft tissues Digestion, excretion, heart-beat, breathing, etc. Lung motion during respiration can be huge! Patient motion during image scanning 5 Optical Flow Traditionally for determining motion in video assumes 2 sequential images Detects small shifts of small intensity patterns from one image to the next Output is a vector field, one vector for each small image patch/intensity pattern Basic gradient-based formulation assumes intensity values are conserved over time 6 3

Optical Flow Assumptions Images are a function of space and time After short time dt, the image has moved dx Velocity vector v = dx/dt is the optical flow I(x, t) = I(x+dx, t+dt) = I(x+vdt, t+dt) Resulting optical flow constraint: Image spatial gradient C of = I x v + I t = 0 Image temporal derivative 7 Optical Flow Constraint Optical flow constraint dictates that when an image patch is spatially shifted over time, that it will retain its intensity values Let image A = I(x, t =0) and let B = I(x, t =1) Then I t = A(T) B This alone is not a sufficient constraint! 8 4

NRR Is Ill-Posed Review of well-posed problems: A solution exists, is unique, and depends continuously on the data Otherwise, a problem is ill-posed Ambiguity within homogenous regions:? A B 9 Very Ill-Posed Problem NRR answer is not unique, and NRR Search-space is often -dimensional! Solution: Regularization Adding a regularization term can provide provable uniqueness and a computable subspace Regularization usually based on continuum mechanics T is restricted to be physically admissible We re typically deforming physical anatomy, after all Optimum T should deform just enough for alignment 10 5

NRR Regularization Methods Numerous continuum mechanical models available for regularization priors Elastic Diffusion Viscous Flow Curvature Optimization is then physical simulation over time, t, of trying to deform one image shape to match another This optimization has 3 equivalent formulations: Global potential energy minimization Variational or weak form, as used in finite-element methods Euler-Lagrangian (E-L) equations, as used in finite-difference techniques 11 Langrangian View Elastic physical model: How much have we stretched, etc., from our original image coordinates? Simulation calculates the physical model s resistance to deformation based on the total deformation from time t=0 to t=now. T is the final vector field ū f : ū f = ū( t=t final ) A(X + ū f ) ~ B(x) Deformation at time t: A( X ) A( X+ū(t) ) Deformation at time t + dt: A( X ) A( X+ū(t+dt) ) X = x - ū f 12 6

Eulerian View Viscous-flow physical model: How much have we flowed from our immediately previous simulation state? Simulation calculates the physical model s resistance to deformation based on the incremental deformation from time t=(now-1) to t=now. T is the aggregate flow of x(t), based on accumulated optical flow (i.e. velocity) v(t): x(t) = x + v(t) A( x(t=t final ) ) ~ B(x) Deformation at time t: A( x ) A( x+v(t) ) Deformation at time t + dt: A( x+v(t) ) A( x+v(t+dt) ) 13 Comparison of Regularization Reference Frames Langrangian The entire deformation is regularized Well constrained for normal physical deformation Too constrained to achieve large deformations Not ideal for many inter-subject mapping tasks Eulerian Only the incremental updates are regularized Underconstrained for normal physical deformation Readily achieves large, inter-subject deformations Unrealistic transformations can result 14 7

Transient Quadratic (TQ) Approach Enables better-constrained large deformations Uses Lagrangian regularization for specified time interval, followed by a re-gridding strategy After an interval s deformation reaches a threshold, we begin a new interval for which the last deformation becomes the new starting point TQ thus resets the coordinate system while permanently storing the past state of the algorithm Results in a hybrid E+L physical model, resembling soft, stretchable plastic Maintains the elastic regularization for a given time then takes on a new shape until new stresses are applied 15 Optical Flow Regularized E D ( v) = Φ( C of )dω+ Ψ( v)dω Ω e.g., Φ C of e.g., 2 ( ) = C of Ω Ψ( v)dω = Lv 2 Ω Goal: Minimize global potential energy, E D First term adjusts v to make the images match (wants C of = 0 within the bounded domain Ω) Second term adds a stabilizing function Ψ, typically a regulator operator L applied to v 16 8

Optical Flow E-L Regularized After deriving the E-L equations & setting their derivative = 0, we find that the Potential energy minimum will occur when: I x ( I x v + I t ) v xx = 0 First term minimizes optical flow constraint Second term minimizes Laplacian (i.e. roughness) of velocity field v Note that this equation is evaluated locally Allows for efficient implementation 17 Demons Algorithm: Math Very efficient gradient-descent NRR algorithm Originally conceived as having demons push image level sets around, but is also Based on E-L regularized optical flow Alternates between minimizing each half of the previous equation: Descent in optical flow direction, based on: I x ( I x v + I t ) = 0 Smoothing, which estimates v xx =0 with a differenceof-gaussian filter, by applying a Gaussian on each iteration 18 9

Demons Algorithm: Code Initialize solution (i.e. total vector field) = Identity Loop: Estimate vector field update Use (stabilized) optical flow Add update to total vector field Blur total vector field (for regularization) Allows much larger deformation fields than optical flow alone. Langrangian registration: blur the total vector field (as above) Eulerian registration: blur the individual vector-field updates Choices & Details There are many more NRR algorithms available Almost all of them are slower than demons, but they may give you better results See the text for details, and lots of helpful pictures 20 10