#include <ImageFunction.h>
Public Member Functions | |
virtual double | Evaluate (double, double, double, double=0) const =0 |
Evaluate the filter at an arbitrary image location (in pixels) | |
virtual void | Initialize () |
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. | |
Protected Member Functions | |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from mirtk::Object | |
static const char * | NameOfType () |
Get name of this class type. | |
Static Protected Member Functions inherited from mirtk::Object | |
template<typename... Args> | |
static void | ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args) |
Abstract base class for any general image interpolation function filter.
This is the abstract base class which defines a common interface for all filters which take an image as input and sample that image at arbitrary location. Each derived class has to implement all abstract member functions.
Definition at line 37 of file ImageFunction.h.
|
virtual |
Initialize the filter. This function must be called by any derived filter class to perform some initialize tasks.
Reimplemented in mirtk::IndexExtrapolateImageFunction< TImage >, mirtk::IndexExtrapolateImageFunction< BaseImage >, mirtk::GenericExtrapolateImageFunction< TImage >, mirtk::GenericExtrapolateImageFunction< BaseImage >, and mirtk::InterpolateImageFunction.