get_region_thickness — Access the thickness of a region along the main axis.
get_region_thickness calculates the thickness of the
regions along the main axis (see
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
Additionally the operator
get_region_thickness returns the
of the thicknesses of the region.
The length of the histogram corresponds to the largest
occurring thickness in the observed region.
Only one region may be passed. If the region has several connection components, only the first one is investigated. All other components are ignored.
Region to be analyzed.
Thickness of the region along its main axis.
Histogram of the thickness of the region along its main axis.
get_region_thickness returns the value 2 (H_MSG_TRUE)
if exactly one region is passed.
The behavior in case of empty input (no input regions available) is set via