fftslopeclassifier.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/defines.hh>
#ifndef mia_core_fftslopeclassifier_hh
#define mia_core_fftslopeclassifier_hh
NS_MIA_BEGIN
class EXPORT_CORE CFFTSlopeClassifier
{
public:
typedef std::vector<std::vector<float>> Columns;
CFFTSlopeClassifier(const Columns& m, float breath_rate, bool mean_stripped = false);
CFFTSlopeClassifier(const CFFTSlopeClassifier& other);
CFFTSlopeClassifier();
CFFTSlopeClassifier& operator =(const CFFTSlopeClassifier& other);
~CFFTSlopeClassifier();
std::vector<int> get_periodic_indices() const;
std::vector<int> get_mixing_indices() 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_max_slope_length_diff() const;
private:
struct CFFTSlopeClassifierImpl *impl;
};
NS_MIA_END
#endif
CFFTSlopeClassifier::Columns
std::vector< std::vector< float > > Columns
typedef to define the matrix of curves
Definition fftslopeclassifier.hh:42
CFFTSlopeClassifier::get_periodic_indices
std::vector< int > get_periodic_indices() const
CFFTSlopeClassifier::get_mixing_indices
std::vector< int > get_mixing_indices() const
CFFTSlopeClassifier::~CFFTSlopeClassifier
~CFFTSlopeClassifier()
CFFTSlopeClassifier::get_LV_peak
int get_LV_peak() const
CFFTSlopeClassifier::CFFTSlopeClassifier
CFFTSlopeClassifier(const Columns &m, float breath_rate, bool mean_stripped=false)
CFFTSlopeClassifier::get_RV_peak
int get_RV_peak() const
CFFTSlopeClassifier::get_LV_idx
int get_LV_idx() const
CFFTSlopeClassifier::CFFTSlopeClassifier
CFFTSlopeClassifier()
CFFTSlopeClassifier::get_RV_idx
int get_RV_idx() const
CFFTSlopeClassifier::get_baseline_idx
int get_baseline_idx() const
CFFTSlopeClassifier::get_max_slope_length_diff
float get_max_slope_length_diff() const
CFFTSlopeClassifier::get_perfusion_idx
int get_perfusion_idx() const
CFFTSlopeClassifier::CFFTSlopeClassifier
CFFTSlopeClassifier(const CFFTSlopeClassifier &other)
defines.hh
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