Helper class for the segmentation of the left heart ventricle myocardium. More...
#include <mia/2d/segstar.hh>
Public Member Functions | |
CSegStar () | |
CSegStar (const CSegPoint2D ¢er, float r, const CSegPoint2D &d1, const CSegPoint2D &d2, const CSegPoint2D &d3) | |
CSegStar (const CXMLElement &node) | |
void | inv_transform (const C2DTransformation &t) |
void | shift (const C2DFVector &delta) |
void | transform (const C2DTransformation &t) |
void | write (CXMLElement &node) const |
Data Fields | |
CSegPoint2D | m_center |
center of the circle approximating the outer wall of the LV myocardium More... | |
CSegPoint2D | m_directions [3] |
the ray directions to define the star More... | |
float | m_radius |
radius of the circle approximating the outer wall of the LV myocardium More... | |
Helper class for the segmentation of the left heart ventricle myocardium.
This class implements the segmentation helper that defines the center of a circle, six rays and the circle. It is used to help the (manual) segmentation of the left heart myocardium.
Definition at line 38 of file segstar.hh.
CSegStar::CSegStar | ( | ) |
Standard constructor
CSegStar::CSegStar | ( | const CSegPoint2D & | center, |
float | r, | ||
const CSegPoint2D & | d1, | ||
const CSegPoint2D & | d2, | ||
const CSegPoint2D & | d3 | ||
) |
Constructor to create the CSegStar from given data
center | center of the circle appoximating the outer wall of the myocardium |
r | radius of the circle appoximating the outer wall of the myocardium |
d1 | first ray, its intersection should coinceede with the right ventricle insertion point |
d2 | second ray direction vector |
d3 | third ray direction vector |
CSegStar::CSegStar | ( | const CXMLElement & | node | ) |
Constructor to create a CSegStar from a XML sub tree
node | root of the sub tree |
void CSegStar::inv_transform | ( | const C2DTransformation & | t | ) |
Transform the star by transforming the intersections between the rays and the circle and then re-evaluating the center and the circle radius
t | inverse of the transformation to be applied |
void CSegStar::shift | ( | const C2DFVector & | delta | ) |
Shift the segmentation data
delta |
void CSegStar::transform | ( | const C2DTransformation & | t | ) |
Transform the star by transforming the intersections between the rays and the circle and then re-evaluating the center and the circle radius
t | transformation to be applied |
void CSegStar::write | ( | CXMLElement & | node | ) | const |
write the CSegStar info to a XML node
node | root node to add the info to |
CSegPoint2D CSegStar::m_center |
center of the circle approximating the outer wall of the LV myocardium
Definition at line 88 of file segstar.hh.
CSegPoint2D CSegStar::m_directions[3] |
the ray directions to define the star
Definition at line 92 of file segstar.hh.
float CSegStar::m_radius |
radius of the circle approximating the outer wall of the LV myocardium
Definition at line 90 of file segstar.hh.