fetch_thickness ( Region : : : Thickness, Histogramm )

Access the thickness of a region along the main axis.

The operator fetch_thickness calculates the thickness of the regions along the main axis (see elliptic_axis) for each pixel of the section. The thickness at one point on the main axis is defined as the distance between the intersections of the contour with the plumb on the main axis in the respective point which are the furthest apart. Additionally the operator fetch_thickness returns the Histogramm of the thicknesses of the region. The length of the histogram corresponds to the largest occurring thickness in the observed region.


Attention

Only one region may be passed.


Parameters

Region (input_object)
region -> object
Region to be analysed.

Thickness (output_control)
integer-array -> integer
Thickness of the region along its main axis.

Histogramm (output_control)
integer-array -> integer
Histogram of the thickness of the region along its main axis.


Result

The operator fetch_thickness returns the value TRUE if exactly one region is passed. The behavior in case of empty input (no input regions available) is set via the operator set_system(::'no_object_result',<Result>:).


Possible Predecessors

sobel_amp, threshold__, connection


See also

copy_obj, elliptic_axis



Copyright © 1996-1997 MVTec Software GmbH