15 #ifndef itkAddUpdateToTimeVaryingVelocityFieldFilter_h
16 #define itkAddUpdateToTimeVaryingVelocityFieldFilter_h
18 #include <itkVector.h>
20 #include <itkInPlaceImageFilter.h>
35 template <
typename TScalarType,
unsigned int NDimensions = 3>
37 public InPlaceImageFilter<
38 Image< Vector<TScalarType, NDimensions>, NDimensions + 1>,
39 Image< Vector<TScalarType, NDimensions>, NDimensions + 1>
47 typedef ImageToImageFilter<Image< Vector<TScalarType, NDimensions>, NDimensions + 1>,
60 itkStaticConstMacro(
Dimension,
unsigned int, NDimensions);
83 itkSetMacro(TimePoint,
float);
84 itkGetMacro(TimePoint,
float);
87 itkSetMacro(ScaleFactor,
float);
88 itkGetMacro(ScaleFactor,
float);
91 itkSetMacro(OverWrite,
bool);
92 itkGetMacro(OverWrite,
bool);
101 itkGetMacro(MaxDeformation,
float);
107 void PrintSelf(std::ostream& os, Indent indent)
const;
110 virtual void BeforeThreadedGenerateData();
113 virtual void AfterThreadedGenerateData();
116 virtual void ThreadedGenerateData(
const TimeVaryingVelocityRegionType ®ionForThread, ThreadIdType threadId);
130 float m_MaxDeformation;
133 UpdateImagePointer m_UpdateImage;
136 UpdateImagePointer m_UpdateInverseImage;
142 #ifndef ITK_MANUAL_INSTANTIATION
143 #include "itkAddUpdateToTimeVaryingVelocityFieldFilter.txx"
Image< UpdatePixelType, NDimensions > UpdateImageType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:73
TimeVaryingVelocityImageType::PointType TimeVaryingVelocityPointType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:68
UpdateImageType::Pointer UpdateImagePointer
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:74
TimeVaryingVelocityImageType::DirectionType TimeVaryingVelocityDirectionType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:70
ImageType::SizeType SizeType
Definition: niftkMakeLapUSProbeBasicModel.cxx:31
Adds a vector displacement field to a time varying velocity field.
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:36
Vector< TScalarType, NDimensions > TimeVaryingVelocityPixelType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:63
TimeVaryingVelocityImageType::SizeType TimeVaryingVelocitySizeType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:67
void SetUpdateInverseImage(UpdateImageType *i)
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:98
SmartPointer< const Self > ConstPointer
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:51
UpdateImageType::DirectionType UpdateImageDirectionType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:80
UpdateImageType::IndexType UpdateImageIndexType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:76
UpdateImageType::PointType UpdateImagePointType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:78
TimeVaryingVelocityImageType::SpacingType TimeVaryingVelocitySpacingType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:69
TimeVaryingVelocityImageType::IndexType TimeVaryingVelocityIndexType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:66
Vector< TScalarType, NDimensions > UpdatePixelType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:72
Definition: niftkITKAffineResampleImage.cxx:74
UpdateImageType::RegionType UpdateImageRegionType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:75
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
void SetUpdateImage(UpdateImageType *i)
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:95
AddUpdateToTimeVaryingVelocityFieldFilter Self
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:46
ImageToImageFilter< Image< Vector< TScalarType, NDimensions >, NDimensions+1 >, Image< Vector< TScalarType, NDimensions >, NDimensions+1 > > Superclass
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:49
ImageType::RegionType RegionType
Definition: niftkMakeLapUSProbeBasicModel.cxx:30
Image< TimeVaryingVelocityPixelType, NDimensions+1 > TimeVaryingVelocityImageType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:64
SmartPointer< Self > Pointer
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:50
Simultaneous itk::Image and itk::Array (and hence vnl_vector) class.
UpdateImageType::SizeType UpdateImageSizeType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:77
const unsigned int Dimension
Definition: niftkBreastDCEandADC.cxx:89
UpdateImageType::SpacingType UpdateImageSpacingType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:79
TimeVaryingVelocityImageType::RegionType TimeVaryingVelocityRegionType
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:65
~AddUpdateToTimeVaryingVelocityFieldFilter()
Definition: itkAddUpdateToTimeVaryingVelocityFieldFilter.h:106