My Project
waveletslopeclassifier.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/slopevector.hh
>
23
24
25
#ifndef mia_core_waveletslopeclassifier_hh
26
#define mia_core_waveletslopeclassifier_hh
27
28
NS_MIA_BEGIN
29
39
class
EXPORT_CORE
CWaveletSlopeClassifier
40
{
41
public
:
43
typedef
CSlopeColumns
Columns
;
44
49
enum
EAnalysisResult
{
50
wsc_fail
,
51
wsc_no_movement
,
52
wsc_low_movement
,
53
wsc_normal
54
};
55
62
CWaveletSlopeClassifier
(
const
Columns& m,
bool
mean_stripped,
float
min_freq);
63
65
CWaveletSlopeClassifier
(
const
CWaveletSlopeClassifier
& other);
66
67
// Move constructor
68
CWaveletSlopeClassifier
(
CWaveletSlopeClassifier
&& other);
69
70
CWaveletSlopeClassifier
();
71
73
CWaveletSlopeClassifier
& operator =(
const
CWaveletSlopeClassifier
& other);
74
76
CWaveletSlopeClassifier
& operator =(
CWaveletSlopeClassifier
&& other);
77
78
79
~
CWaveletSlopeClassifier
();
80
82
int
get_movement_idx()
const
;
83
85
int
get_RV_idx()
const
;
86
88
int
get_LV_idx()
const
;
89
91
int
get_baseline_idx()
const
;
92
94
int
get_perfusion_idx()
const
;
95
97
int
get_RV_peak()
const
;
98
100
int
get_LV_peak()
const
;
101
103
float
get_movement_indicator()
const
;
104
106
size_t
get_number_of_movement_components()
const
;
107
109
EAnalysisResult result()
const
;
110
111
private
:
112
struct
CWaveletSlopeClassifierImpl *impl;
113
};
114
115
NS_MIA_END
116
117
#endif
CSlopeColumns
std::vector< std::vector< float > > CSlopeColumns
class to store the ICA weight matrix
Definition:
slopevector.hh:33
CWaveletSlopeClassifier::wsc_low_movement
@ wsc_low_movement
Definition:
waveletslopeclassifier.hh:52
NS_MIA_BEGIN
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
Definition:
defines.hh:33
slopevector.hh
CWaveletSlopeClassifier::Columns
CSlopeColumns Columns
typedef to define the matrix of curves
Definition:
waveletslopeclassifier.hh:43
CWaveletSlopeClassifier::EAnalysisResult
EAnalysisResult
Definition:
waveletslopeclassifier.hh:49
NS_MIA_END
#define NS_MIA_END
conveniance define to end the mia namespace
Definition:
defines.hh:36
EXPORT_CORE
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
Definition:
defines.hh:101
CWaveletSlopeClassifier::wsc_no_movement
@ wsc_no_movement
Definition:
waveletslopeclassifier.hh:51
CWaveletSlopeClassifier
Curve classifier for heart perfusion data.
Definition:
waveletslopeclassifier.hh:39
CWaveletSlopeClassifier::wsc_fail
@ wsc_fail
Definition:
waveletslopeclassifier.hh:50
mia
core
waveletslopeclassifier.hh
Generated by
1.8.17