Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkModelDataGenerationFunctor.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 mitkModelDataGenerationFunctor_h
14 #define mitkModelDataGenerationFunctor_h
15 
16 #include "mitkSimpleFunctorBase.h"
17 #include "mitkModelBase.h"
19 
20 #include <MitkModelFitExports.h>
21 
22 namespace mitk
23 {
24 
32  {
33  public:
34 
36  typedef itk::Object Superclass;
39 
40  itkFactorylessNewMacro(Self);
42 
43  typedef std::vector<std::string> ParameterNamesType;
45  typedef itk::Array<ModelBase::ParameterValueType> ModelParametersType;
46 
47  itkSetConstObjectMacro(ModelParameterizer, ModelParameterizerBase);
48  itkGetConstObjectMacro(ModelParameterizer, ModelParameterizerBase);
49 
50  SimpleFunctorBase::OutputPixelVectorType Compute(const InputPixelVectorType & value) const override;
51 
52  unsigned int GetNumberOfOutputs() const override;
53 
54  GridArrayType GetGrid() const override;
55 
56  protected:
58  ~ModelDataGenerationFunctor() override;
59 
60  private:
61  ModelParameterizerBase::ConstPointer m_ModelParameterizer;
62 
63  };
64 }
65 
66 #endif
mitk::ModelDataGenerationFunctor::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkModelDataGenerationFunctor.h:37
mitk::ModelBase::ModelResultType
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
mitk::ModelParameterizerBase
Definition: mitkModelParameterizerBase.h:36
MitkModelFitExports.h
mitk::ModelDataGenerationFunctor::ModelParametersType
itk::Array< ModelBase::ParameterValueType > ModelParametersType
Definition: mitkModelDataGenerationFunctor.h:45
mitk::ModelDataGenerationFunctor::ParameterNamesType
std::vector< std::string > ParameterNamesType
Definition: mitkModelDataGenerationFunctor.h:41
mitk::SimpleFunctorBase::OutputPixelVectorType
std::vector< InputImagePixelType > OutputPixelVectorType
Definition: mitkSimpleFunctorBase.h:40
itk::SmartPointer< Self >
mitk::SimpleFunctorBase::GridArrayType
itk::Array< double > GridArrayType
Definition: mitkSimpleFunctorBase.h:42
mitk::ModelDataGenerationFunctor
Definition: mitkModelDataGenerationFunctor.h:31
mitk::ModelDataGenerationFunctor::SignalType
ModelBase::ModelResultType SignalType
Definition: mitkModelDataGenerationFunctor.h:44
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::SimpleFunctorBase::InputPixelVectorType
std::vector< InputImagePixelType > InputPixelVectorType
Definition: mitkSimpleFunctorBase.h:39
mitkSimpleFunctorBase.h
mitkModelParameterizerBase.h
mitk::ModelDataGenerationFunctor::Superclass
itk::Object Superclass
Definition: mitkModelDataGenerationFunctor.h:36
mitk::SimpleFunctorBase
Definition: mitkSimpleFunctorBase.h:28
mitk::ModelDataGenerationFunctor::Self
ModelDataGenerationFunctor Self
Definition: mitkModelDataGenerationFunctor.h:35
mitk::ModelDataGenerationFunctor::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: mitkModelDataGenerationFunctor.h:38