ITK Deformable Registration - PowerPoint PPT Presentation

1 / 50
About This Presentation
Title:

ITK Deformable Registration

Description:

Demons. Methods. Deformable Registration. Deformable Registration. Deformable Transforms ... Demons Registration: Type 1. Scene. Gradient. Intensity. Space ... – PowerPoint PPT presentation

Number of Views:188
Avg rating:3.0/5.0
Slides: 51
Provided by: nam4
Category:

less

Transcript and Presenter's Notes

Title: ITK Deformable Registration


1
ITK Deformable Registration
Demons Methods
2
Deformable Registration
Deformable Registration
3
Deformable Transforms
Deformable Transforms
4
Deformable Transformation
y
y
Transform
x
x
Fixed Image
Moving Image
5
Deformable Transformation
y
y
Transform
x
x
Fixed Image
Moving Image
6
Deformable Transformation
y
y
Transform
x
x
Fixed Image
Moving Image
7
Image Resampling
Interpolator
FixedImage
Resample Image Filter
MovingImage
DeformedImage
Transform
8
Image Resampling
Interpolator
FixedImage
Resample Image Filter
MovingImage
High Order Polynomials
Orthogonal Basis
Splines
Explicit Vector Field
DeformedImage
Transform
9
Kernel Splines Transforms
Target Landmarks
Source Landmarks
Displacement Vectors
Interpolated Values
10
Kernel Spline Transforms
  • Thin Plates
  • Thin Plates R2 log R
  • Elastic Body
  • Elastic Body Reciprocal
  • Volume

11
Kernel Spline Transforms
InsightApplications / ThinPlateSplines
12
Resampling Kernel Spline Transform
include "itkImage.h" include "itkResampleImageFi
lter.h" include "itkLinearInterpolateImageFunctio
n.h" include "itkElasticBodySplineKernelTransform
.h" typedef itkImage
ImageType ImageTypeConstPointer fixedImage
GetFixedImage() ImageTypeConstPointer
movingImage GetMovingImage() typedef
itkLinearInterpolateImageFunction ImageType,
double
InterpolatorType InterpolatorTy
pePointer interpolator InterpolatorTypeNew()
typedef itkResampleImageFilter ImageType FilterType FilterTypeP
ointer resampler FilterTypeNew()
13
Resampling Kernel Spline Transform
  • typedef itkElasticBodySplineKernelTransform double, 2
    TransformType
  • TransformTypePointer transform
    TransformTypeNew()
  • resampler-SetInterpolator( interpolator )
  • resampler-SetInput( movingImage )
  • ImageTypeRegionType region fixedImage-GetBuff
    eredRegion()
  • resampler-SetSize( region-GetSize() )
  • resampler-SetOutputStartIndex(
    region-GetIndex() )
  • resampler-SetOutputSpacing( fixedImage-GetSpacin
    g() )
  • resampler-SetOutputOrigin( fixedImage-GetOrigin(
    ) )

