18 #ifndef __itkInvertDisplacementFieldImageFilter_h
19 #define __itkInvertDisplacementFieldImageFilter_h
40 template <
typename TInputImage,
typename TOutputImage = TInputImage>
54 itkStaticConstMacro(
ImageDimension,
unsigned int, TInputImage::ImageDimension );
63 typedef typename OutputFieldType::PixelType
PixelType;
66 typedef typename OutputFieldType::IndexType
IndexType;
68 typedef typename OutputFieldType::PointType
PointType;
71 typedef typename OutputFieldType::SizeType
SizeType;
75 typedef typename VectorType::ComponentType
RealType;
87 itkDebugMacro(
"setting deformation field to " << field );
117 itkSetMacro( MaximumNumberOfIterations,
unsigned int );
118 itkGetConstMacro( MaximumNumberOfIterations,
unsigned int );
121 itkSetMacro( MeanErrorToleranceThreshold,
RealType );
122 itkGetConstMacro( MeanErrorToleranceThreshold,
RealType );
125 itkSetMacro( MaxErrorToleranceThreshold,
RealType );
126 itkGetConstMacro( MaxErrorToleranceThreshold,
RealType );
129 itkGetConstMacro( MaxErrorNorm,
RealType );
132 itkGetConstMacro( MeanErrorNorm,
RealType );
135 itkSetMacro( EnforceBoundaryCondition,
bool );
136 itkGetMacro( EnforceBoundaryCondition,
bool );
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkInvertDisplacementFieldImageFilter.hxx"
Critical section locking class that can be allocated on the stack.
OutputFieldType::PixelType PixelType
OutputFieldType::DirectionType DirectionType
OutputFieldType InverseDisplacementFieldType
SpacingType m_DisplacementFieldSpacing
bool m_EnforceBoundaryCondition
SmartPointer< const Self > ConstPointer
OutputFieldType::PointType PointType
virtual ~InvertDisplacementFieldImageFilter()
ImageToImageFilter< TInputImage, TOutputImage > Superclass
VectorInterpolateImageFunction< InputFieldType, RealType > InterpolatorType
OutputFieldType::IndexType IndexType
VectorLinearInterpolateImageFunction< InputFieldType, RealType > DefaultInterpolatorType
bool m_DoThreadedEstimateInverse
InterpolatorType::Pointer m_Interpolator
RealType m_MaxErrorToleranceThreshold
InputFieldType DisplacementFieldType
OutputFieldType::RegionType RegionType
Base class for all process objects that output image data.
RealImageType::Pointer m_ScaledNormImage
InvertDisplacementFieldImageFilter Self
unsigned int m_MaximumNumberOfIterations
TOutputImage OutputFieldType
RealType m_MeanErrorToleranceThreshold
OutputFieldType::PointType OriginType
TInputImage InputFieldType
static const unsigned int ImageDimension
virtual void SetInput(const InputImageType *image)
Image< RealType, ImageDimension > RealImageType
const InputImageType * GetInput(void) const
OutputFieldType::SpacingType SpacingType
void ThreadedGenerateData(const RegionType &, ThreadIdType)
virtual void SetInterpolator(InterpolatorType *interpolator)
virtual void Modified() const
void PrintSelf(std::ostream &os, Indent indent) const
OutputFieldType::PixelType VectorType
Base class for filters that take an image as input and produce an image as output.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
InvertDisplacementFieldImageFilter()
void SetDisplacementField(const InputFieldType *field)
Base class for all vector image interpolaters.
const InputFieldType * GetDisplacementField() const
VectorType::ComponentType RealType
Iteratively estimate the inverse field of a displacement field.
DisplacementFieldType::Pointer m_ComposedField
OutputFieldType::SizeType SizeType
void operator=(const Self &)
SimpleFastMutexLock m_Mutex
Templated n-dimensional image class.
Linearly interpolate a vector image at specified positions.
unsigned int ThreadIdType