18 #ifndef itkImageToImageRegistrationMethod_h 19 #define itkImageToImageRegistrationMethod_h 21 #include "itkSpatialObject.h" 22 #include "itkImageRegistrationMethod.h" 38 template <
class TImage>
40 :
public ProcessObject
58 TImage::ImageDimension );
60 typedef Transform<double,
61 itkGetStaticConstMacro( ImageDimension ),
62 itkGetStaticConstMacro( ImageDimension )>
68 typedef Superclass::DataObjectPointerArraySizeType
75 typedef SpatialObject<itkGetStaticConstMacro( ImageDimension )>
81 itkSetMacro( RegistrationNumberOfThreads,
unsigned int );
82 itkGetMacro( RegistrationNumberOfThreads,
unsigned int );
136 void PrintSelf( std::ostream & os, Indent indent )
const override;
143 using Superclass::MakeOutput;
146 ModifiedTimeType
GetMTime()
const override;
154 void operator =(
const Self & );
156 unsigned int m_RegistrationNumberOfThreads;
158 Command::Pointer m_Observer;
160 typename ImageType::ConstPointer m_FixedImage;
161 typename ImageType::ConstPointer m_MovingImage;
163 bool m_UseRegionOfInterest;
167 bool m_UseFixedImageMaskObject;
168 typename MaskObjectType::ConstPointer m_FixedImageMaskObject;
170 bool m_UseMovingImageMaskObject;
171 typename MaskObjectType::ConstPointer m_MovingImageMaskObject;
173 bool m_ReportProgress;
179 #ifndef ITK_MANUAL_INSTANTIATION 180 #include "itkImageToImageRegistrationMethod.txx" Superclass::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
itkBooleanMacro(ReportProgress)
SmartPointer< Self > Pointer
DataObject::Pointer DataObjectPointer
itkSetMacro(RegistrationNumberOfThreads, unsigned int)
Simplified inverse ITK transforms.
virtual void Initialize()
TransformType::Pointer m_Transform
TImage::PointType PointType
Transform< double, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> TransformType
itkStaticConstMacro(ImageDimension, unsigned int, TImage::ImageDimension)
void SetMovingImageMaskObject(const MaskObjectType *maskObject)
void SetMovingImage(const ImageType *movingImage)
DataObjectDecorator< TransformType > TransformOutputType
void SetFixedImageMaskObject(const MaskObjectType *maskObject)
void SetFixedImage(const ImageType *fixedImage)
itkGetMacro(RegistrationNumberOfThreads, unsigned int)
const TransformOutputType * GetOutput() const
SmartPointer< const Self > ConstPointer
ModifiedTimeType GetMTime() const override
void PrintSelf(std::ostream &os, Indent indent) const override
itkSetObjectMacro(Observer, Command)
void SetRegionOfInterest(const PointType &point1, const PointType &point2)
itkTypeMacro(ImageToImageRegistrationMethod, ProcessObject)
SpatialObject< itkGetStaticConstMacro(ImageDimension)> MaskObjectType
ImageToImageRegistrationMethod()
void GenerateData() override
ImageToImageRegistrationMethod Self
itkGetConstObjectMacro(FixedImage, ImageType)
itkGetObjectMacro(Observer, Command)
~ImageToImageRegistrationMethod() override