14
Resampling Kernel Spline Transform
resampler-SetTransform( transform ) typedef
TransformTypePointSetType
PointSetType PointSetTypePointer
sourceLandmarks PointSetTypeNew() PointSetTyp
ePointer targetLandmarks PointSetTypeNew()
transform-SetSourceLandmarks( sourceLandmarks
) transform-SetTargetLandmarks( targetLandmarks
) typedef PointSetTypePointsContainer
PointsContainer PointsContainerPointer
sources sourceLandmarks-GetPoints() PointsCont
ainerPointer targets targetLandmarks-GetPoint
s()
15
Resampling Kernel Spline Transform
  • sources-Reserve( numberOfLandmarks )
  • targets-Reserve( numberOfLandmarks )
  • typedef PointSetTypePointType PointType
  • PointType source
  • PointType target
  • for( int i 0 i
  • inputFile source
  • inputFile target
  • sources-InsertElement( i, source )
  • targets-InsertElement( i, target )
  • transform-ComputeWMatrix()
  • resampler-Update() // Finally !!

16
Kernel Spline Transforms
VolView ITK Plugin
17
Kernel Spline Transforms
VolView ITK Plugin
18
Deformable Transforms
Deformation Fields
19
Deformation Vector Field
ParaView http//www.paraview.org
20
Warp Image Filter
include "itkImage.h" include "itkWarpImageFilter
.h" include "itkLinearInterpolateImageFunction.h"
typedef itkImage
ImageType ImageTypeConstPointer fixedImage
GetFixedImage() ImageTypeConstPointer
movingImage GetMovingImage() typedef
itkLinearInterpolateImageFunction ImageType,
double
InterpolatorType InterpolatorTy
pePointer interpolator InterpolatorTypeNew()
typedef itkVector
VectorType typedef itkImage
VectorFieldType VectorFieldTypePointer
vectorField GetVectorField()
21
Warp Image Filter
  • typedef itkWarpImageFilter
  • ImageType,
  • VectorFieldType WarpFilterType
  • WarpFilterTypePointer warpFilter
    WarpFilterTypeNew()
  • warpFilter-SetInterpolator( interpolator )
  • warpFilter-SetInput( movingImage )
  • warpFilter-SetOutputSpacing( fixedImage-GetSpaci
    ng() )
  • warpFilter-SetOutputOrigin( fixedImage-GetOrigin
    () )
  • warpFilter-SetDeformationField( vectorField )
  • warpFilter-Update()
  • ImageTypeConstPointer deformedImage
    warpFilter-GetOutput()

22
Demons Registration
Demons Registration
23
Demons Registration
Demons is a Family of Algorithms
24
Demons Registration
Demons Type 0
25
Demons Registration Type 0
Transform
Scene
Model
26
Demons Registration Type 0
Transform
Scene
Gradients
Model
27
Demons Registration Type 0
Transform
Scene
Forces
Model
28
Demons Registration
Demons Type 1
29
Demons Registration Type 1
Transform
Scene
Model
Vector Field
30
Demons Registration Type 1
Transform
Scene
Model
Vector Field
31
Demons Registration Type 1
Transform
Scene
Model
Vector Field
32
Demons Registration Type 1
Transform
Scene
Model
Vector Field
33
Demons Registration Type 1
Gradient
Scene
34
Demons Registration Type 1
Current Estimation
Intensity
Space
Gradient
Desired Displacement
Scene
35
Demons Registration Type 1
Transform
Scene
Model
Vector Field
36
Demons Registration Type 1
Scene
37
Demons Registration Type 1
Iterations
Previous Field
Gaussian Smoothing
38
Demons Registration Type 1
( s m ) . Grad(s)
V
Grad(s)2
( s m ) . Grad(s)
V
Grad(s)2 (s-m)2
K
39
Image Registration Framework
FixedImage
Increment Computation
PDE Solver
MovingImage
Interpolator
DeformationField
Transform
40
Demons Registration Type 1
include "itkImage.h" include "itkDemonsRegistrat
ionFilter.h" typedef itkImage
ImageType ImageTypeConstPointer fixedImage
GetFixedImage() ImageTypeConstPointer
movingImage GetMovingImage() typedef
itkVector VectorType typedef
itkImage VectorFieldType t
ypedef itkDemonsRegistrationFilter ImageType, ImageType,
VectorFieldType DemonsType DemonsType
Pointer demons DemonsTypeNew()
41
Demons Registration Type 1
  • demons-SetFixedImage( fixedImage )
  • demons-SetMovingImage( movingImage )
  • demons-SetNumberOfIterations( 200 )
  • demons-SetStandardDeviations( 1.0 )
  • demons-Update()
  • ImageTypeConstPointer vectorField
    demons-GetOutput()

42
Demons Registration Type 1
Scene
43
Demons Registration Type 1
Model
44
Demons Registration Type 1
After Registration
45
Demons Registration Type 1
Scene
46
Demons Registration Type 1
Scene
47
Requirements
Fixed and Moving images should have the same
intensity distribution !
48
Eventual Preprocessing
- Histogram Matching Filter- Anisotropic
Diffusion Filtering
49
Image Registration Framework
FixedImage
Increment Computation
PDE Solver
MovingImage
Interpolator
DeformationField
Transform
Resampler
MovingRegistered
50
Enjoy ITK !
Write a Comment
User Comments (0)
About PowerShow.com