go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep > Class Template Reference

#include <itkAdvancedRayCastInterpolateImageFunction.h>

Detailed Description

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

Projective interpolation of an image at specified positions.

AdvancedRayCastInterpolateImageFunction casts rays through a 3-dimensional image and uses bilinear interpolation to integrate each plane of voxels traversed.

Warning
This interpolator works for 3-dimensional images only.

Definition at line 56 of file itkAdvancedRayCastInterpolateImageFunction.h.

+ Inheritance diagram for itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >:

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ContinuousIndexType ContinuousIndexType
 
typedef Vector< TCoordRep, InputImageDimension > DirectionType
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::InputImageType InputImageType
 
typedef TransformType::InputPointType InputPointType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef InterpolateImageFunction< TInputImage, TCoordRep > InterpolatorType
 
typedef TransformType::OutputPointType OutputPointType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef Superclass::RealType RealType
 
typedef AdvancedRayCastInterpolateImageFunction Self
 
typedef TInputImage::SizeType SizeType
 
typedef InterpolateImageFunction< TInputImage, TCoordRep > Superclass
 
typedef TransformType::JacobianType TransformJacobianType
 
typedef TransformType::ParametersType TransformParametersType
 
typedef TransformType::Pointer TransformPointer
 
typedef Transform< TCoordRep, InputImageDimension, InputImageDimension > TransformType
 

Public Member Functions

OutputType Evaluate (const PointType &point) const override
 
OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override
 
virtual const char * GetClassName () const
 
virtual InputPointType GetFocalPoint () const
 
virtual double GetThreshold () const
 
bool IsInsideBuffer (const ContinuousIndexType &) const override
 
bool IsInsideBuffer (const IndexType &) const override
 
bool IsInsideBuffer (const PointType &) const override
 
 itkGetModifiableObjectMacro (Interpolator, InterpolatorType)
 
 itkGetModifiableObjectMacro (Transform, TransformType)
 
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
 
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 
virtual void SetFocalPoint (InputPointType _arg)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
virtual void SetThreshold (double _arg)
 
virtual void SetTransform (TransformType *_arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 AdvancedRayCastInterpolateImageFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~AdvancedRayCastInterpolateImageFunction () override
 

Protected Attributes

InputPointType m_FocalPoint
 
InterpolatorPointer m_Interpolator
 
double m_Threshold
 
TransformPointer m_Transform
 

Private Member Functions

 AdvancedRayCastInterpolateImageFunction (const Self &)
 
SizeType GetRadius () const override
 
void operator= (const Self &)
 

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 65 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ ContinuousIndexType

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

ContinuousIndex typedef support.

Definition at line 119 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ DirectionType

template<class TInputImage , class TCoordRep = double>
typedef Vector< TCoordRep, InputImageDimension > itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::DirectionType

Definition at line 87 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ IndexType

template<class TInputImage , class TCoordRep = double>
typedef Superclass::IndexType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::IndexType

Index typedef support.

Definition at line 116 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ InputImageType

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

InputImageType typedef support.

Definition at line 104 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ InputPointType

template<class TInputImage , class TCoordRep = double>
typedef TransformType::InputPointType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::InputPointType

Definition at line 78 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ InterpolatorPointer

template<class TInputImage , class TCoordRep = double>
typedef InterpolatorType::Pointer itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::InterpolatorPointer

Definition at line 92 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ InterpolatorType

template<class TInputImage , class TCoordRep = double>
typedef InterpolateImageFunction< TInputImage, TCoordRep > itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::InterpolatorType

Type of the Interpolator Base class

Definition at line 90 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ OutputPointType

template<class TInputImage , class TCoordRep = double>
typedef TransformType::OutputPointType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::OutputPointType

Definition at line 79 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ OutputType

template<class TInputImage , class TCoordRep = double>
typedef Superclass::OutputType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::OutputType

OutputType typedef support.

Definition at line 101 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ Pointer

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

Definition at line 64 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ PointType

template<class TInputImage , class TCoordRep = double>
typedef Superclass::PointType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::PointType

Point typedef support.

Definition at line 113 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ RealType

template<class TInputImage , class TCoordRep = double>
typedef Superclass::RealType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::RealType

RealType typedef support.

Definition at line 107 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ Self

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

Standard class typedefs.

Definition at line 62 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ SizeType

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

Definition at line 85 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ Superclass

template<class TInputImage , class TCoordRep = double>
typedef InterpolateImageFunction< TInputImage, TCoordRep > itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::Superclass

Definition at line 63 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ TransformJacobianType

template<class TInputImage , class TCoordRep = double>
typedef TransformType::JacobianType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::TransformJacobianType

Definition at line 81 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ TransformParametersType

template<class TInputImage , class TCoordRep = double>
typedef TransformType::ParametersType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::TransformParametersType

Definition at line 80 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ TransformPointer

template<class TInputImage , class TCoordRep = double>
typedef TransformType::Pointer itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::TransformPointer

Definition at line 77 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ TransformType

template<class TInputImage , class TCoordRep = double>
typedef Transform< TCoordRep, InputImageDimension, InputImageDimension > itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::TransformType

Type of the Transform Base class The fixed image should be a 3D image

Definition at line 75 of file itkAdvancedRayCastInterpolateImageFunction.h.

Constructor & Destructor Documentation

◆ AdvancedRayCastInterpolateImageFunction() [1/2]

template<class TInputImage , class TCoordRep = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::AdvancedRayCastInterpolateImageFunction ( )
protected

Constructor.

◆ ~AdvancedRayCastInterpolateImageFunction()

template<class TInputImage , class TCoordRep = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::~AdvancedRayCastInterpolateImageFunction ( )
inlineoverrideprotected

Destructor.

Definition at line 194 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ AdvancedRayCastInterpolateImageFunction() [2/2]

template<class TInputImage , class TCoordRep = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::AdvancedRayCastInterpolateImageFunction ( const Self )
private

Member Function Documentation

◆ Evaluate()

template<class TInputImage , class TCoordRep = double>
OutputType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::Evaluate ( const PointType point) const
override

Interpolate the image at a point position.

Returns the interpolated image intensity at a specified point position. No bounds checking is done. The point is assume to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

◆ EvaluateAtContinuousIndex()

template<class TInputImage , class TCoordRep = double>
OutputType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType index) const
override

