Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkPASpectralUnmixingFilterVigra.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 MITKPHOTOACOUSTICSPECTRALUNMIXINGFILTERVIGRA_H
14 #define MITKPHOTOACOUSTICSPECTRALUNMIXINGFILTERVIGRA_H
15 
19 
20 
21 
22 namespace mitk {
23  namespace pa {
50  {
51  public:
53  itkFactorylessNewMacro(Self);
54 
60  {
64  LS
65  };
66 
72  void AddWeight(unsigned int weight);
73 
79  void SetAlgorithm(VigraAlgortihmType inputAlgorithmName);
80 
81  protected:
83  ~SpectralUnmixingFilterVigra() override;
84 
95  Eigen::VectorXf SpectralUnmixingAlgorithm(Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic> EndmemberMatrix,
96  Eigen::VectorXf inputVector) override;
97 
98  private:
99  std::vector<double> weightsvec;
101  };
102  }
103 }
104 #endif // MITKPHOTOACOUSTICSPECTRALUNMIXINGFILTERVIGRA_H
The spectral unmixing filter base is designed as superclass for several spectral unmixing filter eg...
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
VigraAlgortihmType
Contains all implemented Vigra algorithms for spectral unmixing. For detailed information of the algo...
This filter is subclass of the spectral unmixing filter base. All algorithms in this class are based ...
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
#define MITKPHOTOACOUSTICSLIB_EXPORT