You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
2.3. MAIN WINDOW 29<br />
Figure 2.16: Online region feature inspection.<br />
The second display contains information about the orientation (ÒÐ) and size of the<br />
region along the two principal directions (Ö and Ö) of the region. With the combo box<br />
×Ô, you can select by what means the size is computed. If you select ÐÐÔ×, the size<br />
is computed with the operator ÐÐÔØ Ü×. This means that the parameters Ö and<br />
Ö are the major and minor axis of an ellipse that has the same moments as the selected<br />
region. Note that this ellipse need not enclose the region. If you set ×Ô to ÖØÒÐ,<br />
the size is computed with the operator ×ÑÐÐ×Ø ÖØÒо. This means, that Ö and<br />
Ö are half the width and height of the smallest rectangle with arbitrary orientation that<br />
completely contains the selected region. The orientation of the region is computed in<br />
both cases with the operator ÓÖÒØØÓÒ ÖÓÒ to get the full range of 360 Æ for the<br />
angle. You can select whether to display the angle in Ö× or ÖÒ× with the<br />
corresponding combo box.<br />
The next three displays show simpler shape features of the selected region. The first of<br />
these displays shows the contour lenght of the region, i.e., the euclidean length of its<br />
boundary (see the operator ÓÒØÐÒØ). The second one shows the compactness of the<br />
region, i.e., the ratio of the contour length of the region and the circumference of a circle<br />
with the same area as the region (see the operator ÓÑÔØÒ××). The compactness of<br />
a region is always larger than 1. The compacter the region, the closer the value of the<br />
compactness is to 1. The third display shows the convexity of the selected region, i.e.,<br />
the ratio of the area of the region and the area of the convex hull of the region (see the<br />
HALCON 6.0