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
166 DeformationFieldType * GetDeformationField(
void)
183 itkGetConstReferenceMacro(OutputSpacing,
SpacingType);
191 itkGetConstReferenceMacro(OutputOrigin,
PointType);
203 itkSetMacro(OutputStartIndex,
IndexType);
206 itkGetConstReferenceMacro(OutputStartIndex,
IndexType);
212 itkGetConstReferenceMacro(OutputSize,
SizeType);
215 itkSetMacro(EdgePaddingValue,
PixelType);
218 itkGetConstMacro(EdgePaddingValue,
PixelType);
243 #ifdef ITK_USE_CONCEPT_CHECKING
246 ( Concept::SameDimension< ImageDimension, InputImageDimension > ) );
248 ( Concept::SameDimension< ImageDimension, DisplacementFieldDimension > ) );
250 ( Concept::HasNumericTraits< typename TInputImage::InternalPixelType > ) );
252 ( Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType > ) );
260 void PrintSelf(std::ostream & os, Indent indent)
const ITK_OVERRIDE;
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)
InterpolateImageFunction< InputImageType, CoordRepType > InterpolatorType
virtual void AfterThreadedGenerateData() override
SmartPointer< const Self > ConstPointer
TOutputImage::RegionType OutputImageRegionType
OutputImageType::IndexType IndexType
Base class for all process objects that output image data.
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 PrintSelf(std::ostream &os, Indent indent) const override
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
virtual void SetOutputOrigin(PointType _arg)
SpacingType m_OutputSpacing
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)