waveletslopeclassifier.hh
Go to the documentation of this file.
/* -*- mia-c++ -*-
*
* This file is part of MIA - a toolbox for medical image analysis
* Copyright (c) Leipzig, Madrid 1999-2017 Gert Wollny
*
* MIA is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MIA; if not, see <http://www.gnu.org/licenses/>.
*
*/
#include <vector>
#include <mia/core/slopevector.hh>
#ifndef mia_core_waveletslopeclassifier_hh
#define mia_core_waveletslopeclassifier_hh
NS_MIA_BEGIN
class EXPORT_CORE CWaveletSlopeClassifier
{
public:
typedef CSlopeColumns Columns;
enum EAnalysisResult {
wsc_fail,
wsc_no_movement,
wsc_low_movement,
wsc_normal
};
CWaveletSlopeClassifier(const Columns& m, bool mean_stripped, float min_freq);
CWaveletSlopeClassifier(const CWaveletSlopeClassifier& other);
// Move constructor
CWaveletSlopeClassifier(CWaveletSlopeClassifier&& other);
CWaveletSlopeClassifier();
CWaveletSlopeClassifier& operator =(const CWaveletSlopeClassifier& other);
CWaveletSlopeClassifier& operator =(CWaveletSlopeClassifier&& other);
~CWaveletSlopeClassifier();
int get_movement_idx() const;
int get_RV_idx()const;
int get_LV_idx() const;
int get_baseline_idx() const;
int get_perfusion_idx() const;
int get_RV_peak()const;
int get_LV_peak() const;
float get_movement_indicator() const;
size_t get_number_of_movement_components() const;
EAnalysisResult result() const;
private:
struct CWaveletSlopeClassifierImpl *impl;
};
NS_MIA_END
#endif
CWaveletSlopeClassifier::get_LV_idx
int get_LV_idx() const
CWaveletSlopeClassifier::get_movement_indicator
float get_movement_indicator() const
CWaveletSlopeClassifier::get_RV_idx
int get_RV_idx() const
CWaveletSlopeClassifier::get_baseline_idx
int get_baseline_idx() const
CWaveletSlopeClassifier::~CWaveletSlopeClassifier
~CWaveletSlopeClassifier()
CWaveletSlopeClassifier::EAnalysisResult
EAnalysisResult
Definition waveletslopeclassifier.hh:49
CWaveletSlopeClassifier::wsc_normal
@ wsc_normal
Definition waveletslopeclassifier.hh:53
CWaveletSlopeClassifier::wsc_no_movement
@ wsc_no_movement
Definition waveletslopeclassifier.hh:51
CWaveletSlopeClassifier::wsc_fail
@ wsc_fail
Definition waveletslopeclassifier.hh:50
CWaveletSlopeClassifier::wsc_low_movement
@ wsc_low_movement
Definition waveletslopeclassifier.hh:52
CWaveletSlopeClassifier::CWaveletSlopeClassifier
CWaveletSlopeClassifier(const CWaveletSlopeClassifier &other)
CWaveletSlopeClassifier::get_LV_peak
int get_LV_peak() const
CWaveletSlopeClassifier::get_RV_peak
int get_RV_peak() const
CWaveletSlopeClassifier::get_perfusion_idx
int get_perfusion_idx() const
CWaveletSlopeClassifier::CWaveletSlopeClassifier
CWaveletSlopeClassifier()
CWaveletSlopeClassifier::get_number_of_movement_components
size_t get_number_of_movement_components() const
CWaveletSlopeClassifier::CWaveletSlopeClassifier
CWaveletSlopeClassifier(CWaveletSlopeClassifier &&other)
CWaveletSlopeClassifier::CWaveletSlopeClassifier
CWaveletSlopeClassifier(const Columns &m, bool mean_stripped, float min_freq)
CWaveletSlopeClassifier::Columns
CSlopeColumns Columns
typedef to define the matrix of curves
Definition waveletslopeclassifier.hh:43
CWaveletSlopeClassifier::result
EAnalysisResult result() const
CWaveletSlopeClassifier::get_movement_idx
int get_movement_idx() const
NS_MIA_BEGIN
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
Definition defines.hh:33
EXPORT_CORE
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
Definition defines.hh:101
NS_MIA_END
#define NS_MIA_END
conveniance define to end the mia namespace
Definition defines.hh:36
CSlopeColumns
std::vector< std::vector< float > > CSlopeColumns
class to store the ICA weight matrix
Definition slopevector.hh:33
slopevector.hh