go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Loading...
Searching...
No Matches
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate > Class Template Reference

#include <itkAdvancedRayCastInterpolateImageFunction.h>

Detailed Description

template<typename TInputImage, typename TCoordinate = double>
class itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >

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, TCoordinate >:

Public Types

using ConstPointer = SmartPointer<const Self>
using DirectionType = Vector<TCoordinate, InputImageDimension>
using InputPointType = typename TransformType::InputPointType
using InterpolatorPointer = typename InterpolatorType::Pointer
using InterpolatorType = InterpolateImageFunction<TInputImage, TCoordinate>
using OutputPointType = typename TransformType::OutputPointType
using Pointer = SmartPointer<Self>
using Self = AdvancedRayCastInterpolateImageFunction
using SizeType = typename TInputImage::SizeType
using Superclass = InterpolateImageFunction<TInputImage, TCoordinate>
using TransformJacobianType = typename TransformType::JacobianType
using TransformParametersType = typename TransformType::ParametersType
using TransformPointer = typename TransformType::Pointer
using TransformType = Transform<TCoordinate, InputImageDimension, InputImageDimension>

Public Member Functions

OutputType Evaluate (const PointType &point) const override
OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override
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
 ITK_DISALLOW_COPY_AND_MOVE (AdvancedRayCastInterpolateImageFunction)
 itkGetModifiableObjectMacro (Interpolator, InterpolatorType)
 itkGetModifiableObjectMacro (Transform, TransformType)
 itkOverrideGetNameOfClassMacro (AdvancedRayCastInterpolateImageFunction)
 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 ()=default
void PrintSelf (std::ostream &os, Indent indent) const override
 ~AdvancedRayCastInterpolateImageFunction () override=default

Protected Attributes

InputPointType m_FocalPoint {}
InterpolatorPointer m_Interpolator {}
double m_Threshold { 0.0 }
TransformPointer m_Transform {}

Private Member Functions

SizeType GetRadius () const override

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::ConstPointer = SmartPointer<const Self>

Definition at line 66 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ DirectionType

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::DirectionType = Vector<TCoordinate, InputImageDimension>

Definition at line 87 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ InputPointType

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::InputPointType = typename TransformType::InputPointType

Definition at line 78 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ InterpolatorPointer

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::InterpolatorPointer = typename InterpolatorType::Pointer

Definition at line 92 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ InterpolatorType

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::InterpolatorType = InterpolateImageFunction<TInputImage, TCoordinate>

Type of the Interpolator Base class

Definition at line 90 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ OutputPointType

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::OutputPointType = typename TransformType::OutputPointType

Definition at line 79 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ Pointer

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::Pointer = SmartPointer<Self>

Definition at line 65 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ Self

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::Self = AdvancedRayCastInterpolateImageFunction

Standard class typedefs.

Definition at line 63 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ SizeType

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::SizeType = typename TInputImage::SizeType

Definition at line 85 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ Superclass

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::Superclass = InterpolateImageFunction<TInputImage, TCoordinate>

Definition at line 64 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ TransformJacobianType

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::TransformJacobianType = typename TransformType::JacobianType

Definition at line 81 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ TransformParametersType

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::TransformParametersType = typename TransformType::ParametersType

Definition at line 80 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ TransformPointer

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::TransformPointer = typename TransformType::Pointer

Definition at line 77 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ TransformType

template<typename TInputImage, typename TCoordinate = double>
using itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::TransformType = Transform<TCoordinate, InputImageDimension, InputImageDimension>

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()

template<typename TInputImage, typename TCoordinate = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::AdvancedRayCastInterpolateImageFunction ( )
protecteddefault

Constructor.

◆ ~AdvancedRayCastInterpolateImageFunction()

template<typename TInputImage, typename TCoordinate = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::~AdvancedRayCastInterpolateImageFunction ( )
overrideprotecteddefault

Destructor.

Member Function Documentation

◆ Evaluate()

template<typename TInputImage, typename TCoordinate = double>
OutputType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::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<typename TInputImage, typename TCoordinate = double>
OutputType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::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.

◆ GetFocalPoint()

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

Get a pointer to the Interpolator.

◆ GetRadius()

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

◆ GetThreshold()

template<typename TInputImage, typename TCoordinate = double>
virtual double itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::GetThreshold ( ) const
virtual

Get a pointer to the Transform.

◆ IsInsideBuffer() [1/3]

template<typename TInputImage, typename TCoordinate = double>
bool itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::IsInsideBuffer ( const ContinuousIndexType & ) const
inlineoverride

◆ IsInsideBuffer() [2/3]

template<typename TInputImage, typename TCoordinate = double>
bool itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::IsInsideBuffer ( const IndexType & ) const
inlineoverride

◆ IsInsideBuffer() [3/3]

template<typename TInputImage, typename TCoordinate = double>
bool itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::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 172 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ ITK_DISALLOW_COPY_AND_MOVE()

template<typename TInputImage, typename TCoordinate = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::ITK_DISALLOW_COPY_AND_MOVE ( AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate > )

◆ itkGetModifiableObjectMacro() [1/2]

template<typename TInputImage, typename TCoordinate = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::itkGetModifiableObjectMacro ( Interpolator ,
InterpolatorType  )

Get a pointer to the Interpolator.

◆ itkGetModifiableObjectMacro() [2/2]

template<typename TInputImage, typename TCoordinate = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::itkGetModifiableObjectMacro ( Transform ,
TransformType  )

Get a pointer to the Transform.

◆ itkOverrideGetNameOfClassMacro()

template<typename TInputImage, typename TCoordinate = double>
itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::itkOverrideGetNameOfClassMacro ( AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate > )

Run-time type information (and related methods).

◆ itkStaticConstMacro() [1/2]

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

Dimension underlying input image.

◆ itkStaticConstMacro() [2/2]

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

Constants for the image dimensions

◆ New()

template<typename TInputImage, typename TCoordinate = double>
Pointer itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

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

Print the object.

◆ SetFocalPoint()

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

Connect the Interpolator.

◆ SetInterpolator()

template<typename TInputImage, typename TCoordinate = double>
virtual void itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::SetInterpolator ( InterpolatorType * _arg)
virtual

Connect the Interpolator.

◆ SetThreshold()

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

Connect the Transform.

◆ SetTransform()

template<typename TInputImage, typename TCoordinate = double>
virtual void itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::SetTransform ( TransformType * _arg)
virtual

Connect the Transform.

Member Data Documentation

◆ m_FocalPoint

template<typename TInputImage, typename TCoordinate = double>
InputPointType itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::m_FocalPoint {}
protected

The focal point or position of the ray source.

Definition at line 207 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ m_Interpolator

template<typename TInputImage, typename TCoordinate = double>
InterpolatorPointer itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::m_Interpolator {}
protected

Pointer to the interpolator.

Definition at line 213 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ m_Threshold

template<typename TInputImage, typename TCoordinate = double>
double itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::m_Threshold { 0.0 }
protected

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

Definition at line 210 of file itkAdvancedRayCastInterpolateImageFunction.h.

◆ m_Transform

template<typename TInputImage, typename TCoordinate = double>
TransformPointer itk::AdvancedRayCastInterpolateImageFunction< TInputImage, TCoordinate >::m_Transform {}
protected

Transformation used to calculate the new focal point position.

Definition at line 204 of file itkAdvancedRayCastInterpolateImageFunction.h.



Generated on 1774142652 for elastix by doxygen 1.15.0 elastix logo