ANIMA  4.0
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep > Class Template Reference

#include <animaMCMLinearInterpolateImageFunction.h>

+ Inheritance diagram for anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >:
+ Collaboration diagram for anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >:

Public Types

typedef AveragerType::Pointer AveragerPointer
 
typedef anima::MCMWeightedAverager AveragerType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::ContinuousIndexType ContinuousIndexType
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::IndexValueType IndexValueType
 
typedef Superclass::InputImageType InputImageType
 
typedef MCModelType::Pointer MCModelPointer
 
typedef anima::MultiCompartmentModel MCModelType
 
typedef Superclass::OutputType OutputType
 
typedef TInputImage::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef MCMLinearInterpolateImageFunction Self
 
typedef Superclass::SizeType SizeType
 
typedef itk::InterpolateImageFunction< TInputImage, TCoordRep > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const ITK_OVERRIDE
 
std::vector< AveragerPointer > & GetAveragers () const
 
virtual const char * GetNameOfClass () const
 
SizeType GetRadius () const override
 
virtual void SetInputImage (const InputImageType *ptr) ITK_OVERRIDE
 
void SetReferenceOutputModel (MCModelPointer &model)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = Superclass::ImageDimension
 

Protected Member Functions

virtual bool CheckModelCompatibility (MCModelPointer &model)
 Check if model can actually be interpolated. More...
 
unsigned int GetFreeWorkIndex () const
 
template<class T >
bool isZero (const itk::VariableLengthVector< T > &value) const
 
template<class T >
bool isZero (T &data) const
 
 MCMLinearInterpolateImageFunction ()
 
virtual void ResetAveragePointers (MCModelPointer &model)
 Resets averager pointers, can be overloaded to handle more models. More...
 
virtual void SetSpecificAveragerParameters (unsigned int threadIndex) const
 Sets averager specific parameters if sub-classes are derived. More...
 
void TestModelsAdequation (MCModelPointer &inputModel, MCModelPointer &outputModel)
 Tests if input and output models of the interpolator are compatible. More...
 
void UnlockWorkIndex (unsigned int index) const
 
virtual ~MCMLinearInterpolateImageFunction ()
 

Detailed Description

template<class TInputImage, class TCoordRep = double>
class anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >

Definition at line 12 of file animaMCMLinearInterpolateImageFunction.h.

Member Typedef Documentation

◆ AveragerPointer

template<class TInputImage, class TCoordRep = double>
typedef AveragerType::Pointer anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::AveragerPointer

Definition at line 52 of file animaMCMLinearInterpolateImageFunction.h.

◆ AveragerType

template<class TInputImage, class TCoordRep = double>
typedef anima::MCMWeightedAverager anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::AveragerType

Definition at line 51 of file animaMCMLinearInterpolateImageFunction.h.

◆ ConstPointer

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

Definition at line 20 of file animaMCMLinearInterpolateImageFunction.h.

◆ ContinuousIndexType

template<class TInputImage, class TCoordRep = double>
typedef Superclass::ContinuousIndexType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::ContinuousIndexType

ContinuousIndex typedef support.

Definition at line 43 of file animaMCMLinearInterpolateImageFunction.h.

◆ IndexType

template<class TInputImage, class TCoordRep = double>
typedef Superclass::IndexType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::IndexType

Index typedef support.

Definition at line 39 of file animaMCMLinearInterpolateImageFunction.h.

◆ IndexValueType

template<class TInputImage, class TCoordRep = double>
typedef Superclass::IndexValueType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::IndexValueType

Definition at line 40 of file animaMCMLinearInterpolateImageFunction.h.

◆ InputImageType

template<class TInputImage, class TCoordRep = double>
typedef Superclass::InputImageType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::InputImageType

InputImageType typedef support.

Definition at line 30 of file animaMCMLinearInterpolateImageFunction.h.

◆ MCModelPointer

template<class TInputImage, class TCoordRep = double>
typedef MCModelType::Pointer anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::MCModelPointer

Definition at line 49 of file animaMCMLinearInterpolateImageFunction.h.

◆ MCModelType

template<class TInputImage, class TCoordRep = double>
typedef anima::MultiCompartmentModel anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::MCModelType

Definition at line 48 of file animaMCMLinearInterpolateImageFunction.h.

◆ OutputType

template<class TInputImage, class TCoordRep = double>
typedef Superclass::OutputType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::OutputType

Definition at line 45 of file animaMCMLinearInterpolateImageFunction.h.

◆ PixelType

template<class TInputImage, class TCoordRep = double>
typedef TInputImage::PixelType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::PixelType

