morph_skeletonmorph_skeletonMorphSkeletonMorphSkeletonmorph_skeleton (Operator)

Name

morph_skeletonmorph_skeletonMorphSkeletonMorphSkeletonmorph_skeleton — Compute the morphological skeleton of a region.

Warning

morph_skeletonmorph_skeletonMorphSkeletonMorphSkeletonMorphSkeletonmorph_skeleton is obsolete and is only provided for reasons of backward compatibility.

Signature

morph_skeleton(Region : RegionSkeleton : : )

Herror morph_skeleton(const Hobject Region, Hobject* RegionSkeleton)

Herror T_morph_skeleton(const Hobject Region, Hobject* RegionSkeleton)

void MorphSkeleton(const HObject& Region, HObject* RegionSkeleton)

HRegion HRegion::MorphSkeleton() const

static void HOperatorSet.MorphSkeleton(HObject region, out HObject regionSkeleton)

HRegion HRegion.MorphSkeleton()

def morph_skeleton(region: HObject) -> HObject

Description

morph_skeletonmorph_skeletonMorphSkeletonMorphSkeletonMorphSkeletonmorph_skeleton computes the skeleton of the input regions (RegionRegionRegionRegionregionregion) using morphological transformations. The computation yields a disconnected skeleton (gaps in the diagonals) having a width of one or two pixels. The calculation uses the Golay element 'h', i.e., an 8-neighborhood. This is equivalent to the maximum-norm.

Execution Information

Parameters

RegionRegionRegionRegionregionregion (input_object)  region(-array) objectHRegionHObjectHRegionHobject

Regions to be processed.

RegionSkeletonRegionSkeletonRegionSkeletonRegionSkeletonregionSkeletonregion_skeleton (output_object)  region(-array) objectHRegionHObjectHRegionHobject *

Resulting morphological skeleton.

Result

morph_skeletonmorph_skeletonMorphSkeletonMorphSkeletonMorphSkeletonmorph_skeleton returns TRUE if all parameters are correct. The behavior in case of empty or no input region can be set via:

Otherwise, an exception is raised.

Possible Predecessors

thresholdthresholdThresholdThresholdThresholdthreshold, regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowingregiongrowing, connectionconnectionConnectionConnectionConnectionconnection, union1union1Union1Union1Union1union1, watershedswatershedsWatershedsWatershedsWatershedswatersheds, class_ndim_normclass_ndim_normClassNdimNormClassNdimNormClassNdimNormclass_ndim_norm

Possible Successors

skeletonskeletonSkeletonSkeletonSkeletonskeleton, reduce_domainreduce_domainReduceDomainReduceDomainReduceDomainreduce_domain, select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape, area_centerarea_centerAreaCenterAreaCenterAreaCenterarea_center, connectionconnectionConnectionConnectionConnectionconnection

Alternatives

skeletonskeletonSkeletonSkeletonSkeletonskeleton

Module

Foundation