aimsalgo  5.0.5
Neuroimaging image processing
perfParam.h
Go to the documentation of this file.
1 /* This software and supporting documentation are distributed by
2  * Institut Federatif de Recherche 49
3  * CEA/NeuroSpin, Batiment 145,
4  * 91191 Gif-sur-Yvette cedex
5  * France
6  *
7  * This software is governed by the CeCILL-B license under
8  * French law and abiding by the rules of distribution of free software.
9  * You can use, modify and/or redistribute the software under the
10  * terms of the CeCILL-B license as circulated by CEA, CNRS
11  * and INRIA at the following URL "http://www.cecill.info".
12  *
13  * As a counterpart to the access to the source code and rights to copy,
14  * modify and redistribute granted by the license, users are provided only
15  * with a limited warranty and the software's author, the holder of the
16  * economic rights, and the successive licensors have only limited
17  * liability.
18  *
19  * In this respect, the user's attention is drawn to the risks associated
20  * with loading, using, modifying and/or developing or reproducing the
21  * software by the user in light of its specific status of free software,
22  * that may mean that it is complicated to manipulate, and that also
23  * therefore means that it is reserved for developers and experienced
24  * professionals having in-depth computer knowledge. Users are therefore
25  * encouraged to load and test the software's suitability as regards their
26  * requirements in conditions enabling the security of their systems and/or
27  * data to be ensured and, more generally, to use and operate it in the
28  * same conditions as regards security.
29  *
30  * The fact that you are presently reading this means that you have had
31  * knowledge of the CeCILL-B license and that you accept its terms.
32  */
33 
34 
35 
36 #ifndef AIMS_PERFUSION_PERF_PARAM_H
37 #define AIMS_PERFUSION_PERF_PARAM_H
38 
39 #include <stdlib.h>
40 
41 namespace aims
42 {
43 
45  {
46  public:
47 
49  virtual ~PerfusionParameters() { }
50 
51  float tr() { return _tr; }
52  float te() { return _te; }
53  bool hasVFilter() { return _doVFilter; }
54  float bThres() { return _bThres; }
55  float lvThres() { return _lvThres; }
56  float skipThres() { return _skipThres; }
57  int skip() { return _skip; }
58  int nAif() { return _nAif; }
59  float aifThreshold() { return _aifThres; }
60  int preInj() { return _preInj; }
61  int aifType() { return _aifType; }
62  int nAvg() { return _nAvg; }
63  int fitType() { return _fitType; }
64  bool hasCorrection() { return _hasCorrection; }
65  int svdType() { return _svdType; }
66  float svdThreshold() { return _svdThres; }
67  float dose() { return _dose; }
68  float phiGd() { return _phiGd; }
69 
70  void setTr( float tr ) { _tr = tr; }
71  void setTe( float te ) { _te = te; }
72  void setVFilter( bool onOff ) { _doVFilter = onOff; }
73  void setBThres( float t ) { _bThres = t; }
74  void setLVThres( float t ) { _lvThres = t; }
75  void setSkipThres( float t ) { _skipThres = t; }
76  void setSkip( int s ) { _skip = s; }
77  void setnAif( int n ) { _nAif = n; }
78  void setAifThreshold( float t ) { _aifThres = t; }
79  void setPreInj( int p ) { _preInj = p; }
80  void setAifType( int t ) { _aifType = t; }
81  void setnAvg( int n ) { _nAvg = n; }
82  void setFitType( int t ) { _fitType = t; }
83  void setCorrection( bool onOff ) { _hasCorrection = onOff; }
84  void setSVDType( int t ) { _svdType = t; }
85  void setSVDThres( float t ) { _svdThres = t; }
86  void setDose( float d ) { _dose = d; }
87  void setPhiGd( float p ) { _phiGd = p; }
88 
89  private:
90 
91  // Image acquisition informations
92  float _tr;
93  float _te;
94 
95  // Brain mask
96  bool _doVFilter;
97  float _bThres;
98  float _lvThres;
99 
100  // Signal stabilization
101  float _skipThres;
102  int _skip;
103 
104  // Number of Aif possible point to detect
105  int _nAif;
106  float _aifThres;
107 
108  // Aif bolus start time
109  int _preInj;
110 
111  // Number of selected points for Aif computation
112  int _aifType;
113  int _nAvg;
114 
115  // Fit
116  int _fitType;
117 
118  // Convolution matrix linearity correction
119  bool _hasCorrection;
120 
121  // SVD deconvolution
122  int _svdType;
123  float _svdThres;
124 
125  // Maps correction coefficient
126  float _dose;
127  float _phiGd;
128  };
129 
130 }
131 
132 #endif
void setFitType(int t)
Definition: perfParam.h:82
void setAifThreshold(float t)
Definition: perfParam.h:78
void setAifType(int t)
Definition: perfParam.h:80
void setCorrection(bool onOff)
Definition: perfParam.h:83
void setTe(float te)
Definition: perfParam.h:71
void setTr(float tr)
Definition: perfParam.h:70
void setDose(float d)
Definition: perfParam.h:86
void setSVDType(int t)
Definition: perfParam.h:84
void setBThres(float t)
Definition: perfParam.h:73
virtual ~PerfusionParameters()
Definition: perfParam.h:49
void setVFilter(bool onOff)
Definition: perfParam.h:72
void setSVDThres(float t)
Definition: perfParam.h:85
void setPhiGd(float p)
Definition: perfParam.h:87
void setLVThres(float t)
Definition: perfParam.h:74
void setSkipThres(float t)
Definition: perfParam.h:75