Go to the documentation of this file.
21 #ifndef mia_2d_perfusion_hh
22 #define mia_2d_perfusion_hh
76 bool run(
const std::vector<C2DFImage>& series,
const CIndepCompAnalysisFactory& icatool);
100 const std::string& save_features =
"")
const;
123 int get_RV_idx() const;
128 int get_LV_peak_idx() const __attribute__((deprecated));
133 int get_LV_idx() const;
142 void set_min_movement_frequency(
float min_freq);
148 int get_perfusion_idx() const;
153 int get_movement_idx() const;
164 void set_use_guess_model();
171 void save_coefs(const
std::
string& coefs_name)const;
177 void save_feature_images(const
std::
string& base_name)const;
188 int get_LV_peak_time() const;
193 int get_RV_peak_time() const;
200 std::vector<
float> get_mixing_curve(
unsigned idx) const;
203 struct C2DPerfusionAnalysisImpl *impl;
bool run(const std::vector< C2DFImage > &series, const CIndepCompAnalysisFactory &icatool)
void set_approach(CIndepCompAnalysis::EApproach approach)
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
A class to run an ICA on a heart perfusion series.
std::vector< C2DFImage > get_references() const
#define NS_MIA_END
conveniance define to end the mia namespace
C2DImage::Pointer P2DImage
Shared pointer representation of the 2D Image.
bool has_movement() const
P2DFilter get_crop_filter(float scale, C2DBounds &crop_start, EBoxSegmentation approach, const std::string &save_features="") const
std::shared_ptr< Image > normalize(const Image &image)
a normalizer for image intensities
C2DPerfusionAnalysis(size_t components, bool normalize, bool meanstrip)
A mapper from emums to string values. - usefull for names flags.
void set_max_ica_iterations(size_t maxiter)
std::shared_ptr< C2DFilter > P2DFilter
int get_RV_peak_idx() const __attribute__((deprecated))
EBoxSegmentation
Possible bases for LV-RV heart segmentation.