float get_hausdorff_distance(const CSegSection &other) const
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
CSegSection(const CXMLElement &node, int version)
void draw_xor(C2DUBImage &output) const
2D axis orthothogonal bounding box.
CSegSection(const std::string &id, const Points &points, bool is_open)
const std::string & get_id() const
void transform(const C2DTransformation &t)
#define NS_MIA_END
conveniance define to end the mia namespace
const C2DBoundingBox get_boundingbox() const
Segmentation class to represent a section of the LV myocardium.
This class implements a facade for the xml Element.
void write(CXMLElement &node, int version) const
void append_to(C2DPolygon &polygon) const
std::vector< CSegPoint2D > Points
convenicence typedef for the points defining the section
void inv_transform(const C2DTransformation &t)
const Points & get_points() const
CSegSection()
default constructor
void draw(C2DUBImage &output, unsigned char color) const
void shift(const C2DFVector &delta)
A simple 2D polygon class.
This is the template version of a 2D image that is used for holding real data.