Interpolate the image at a continuous index position

Returns the interpolated image intensity at a specified index position. No bounds checking is done. The point is assume to lie within the image buffer.

Subclasses must override this method.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

◆ GetClassName()

template<class TInputImage , class TCoordRep = double>
virtual const char * itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented in elastix::RayCastInterpolator< TElastix >, and elastix::RayCastResampleInterpolator< TElastix >.

◆ GetFocalPoint()

template<class TInputImage , class TCoordRep = double>
virtual InputPointType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::GetFocalPoint ( ) const
virtual

Get a pointer to the Interpolator.

◆ GetRadius()

template<class TInputImage , class TCoordRep = double>
SizeType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::GetRadius ( ) const
inlineoverrideprivate

◆ GetThreshold()

template<class TInputImage , class TCoordRep = double>
virtual double itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::GetThreshold ( ) const
virtual

Get a pointer to the Transform.

◆ IsInsideBuffer() [1/3]

template<class TInputImage , class TCoordRep = double>
bool itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::IsInsideBuffer ( const ContinuousIndexType ) const
inlineoverride

◆ IsInsideBuffer() [2/3]

template<class TInputImage , class TCoordRep = double>
bool itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::IsInsideBuffer ( const IndexType ) const
inlineoverride

◆ IsInsideBuffer() [3/3]

template<class TInputImage , class TCoordRep = double>
bool itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::IsInsideBuffer ( const PointType ) const
inlineoverride

Check if a point is inside the image buffer.

Warning
For efficiency, no validity checking of the input image pointer is done.

Definition at line 170 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ itkGetModifiableObjectMacro() [1/2]

template<class TInputImage , class TCoordRep = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::itkGetModifiableObjectMacro ( Interpolator  ,
InterpolatorType   
)

Get a pointer to the Interpolator.

◆ itkGetModifiableObjectMacro() [2/2]

template<class TInputImage , class TCoordRep = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::itkGetModifiableObjectMacro ( Transform  ,
TransformType   
)

Get a pointer to the Transform.

◆ itkStaticConstMacro() [1/2]

template<class TInputImage , class TCoordRep = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ( ImageDimension  ,
unsigned int  ,
Superclass::ImageDimension   
)

Dimension underlying input image.

◆ itkStaticConstMacro() [2/2]

template<class TInputImage , class TCoordRep = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ( InputImageDimension  ,
unsigned int  ,
TInputImage::ImageDimension   
)

Constants for the image dimensions

◆ New()

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

Method for creation through the object factory.

◆ operator=()

template<class TInputImage , class TCoordRep = double>
void itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::operator= ( const Self )
private

◆ PrintSelf()

template<class TInputImage , class TCoordRep = double>
void itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected

Print the object.

◆ SetFocalPoint()

template<class TInputImage , class TCoordRep = double>
virtual void itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::SetFocalPoint ( InputPointType  _arg)
virtual

Connect the Interpolator.

◆ SetInterpolator()

template<class TInputImage , class TCoordRep = double>
virtual void itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::SetInterpolator ( InterpolatorType _arg)
virtual

Connect the Interpolator.

◆ SetThreshold()

template<class TInputImage , class TCoordRep = double>
virtual void itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::SetThreshold ( double  _arg)
virtual

Connect the Transform.

◆ SetTransform()

template<class TInputImage , class TCoordRep = double>
virtual void itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::SetTransform ( TransformType _arg)
virtual

Connect the Transform.

Field Documentation

◆ m_FocalPoint

template<class TInputImage , class TCoordRep = double>
InputPointType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::m_FocalPoint
protected

The focal point or position of the ray source.

Definition at line 203 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ m_Interpolator

template<class TInputImage , class TCoordRep = double>
InterpolatorPointer itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::m_Interpolator
protected

Pointer to the interpolator.

Definition at line 209 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ m_Threshold

template<class TInputImage , class TCoordRep = double>
double itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::m_Threshold
protected

The threshold above which voxels along the ray path are integrated.

Definition at line 206 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ m_Transform

template<class TInputImage , class TCoordRep = double>
TransformPointer itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordRep >::m_Transform
protected

Transformation used to calculate the new focal point position.

Definition at line 200 of file itkAdvancedRayCastInterpolateImageFunction.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo