Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkParameterFitImageGeneratorBase.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkParameterFitImageGeneratorBase_h
14
#define mitkParameterFitImageGeneratorBase_h
15
16
#include <map>
17
18
#include <
mitkImage.h
>
19
20
#include "
mitkModelBase.h
"
21
22
#include "
MitkModelFitExports.h
"
23
24
namespace
mitk
25
{
34
class
MITKMODELFIT_EXPORT
ParameterFitImageGeneratorBase
:
public
::itk::Object
35
{
36
public
:
37
mitkClassMacroItkParent
(
ParameterFitImageGeneratorBase
, ::itk::Object);
38
39
using
ParameterImagePixelType
=
ScalarType
;
40
41
using
ModelBaseType
=
ModelBase
;
42
using
ParameterNameType
=
ModelBaseType::ParameterNameType
;
43
using
ParameterNamesType
=
ModelBaseType::ParameterNamesType
;
44
45
using
ParameterImageMapType
= std::map<ParameterNameType,Image::Pointer>;
46
48
virtual
double
GetProgress()
const
= 0;
49
56
void
Generate();
57
59
ParameterImageMapType
GetParameterImages();
60
62
ParameterImageMapType
GetDerivedParameterImages();
63
65
ParameterImageMapType
GetCriterionImages();
66
68
ParameterImageMapType
GetEvaluationParameterImages();
69
71
virtual
ParameterNamesType
GetParameterNames()
const
= 0;
72
74
virtual
ParameterNamesType
GetDerivedParameterNames()
const
= 0;
75
77
virtual
ParameterNamesType
GetCriterionNames()
const
= 0;
78
80
virtual
ParameterNamesType
GetEvaluationParameterNames()
const
= 0;
81
82
protected
:
83
ParameterFitImageGeneratorBase
() {};
84
~ParameterFitImageGeneratorBase
()
override
{};
85
86
virtual
bool
HasOutdatedResult()
const
;
89
virtual
void
CheckValidInputs()
const
;
90
virtual
void
DoFitAndGetResults(ParameterImageMapType& parameterImages, ParameterImageMapType& derivedParameterImages, ParameterImageMapType& criterionImages, ParameterImageMapType& evaluationParameterImages) = 0;
91
92
itk::TimeStamp
m_GenerationTimeStamp
;
93
94
private
:
95
96
ParameterImageMapType
m_ParameterImageMap;
97
ParameterImageMapType
m_DerivedParameterImageMap;
98
ParameterImageMapType
m_CriterionImageMap;
99
ParameterImageMapType
m_EvaluationParameterImageMap;
100
};
101
102
}
103
104
#endif
mitk::ParameterFitImageGeneratorBase::m_GenerationTimeStamp
itk::TimeStamp m_GenerationTimeStamp
Definition:
mitkParameterFitImageGeneratorBase.h:92
mitk::ModelBase::ParameterNamesType
ModelTraitsInterface::ParameterNamesType ParameterNamesType
Definition:
mitkModelBase.h:64
mitkImage.h
MitkModelFitExports.h
mitk::ParameterFitImageGeneratorBase::ParameterImagePixelType
ScalarType ParameterImagePixelType
Definition:
mitkParameterFitImageGeneratorBase.h:39
mitk::ModelBase::ParameterNameType
ModelTraitsInterface::ParameterNameType ParameterNameType
Definition:
mitkModelBase.h:63
mitk::ParameterFitImageGeneratorBase::~ParameterFitImageGeneratorBase
~ParameterFitImageGeneratorBase() override
Definition:
mitkParameterFitImageGeneratorBase.h:84
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:45
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition:
MitkModelFitExports.h:15
mitkModelBase.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::ParameterFitImageGeneratorBase::ParameterNamesType
ModelBaseType::ParameterNamesType ParameterNamesType
Definition:
mitkParameterFitImageGeneratorBase.h:43
mitk::ParameterFitImageGeneratorBase::ParameterNameType
ModelBaseType::ParameterNameType ParameterNameType
Definition:
mitkParameterFitImageGeneratorBase.h:42
mitk::ParameterFitImageGeneratorBase::ParameterFitImageGeneratorBase
ParameterFitImageGeneratorBase()
Definition:
mitkParameterFitImageGeneratorBase.h:83
mitk::ParameterFitImageGeneratorBase
Definition:
mitkParameterFitImageGeneratorBase.h:34
mitk::ParameterFitImageGeneratorBase::ParameterImageMapType
std::map< ParameterNameType, Image::Pointer > ParameterImageMapType
Definition:
mitkParameterFitImageGeneratorBase.h:45
mitk::ModelBase
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition:
mitkModelBase.h:47
mitk::ScalarType
double ScalarType
Definition:
mitkNumericConstants.h:20
src
MITK
Modules
ModelFit
include
mitkParameterFitImageGeneratorBase.h
Generated on Mon Dec 23 2024 02:13:20 for Medical Imaging Interaction Toolkit by
1.8.17