Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
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 // MITKModelFitInfoSignalGenerationFunctor_H
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:47
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
itk::Array< ModelBase::ParameterValueType > ModelParametersType
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKMODELFIT_EXPORT
std::vector< InputImagePixelType > OutputPixelVectorType
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
std::vector< InputImagePixelType > InputPixelVectorType