15 #ifndef itkVectorPhiPlusDeltaTTimesVFilter_h
16 #define itkVectorPhiPlusDeltaTTimesVFilter_h
18 #include <itkVector.h>
20 #include <itkImageToImageFilter.h>
21 #include <itkVectorLinearInterpolateImageFunction.h>
54 template <
typename TScalarType,
unsigned int NDimensions = 3>
56 public ImageToImageFilter<
57 Image< Vector<TScalarType, NDimensions>, NDimensions>,
58 Image< Vector<TScalarType, NDimensions>, NDimensions>
65 typedef ImageToImageFilter<Image< Vector<TScalarType, NDimensions>, NDimensions>,
79 typedef VectorLinearInterpolateImageFunction< InputImageType,
89 itkStaticConstMacro(
Dimension,
unsigned int, NDimensions);
92 itkSetMacro(SubtractSteps,
bool);
93 itkGetMacro(SubtractSteps,
bool);
96 itkSetMacro(DeltaT,
double);
97 itkGetMacro(DeltaT,
double);
100 itkSetMacro(NumberOfSteps,
unsigned int);
101 itkGetMacro(NumberOfSteps,
unsigned int);
115 void PrintSelf(std::ostream& os, Indent indent)
const;
118 virtual void BeforeThreadedGenerateData();
121 virtual void ThreadedGenerateData(
const InputImageRegionType &outputRegionForThread, ThreadIdType threadId);
129 void operator=(
const Self&);
132 bool m_SubtractSteps;
138 unsigned int m_NumberOfSteps;
141 typename VectorLinearInterpolatorType::Pointer m_Interpolator;
144 typename InputImageType::Pointer m_PhiZeroTransformation;
147 typename InputScalarImageType::Pointer m_ThicknessPriorImage;
150 typename InputScalarImageType::Pointer m_ThicknessImage;
156 #ifndef ITK_MANUAL_INSTANTIATION
157 #include "itkVectorPhiPlusDeltaTTimesVFilter.txx"
Image< TScalarType, NDimensions > InputScalarImageType
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:74
Vector< TScalarType, NDimensions > InputPixelType
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:72
void SetThicknessPrior(InputScalarImageType *image)
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:107
This class basically takes two vector images as input (Phi and V) and calculates Phi + (dt * V)...
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:55
ImageToImageFilter< Image< Vector< TScalarType, NDimensions >, NDimensions >, Image< Vector< TScalarType, NDimensions >, NDimensions > > Superclass
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:67
SmartPointer< Self > Pointer
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:68
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: glew.h:4052
VectorLinearInterpolateImageFunction< InputImageType, TScalarType > VectorLinearInterpolatorType
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:80
Definition: niftkITKAffineResampleImage.cxx:74
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
void SetTimeZeroTransformation(InputImageType *image)
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:104
InputPixelType OutputPixelType
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:77
InputImageType::IndexType InputImageIndexType
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:75
Image< InputPixelType, NDimensions > InputImageType
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:73
ImageType::RegionType RegionType
Definition: niftkMakeLapUSProbeBasicModel.cxx:30
InputImageType OutputImageType
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:78
InputImageType::RegionType InputImageRegionType
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:76
VectorPhiPlusDeltaTTimesVFilter Self
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:64
Simultaneous itk::Image and itk::Array (and hence vnl_vector) class.
InputScalarImageType * GetThicknessImage()
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:110
const unsigned int Dimension
Definition: niftkBreastDCEandADC.cxx:89
~VectorPhiPlusDeltaTTimesVFilter()
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:114
SmartPointer< const Self > ConstPointer
Definition: itkVectorPhiPlusDeltaTTimesVFilter.h:69