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;
75 TTimeVaryingVelocityField::ImageDimension );
78 TDisplacementField::ImageDimension );
83 typedef typename DisplacementFieldType::PixelType
VectorType;
84 typedef typename VectorType::RealValueType
RealType;
86 typedef typename DisplacementFieldType::PointType
PointType;
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 );
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx"
DisplacementFieldPointer m_InitialDiffeomorphism
~TimeVaryingVelocityFieldIntegrationImageFilter()
void operator=(const Self &)
DisplacementFieldType::PointType PointType
Light weight base class for most itk classes.
TimeVaryingVelocityFieldIntegrationImageFilter()
ImageToImageFilter< TTimeVaryingVelocityField, TDisplacementField > Superclass
RealType m_LowerTimeBound
RealType m_UpperTimeBound
SmartPointer< Self > Pointer
unsigned int m_NumberOfIntegrationSteps
DisplacementFieldType::PixelType VectorType
SmartPointer< const Self > ConstPointer
DisplacementFieldInterpolatorPointer m_DisplacementFieldInterpolator
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
void PrintSelf(std::ostream &os, Indent indent) const
VelocityFieldInterpolatorPointer m_VelocityFieldInterpolator
static const unsigned int OutputImageDimension
virtual void ThreadedGenerateData(const OutputRegionType &, ThreadIdType)
unsigned int m_NumberOfTimePoints
Base class for filters that take an image as input and produce an image as output.
static const unsigned int InputImageDimension
Control indentation during Print() invocation.
VectorInterpolateImageFunction< TimeVaryingVelocityFieldType, ScalarType > VelocityFieldInterpolatorType
virtual void GenerateOutputInformation()
Base class for all vector image interpolaters.
TTimeVaryingVelocityField TimeVaryingVelocityFieldType
virtual void BeforeThreadedGenerateData()
VectorType::ValueType ScalarType
unsigned int ThreadIdType
VelocityFieldInterpolatorType::Pointer VelocityFieldInterpolatorPointer
VectorType IntegrateVelocityAtPoint(const PointType &initialSpatialPoint, const TimeVaryingVelocityFieldType *inputField)