Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::ModelFitInfoSignalGenerationFunctor Class Reference

#include <mitkModelFitInfoSignalGenerationFunctor.h>

Inheritance diagram for mitk::ModelFitInfoSignalGenerationFunctor:
Collaboration diagram for mitk::ModelFitInfoSignalGenerationFunctor:

Public Types

typedef ModelFitInfoSignalGenerationFunctor Self
 
typedef ModelBasedValueFunctorBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef std::vector< std::string > ParameterNamesType
 
typedef ModelBase::ModelResultType SignalType
 
typedef itk::Array< ModelBase::ParameterValueTypeModelParametersType
 
- Public Types inherited from mitk::ModelBasedValueFunctorBase
typedef ModelBasedValueFunctorBase Self
 
typedef IndexedValueFunctorBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::InputImagePixelType InputImagePixelType
 
typedef Superclass::InputPixelVectorType InputPixelVectorType
 
typedef Superclass::OutputPixelVectorType OutputPixelVectorType
 
typedef Superclass::IndexType IndexType
 
typedef itk::Array< double > GridArrayType
 
- Public Types inherited from mitk::IndexedValueFunctorBase
typedef IndexedValueFunctorBase Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef ScalarType InputImagePixelType
 
typedef std::vector< InputImagePixelTypeInputPixelVectorType
 
typedef std::vector< InputImagePixelTypeOutputPixelVectorType
 
typedef itk::Array< double > GridArrayType
 
typedef itk::Index< 3 > IndexType
 

Public Member Functions

virtual const char * GetClassName () const
 
virtual void SetModelParameterizer (const ModelParameterizerBase *_arg)
 
virtual const ModelParameterizerBaseGetModelParameterizer ()
 
virtual void SetFitInfo (const mitk::modelFit::ModelFitInfo *_arg)
 
virtual const mitk::modelFit::ModelFitInfoGetFitInfo ()
 
IndexedValueFunctorBase::OutputPixelVectorType Compute (const InputPixelVectorType &value, const IndexType &currentIndex) const override
 
virtual IndexedValueFunctorBase::OutputPixelVectorType Compute (const IndexType &currentIndex) const
 
unsigned int GetNumberOfOutputs () const override
 
GridArrayType GetGrid () const override
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

virtual ModelBase::ParametersType CompileModelParameters (const IndexType &currentIndex, const ModelBase *model) const
 
 ModelFitInfoSignalGenerationFunctor ()
 
 ~ModelFitInfoSignalGenerationFunctor () override
 
- Protected Member Functions inherited from mitk::ModelBasedValueFunctorBase
 ModelBasedValueFunctorBase ()
 
 ~ModelBasedValueFunctorBase () override
 
- Protected Member Functions inherited from mitk::IndexedValueFunctorBase
 IndexedValueFunctorBase ()
 
 ~IndexedValueFunctorBase () override
 

Detailed Description

Functor class that can be used to generate a model signal for each index. This class is similar to ModelDataGenerationFunctor. But instead of using the passed input value as model parameters in the compute function, the model fit info is used to deduce the parameters based on the index. The time grid and the parameterized model are provided by the model parameterizer. This this functor will generate a signal for each index position and return the signal as output.

Definition at line 34 of file mitkModelFitInfoSignalGenerationFunctor.h.

Member Typedef Documentation

◆ ConstPointer

◆ ModelParametersType

◆ ParameterNamesType

◆ Pointer

◆ Self

◆ SignalType

◆ Superclass

Constructor & Destructor Documentation

◆ ModelFitInfoSignalGenerationFunctor()

mitk::ModelFitInfoSignalGenerationFunctor::ModelFitInfoSignalGenerationFunctor ( )
protected

◆ ~ModelFitInfoSignalGenerationFunctor()

mitk::ModelFitInfoSignalGenerationFunctor::~ModelFitInfoSignalGenerationFunctor ( )
overrideprotected

Member Function Documentation

◆ CompileModelParameters()

virtual ModelBase::ParametersType mitk::ModelFitInfoSignalGenerationFunctor::CompileModelParameters ( const IndexType currentIndex,
const ModelBase model 
) const
protectedvirtual

Method is called by Compute() to specify the parameters used to generate the model signal for the current index. The default implementation just extracts the parameters out of the model fit info and maps it into the result vector. Reimplement the method to change this behavior.

◆ Compute() [1/2]

virtual IndexedValueFunctorBase::OutputPixelVectorType mitk::ModelFitInfoSignalGenerationFunctor::Compute ( const IndexType currentIndex) const
virtual

Convenient overload because this functor does not need the value

◆ Compute() [2/2]

IndexedValueFunctorBase::OutputPixelVectorType mitk::ModelFitInfoSignalGenerationFunctor::Compute ( const InputPixelVectorType value,
const IndexType currentIndex 
) const
overridevirtual

◆ GetClassName()

virtual const char* mitk::ModelFitInfoSignalGenerationFunctor::GetClassName ( ) const
virtual

Reimplemented from mitk::ModelBasedValueFunctorBase.

◆ GetFitInfo()

virtual const mitk::modelFit::ModelFitInfo* mitk::ModelFitInfoSignalGenerationFunctor::GetFitInfo ( )
virtual

◆ GetGrid()

GridArrayType mitk::ModelFitInfoSignalGenerationFunctor::GetGrid ( ) const
overridevirtual

◆ GetModelParameterizer()

virtual const ModelParameterizerBase* mitk::ModelFitInfoSignalGenerationFunctor::GetModelParameterizer ( )
virtual

◆ GetNumberOfOutputs()

unsigned int mitk::ModelFitInfoSignalGenerationFunctor::GetNumberOfOutputs ( ) const
overridevirtual

◆ New()

static Pointer mitk::ModelFitInfoSignalGenerationFunctor::New ( )
static

◆ SetFitInfo()

virtual void mitk::ModelFitInfoSignalGenerationFunctor::SetFitInfo ( const mitk::modelFit::ModelFitInfo _arg)
virtual

◆ SetModelParameterizer()

virtual void mitk::ModelFitInfoSignalGenerationFunctor::SetModelParameterizer ( const ModelParameterizerBase _arg)
virtual

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