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 );
123 const TransformOutputType *
GetOutput(
void )
const;
137 void PrintSelf( std::ostream & os, Indent indent )
const ITK_OVERRIDE;
144 using Superclass::MakeOutput;
147 unsigned long GetMTime(
void )
const ITK_OVERRIDE;
155 void operator =(
const Self & );
157 unsigned int m_RegistrationNumberOfThreads;
159 Command::Pointer m_Observer;
161 typename ImageType::ConstPointer m_FixedImage;
162 typename ImageType::ConstPointer m_MovingImage;
164 bool m_UseRegionOfInterest;
165 PointType m_RegionOfInterestPoint1;
166 PointType m_RegionOfInterestPoint2;
168 bool m_UseFixedImageMaskObject;
169 typename MaskObjectType::ConstPointer m_FixedImageMaskObject;
171 bool m_UseMovingImageMaskObject;
172 typename MaskObjectType::ConstPointer m_MovingImageMaskObject;
174 bool m_ReportProgress;
180 #ifndef ITK_MANUAL_INSTANTIATION 181 #include "itkImageToImageRegistrationMethod.txx" ImageToImageRegistrationMethod(void)
Superclass::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
itkBooleanMacro(ReportProgress)
unsigned long GetMTime(void) const ITK_OVERRIDE
SmartPointer< Self > Pointer
DataObject::Pointer DataObjectPointer
itkSetMacro(RegistrationNumberOfThreads, unsigned int)
void GenerateData(void) ITK_OVERRIDE
Simplified inverse ITK transforms.
const TransformOutputType * GetOutput(void) const
TransformType::Pointer m_Transform
TImage::PointType PointType
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
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
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE
void SetFixedImageMaskObject(const MaskObjectType *maskObject)
virtual void Initialize(void)
void SetFixedImage(const ImageType *fixedImage)
itkGetMacro(RegistrationNumberOfThreads, unsigned int)
SmartPointer< const Self > ConstPointer
itkSetObjectMacro(Observer, Command)
void SetRegionOfInterest(const PointType &point1, const PointType &point2)
itkTypeMacro(ImageToImageRegistrationMethod, ProcessObject)
SpatialObject< itkGetStaticConstMacro(ImageDimension)> MaskObjectType
ImageToImageRegistrationMethod Self
virtual ~ImageToImageRegistrationMethod(void)
itkGetConstObjectMacro(FixedImage, ImageType)
itkGetObjectMacro(Observer, Command)