Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itkADCAverageFunctor.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef _itk_ADCAverageFunctor_h_
18 #define _itk_ADCAverageFunctor_h_
19 
20 #include "itkDWIVoxelFunctor.h"
21 #include <math.h>
22 
23 
24 namespace itk
25 {
26 
28 {
29 public:
32 
38  itkFactorylessNewMacro(Self)
39  itkCloneMacro(Self)
41  itkTypeMacro(ADCAverageFunctor, DWIVoxelFunctor)
42 
43  void operator()(vnl_matrix<double> & newSignal, const vnl_matrix<double> & SignalMatrix, const double & S0) override;
44 
45  void setTargetBValue(const double & targetBValue){m_TargetBvalue = targetBValue;}
46  void setListOfBValues(const vnl_vector<double> & BValueList){m_BValueList = BValueList;}
47 
48 protected:
50  vnl_vector<double> m_BValueList;
51 
52 };
53 
54 }
55 
56 #endif
void setListOfBValues(const vnl_vector< double > &BValueList)
The DWIVoxelFunctor class Abstract basisclass for voxelprocessing of Diffusion Weighted Images...
vnl_vector< double > m_BValueList
#define MITKDIFFUSIONCORE_EXPORT
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer