18 #ifndef itkWarpImageFilter_h 19 #define itkWarpImageFilter_h 85 typename TOutputImage,
86 typename TDisplacementField
115 typedef typename OutputImageType::SizeType
SizeType;
122 TOutputImage::ImageDimension);
124 TInputImage::ImageDimension);
126 TDisplacementField::ImageDimension);
136 #ifdef ITKV3_COMPATIBILITY 137 typedef TDisplacementField DeformationFieldType;
138 typedef typename DeformationFieldType::Pointer DeformationFieldPointer;
139 typedef typename DeformationFieldType::PixelType DeformationType;
161 #ifdef ITKV3_COMPATIBILITY 162 void SetDeformationField(
const DisplacementFieldType *field)
166 DeformationFieldType * GetDeformationField(
void)
173 itkSetObjectMacro(Interpolator, InterpolatorType);
174 itkGetModifiableObjectMacro(Interpolator, InterpolatorType);
178 itkSetMacro(OutputSpacing, SpacingType);
183 itkGetConstReferenceMacro(OutputSpacing, SpacingType);
186 itkSetMacro(OutputOrigin, PointType);
191 itkGetConstReferenceMacro(OutputOrigin, PointType);
194 itkSetMacro(OutputDirection, DirectionType);
195 itkGetConstReferenceMacro(OutputDirection, DirectionType);
203 itkSetMacro(OutputStartIndex, IndexType);
206 itkGetConstReferenceMacro(OutputStartIndex, IndexType);
209 itkSetMacro(OutputSize, SizeType);
212 itkGetConstReferenceMacro(OutputSize, SizeType);
215 itkSetMacro(EdgePaddingValue, PixelType);
218 itkGetConstMacro(EdgePaddingValue, PixelType);
243 #ifdef ITK_USE_CONCEPT_CHECKING 290 DisplacementType & output);
298 void operator=(const Self &) ITK_DELETE_FUNCTION;
312 #ifndef ITK_MANUAL_INSTANTIATION 313 #include "itkWarpImageFilter.hxx" IndexType m_OutputStartIndex
Superclass::InputImageType InputImageType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
InputImageType::ConstPointer InputImageConstPointer
TDisplacementField DisplacementFieldType
InterpolatorPointer m_Interpolator
OutputImageType::InternalPixelType PixelComponentType
InputImageType::Pointer InputImagePointer
OutputImageType::SizeType SizeType
signed long IndexValueType
void EvaluateDisplacementAtPhysicalPoint(const PointType &p, DisplacementType &output)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
InterpolateImageFunction< InputImageType, CoordRepType > InterpolatorType
virtual void AfterThreadedGenerateData() override
SmartPointer< const Self > ConstPointer
TOutputImage::RegionType OutputImageRegionType
OutputImageType::IndexType IndexType
SmartPointer< Self > Pointer
ImageBase< itkGetStaticConstMacro(ImageDimension) > ImageBaseType
Superclass::InputImagePointer InputImagePointer
DisplacementFieldType::PixelType DisplacementType
DirectionType m_OutputDirection
OutputImageType::PixelType PixelType
DisplacementFieldType * GetDisplacementField()
TOutputImage::DirectionType DirectionType
OutputImageType::Pointer OutputImagePointer
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
OutputImageType::IndexValueType IndexValueType
virtual void VerifyInputInformation() override
OutputImageType::SpacingType SpacingType
bool m_DefFieldSameInformation
virtual void GenerateOutputInformation() override
TInputImage InputImageType
PixelType m_EdgePaddingValue
Warps an image using an input displacement field.
DisplacementFieldType::Pointer DisplacementFieldPointer
Linearly interpolate an image at specified positions.
unsigned int ThreadIdType
Point< CoordRepType, itkGetStaticConstMacro(ImageDimension) > PointType
static const unsigned int InputImageDimension
Base class for all image interpolaters.
Base class for templated image classes.
InterpolatorType::Pointer InterpolatorPointer
void SetOutputParametersFromImage(const ImageBaseType *image)
Superclass::OutputImagePointer OutputImagePointer
virtual void BeforeThreadedGenerateData() override
LinearInterpolateImageFunction< InputImageType, CoordRepType > DefaultInterpolatorType
Base class for filters that take an image as input and produce an image as output.
static const unsigned int DisplacementFieldDimension
static const unsigned int ImageDimension
Control indentation during Print() invocation.
virtual void SetOutputOrigin(PointType _arg)
SpacingType m_OutputSpacing
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void GenerateInputRequestedRegion() override
TOutputImage OutputImageType
void SetDisplacementField(const DisplacementFieldType *field)
Superclass::OutputImageType OutputImageType
#define itkConceptMacro(name, concept)
Superclass::InputImageConstPointer InputImageConstPointer
virtual void SetOutputSpacing(SpacingType _arg)