template<class
TScalarType = double, unsigned
int NDimensions = 3>
class itk::DeformationVectorFieldTransform< TScalarType, NDimensions >
An itk transform based on a DeformationVectorField.
This class makes it easy to set a deformation vector field as a Transform-object.
The class inherits from the 0th-order AdvancedBSplineDeformableTransform, and converts a VectorImage to the B-spline CoefficientImage.
This is useful if you know for example how to deform each voxel in an image and want to apply it to that image.
- Note
- Better use the DeformationFieldInterpolatingTransform. It is more flexible, since it allows runtime specification of the spline order.
Definition at line 46 of file itkDeformationVectorFieldTransform.h.
|
| using | CoefficientImagePointer = typename Superclass::ImagePointer |
| |
| using | CoefficientImageType = typename Superclass::ImageType |
| |
| using | CoefficientPixelType = typename Superclass::PixelType |
| |
| using | CoefficientVectorImagePointer = typename CoefficientVectorImageType::Pointer |
| |
| using | CoefficientVectorImageType = Image< CoefficientVectorPixelType, Self::SpaceDimension > |
| |
| using | CoefficientVectorPixelType = Vector< float, Self::SpaceDimension > |
| |
| using | ConstPointer = SmartPointer< const Self > |
| |
| using | Pointer = SmartPointer< Self > |
| |
| using | Self = DeformationVectorFieldTransform |
| |
| using | Superclass = AdvancedBSplineDeformableTransform< TScalarType, NDimensions, 0 > |
| |
| using | ConstPointer = SmartPointer< const Self > |
| |
| using | ContinuousIndexType = typename WeightsFunctionType::ContinuousIndexType |
| |
| using | DerivativeWeightsFunctionPointer = typename DerivativeWeightsFunctionType::Pointer |
| |
| using | DerivativeWeightsFunctionType = BSplineInterpolationDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder > |
| |
| using | DirectionType = typename ImageType::DirectionType |
| |
| using | GridOffsetType = IndexType |
| |
| using | ImagePointer = typename ImageType::Pointer |
| |
| using | ImageType = Image< PixelType, Self::SpaceDimension > |
| |
| using | IndexType = typename RegionType::IndexType |
| |
| using | OriginType = typename ImageType::PointType |
| |
| using | ParameterIndexArrayType = Array< unsigned long > |
| |
| using | Pointer = SmartPointer< Self > |
| |
| using | RegionType = ImageRegion< Self::SpaceDimension > |
| |
| using | Self = AdvancedBSplineDeformableTransform |
| |
| using | SizeType = typename RegionType::SizeType |
| |
| using | SODerivativeWeightsFunctionPointer = typename SODerivativeWeightsFunctionType::Pointer |
| |
| using | SODerivativeWeightsFunctionType = BSplineInterpolationSecondOrderDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder > |
| |
| using | SpacingType = typename ImageType::SpacingType |
| |
| using | Superclass = AdvancedBSplineDeformableTransformBase< TScalarType, NDimensions > |
| |
| using | WeightsFunctionPointer = typename WeightsFunctionType::Pointer |
| |
| using | WeightsFunctionType = BSplineInterpolationWeightFunction2< ScalarType, Self::SpaceDimension, VSplineOrder > |
| |
| using | WeightsType = typename WeightsFunctionType::WeightsType |
| |
| using | ConstPointer = SmartPointer< const Self > |
| |
| using | ContinuousIndexType = ContinuousIndex< ScalarType, SpaceDimension > |
| |
| using | DirectionType = typename ImageType::DirectionType |
| |
| using | GridOffsetType = IndexType |
| |
| using | ImagePointer = typename ImageType::Pointer |
| |
| using | ImageType = Image< PixelType, Self::SpaceDimension > |
| |
| using | IndexType = typename RegionType::IndexType |
| |
| using | OriginType = typename ImageType::PointType |
| |
| using | ParameterIndexArrayType = Array< unsigned long > |
| |
| using | Pointer = SmartPointer< Self > |
| |
| using | RegionType = ImageRegion< Self::SpaceDimension > |
| |
| using | Self = AdvancedBSplineDeformableTransformBase |
| |
| using | SizeType = typename RegionType::SizeType |
| |
| using | SpacingType = typename ImageType::SpacingType |
| |
| using | Superclass = AdvancedTransform< TScalarType, NDimensions, NDimensions > |
| |
| using | ConstPointer = SmartPointer< const Self > |
| |
| using | InternalMatrixType = typename SpatialJacobianType::InternalMatrixType |
| |
| using | InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
| |
| using | JacobianOfSpatialHessianType = std::vector< SpatialHessianType > |
| |
| using | JacobianOfSpatialJacobianType = std::vector< SpatialJacobianType > |
| |
| using | MovingImageGradientType = OutputCovariantVectorType |
| |
| using | MovingImageGradientValueType = typename MovingImageGradientType::ValueType |
| |
| using | NonZeroJacobianIndicesType = std::vector< unsigned long > |
| |
| using | Pointer = SmartPointer< Self > |
| |
| using | Self = AdvancedTransform |
| |
| using | SpatialHessianType = FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > |
| |
| using | SpatialJacobianType = Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > |
| |
| using | Superclass = Transform< TScalarType, NInputDimensions, NOutputDimensions > |
| |
| using | TransformType = Transform< TScalarType, NInputDimensions, NOutputDimensions > |
| |
| using | TransformTypeConstPointer = typename TransformType::ConstPointer |
| |
| using | TransformTypePointer = typename TransformType::Pointer |
| |
|
| virtual const char * | GetClassName () const |
| |
| virtual void | GetCoefficientVectorImage (CoefficientVectorImagePointer &vecImage) const |
| |
| | ITK_DISALLOW_COPY_AND_MOVE (DeformationVectorFieldTransform) |
| |
| | itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions) |
| |
| | itkStaticConstMacro (SplineOrder, unsigned int, Superclass::SplineOrder) |
| |
| virtual void | SetCoefficientVectorImage (const CoefficientVectorImageType *vecImage) |
| |
| void | EvaluateJacobianWithImageGradientProduct (const InputPointType &inputPoint, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override |
| |
| void | GetJacobian (const InputPointType &inputPoint, JacobianType &j, NonZeroJacobianIndicesType &nzji) const override |
| |
| void | GetJacobianOfSpatialHessian (const InputPointType &inputPoint, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override |
| |
| void | GetJacobianOfSpatialHessian (const InputPointType &inputPoint, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override |
| |
| void | GetJacobianOfSpatialJacobian (const InputPointType &inputPoint, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override |
| |
| void | GetJacobianOfSpatialJacobian (const InputPointType &inputPoint, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override |
| |
| unsigned int | GetNumberOfAffectedWeights () const override |
| |
| NumberOfParametersType | GetNumberOfNonZeroJacobianIndices () const override |
| |
| void | GetSpatialHessian (const InputPointType &inputPoint, SpatialHessianType &sh) const override |
| |
| void | GetSpatialJacobian (const InputPointType &inputPoint, SpatialJacobianType &sj) const override |
| |
| | ITK_DISALLOW_COPY_AND_MOVE (AdvancedBSplineDeformableTransform) |
| |
| | itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions) |
| |
| | itkStaticConstMacro (SplineOrder, unsigned int, VSplineOrder) |
| |
| void | SetGridRegion (const RegionType ®ion) override |
| |
| OutputPointType | TransformPoint (const InputPointType &point) const override |
| |
| virtual const ImagePointer * | GetCoefficientImages () const |
| |
| const FixedParametersType & | GetFixedParameters () const override |
| |
| virtual DirectionType | GetGridDirection () const |
| |
| virtual OriginType | GetGridOrigin () const |
| |
| virtual RegionType | GetGridRegion () const |
| |
| virtual SpacingType | GetGridSpacing () const |
| |
| NumberOfParametersType | GetNumberOfParameters () const override |
| |
| virtual NumberOfParametersType | GetNumberOfParametersPerDimension () const |
| |
| const ParametersType & | GetParameters () const override |
| |
| unsigned | GetSplineOrder () const |
| |
| TransformCategoryEnum | GetTransformCategory () const override |
| |
| virtual const RegionType & | GetValidRegion () |
| |
| bool | IsLinear () const override |
| |
| | ITK_DISALLOW_COPY_AND_MOVE (AdvancedBSplineDeformableTransformBase) |
| |
| | itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions) |
| |
| virtual void | SetCoefficientImages (ImagePointer images[]) |
| |
| void | SetFixedParameters (const FixedParametersType ¶meters) override |
| |
| virtual void | SetGridDirection (const DirectionType &direction) |
| |
| virtual void | SetGridOrigin (const OriginType &origin) |
| |
| virtual void | SetGridSpacing (const SpacingType &spacing) |
| |
| void | SetIdentity () |
| |
| void | SetParameters (const ParametersType ¶meters) override |
| |
| void | SetParametersByValue (const ParametersType ¶meters) override |
| |
| OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &) const override |
| |
| OutputVectorType | TransformVector (const InputVectorType &) const override |
| |
| OutputVnlVectorType | TransformVector (const InputVnlVectorType &) const override |
| |
| void | ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const override |
| |
| virtual bool | GetHasNonZeroJacobianOfSpatialHessian () const |
| |
| virtual bool | GetHasNonZeroSpatialHessian () const |
| |
| | ITK_DISALLOW_COPY_AND_MOVE (AdvancedTransform) |
| |
| | itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) |
| |
| | itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) |
| |