61 CSegFrame(
const std::string& image,
const CSegStar& star,
const Sections& sections);
71 const std::string& get_imagename()
const;
76 void set_imagename(
const std::string& name);
82 void rename_base(
const std::string& new_base);
85 const Sections& get_sections()
const;
115 void shift(
const C2DFVector& delta,
const std::string& cropped_file);
135 float get_hausdorff_distance(
const CSegFrame& other)
const;
164 C2DUBImage get_section_masks(
size_t n_sections)
const;
173 SectionsStats get_stats(
const C2DUBImage& mask)
const;
181 SectionsStats get_stats(
size_t n_sections)
const;
186 size_t get_nsections()
const;
191 float get_quality()
const;
196 float get_brightness()
const;
201 float get_contrast()
const;
208 void set_quality(
float q);
214 void set_brightness(
float b);
220 void set_contrast(
float c);
228 std::string m_filename;
C2DImage::Pointer P2DImage
Shared pointer representation of the 2D Image.
This is the template version of a 2D image that is used for holding real data.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
std::vector< Statistics > SectionsStats
convenience typedef for the section statistics vector
Helper class for the segmentation of the left heart ventricle myocardium.
2D axis orthothogonal bounding box.
This class implements a facade for the xml Element.
T load_image(const std::string &filename)
std::vector< CSegSection > Sections
convenience typedef for the sections
A class to represent one segmented frame in a heart perfusion series.
std::pair< float, float > Statistics
#define NS_MIA_END
conveniance define to end the mia namespace