15 #ifndef itkInterpolateVectorFieldFilter_h
16 #define itkInterpolateVectorFieldFilter_h
19 #include <itkVector.h>
20 #include <itkImageToImageFilter.h>
21 #include <itkVectorInterpolateImageFunction.h>
37 unsigned int NDimensions = 3>
39 public ImageToImageFilter< Image< Vector<TScalarType, NDimensions>, NDimensions>,
40 Image< Vector<TScalarType, NDimensions>, NDimensions>
47 typedef ImageToImageFilter< Image< Vector<TScalarType, NDimensions>, NDimensions>,
60 itkStaticConstMacro(
Dimension,
unsigned int, NDimensions);
77 typedef VectorInterpolateImageFunction<
79 Vector<TScalarType, NDimensions>,
84 typedef typename InterpolatorType::PointType
PointType;
93 virtual void SetNthInput(
unsigned int idx,
const InputImageType *);
96 itkSetObjectMacro( Interpolator, InterpolatorType );
99 itkGetConstObjectMacro( Interpolator, InterpolatorType );
102 itkSetMacro(DefaultPixelValue, OutputPixelType);
105 itkGetMacro(DefaultPixelValue, OutputPixelType);
108 unsigned long GetMTime(
void )
const;
113 void PrintSelf(std::ostream& os, Indent indent)
const;
116 virtual void BeforeThreadedGenerateData();
119 virtual void AfterThreadedGenerateData();
122 virtual void GenerateInputRequestedRegion();
125 virtual void GenerateOutputInformation();
128 virtual void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, ThreadIdType threadId );
131 virtual void VerifyInputInformation();
139 void operator=(
const Self&);
142 InterpolatorPointer m_Interpolator;
145 OutputPixelType m_DefaultPixelValue;
151 #ifndef ITK_MANUAL_INSTANTIATION
152 #include "itkInterpolateVectorFieldFilter.txx"
OutputImageType::Pointer OutputImagePointer
Definition: itkInterpolateVectorFieldFilter.h:66
ImageToImageFilter< Image< Vector< TScalarType, NDimensions >, NDimensions >, Image< Vector< TScalarType, NDimensions >, NDimensions > > Superclass
Definition: itkInterpolateVectorFieldFilter.h:49
VectorInterpolateImageFunction< Image< Vector< TScalarType, NDimensions >, NDimensions >, TScalarType > InterpolatorType
Definition: itkInterpolateVectorFieldFilter.h:82
ImageType::SizeType SizeType
Definition: niftkMakeLapUSProbeBasicModel.cxx:31
virtual void SetInterpolatedField(const InputImageType *image)
Definition: itkInterpolateVectorFieldFilter.h:87
OutputImageRegionType::SizeType OutputImageSizeType
Definition: itkInterpolateVectorFieldFilter.h:71
InterpolateVectorFieldFilter Self
Definition: itkInterpolateVectorFieldFilter.h:46
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: glew.h:4052
Image< OutputPixelType, NDimensions > OutputImageType
Definition: itkInterpolateVectorFieldFilter.h:65
~InterpolateVectorFieldFilter()
Definition: itkInterpolateVectorFieldFilter.h:112
Definition: niftkITKAffineResampleImage.cxx:74
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
InputImageType::RegionType InputImageRegionType
Definition: itkInterpolateVectorFieldFilter.h:76
InputImageType::ConstPointer InputImageConstPointer
Definition: itkInterpolateVectorFieldFilter.h:75
ImageType::RegionType RegionType
Definition: niftkMakeLapUSProbeBasicModel.cxx:30
OutputPixelType::ValueType OutputPixelComponentType
Definition: itkInterpolateVectorFieldFilter.h:64
Superclass::InputImageType InputImageType
Definition: itkInterpolateVectorFieldFilter.h:73
OutputImageType::SpacingType OutputImageSpacingType
Definition: itkInterpolateVectorFieldFilter.h:69
InterpolatorType::PointType PointType
Definition: itkInterpolateVectorFieldFilter.h:84
OutputImageRegionType::IndexType OutputImageIndexType
Definition: itkInterpolateVectorFieldFilter.h:72
SmartPointer< const Self > ConstPointer
Definition: itkInterpolateVectorFieldFilter.h:51
virtual void SetInterpolatingField(const InputImageType *image)
Definition: itkInterpolateVectorFieldFilter.h:90
SmartPointer< Self > Pointer
Definition: itkInterpolateVectorFieldFilter.h:50
Simultaneous itk::Image and itk::Array (and hence vnl_vector) class.
Vector< TScalarType, NDimensions > OutputPixelType
Definition: itkInterpolateVectorFieldFilter.h:63
const unsigned int Dimension
Definition: niftkBreastDCEandADC.cxx:89
OutputImageType::RegionType OutputImageRegionType
Definition: itkInterpolateVectorFieldFilter.h:68
OutputImageType::PointType OutputImageOriginType
Definition: itkInterpolateVectorFieldFilter.h:70
This class takes a vector field as input 1, and a vector field as input 2, and the output is a vector...
Definition: itkInterpolateVectorFieldFilter.h:38
OutputImageType::ConstPointer OutputImageConstPointer
Definition: itkInterpolateVectorFieldFilter.h:67
InterpolatorType::Pointer InterpolatorPointer
Definition: itkInterpolateVectorFieldFilter.h:83
InputImageType::Pointer InputImagePointer
Definition: itkInterpolateVectorFieldFilter.h:74