ClassesClassesClassesClasses | | | | Operators

get_region_thicknessT_get_region_thicknessGetRegionThicknessget_region_thicknessGetRegionThicknessGetRegionThickness (Operator)

Name

get_region_thicknessT_get_region_thicknessGetRegionThicknessget_region_thicknessGetRegionThicknessGetRegionThickness — Access the thickness of a region along the main axis.

Signature

get_region_thickness(Region : : : Thickness, Histogramm)

Herror T_get_region_thickness(const Hobject Region, Htuple* Thickness, Htuple* Histogramm)

Herror get_region_thickness(Hobject Region, HTuple* Thickness, HTuple* Histogramm)

HTuple HRegion::GetRegionThickness(HTuple* Histogramm) const

void GetRegionThickness(const HObject& Region, HTuple* Thickness, HTuple* Histogramm)

HTuple HRegion::GetRegionThickness(HTuple* Histogramm) const

void HOperatorSetX.GetRegionThickness(
[in] IHUntypedObjectX* Region, [out] VARIANT* Thickness, [out] VARIANT* Histogramm)

VARIANT HRegionX.GetRegionThickness([out] VARIANT* Histogramm)

static void HOperatorSet.GetRegionThickness(HObject region, out HTuple thickness, out HTuple histogramm)

HTuple HRegion.GetRegionThickness(out HTuple histogramm)

Description

The operator get_region_thicknessget_region_thicknessGetRegionThicknessget_region_thicknessGetRegionThicknessGetRegionThickness calculates the thickness of the regions along the main axis (see elliptic_axiselliptic_axisEllipticAxiselliptic_axisEllipticAxisEllipticAxis) 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 get_region_thicknessget_region_thicknessGetRegionThicknessget_region_thicknessGetRegionThicknessGetRegionThickness returns the HistogrammHistogrammHistogrammHistogrammHistogrammhistogramm 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. If the region has several connection components, only the first one is investigated. All other components are ignored.

Parallelization

Parameters

RegionRegionRegionRegionRegionregion (input_object)  region objectHRegionHRegionHRegionHRegionXHobject

Region to be analysed.

ThicknessThicknessThicknessThicknessThicknessthickness (output_control)  integer-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Thickness of the region along its main axis.

HistogrammHistogrammHistogrammHistogrammHistogrammhistogramm (output_control)  integer-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Histogram of the thickness of the region along its main axis.

Result

The operator get_region_thicknessget_region_thicknessGetRegionThicknessget_region_thicknessGetRegionThicknessGetRegionThickness 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 the operator set_system('no_object_result',<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>).

Possible Predecessors

sobel_ampsobel_ampSobelAmpsobel_ampSobelAmpSobelAmp, thresholdthresholdThresholdthresholdThresholdThreshold, connectionconnectionConnectionconnectionConnectionConnection, select_shapeselect_shapeSelectShapeselect_shapeSelectShapeSelectShape, select_objselect_objSelectObjselect_objSelectObjSelectObj

See also

copy_objcopy_objCopyObjcopy_objCopyObjCopyObj, elliptic_axiselliptic_axisEllipticAxiselliptic_axisEllipticAxisEllipticAxis

Module

Foundation


ClassesClassesClassesClasses | | | | Operators