Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitk::ImageBasedParameterizationDelegate Class Reference

#include <mitkImageBasedParameterizationDelegate.h>

Inheritance diagram for mitk::ImageBasedParameterizationDelegate:
Collaboration diagram for mitk::ImageBasedParameterizationDelegate:

Public Types

typedef ImageBasedParameterizationDelegate Self
 
typedef ValueBasedParameterizationDelegate Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::ModelBaseType ModelBaseType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::IndexType IndexType
 
- Public Types inherited from mitk::ValueBasedParameterizationDelegate
typedef ValueBasedParameterizationDelegate Self
 
typedef InitialParameterizationDelegateBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::ModelBaseType ModelBaseType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::IndexType IndexType
 
- Public Types inherited from mitk::InitialParameterizationDelegateBase
typedef InitialParameterizationDelegateBase Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef ModelBase ModelBaseType
 
typedef ModelBaseType::ParametersType ParametersType
 
typedef ::itk::Index< 3 > IndexType
 

Public Member Functions

Pointer Clone () const
 
virtual const char * GetClassName () const
 
ParametersType GetInitialParameterization () const override
 
ParametersType GetInitialParameterization (const IndexType &currentPosition) const override
 
void AddInitialParameterImage (const mitk::Image *image, ParametersType::size_type paramIndex)
 
- Public Member Functions inherited from mitk::ValueBasedParameterizationDelegate
Pointer Clone () const
 
void SetInitialParameterization (ParametersType params)
 
ParametersType GetInitialParameterization () const override
 
ParametersType GetInitialParameterization (const IndexType &currentPosition) const override
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from mitk::ValueBasedParameterizationDelegate
static Pointer New ()
 

Protected Types

typedef std::map< ParametersType::size_type, mitk::Image::ConstPointerImageMapType
 

Protected Member Functions

 ImageBasedParameterizationDelegate ()
 
 ~ImageBasedParameterizationDelegate () override
 
- Protected Member Functions inherited from mitk::ValueBasedParameterizationDelegate
 ValueBasedParameterizationDelegate ()
 
 ~ValueBasedParameterizationDelegate () override
 
- Protected Member Functions inherited from mitk::InitialParameterizationDelegateBase
 InitialParameterizationDelegateBase ()
 
 ~InitialParameterizationDelegateBase () override
 

Protected Attributes

ImageMapType m_ParameterImageMap
 
- Protected Attributes inherited from mitk::ValueBasedParameterizationDelegate
ParametersType m_Parameterization
 

Detailed Description

Definition at line 28 of file mitkImageBasedParameterizationDelegate.h.

Member Typedef Documentation

◆ ConstPointer

◆ ImageMapType

typedef std::map<ParametersType::size_type, mitk::Image::ConstPointer> mitk::ImageBasedParameterizationDelegate::ImageMapType
protected

Definition at line 66 of file mitkImageBasedParameterizationDelegate.h.

◆ IndexType

◆ ModelBaseType

◆ ParametersType

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ ImageBasedParameterizationDelegate()

mitk::ImageBasedParameterizationDelegate::ImageBasedParameterizationDelegate ( )
protected

◆ ~ImageBasedParameterizationDelegate()

mitk::ImageBasedParameterizationDelegate::~ImageBasedParameterizationDelegate ( )
overrideprotected

Member Function Documentation

◆ AddInitialParameterImage()

void mitk::ImageBasedParameterizationDelegate::AddInitialParameterImage ( const mitk::Image image,
ParametersType::size_type  paramIndex 
)

Adds an image as a source for the initial value of a parameter.

Parameters
imagePointer to the image that is the value source.
paramIndexIndicates which parameter is defined by the source image. It equals the position in the return vector of GetInitialParameterization().
Remarks
setting an image for an index overwrites the value for this index set by SetInitialParameterization.
Precondition
paramIndex must be in bound of the initial parametrization vector.
image must be a valid instance

◆ Clone()

Pointer mitk::ImageBasedParameterizationDelegate::Clone ( ) const

◆ GetClassName()

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

◆ GetInitialParameterization() [1/2]

ParametersType mitk::ImageBasedParameterizationDelegate::GetInitialParameterization ( ) const
overridevirtual

Returns the parameterization (e.g. initial parametrization for fitting) that should be used. If no ParameterizationDelegate is set (see SetInitialParameterizationDelegate()) it will just return the result of GetInitialParameterization().

Implements mitk::InitialParameterizationDelegateBase.

◆ GetInitialParameterization() [2/2]

ParametersType mitk::ImageBasedParameterizationDelegate::GetInitialParameterization ( const IndexType currentPosition) const
override

◆ New()

static Pointer mitk::ImageBasedParameterizationDelegate::New ( )
static

Method for creation through the object factory.

Member Data Documentation

◆ m_ParameterImageMap

ImageMapType mitk::ImageBasedParameterizationDelegate::m_ParameterImageMap
protected

Definition at line 67 of file mitkImageBasedParameterizationDelegate.h.


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