ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::BSplineControlPointImageFunction< TInputImage, TCoordRep > Class Template Reference

#include <itkBSplineControlPointImageFunction.h>

+ Inheritance diagram for itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >:
+ Collaboration diagram for itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >:

Detailed Description

template<class TInputImage, class TCoordRep = double>
class itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >

Evaluate a B-spline object given a grid of control points.

The output of the class itkBSplineScatteredDataPointSetToImageFilter
is a control point grid defining a B-spline object. This class is used to hold various routines meant to operate on that control point grid. In addition to specifying the control point grid as the input, the user must also supply the spline order and the parametric domain (i.e. size, domain, origin, spacing).

Operations include

  1. Evaluation of the B-spline object at any point in the domain.
  2. Evaluation of the gradient of the B-spline object at any point in the domain.
  3. Evaluation of the Hessian of the B-spline object at any point in the domain.
  4. Inverse estimation. Given a user-specified data point, one can find the parameters which minimize the "distance" between the evaluated data point and the B-spline object evaluated at those parameters. This is useful, for example, in determining the parametric values of a point on the curve closest to a user-specified point.
Author
Nicholas J. Tustison

Definition at line 66 of file itkBSplineControlPointImageFunction.h.

Public Types

typedef FixedArray< unsigned,
ImageDimension
ArrayType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
 
typedef TInputImage ControlPointLatticeType
 
typedef TCoordRep CoordRepType
 
typedef VariableSizeMatrix
< CoordRepType
GradientType
 
typedef VariableSizeMatrix
< CoordRepType
HessianComponentType
 
typedef InputImageType::IndexType IndexType
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef BSplineKernelFunction< 0 > KernelOrder0Type
 
typedef BSplineKernelFunction< 1 > KernelOrder1Type
 
typedef BSplineKernelFunction< 2 > KernelOrder2Type
 
typedef BSplineKernelFunction< 3 > KernelOrder3Type
 
typedef
CoxDeBoorBSplineKernelFunction< 3 > 
KernelType
 
typedef InputImageType::PointType OriginType
 
typedef PixelType OutputType
 
typedef InputImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef InputImageType::PointType PointType
 
typedef RealImageType::Pointer RealImagePointer
 
typedef Image< CoordRepType,
ImageDimension
RealImageType
 
typedef InputImageType::RegionType RegionType
 
typedef
BSplineControlPointImageFunction 
Self
 
typedef InputImageType::SizeType SizeType
 
typedef InputImageType::SpacingType SpacingType
 
typedef ImageFunction
< TInputImage, typename
TInputImage::PixelType,
TCoordRep > 
Superclass
 
- Public Types inherited from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >
typedef SmartPointer< const SelfConstPointer
 
typedef ContinuousIndex
< TCoordRep,
itkGetStaticConstMacro(ImageDimension) > 
ContinuousIndexType
 
typedef TCoordRep CoordRepType
 
typedef InputImageType::IndexType IndexType
 
typedef
InputImageType::IndexValueType 
IndexValueType
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef TInputImage::PixelType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Point< TCoordRep,
itkGetStaticConstMacro(ImageDimension) > 
PointType
 
typedef ImageFunction Self
 
typedef FunctionBase< Point
< TCoordRep,
itkGetStaticConstMacro(ImageDimension) >
, TInputImage::PixelType > 
Superclass
 
- Public Types inherited from itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, TInputImage::PixelType >
typedef SmartPointer< const SelfConstPointer
 
typedef Point< TCoordRep,
TInputImage::ImageDimension > 
InputType
 
typedef TInputImage::PixelType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef FunctionBase Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputType Evaluate (const PointType &) const
 
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &) const
 
virtual OutputType EvaluateAtIndex (const IndexType &) const
 
OutputType EvaluateAtParametricPoint (const PointType &) const
 
GradientType EvaluateGradient (const PointType &) const
 
GradientType EvaluateGradientAtContinuousIndex (const ContinuousIndexType &) const
 
GradientType EvaluateGradientAtIndex (const IndexType &) const
 
GradientType EvaluateGradientAtParametricPoint (const PointType &) const
 
HessianComponentType EvaluateHessian (const PointType &, const unsigned int) const
 
HessianComponentType EvaluateHessianAtContinuousIndex (const ContinuousIndexType &, const unsigned int) const
 
HessianComponentType EvaluateHessianAtIndex (const IndexType &, const unsigned int) const
 
HessianComponentType EvaluateHessianAtParametricPoint (const PointType &, const unsigned int) const
 
