18 #ifndef __itkVariationalRegistrationMultiResolutionFilter_h
19 #define __itkVariationalRegistrationMultiResolutionFilter_h
80 template<
class TFixedImage,
class TMovingImage,
class TDisplacementField,
class TRealType =
float>
113 itkStaticConstMacro(ImageDimension,
unsigned int, FixedImageType::ImageDimension);
179 { this->SetInput( ptr ); }
184 {
return this->GetInput(); }
189 {
return this->GetOutput(); }
192 itkGetObjectMacro( DisplacementField, DisplacementFieldType );
199 virtual std::vector< SmartPointer<DataObject> >::size_type GetNumberOfValidRequiredInputs()
const;
202 itkSetObjectMacro( RegistrationFilter, RegistrationType );
205 itkGetObjectMacro( RegistrationFilter, RegistrationType );
208 itkSetObjectMacro( FixedImagePyramid, FixedImagePyramidType );
211 itkGetObjectMacro( FixedImagePyramid, FixedImagePyramidType );
214 itkSetObjectMacro( MovingImagePyramid, MovingImagePyramidType );
217 itkGetObjectMacro( MovingImagePyramid, MovingImagePyramidType );
220 itkSetObjectMacro( MaskImagePyramid, MaskImagePyramidType );
223 itkGetObjectMacro( MaskImagePyramid, MaskImagePyramidType );
226 virtual void SetNumberOfLevels(
unsigned int num );
229 itkGetConstReferenceMacro( NumberOfLevels,
unsigned int );
232 itkGetConstReferenceMacro( ElapsedLevels,
unsigned int );
235 itkSetMacro( NumberOfIterations, NumberOfIterationsType );
239 itkSetVectorMacro( NumberOfIterations,
unsigned int, m_NumberOfLevels );
242 itkGetConstReferenceMacro( NumberOfIterations, NumberOfIterationsType );
245 itkSetObjectMacro( FieldExpander, FieldExpanderType );
248 itkGetObjectMacro( FieldExpander, FieldExpanderType );
251 virtual void StopRegistration();
258 void PrintSelf( std::ostream& os,
Indent indent )
const;
262 virtual void GenerateData();
267 virtual void GenerateInputRequestedRegion();
275 virtual void GenerateOutputInformation();
280 virtual void EnlargeOutputRequestedRegion(
DataObject *ptr );
288 void operator=(
const Self& );
307 #ifndef ITK_MANUAL_INSTANTIATION
308 #include "itkVariationalRegistrationMultiResolutionFilter.hxx"
Resample an image via a coordinate transform.
Light weight base class for most itk classes.
Flexible framework for deformable registration of two images using PDE-based variational registration...
DisplacementFieldPointer m_DisplacementField
virtual void SetInitialField(DisplacementFieldType *ptr)
MaskImagePyramidPointer m_MaskImagePyramid
MultiResolutionPyramidImageFilter< FixedImageType, FixedImageType > FixedImagePyramidType
MultiResolutionPyramidImageFilter< MovingImageType, MovingImageType > MovingImagePyramidType
unsigned int m_NumberOfLevels
FixedImagePyramidType::Pointer FixedImagePyramidPointer
FixedImageType::Pointer FixedImagePointer
MovingImagePyramidType::Pointer MovingImagePyramidPointer
const DisplacementFieldType * GetOutputField(void)
Framework for creating images in a multi-resolution pyramid.
Image< TRealType, itkGetStaticConstMacro(ImageDimension) > FloatImageType
RegistrationPointer m_RegistrationFilter
Framework for performing multi-resolution variational registration.
MaskImageType::Pointer MaskImagePointer
FieldExpanderType::Pointer FieldExpanderPointer
MovingImageType::ConstPointer MovingImageConstPointer
VariationalRegistrationFilter< FixedImageType, MovingImageType, DisplacementFieldType > RegistrationType
DisplacementFieldType::Pointer DisplacementFieldPointer
VariationalRegistrationFilter< FixedImageType, MovingImageType, DisplacementFieldType > DefaultRegistrationType
const DisplacementFieldType * GetInitialField(void)
Array< unsigned int > NumberOfIterationsType
NumberOfIterationsType m_NumberOfIterations
TDisplacementField DisplacementFieldType
~VariationalRegistrationMultiResolutionFilter()
MovingImagePyramidPointer m_MovingImagePyramid
TMovingImage MovingImageType
MovingImageType::Pointer MovingImagePointer
unsigned int m_ElapsedLevels
SmartPointer< const Self > ConstPointer
unsigned char MaskImagePixelType
bool m_StopRegistrationFlag
RegistrationType::Pointer RegistrationPointer
FieldExpanderPointer m_FieldExpander
Base class for filters that take an image as input and produce an image as output.
MaskImagePyramidType::Pointer MaskImagePyramidPointer
Control indentation during Print() invocation.
ImageToImageFilter< TDisplacementField, TDisplacementField > Superclass
MultiResolutionPyramidImageFilter< FloatImageType, FloatImageType > MaskImagePyramidType
FixedImagePyramidPointer m_FixedImagePyramid
VectorResampleImageFilter< DisplacementFieldType, DisplacementFieldType > FieldExpanderType
TFixedImage FixedImageType
SmartPointer< Self > Pointer
Image< MaskImagePixelType, ImageDimension > MaskImageType
Base class for all data objects in ITK.
MaskImageType::ConstPointer MaskImageConstPointer
VariationalRegistrationMultiResolutionFilter Self
Templated n-dimensional image class.
FixedImageType::ConstPointer FixedImageConstPointer