ANIMA
4.0
|
#include <animaMCMLinearInterpolateImageFunction.h>
Public Types | |
typedef AveragerType::Pointer | AveragerPointer |
typedef anima::MCMWeightedAverager | AveragerType |
typedef itk::SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
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 () |
Definition at line 12 of file animaMCMLinearInterpolateImageFunction.h.
typedef AveragerType::Pointer anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::AveragerPointer |
Definition at line 52 of file animaMCMLinearInterpolateImageFunction.h.
typedef anima::MCMWeightedAverager anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::AveragerType |
Definition at line 51 of file animaMCMLinearInterpolateImageFunction.h.
typedef itk::SmartPointer<const Self> anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::ConstPointer |
Definition at line 20 of file animaMCMLinearInterpolateImageFunction.h.
typedef Superclass::ContinuousIndexType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::ContinuousIndexType |
ContinuousIndex typedef support.
Definition at line 43 of file animaMCMLinearInterpolateImageFunction.h.
typedef Superclass::IndexType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::IndexType |
Index typedef support.
Definition at line 39 of file animaMCMLinearInterpolateImageFunction.h.
typedef Superclass::IndexValueType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::IndexValueType |
Definition at line 40 of file animaMCMLinearInterpolateImageFunction.h.
typedef Superclass::InputImageType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::InputImageType |
InputImageType typedef support.
Definition at line 30 of file animaMCMLinearInterpolateImageFunction.h.
typedef MCModelType::Pointer anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::MCModelPointer |
Definition at line 49 of file animaMCMLinearInterpolateImageFunction.h.
typedef anima::MultiCompartmentModel anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::MCModelType |
Definition at line 48 of file animaMCMLinearInterpolateImageFunction.h.
typedef Superclass::OutputType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::OutputType |
Definition at line 45 of file animaMCMLinearInterpolateImageFunction.h.
typedef TInputImage::PixelType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::PixelType |
Definition at line 31 of file animaMCMLinearInterpolateImageFunction.h.
typedef itk::SmartPointer<Self> anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::Pointer |
Definition at line 19 of file animaMCMLinearInterpolateImageFunction.h.
typedef Superclass::RealType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::RealType |
Definition at line 32 of file animaMCMLinearInterpolateImageFunction.h.
typedef MCMLinearInterpolateImageFunction anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::Self |
Standard class typedefs.
Definition at line 17 of file animaMCMLinearInterpolateImageFunction.h.
typedef Superclass::SizeType anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SizeType |
Definition at line 33 of file animaMCMLinearInterpolateImageFunction.h.
typedef itk::InterpolateImageFunction<TInputImage,TCoordRep> anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::Superclass |
Definition at line 18 of file animaMCMLinearInterpolateImageFunction.h.
|
protected |
Constructor
Definition at line 22 of file animaMCMLinearInterpolateImageFunction.hxx.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetInputImage().
Referenced by anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::GetRadius(), and anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetSpecificAveragerParameters().
|
inlineprotectedvirtual |
Definition at line 77 of file animaMCMLinearInterpolateImageFunction.h.
|
protectedvirtual |
Check if model can actually be interpolated.
Definition at line 84 of file animaMCMLinearInterpolateImageFunction.hxx.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::TestModelsAdequation().
Referenced by anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::isZero(), and anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::ResetAveragePointers().
virtual::itk::LightObject::Pointer anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::CreateAnother | ( | void | ) | 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().
|
inline |
Definition at line 68 of file animaMCMLinearInterpolateImageFunction.h.
|
protected |
Definition at line 125 of file animaMCMLinearInterpolateImageFunction.hxx.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::UnlockWorkIndex().
Referenced by anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetSpecificAveragerParameters(), and anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::TestModelsAdequation().
|
virtual |
Run-time type information (and related methods).
|
inlineoverride |
Definition at line 70 of file animaMCMLinearInterpolateImageFunction.h.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::MCMLinearInterpolateImageFunction().
|
inlineprotected |
Definition at line 79 of file animaMCMLinearInterpolateImageFunction.h.
|
inlineprotected |
Definition at line 91 of file animaMCMLinearInterpolateImageFunction.h.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::CheckModelCompatibility(), anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::ResetAveragePointers(), and anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::TestModelsAdequation().
|
static |
Method for creation through the object factory.
Referenced by main().
|
protectedvirtual |
Resets averager pointers, can be overloaded to handle more models.
Definition at line 69 of file animaMCMLinearInterpolateImageFunction.hxx.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::CheckModelCompatibility().
Referenced by anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::isZero(), and anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetReferenceOutputModel().
|
virtual |
void anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetReferenceOutputModel | ( | MCModelPointer & | model | ) |
Definition at line 58 of file animaMCMLinearInterpolateImageFunction.hxx.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::ResetAveragePointers().
Referenced by main(), and anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetInputImage().
|
inlineprotectedvirtual |
Sets averager specific parameters if sub-classes are derived.
Definition at line 107 of file animaMCMLinearInterpolateImageFunction.h.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::GetFreeWorkIndex(), anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::MCMLinearInterpolateImageFunction(), and anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::UnlockWorkIndex().
|
protected |
Tests if input and output models of the interpolator are compatible.
Definition at line 96 of file animaMCMLinearInterpolateImageFunction.hxx.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::GetFreeWorkIndex().
Referenced by anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::CheckModelCompatibility(), and anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::isZero().
|
protected |
Definition at line 157 of file animaMCMLinearInterpolateImageFunction.hxx.
References anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex().
Referenced by anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::GetFreeWorkIndex(), and anima::MCMLinearInterpolateImageFunction< TInputImage, TCoordRep >::SetSpecificAveragerParameters().
|
static |
Dimension underlying input image.
Definition at line 36 of file animaMCMLinearInterpolateImageFunction.h.