virtual const ArrayTypeGetCloseDimension ()
 
virtual OriginType GetOrigin () const
 
virtual SizeType GetSize () const
 
virtual SpacingType GetSpacing () const
 
virtual const ArrayTypeGetSplineOrder ()
 
virtual void SetCloseDimension (ArrayType _arg)
 
virtual void SetInputImage (const InputImageType *)
 
virtual void SetOrigin (OriginType _arg)
 
virtual void SetSize (SizeType _arg)
 
virtual void SetSpacing (SpacingType _arg)
 
void SetSplineOrder (const unsigned int)
 
void SetSplineOrder (const ArrayType &)
 
- Public Member Functions inherited from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >
void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
 
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
 
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
 
virtual TInputImage::PixelType Evaluate (const PointType &point) const =0
 
virtual TInputImage::PixelType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
 
virtual const ContinuousIndexTypeGetEndContinuousIndex ()
 
virtual const IndexTypeGetEndIndex ()
 
const InputImageTypeGetInputImage () const
 
virtual const char * GetNameOfClass () const
 
virtual const ContinuousIndexTypeGetStartContinuousIndex ()
 
virtual const IndexTypeGetStartIndex ()
 
virtual bool IsInsideBuffer (const IndexType &index) const
 
virtual bool IsInsideBuffer (const ContinuousIndexType &index) const
 
virtual bool IsInsideBuffer (const PointType &point) const
 
- Public Member Functions inherited from itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, TInputImage::PixelType >
virtual OutputType Evaluate (const InputType &input) const =0
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >
static const unsigned int ImageDimension
 

Protected Member Functions

 BSplineControlPointImageFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual ~BSplineControlPointImageFunction ()
 
- Protected Member Functions inherited from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >
 ImageFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~ImageFunction ()
 
- Protected Member Functions inherited from itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, TInputImage::PixelType >
 FunctionBase ()
 
 ~FunctionBase ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

 BSplineControlPointImageFunction (const Self &)
 
void operator= (const Self &)
 

Private Attributes

CoordRepType m_BSplineEpsilon
 
ArrayType m_CloseDimension
 
KernelType::Pointer m_Kernel [ImageDimension]
 
KernelOrder0Type::Pointer m_KernelOrder0
 
KernelOrder1Type::Pointer m_KernelOrder1
 
KernelOrder2Type::Pointer m_KernelOrder2
 
KernelOrder3Type::Pointer m_KernelOrder3
 
RealImagePointer m_NeighborhoodWeightImage
 
ArrayType m_NumberOfControlPoints
 
OriginType m_Origin
 
SizeType m_Size
 
SpacingType m_Spacing
 
ArrayType m_SplineOrder
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >
ContinuousIndexType m_EndContinuousIndex
 
IndexType m_EndIndex
 
InputImageConstPointer m_Image
 
ContinuousIndexType m_StartContinuousIndex
 
IndexType m_StartIndex
 

Member Typedef Documentation

template<class TInputImage , class TCoordRep = double>
typedef FixedArray<unsigned, ImageDimension> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::ArrayType

Other typedef

Definition at line 102 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef SmartPointer<const Self> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::ConstPointer

Definition at line 74 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef Superclass::ContinuousIndexType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::ContinuousIndexType

Definition at line 105 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef TInputImage itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::ControlPointLatticeType

Image typedef support

Definition at line 83 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef TCoordRep itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::CoordRepType

Definition at line 85 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef VariableSizeMatrix<CoordRepType> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::GradientType

Definition at line 98 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef VariableSizeMatrix<CoordRepType> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::HessianComponentType

Definition at line 99 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef InputImageType::IndexType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::IndexType

Definition at line 88 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef InputImageType::RegionType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::InputImageRegionType

Definition at line 90 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef TInputImage itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::InputImageType

Definition at line 84 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef BSplineKernelFunction<0> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelOrder0Type

Definition at line 109 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef BSplineKernelFunction<1> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelOrder1Type

Definition at line 110 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef BSplineKernelFunction<2> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelOrder2Type

Definition at line 111 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef BSplineKernelFunction<3> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelOrder3Type

Definition at line 112 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef CoxDeBoorBSplineKernelFunction<3> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::KernelType

Interpolation kernel type (default spline order = 3)

Definition at line 108 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef InputImageType::PointType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::OriginType

Definition at line 93 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef PixelType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::OutputType

Output typedef support

