18 #ifndef __itkWarpImageFilter_h
19 #define __itkWarpImageFilter_h
85 typename TOutputImage,
86 typename TDisplacementField
115 typedef typename OutputImageType::SizeType
SizeType;
121 TOutputImage::ImageDimension);
123 TInputImage::ImageDimension);
125 TDisplacementField::ImageDimension);
135 #ifdef ITKV3_COMPATIBILITY
136 typedef TDisplacementField DeformationFieldType;
137 typedef typename DeformationFieldType::Pointer DeformationFieldPointer;
138 typedef typename DeformationFieldType::PixelType DeformationType;
160 #ifdef ITKV3_COMPATIBILITY
165 DeformationFieldType * GetDeformationField(
void)
182 itkGetConstReferenceMacro(OutputSpacing,
SpacingType);
190 itkGetConstReferenceMacro(OutputOrigin,
PointType);
202 itkSetMacro(OutputStartIndex,
IndexType);
205 itkGetConstReferenceMacro(OutputStartIndex,
IndexType);
211 itkGetConstReferenceMacro(OutputSize,
SizeType);
214 itkSetMacro(EdgePaddingValue,
PixelType);
217 itkGetConstMacro(EdgePaddingValue,
PixelType);
242 #ifdef ITK_USE_CONCEPT_CHECKING
245 ( Concept::SameDimension< ImageDimension, InputImageDimension > ) );
247 ( Concept::SameDimension< ImageDimension, DisplacementFieldDimension > ) );
249 ( Concept::HasNumericTraits< typename TInputImage::PixelType > ) );
251 ( Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType > ) );
259 void PrintSelf(std::ostream & os, Indent indent)
const;
298 #ifndef ITK_MANUAL_INSTANTIATION
299 #include "itkWarpImageFilter.hxx"
virtual void VerifyInputInformation()
IndexType m_OutputStartIndex
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::InputImageType InputImageType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
InputImageType::ConstPointer InputImageConstPointer
virtual void AfterThreadedGenerateData()
TDisplacementField DisplacementFieldType
InterpolatorPointer m_Interpolator
InputImageType::Pointer InputImagePointer
virtual void GenerateInputRequestedRegion()
OutputImageType::SizeType SizeType
signed long IndexValueType
void EvaluateDisplacementAtPhysicalPoint(const PointType &p, DisplacementType &output)
InterpolateImageFunction< InputImageType, CoordRepType > InterpolatorType
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
void operator=(const Self &)
TOutputImage::DirectionType DirectionType
OutputImageType::Pointer OutputImagePointer
OutputImageType::IndexValueType IndexValueType
DisplacementFieldType * GetDisplacementField(void)
OutputImageType::SpacingType SpacingType
TInputImage InputImageType
PixelType m_EdgePaddingValue
Warps an image using an input displacement field.
DisplacementFieldType::Pointer DisplacementFieldPointer
virtual void BeforeThreadedGenerateData()
Linearly interpolate an image at specified positions.
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
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 GenerateOutputInformation()
TOutputImage OutputImageType
void SetDisplacementField(const DisplacementFieldType *field)
Superclass::OutputImageType OutputImageType
#define itkConceptMacro(name, concept)
Superclass::InputImageConstPointer InputImageConstPointer
virtual void SetOutputSpacing(SpacingType _arg)
unsigned int ThreadIdType