Definition at line 31 of file animaMCMLinearInterpolateImageFunction.h.

◆ Pointer

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

Definition at line 19 of file animaMCMLinearInterpolateImageFunction.h.

◆ RealType

template<class TInputImage, class TCoordRep = double>
typedef Superclass::RealType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::RealType

Definition at line 32 of file animaMCMLinearInterpolateImageFunction.h.

◆ Self

template<class TInputImage, class TCoordRep = double>
typedef MCMLinearInterpolateImageFunction anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::Self

Standard class typedefs.

Definition at line 17 of file animaMCMLinearInterpolateImageFunction.h.

◆ SizeType

template<class TInputImage, class TCoordRep = double>
typedef Superclass::SizeType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SizeType

Definition at line 33 of file animaMCMLinearInterpolateImageFunction.h.

◆ Superclass

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

Definition at line 18 of file animaMCMLinearInterpolateImageFunction.h.

Constructor & Destructor Documentation

◆ MCMLinearInterpolateImageFunction()

template<class TInputImage , class TCoordRep >
anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::MCMLinearInterpolateImageFunction ( )
protected

◆ ~MCMLinearInterpolateImageFunction()

template<class TInputImage, class TCoordRep = double>
virtual anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::~MCMLinearInterpolateImageFunction ( )
inlineprotectedvirtual

Definition at line 77 of file animaMCMLinearInterpolateImageFunction.h.

Member Function Documentation

◆ CheckModelCompatibility()

template<class TInputImage , class TCoordRep >
bool anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::CheckModelCompatibility ( MCModelPointer model)
protectedvirtual

◆ CreateAnother()

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

◆ EvaluateAtContinuousIndex()

template<class TInputImage , class TCoordRep >
MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::OutputType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType index) const
virtual

Evaluate the function at a ContinuousIndex position

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

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

Evaluate at image index position

Definition at line 180 of file animaMCMLinearInterpolateImageFunction.hxx.

Referenced by anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::UnlockWorkIndex().

◆ GetAveragers()

template<class TInputImage, class TCoordRep = double>
std::vector<AveragerPointer>& anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::GetAveragers ( ) const
inline

Definition at line 68 of file animaMCMLinearInterpolateImageFunction.h.

◆ GetFreeWorkIndex()

template<class TInputImage , class TCoordRep >
unsigned int anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::GetFreeWorkIndex ( ) const
protected

◆ GetNameOfClass()

template<class TInputImage, class TCoordRep = double>
virtual const char* anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetRadius()

template<class TInputImage, class TCoordRep = double>
SizeType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::GetRadius ( ) const
inlineoverride

◆ isZero() [1/2]

template<class TInputImage, class TCoordRep = double>
template<class T >
bool anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::isZero ( const itk::VariableLengthVector< T > &  value) const
inlineprotected

Definition at line 79 of file animaMCMLinearInterpolateImageFunction.h.

◆ isZero() [2/2]

template<class TInputImage, class TCoordRep = double>
template<class T >
bool anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::isZero ( T &  data) const
inlineprotected

◆ New()

template<class TInputImage, class TCoordRep = double>
static Pointer anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::New ( )
static

Method for creation through the object factory.

Referenced by main().

◆ ResetAveragePointers()

template<class TInputImage , class TCoordRep >
void anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::ResetAveragePointers ( MCModelPointer model)
protectedvirtual

◆ SetInputImage()

template<class TInputImage , class TCoordRep >
void anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetInputImage ( const InputImageType ptr)
virtual

◆ SetReferenceOutputModel()

template<class TInputImage , class TCoordRep >
void anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetReferenceOutputModel ( MCModelPointer model)

◆ SetSpecificAveragerParameters()

template<class TInputImage, class TCoordRep = double>
virtual void anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetSpecificAveragerParameters ( unsigned int  threadIndex) const
inlineprotectedvirtual

◆ TestModelsAdequation()

template<class TInputImage , class TCoordRep >
void anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::TestModelsAdequation ( MCModelPointer inputModel,
MCModelPointer outputModel 
)
protected

◆ UnlockWorkIndex()

template<class TInputImage , class TCoordRep >
void anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::UnlockWorkIndex ( unsigned int  index) const
protected

Member Data Documentation

◆ ImageDimension

template<class TInputImage, class TCoordRep = double>
const unsigned int anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::ImageDimension = Superclass::ImageDimension
static

Dimension underlying input image.

Definition at line 36 of file animaMCMLinearInterpolateImageFunction.h.


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