Definition at line 97 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef InputImageType::PixelType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::PixelType

Definition at line 86 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef SmartPointer<Self> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::Pointer

Definition at line 73 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef InputImageType::PointType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::PointType

Definition at line 89 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef RealImageType::Pointer itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::RealImagePointer

Definition at line 104 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef Image<CoordRepType, ImageDimension> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::RealImageType

Definition at line 103 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef InputImageType::RegionType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::RegionType

Definition at line 87 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef BSplineControlPointImageFunction itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::Self

Definition at line 70 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef InputImageType::SizeType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SizeType

Definition at line 94 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef InputImageType::SpacingType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SpacingType

Definition at line 92 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
typedef ImageFunction<TInputImage, typename TInputImage::PixelType, TCoordRep> itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::Superclass

Definition at line 72 of file itkBSplineControlPointImageFunction.h.

Constructor & Destructor Documentation

template<class TInputImage , class TCoordRep = double>
itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::BSplineControlPointImageFunction ( )
protected
template<class TInputImage , class TCoordRep = double>
virtual itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::~BSplineControlPointImageFunction ( )
protectedvirtual
template<class TInputImage , class TCoordRep = double>
itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::BSplineControlPointImageFunction ( const Self )
private

Member Function Documentation

template<class TInputImage , class TCoordRep = double>
virtual::itk::LightObject::Pointer itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<class TInputImage , class TCoordRep = double>
virtual OutputType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::Evaluate ( const PointType ) const
virtual

Evaluate the resulting B-spline object at a specified internal parameteric point. Note that the internal parameterization over each dimension of the B-spline object is [0, 1).

template<class TInputImage , class TCoordRep = double>
virtual OutputType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType ) const
virtual

Evaluate the resulting B-spline object at a specified continuous index in the parametric domain.

template<class TInputImage , class TCoordRep = double>
virtual OutputType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex ( const IndexType ) const
virtual

Evaluate the resulting B-spline object at a specified index in the parametric domain.

Implements itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >.

template<class TInputImage , class TCoordRep = double>
OutputType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateAtParametricPoint ( const PointType ) const

Evaluate the resulting B-spline object at a specified point in the parametric domain.

template<class TInputImage , class TCoordRep = double>
GradientType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateGradient ( const PointType ) const

Evaluate the gradient of the resulting B-spline object at a specified internal parameteric point. Note that the internal parameterization over each dimension of the B-spline object is [0, 1).

template<class TInputImage , class TCoordRep = double>
GradientType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateGradientAtContinuousIndex ( const ContinuousIndexType ) const

Evaluate the gradient of the resulting B-spline object at a specified continuous index in the parametric domain.

template<class TInputImage , class TCoordRep = double>
GradientType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateGradientAtIndex ( const IndexType ) const

Evaluate the gradient of the resulting B-spline object at a specified index in the parametric domain.

template<class TInputImage , class TCoordRep = double>
GradientType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateGradientAtParametricPoint ( const PointType ) const

Evaluate the gradient of the resulting B-spline object at a specified point in the parametric domain.

template<class TInputImage , class TCoordRep = double>
HessianComponentType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateHessian ( const PointType ,
const unsigned  int 
) const

Evaluate the hessian of the resulting B-spline object at a specified internal parameteric point. Note that the internal parameterization over each dimension of the B-spline object is [0, 1).

template<class TInputImage , class TCoordRep = double>
HessianComponentType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateHessianAtContinuousIndex ( const ContinuousIndexType ,
const unsigned  int 
) const

Evaluate the Hessian of the resulting B-spline object at a specified con- tinuous index within the parametric domain. Since the Hessian for a vector function is a 3-tensor, one must specify the component.

template<class TInputImage , class TCoordRep = double>
HessianComponentType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateHessianAtIndex ( const IndexType ,
const unsigned  int 
) const

Evaluate the Hessian of the resulting B-spline object at a specified index within the parametric domain. Since the Hessian for a vector function is a 3-tensor, one must specify the component.

template<class TInputImage , class TCoordRep = double>
HessianComponentType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::EvaluateHessianAtParametricPoint ( const PointType ,
const unsigned  int 
) const

Evaluate the Hessian of the resulting B-spline object at a specified point within the parametric domain. Since the Hessian for a vector function is a 3-tensor, one must specify the component.

template<class TInputImage , class TCoordRep = double>
virtual const ArrayType& itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::GetCloseDimension ( )
virtual

