Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <mitkParameterFitImageGeneratorBase.h>
Public Types | |
using | ParameterImagePixelType = ScalarType |
using | ModelBaseType = ModelBase |
using | ParameterNameType = ModelBaseType::ParameterNameType |
using | ParameterNamesType = ModelBaseType::ParameterNamesType |
using | ParameterImageMapType = std::map< ParameterNameType, Image::Pointer > |
Public Member Functions | |
mitkClassMacroItkParent (ParameterFitImageGeneratorBase, ::itk::Object) | |
virtual double | GetProgress () const =0 |
void | Generate () |
ParameterImageMapType | GetParameterImages () |
ParameterImageMapType | GetDerivedParameterImages () |
ParameterImageMapType | GetCriterionImages () |
ParameterImageMapType | GetEvaluationParameterImages () |
virtual ParameterNamesType | GetParameterNames () const =0 |
virtual ParameterNamesType | GetDerivedParameterNames () const =0 |
virtual ParameterNamesType | GetCriterionNames () const =0 |
virtual ParameterNamesType | GetEvaluationParameterNames () const =0 |
Protected Member Functions | |
ParameterFitImageGeneratorBase () | |
~ParameterFitImageGeneratorBase () override | |
virtual bool | HasOutdatedResult () const |
virtual void | CheckValidInputs () const |
virtual void | DoFitAndGetResults (ParameterImageMapType ¶meterImages, ParameterImageMapType &derivedParameterImages, ParameterImageMapType &criterionImages, ParameterImageMapType &evaluationParameterImages)=0 |
Protected Attributes | |
itk::TimeStamp | m_GenerationTimeStamp |
Base class for generators for parameter fits of a given model. The generators creates 4 types of images:
Definition at line 34 of file mitkParameterFitImageGeneratorBase.h.
Definition at line 41 of file mitkParameterFitImageGeneratorBase.h.
using mitk::ParameterFitImageGeneratorBase::ParameterImageMapType = std::map<ParameterNameType,Image::Pointer> |
Definition at line 45 of file mitkParameterFitImageGeneratorBase.h.
Definition at line 39 of file mitkParameterFitImageGeneratorBase.h.
Definition at line 43 of file mitkParameterFitImageGeneratorBase.h.
Definition at line 42 of file mitkParameterFitImageGeneratorBase.h.
|
inlineprotected |
Definition at line 83 of file mitkParameterFitImageGeneratorBase.h.
|
inlineoverrideprotected |
Definition at line 84 of file mitkParameterFitImageGeneratorBase.h.
|
protectedvirtual |
Check if the fit can be generated and all needed inputs are valid. Throw an exception for a non valid or missing input.
Reimplemented in mitk::PixelBasedParameterFitImageGenerator, and mitk::ROIBasedParameterFitImageGenerator.
|
protectedpure virtual |
Implemented in mitk::PixelBasedParameterFitImageGenerator, and mitk::ROIBasedParameterFitImageGenerator.
void mitk::ParameterFitImageGeneratorBase::Generate | ( | ) |
Commences the model fit over the dynamic image data. Stores the fitted parameter in parameter images. After this method call is finished the parameter images can be retrieved via GetParameterImages.
ParameterImageMapType mitk::ParameterFitImageGeneratorBase::GetCriterionImages | ( | ) |
Returns the generated criterion images. Triggers Generate() if result is outdated.
|
pure virtual |
Returns the names of the criteria, that will be generated. These are also the keys of the related image map.
Implemented in mitk::ROIBasedParameterFitImageGenerator, and mitk::PixelBasedParameterFitImageGenerator.
ParameterImageMapType mitk::ParameterFitImageGeneratorBase::GetDerivedParameterImages | ( | ) |
Returns the generated derived parameter images. Triggers Generate() if result is outdated.
|
pure virtual |
Returns the names of the derived parameters, that will be generated. These are also the keys of the related image map.
Implemented in mitk::ROIBasedParameterFitImageGenerator, and mitk::PixelBasedParameterFitImageGenerator.
ParameterImageMapType mitk::ParameterFitImageGeneratorBase::GetEvaluationParameterImages | ( | ) |
Returns the generated evaluation parameter images. Triggers Generate() if result is outdated.
|
pure virtual |
Returns the names of the evaluation parameters, that will be generated. These are also the keys of the related image map.
Implemented in mitk::ROIBasedParameterFitImageGenerator, and mitk::PixelBasedParameterFitImageGenerator.
ParameterImageMapType mitk::ParameterFitImageGeneratorBase::GetParameterImages | ( | ) |
Returns the fitted/generated parameter images. Triggers Generate() if result is outdated.
|
pure virtual |
Returns the names of the fitted/generated parameters, that will be generated. These are also the keys of the related image map.
Implemented in mitk::ROIBasedParameterFitImageGenerator, and mitk::PixelBasedParameterFitImageGenerator.
|
pure virtual |
Returns the progress of the current fit. e.g. 0 : none; 0.5 = 50%; 1: complete
Implemented in mitk::ROIBasedParameterFitImageGenerator, and mitk::PixelBasedParameterFitImageGenerator.
|
protectedvirtual |
Reimplemented in mitk::PixelBasedParameterFitImageGenerator, and mitk::ROIBasedParameterFitImageGenerator.
mitk::ParameterFitImageGeneratorBase::mitkClassMacroItkParent | ( | ParameterFitImageGeneratorBase | , |
::itk::Object | |||
) |
|
protected |
Definition at line 92 of file mitkParameterFitImageGeneratorBase.h.