Given the three dimensional data, the length of boundary segments can be estimated directly. If the segment is straight, then its length is just the distance between its endpoints. Otherwise, given the groupings described in the previous section, the calculated curvature and the geometric definitions, the length of a curved segment is given as follows (referring to Figure 6.2):
Let: | |
be the unit vector in the direction | |
be the center of the arc | |
be the unit vector from to | |
Then: | |
is the angle subtended by the arc, and | |
The boundary length estimates for some of the complete
boundaries in the test image (segment labels from Figure
6.3) are shown in Table 6.2.
The average error for boundary length is about 20%, but there are larger errors. On the whole, the estimates are generally acceptable, though not accurate. The poor estimates for segments 1 and 2 result from data errors.