Get the boolean array indicating which dimensions are closed.

template<class TInputImage , class TCoordRep = double>
virtual OriginType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::GetOrigin ( ) const
virtual

Get the parametric origin of the B-spline object domain.

template<class TInputImage , class TCoordRep = double>
virtual SizeType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::GetSize ( ) const
virtual

Get the parametric size of the B-spline object domain.

template<class TInputImage , class TCoordRep = double>
virtual SpacingType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::GetSpacing ( ) const
virtual

Get the parametric spacing of the B-spline object domain.

template<class TInputImage , class TCoordRep = double>
virtual const ArrayType& itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::GetSplineOrder ( )
virtual

Get the spline order array of the B-spline object. Default = 3.

template<class TInputImage , class TCoordRep = double>
static Pointer itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TCoordRep = double>
void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::operator= ( const Self )
private
template<class TInputImage , class TCoordRep = double>
void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

template<class TInputImage , class TCoordRep = double>
virtual void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SetCloseDimension ( ArrayType  _arg)
virtual

Set the boolean array indicating the periodicity of the B-spline object. This array of 0/1 values defines whether a particular dimension of the parametric space is to be considered periodic or not. For example, if you are using interpolating along a 1D closed curve, the array type will have size 1, and you should set the first element of this array to the value "1". In the case that you were interpolating in a planar surface with cylindrical topology, the array type will have two components, and you should set to "1" the component that goes around the cylinder, and set to "0" the component that goes from the top of the cylinder to the bottom. This will indicate the periodity of that parameter to the filter. Internally, in order to make periodic the domain of the parameter, the filter will reuse some of the points at the beginning of the domain as if they were also located at the end of the domain. The number of points to be reused will depend on the spline order. As a user, you don't need to replicate the points, the filter will do this for you.

template<class TInputImage , class TCoordRep = double>
virtual void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SetInputImage ( const InputImageType )
virtual

Set the input image. Note that the size, spacing, origin, and spline order must be called prior to setting the input image.

Reimplemented from itk::ImageFunction< TInputImage, TInputImage::PixelType, TCoordRep >.

template<class TInputImage , class TCoordRep = double>
virtual void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SetOrigin ( OriginType  _arg)
virtual

Set the parametric origin of the B-spline object domain.

template<class TInputImage , class TCoordRep = double>
virtual void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SetSize ( SizeType  _arg)
virtual

Set the parametric size of the B-spline object domain.

template<class TInputImage , class TCoordRep = double>
virtual void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SetSpacing ( SpacingType  _arg)
virtual

Set the parametric spacing of the B-spline object domain.

template<class TInputImage , class TCoordRep = double>
void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SetSplineOrder ( const unsigned  int)

Set the spline order of the B-spline object for all parametric dimensions. Default = 3.

template<class TInputImage , class TCoordRep = double>
void itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::SetSplineOrder ( const ArrayType )

Set the spline order array where each element of the array corresponds to a single parametric dimension of the B-spline object. Default = 3.

Member Data Documentation

template<class TInputImage , class TCoordRep = double>
const unsigned int itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::ImageDimension = TInputImage::ImageDimension
static

Extract dimension from input image.

Definition at line 80 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
CoordRepType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_BSplineEpsilon
private

Definition at line 300 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
ArrayType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_CloseDimension
private

Definition at line 289 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
KernelType::Pointer itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_Kernel[ImageDimension]
private

Definition at line 294 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
KernelOrder0Type::Pointer itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_KernelOrder0
private

Definition at line 295 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
KernelOrder1Type::Pointer itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_KernelOrder1
private

Definition at line 296 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
KernelOrder2Type::Pointer itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_KernelOrder2
private

Definition at line 297 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
KernelOrder3Type::Pointer itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_KernelOrder3
private

Definition at line 298 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
RealImagePointer itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_NeighborhoodWeightImage
private

Definition at line 292 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
ArrayType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_NumberOfControlPoints
private

Definition at line 288 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
OriginType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_Origin
private

Definition at line 286 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
SizeType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_Size
private

Parameters for the B-spline object domain

Definition at line 284 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
SpacingType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_Spacing
private

Definition at line 285 of file itkBSplineControlPointImageFunction.h.

template<class TInputImage , class TCoordRep = double>
ArrayType itk::BSplineControlPointImageFunction< TInputImage, TCoordRep >::m_SplineOrder
private

Definition at line 290 of file itkBSplineControlPointImageFunction.h.


The documentation for this class was generated from the following file: