Public Member Functions | List of all members
mirtk::GenericConstExtrapolateImageFunction< TImage > Class Template Reference

#include <ConstExtrapolateImageFunction.h>

Inheritance diagram for mirtk::GenericConstExtrapolateImageFunction< TImage >:
Inheritance graph
Collaboration diagram for mirtk::GenericConstExtrapolateImageFunction< TImage >:
Collaboration graph

Public Member Functions

 GenericConstExtrapolateImageFunction (double padding_value=.0)
 Default constructor.
 
virtual VoxelType Get (int i, int j, int k=0, int l=0) const
 Get image value at an arbitrary discrete image location.
 
virtual ~GenericConstExtrapolateImageFunction ()
 Destructor.
 
- Public Member Functions inherited from mirtk::GenericExtrapolateImageFunction< TImage >
VoxelType Get (int) const
 Get image value at an arbitrary discrete image location.
 
double GetAsDouble (int, int, int=0, int=0) const
 Get scalar image value at an arbitrary discrete image location.
 
void GetAsVector (Vector &, int, int, int=0, int=0) const
 Get vector image value at an arbitrary discrete image location.
 
virtual void Initialize ()
 Initialize image function.
 
virtual void Input (const BaseImage *)
 Set input image.
 
const ImageTypeInput () const
 Get input image.
 
VoxelType operator() (int) const
 Get image value at an arbitrary discrete image location.
 
VoxelType operator() (int, int, int=0, int=0) const
 Get image value at an arbitrary discrete image location.
 
virtual ~GenericExtrapolateImageFunction ()
 Destructor.
 
- Public Member Functions inherited from mirtk::ExtrapolateImageFunction
const ImageAttributesAttributes () const
 Attributes of input image.
 
double Evaluate (double, double, double=0, double=0) const
 Get scalar image value at the nearest discrete image location.
 
virtual double Evaluate (double, double, double=0, double=0)
 Get scalar image value at the nearest discrete image location.
 
virtual enum ExtrapolationMode ExtrapolationMode () const =0
 Get extrapolation mode corresponding to this extrapolator.
 
double GetAsDouble (int) const
 Get scalar image value at an arbitrary discrete image location.
 
Vector GetAsVector (int) const
 Get vector image value at an arbitrary discrete image location.
 
Vector GetAsVector (int, int, int=0, int=0) const
 Get vector image value at an arbitrary discrete image location.
 
void GetAsVector (Vector &, int) const
 Get vector image value at an arbitrary discrete image location.
 
virtual bool IsForeground (int, int, int=0, int=0) const
 
int N () const
 Number of vector components per image voxel.
 
int T () const
 Size of input image in t dimension.
 
double TSize () const
 Voxel size of input image in t dimension.
 
int X () const
 Size of input image in x dimension.
 
double XSize () const
 Voxel size of input image in x dimension.
 
int Y () const
 Size of input image in y dimension.
 
double YSize () const
 Voxel size of input image in y dimension.
 
int Z () const
 Size of input image in z dimension.
 
double ZSize () const
 Voxel size of input image in z dimension.
 
virtual ~ExtrapolateImageFunction ()
 Destructor.
 
- Public Member Functions inherited from mirtk::ImageFunction
virtual ~ImageFunction ()
 Destructor.
 
- Public Member Functions inherited from mirtk::Object
virtual const char * NameOfClass () const =0
 Get name of class, which this object is an instance of.
 
virtual ParameterList Parameter () const
 Get parameter name/value pairs.
 
bool Parameter (const ParameterList &)
 Set parameters from name/value pairs.
 
virtual bool Set (const char *name, const char *value)
 
virtual ~Object ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from mirtk::GenericExtrapolateImageFunction< TImage >
typedef TImage ImageType
 Input image type.
 
typedef ImageType::RealType RealType
 Compatible floating-point type.
 
typedef ImageType::VoxelType VoxelType
 Input voxel type.
 
- Static Public Member Functions inherited from mirtk::GenericExtrapolateImageFunction< TImage >
static GenericExtrapolateImageFunctionNew (enum ExtrapolationMode, const TImage *=NULL)
 Construct extrapolator or return NULL if mode is Extrapolation_None.
 
- Static Public Member Functions inherited from mirtk::ExtrapolateImageFunction
static ExtrapolateImageFunctionNew (ExtrapolationMode mode, const BaseImage *=NULL)
 Construct extrapolator or return NULL if mode is Extrapolation_None.
 
- Static Public Member Functions inherited from mirtk::Object
static const char * NameOfType ()
 Get name of this class type.
 
- Protected Member Functions inherited from mirtk::GenericExtrapolateImageFunction< TImage >
 GenericExtrapolateImageFunction ()
 Default constructor.
 
- Protected Member Functions inherited from mirtk::ExtrapolateImageFunction
 ExtrapolateImageFunction ()
 Default constructor.
 
- Protected Member Functions inherited from mirtk::ImageFunction
 ImageFunction ()
 Default constructor.
 
 ImageFunction (const ImageFunction &)
 Copy constructor.
 
- Protected Member Functions inherited from mirtk::Object
template<typename... Args>
void Throw (ErrorType err, const char *func, Args... args) const
 
- Static Protected Member Functions inherited from mirtk::Object
template<typename... Args>
static void ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args)
 

Detailed Description

template<class TImage>
class mirtk::GenericConstExtrapolateImageFunction< TImage >

Constant extrapolation (i.e., padding) of generic image

This discrete image extrapolation function assumes a constant image value for image grid points outside the discrete domain on which the discrete image function is defined.

Definition at line 40 of file ConstExtrapolateImageFunction.h.


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