18 #ifndef itkWarpVectorImageFilter_h
19 #define itkWarpVectorImageFilter_h
89 typename TOutputImage,
90 typename TDisplacementField
122 typedef typename OutputImageType::PixelType::ValueType
ValueType;
125 itkStaticConstMacro(ImageDimension,
unsigned int,
126 TOutputImage::ImageDimension);
129 itkStaticConstMacro(PixelDimension,
unsigned int,
137 #ifdef ITKV3_COMPATIBILITY
138 typedef TDisplacementField DeformationFieldType;
139 typedef typename DeformationFieldType::Pointer DeformationFieldPointer;
140 typedef typename DeformationFieldType::PixelType DeformationType;
165 #ifdef ITKV3_COMPATIBILITY
166 void SetDeformationField(
const DeformationFieldType *field)
168 this->SetDisplacementField(field);
171 void SetDeformationField(DeformationFieldType *field)
173 this->SetDisplacementField(field);
176 DeformationFieldType * GetDeformationField(
void)
178 return static_cast<DeformationFieldType *
> (GetDisplacementField());
183 itkSetObjectMacro(Interpolator, InterpolatorType);
184 itkGetModifiableObjectMacro(Interpolator, InterpolatorType);
188 itkSetMacro(OutputSpacing, SpacingType);
189 virtual void SetOutputSpacing(
const double *values);
193 itkGetConstReferenceMacro(OutputSpacing, SpacingType);
197 virtual void SetOutputOrigin(
const double *values);
201 itkGetConstReferenceMacro(OutputOrigin,
PointType);
209 itkSetMacro(EdgePaddingValue, PixelType);
212 itkGetConstMacro(EdgePaddingValue, PixelType);
219 virtual void GenerateOutputInformation() ITK_OVERRIDE;
227 virtual
void GenerateInputRequestedRegion() ITK_OVERRIDE;
231 virtual
void BeforeThreadedGenerateData() ITK_OVERRIDE;
233 #ifdef ITK_USE_CONCEPT_CHECKING
236 ( Concept::HasNumericTraits< typename TInputImage::PixelType::ValueType > ) );
238 ( Concept::HasNumericTraits< ValueType > ) );
240 ( Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType > ) );
245 WarpVectorImageFilter();
247 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
252 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
267 #ifndef ITK_MANUAL_INSTANTIATION
268 #include "itkWarpVectorImageFilter.hxx"
Superclass::InputImageConstPointer InputImageConstPointer
InterpolatorType::Pointer InterpolatorPointer
Superclass::InputImageType InputImageType
OutputImageType::IndexType IndexType
Base class for all process objects that output image data.
Superclass::OutputImageType OutputImageType
TOutputImage::DirectionType DirectionType
~WarpVectorImageFilter() override
ImageBaseType::DirectionType DirectionType
Point< CoordRepType, itkGetStaticConstMacro(ImageDimension) > PointType
TDisplacementField DisplacementFieldType
TOutputImage::RegionType OutputImageRegionType
Warps an image using an input displacement field.
SpacingType m_OutputSpacing
ImageBaseType::PointType PointType
VectorInterpolateImageFunction< InputImageType, CoordRepType > InterpolatorType
PixelType m_EdgePaddingValue
DisplacementFieldType::Pointer DisplacementFieldPointer
OutputImageType::PixelType::ValueType ValueType
const unsigned int Dimension
Superclass::OutputImagePointer OutputImagePointer
unsigned int ThreadIdType
DirectionType m_OutputDirection
InterpolatorPointer m_Interpolator
ImageToImageFilter< TInputImage, TOutputImage > Superclass
Superclass::InputImagePointer InputImagePointer
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Base class for all vector image interpolaters.
ImageBaseType::SizeType SizeType
OutputImageType::PixelType PixelType
WarpVectorImageFilter Self
VectorLinearInterpolateImageFunction< InputImageType, CoordRepType > DefaultInterpolatorType
SmartPointer< Self > Pointer
OutputImageType::SizeType SizeType
#define itkConceptMacro(name, concept)
SmartPointer< const Self > ConstPointer
DisplacementFieldType::PixelType DisplacementType
OutputImageType::SpacingType SpacingType
Linearly interpolate a vector image at specified positions.
ImageBaseType::IndexType IndexType