My Project
fftslopeclassifier.hh
Go to the documentation of this file.
1 /* -*- mia-c++ -*-
2  *
3  * This file is part of MIA - a toolbox for medical image analysis
4  * Copyright (c) Leipzig, Madrid 1999-2017 Gert Wollny
5  *
6  * MIA is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with MIA; if not, see <http://www.gnu.org/licenses/>.
18  *
19  */
20 
21 #include <vector>
22 #include <mia/core/defines.hh>
23 
24 
25 #ifndef mia_core_fftslopeclassifier_hh
26 #define mia_core_fftslopeclassifier_hh
27 
29 
39 {
40 public:
42  typedef std::vector<std::vector<float>> Columns;
43 
44 
51  CFFTSlopeClassifier(const Columns& m, float breath_rate, bool mean_stripped = false);
52 
55 
57 
59  CFFTSlopeClassifier& operator =(const CFFTSlopeClassifier& other);
60 
62 
64  std::vector<int> get_periodic_indices() const;
65 
67  std::vector<int> get_mixing_indices() const;
68 
70  int get_RV_idx()const;
71 
73  int get_LV_idx() const;
74 
76  int get_baseline_idx() const;
77 
79  int get_perfusion_idx() const;
80 
82  int get_RV_peak()const;
83 
85  int get_LV_peak() const;
86 
89 private:
90  struct CFFTSlopeClassifierImpl *impl;
91 };
92 
94 
95 #endif
CFFTSlopeClassifier::Columns
std::vector< std::vector< float > > Columns
typedef to define the matrix of curves
Definition: fftslopeclassifier.hh:42
NS_MIA_BEGIN
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
Definition: defines.hh:33
CFFTSlopeClassifier::CFFTSlopeClassifier
CFFTSlopeClassifier(const Columns &m, float breath_rate, bool mean_stripped=false)
CFFTSlopeClassifier::get_max_slope_length_diff
float get_max_slope_length_diff() const
CFFTSlopeClassifier::get_LV_peak
int get_LV_peak() const
NS_MIA_END
#define NS_MIA_END
conveniance define to end the mia namespace
Definition: defines.hh:36
CFFTSlopeClassifier
Curve classifier for heart perfusion data.
Definition: fftslopeclassifier.hh:39
CFFTSlopeClassifier::get_baseline_idx
int get_baseline_idx() const
CFFTSlopeClassifier::get_perfusion_idx
int get_perfusion_idx() const
EXPORT_CORE
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
Definition: defines.hh:101
CFFTSlopeClassifier::get_RV_peak
int get_RV_peak() const
CFFTSlopeClassifier::get_LV_idx
int get_LV_idx() const
CFFTSlopeClassifier::get_mixing_indices
std::vector< int > get_mixing_indices() const
CFFTSlopeClassifier::CFFTSlopeClassifier
CFFTSlopeClassifier(const CFFTSlopeClassifier &other)
CFFTSlopeClassifier::~CFFTSlopeClassifier
~CFFTSlopeClassifier()
CFFTSlopeClassifier::get_periodic_indices
std::vector< int > get_periodic_indices() const
CFFTSlopeClassifier::get_RV_idx
int get_RV_idx() const
defines.hh
CFFTSlopeClassifier::CFFTSlopeClassifier
CFFTSlopeClassifier()