18 #ifndef itkTimeVaryingVelocityFieldIntegrationImageFilter_h
19 #define itkTimeVaryingVelocityFieldIntegrationImageFilter_h
52 template<
typename TTimeVaryingVelocityField,
typename TDisplacementField =
53 Image<
typename TTimeVaryingVelocityField::PixelType,
54 TTimeVaryingVelocityField::ImageDimension - 1> >
61 <TTimeVaryingVelocityField, TDisplacementField>
Superclass;
74 itkStaticConstMacro( InputImageDimension,
unsigned int,
75 TTimeVaryingVelocityField::ImageDimension );
77 itkStaticConstMacro( OutputImageDimension,
unsigned int,
78 TDisplacementField::ImageDimension );
83 typedef typename DisplacementFieldType::PixelType
VectorType;
84 typedef typename VectorType::RealValueType
RealType;
121 itkSetClampMacro( LowerTimeBound,
RealType, 0, 1 );
127 itkGetConstMacro( LowerTimeBound,
RealType );
133 itkSetClampMacro( UpperTimeBound,
RealType, 0, 1 );
139 itkGetConstMacro( UpperTimeBound,
RealType );
145 itkSetMacro( NumberOfIntegrationSteps,
unsigned int );
151 itkGetConstMacro( NumberOfIntegrationSteps,
unsigned int );
157 void PrintSelf( std::ostream & os,
Indent indent ) const ITK_OVERRIDE;
159 virtual
void GenerateOutputInformation() ITK_OVERRIDE;
161 virtual
void BeforeThreadedGenerateData() ITK_OVERRIDE;
172 unsigned int m_NumberOfIntegrationSteps;
174 unsigned int m_NumberOfTimePoints;
185 #ifndef ITK_MANUAL_INSTANTIATION
186 #include "itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx"
DisplacementFieldType::PointType PointType
Light weight base class for most itk classes.
ImageToImageFilter< TTimeVaryingVelocityField, TDisplacementField > Superclass
SmartPointer< Self > Pointer
DisplacementFieldType::PixelType VectorType
SmartPointer< const Self > ConstPointer
DisplacementFieldType::Pointer DisplacementFieldPointer
VectorInterpolateImageFunction< DisplacementFieldType, ScalarType > DisplacementFieldInterpolatorType
VectorType::RealValueType RealType
Integrate a time-varying velocity field using 4th order Runge-Kutta.
TDisplacementField DisplacementFieldType
DisplacementFieldInterpolatorType::Pointer DisplacementFieldInterpolatorPointer
TimeVaryingVelocityFieldIntegrationImageFilter Self
DisplacementFieldType::RegionType OutputRegionType
ImageBaseType::PointType PointType
unsigned int ThreadIdType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
VectorInterpolateImageFunction< TimeVaryingVelocityFieldType, ScalarType > VelocityFieldInterpolatorType
Base class for all vector image interpolaters.
TTimeVaryingVelocityField TimeVaryingVelocityFieldType
VectorType::ValueType ScalarType
VelocityFieldInterpolatorType::Pointer VelocityFieldInterpolatorPointer