Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkModelFitInfoSignalGenerationFunctor.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 mitkModelFitInfoSignalGenerationFunctor_h
14 #define mitkModelFitInfoSignalGenerationFunctor_h
15 
18 #include "mitkModelFitInfo.h"
19 
21 
22 #include <MitkModelFitExports.h>
23 
24 namespace mitk
25 {
26 
35  {
36  public:
37 
42 
43  itkFactorylessNewMacro(Self);
45 
46  typedef std::vector<std::string> ParameterNamesType;
48  typedef itk::Array<ModelBase::ParameterValueType> ModelParametersType;
49 
50  itkSetConstObjectMacro(ModelParameterizer, ModelParameterizerBase);
51  itkGetConstObjectMacro(ModelParameterizer, ModelParameterizerBase);
52 
53  itkSetConstObjectMacro(FitInfo, mitk::modelFit::ModelFitInfo);
54  itkGetConstObjectMacro(FitInfo, mitk::modelFit::ModelFitInfo);
55 
56  IndexedValueFunctorBase::OutputPixelVectorType Compute(const InputPixelVectorType & value, const IndexType& currentIndex) const override;
58  virtual IndexedValueFunctorBase::OutputPixelVectorType Compute(const IndexType& currentIndex) const;
59 
60  unsigned int GetNumberOfOutputs() const override;
61 
62  GridArrayType GetGrid() const override;
63 
64  protected:
68  virtual ModelBase::ParametersType CompileModelParameters(const IndexType& currentIndex, const ModelBase * model) const;
69 
71 
73 
74  private:
75  ModelParameterizerBase::ConstPointer m_ModelParameterizer;
76  modelFit::ModelFitInfo::ConstPointer m_FitInfo;
77 
78  };
79 }
80 
81 #endif
mitk::ModelBase::ModelResultType
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
mitkModelBasedValueFunctorBase.h
mitk::ModelParameterizerBase
Definition: mitkModelParameterizerBase.h:36
mitk::ModelFitInfoSignalGenerationFunctor
Definition: mitkModelFitInfoSignalGenerationFunctor.h:34
mitkModelFitParameterValueExtraction.h
MitkModelFitExports.h
mitk::ModelFitInfoSignalGenerationFunctor::SignalType
ModelBase::ModelResultType SignalType
Definition: mitkModelFitInfoSignalGenerationFunctor.h:47
mitk::modelFit::ModelFitInfo
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
Definition: mitkModelFitInfo.h:36
mitk::IndexedValueFunctorBase
Definition: mitkIndexedValueFunctorBase.h:31
mitk::ModelFitInfoSignalGenerationFunctor::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: mitkModelFitInfoSignalGenerationFunctor.h:41
mitk::IndexedValueFunctorBase::GridArrayType
itk::Array< double > GridArrayType
Definition: mitkIndexedValueFunctorBase.h:45
mitk::ModelFitInfoSignalGenerationFunctor::ParameterNamesType
std::vector< std::string > ParameterNamesType
Definition: mitkModelFitInfoSignalGenerationFunctor.h:44
mitk::ModelBase::ParametersType
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
mitk::IndexedValueFunctorBase::InputPixelVectorType
std::vector< InputImagePixelType > InputPixelVectorType
Definition: mitkIndexedValueFunctorBase.h:42
itk::SmartPointer< Self >
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition: MitkModelFitExports.h:15
mitk::ModelFitInfoSignalGenerationFunctor::Self
ModelFitInfoSignalGenerationFunctor Self
Definition: mitkModelFitInfoSignalGenerationFunctor.h:38
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ModelFitInfoSignalGenerationFunctor::ModelParametersType
itk::Array< ModelBase::ParameterValueType > ModelParametersType
Definition: mitkModelFitInfoSignalGenerationFunctor.h:48
mitk::ModelFitInfoSignalGenerationFunctor::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkModelFitInfoSignalGenerationFunctor.h:40
mitkModelFitInfo.h
mitk::ModelBasedValueFunctorBase
Definition: mitkModelBasedValueFunctorBase.h:26
mitk::IndexedValueFunctorBase::OutputPixelVectorType
std::vector< InputImagePixelType > OutputPixelVectorType
Definition: mitkIndexedValueFunctorBase.h:43
mitkModelParameterizerBase.h
mitk::ModelFitInfoSignalGenerationFunctor::Superclass
ModelBasedValueFunctorBase Superclass
Definition: mitkModelFitInfoSignalGenerationFunctor.h:39
mitk::IndexedValueFunctorBase::IndexType
itk::Index< 3 > IndexType
Definition: mitkIndexedValueFunctorBase.h:46
mitk::ModelBase
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:47