18 #ifndef itkTimeVaryingVelocityFieldIntegrationImageFilter_h
19 #define itkTimeVaryingVelocityFieldIntegrationImageFilter_h
52 template<
typename TTimeVaryingVelocityField,
typename TDisplacementField =
53 Image<
typename TTimeVaryingVelocityField::PixelType,
54 TTimeVaryingVelocityField::ImageDimension - 1> >
63 <TTimeVaryingVelocityField, TDisplacementField>;
76 static constexpr
unsigned int InputImageDimension = TTimeVaryingVelocityField::ImageDimension;
78 static constexpr
unsigned int OutputImageDimension = TDisplacementField::ImageDimension;
83 using VectorType =
typename DisplacementFieldType::PixelType;
84 using RealType =
typename VectorType::RealValueType;
120 itkSetClampMacro( LowerTimeBound,
RealType, 0, 1 );
126 itkGetConstMacro( LowerTimeBound,
RealType );
132 itkSetClampMacro( UpperTimeBound,
RealType, 0, 1 );
138 itkGetConstMacro( UpperTimeBound,
RealType );
144 itkSetMacro( NumberOfIntegrationSteps,
unsigned int );
150 itkGetConstMacro( NumberOfIntegrationSteps,
unsigned int );
156 void PrintSelf( std::ostream & os,
Indent indent )
const override;
158 void GenerateOutputInformation()
override;
160 void BeforeThreadedGenerateData()
override;
183 #ifndef ITK_MANUAL_INSTANTIATION
184 #include "itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx"
DisplacementFieldPointer m_InitialDiffeomorphism
Light weight base class for most itk classes.
RealType m_LowerTimeBound
RealType m_UpperTimeBound
unsigned int m_NumberOfIntegrationSteps
DisplacementFieldInterpolatorPointer m_DisplacementFieldInterpolator
TDisplacementField DisplacementFieldType
Integrate a time-varying velocity field using 4th order Runge-Kutta.
typename DisplacementFieldType::RegionType OutputRegionType
TTimeVaryingVelocityField TimeVaryingVelocityFieldType
typename DisplacementFieldType::PointType PointType
typename DisplacementFieldInterpolatorType::Pointer DisplacementFieldInterpolatorPointer
VelocityFieldInterpolatorPointer m_VelocityFieldInterpolator
typename VelocityFieldInterpolatorType::Pointer VelocityFieldInterpolatorPointer
typename DisplacementFieldType::PixelType VectorType
unsigned int m_NumberOfTimePoints
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
Base class for all vector image interpolaters.
typename VectorType::RealValueType RealType
ImageBaseType::RegionType RegionType
typename VectorType::ValueType ScalarType
typename DisplacementFieldType::Pointer DisplacementFieldPointer