|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkGPUDemonsRegistrationFilter_h
19 #define itkGPUDemonsRegistrationFilter_h
67 template <
typename TFixedImage,
68 typename TMovingImage,
69 typename TDisplacementField,
119 GetMetric()
const override;
126 SetIntensityDifferenceThreshold(
double)
override;
129 GetIntensityDifferenceThreshold()
const override;
136 PrintSelf(std::ostream & os,
Indent indent)
const override;
140 InitializeIteration()
override;
147 bool m_UseMovingImageGradient{};
174 return "A Factory for GPUDemonsRegistrationFilter";
179 itkFactorylessNewMacro(
Self);
194 #define OverrideDemonsRegistrationFilterTypeMacro(ipt, opt, dm) \
196 using InputImageType = GPUImage<ipt, dm>; \
197 using OutputImageType = GPUImage<opt, dm>; \
198 using VectorPixelType = Vector<float, dm>; \
199 using DisplacementFieldType = GPUImage<VectorPixelType, dm>; \
200 this->RegisterOverride( \
201 typeid(DemonsRegistrationFilter<InputImageType, OutputImageType, DisplacementFieldType>).name(), \
202 typeid(GPUDemonsRegistrationFilter<InputImageType, OutputImageType, DisplacementFieldType>).name(), \
203 "GPU Demons Registration Filter Override", \
205 CreateObjectFunction< \
206 GPUDemonsRegistrationFilter<InputImageType, OutputImageType, DisplacementFieldType>>::New()); \
208 ITK_MACROEND_NOOP_STATEMENT
239 #ifndef ITK_MANUAL_INSTANTIATION
240 # include "itkGPUDemonsRegistrationFilter.hxx"
typename GPUSuperclass::DisplacementFieldPointer DisplacementFieldPointer
const char * GetDescription() const override
typename GPUSuperclass::MovingImagePointer MovingImagePointer
Create instances of classes using an object factory.
typename GPUSuperclass::FixedImagePointer FixedImagePointer
const char * GetITKSourceVersion() const override
TParentImageFilter CPUSuperclass
Deformably register two images using the demons algorithm with GPU.
typename GPUSuperclass::TimeStepType TimeStepType
typename GPUSuperclass::FixedImageType FixedImageType
Control indentation during Print() invocation.
typename GPUSuperclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
#define ITK_SOURCE_VERSION
Light weight base class for most itk classes.
#define OverrideDemonsRegistrationFilterTypeMacro(ipt, opt, dm)
typename GPUSuperclass::TimeStepType TimeStepType
GPUDemonsRegistrationFilterFactory()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Deformably register two images using the demons algorithm.
typename GPUSuperclass::MovingImageType MovingImageType
typename GPUSuperclass::DisplacementFieldType DisplacementFieldType
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionEnum where=InsertionPositionEnum::INSERT_AT_BACK, vcl_size_t position=0)
Object Factory implementation for GPUDemonsRegistrationFilter.
static void RegisterOneFactory()