ClassesClassesClassesClasses | | | | Operators

thinning_golaythinning_golayThinningGolaythinning_golayThinningGolayThinningGolay (Operator)

Name

thinning_golaythinning_golayThinningGolaythinning_golayThinningGolayThinningGolay — Remove the result of a hit-or-miss operation from a region (using a Golay structuring element).

Warning

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

Signature

thinning_golay(Region : RegionThin : GolayElement, Rotation : )

Herror thinning_golay(const Hobject Region, Hobject* RegionThin, const char* GolayElement, const Hlong Rotation)

Herror T_thinning_golay(const Hobject Region, Hobject* RegionThin, const Htuple GolayElement, const Htuple Rotation)

Herror thinning_golay(Hobject Region, Hobject* RegionThin, const HTuple& GolayElement, const HTuple& Rotation)

HRegion HRegion::ThinningGolay(const HTuple& GolayElement, const HTuple& Rotation) const

HRegionArray HRegionArray::ThinningGolay(const HTuple& GolayElement, const HTuple& Rotation) const

void ThinningGolay(const HObject& Region, HObject* RegionThin, const HTuple& GolayElement, const HTuple& Rotation)

HRegion HRegion::ThinningGolay(const HString& GolayElement, Hlong Rotation) const

HRegion HRegion::ThinningGolay(const char* GolayElement, Hlong Rotation) const

void HOperatorSetX.ThinningGolay(
[in] IHUntypedObjectX* Region, [out] IHUntypedObjectX*RegionThin, [in] VARIANT GolayElement, [in] VARIANT Rotation)

IHRegionX* HRegionX.ThinningGolay(
[in] BSTR GolayElement, [in] Hlong Rotation)

static void HOperatorSet.ThinningGolay(HObject region, out HObject regionThin, HTuple golayElement, HTuple rotation)

HRegion HRegion.ThinningGolay(string golayElement, int rotation)

Description

thinning_golaythinning_golayThinningGolaythinning_golayThinningGolayThinningGolay performs a thinning of the input regions using morphological operations and structuring elements from the Golay alphabet. The operator first applies a hit-or-miss-transformation to RegionRegionRegionRegionRegionregion (cf. hit_or_miss_golayhit_or_miss_golayHitOrMissGolayhit_or_miss_golayHitOrMissGolayHitOrMissGolay), and then removes the detected points from the input region. The following structuring elements are available:

'l', 'm', 'd', 'c', 'e', 'i', 'f', 'f2', 'h', 'k'.

The rotation number RotationRotationRotationRotationRotationrotation determines which rotation of the element should be used. The Golay elements, together with all possible rotations, are described with the operator golay_elementsgolay_elementsGolayElementsgolay_elementsGolayElementsGolayElements.

Attention

Not all values of RotationRotationRotationRotationRotationrotation are valid for any Golay element.

Parallelization

Parameters

RegionRegionRegionRegionRegionregion (input_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject

Regions to be processed.

RegionThinRegionThinRegionThinRegionThinRegionThinregionThin (output_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject *

Result of the thinning operator.

GolayElementGolayElementGolayElementGolayElementGolayElementgolayElement (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Structuring element from the Golay alphabet.

Default value: 'h' "h" "h" "h" "h" "h"

List of values: 'c'"c""c""c""c""c", 'd'"d""d""d""d""d", 'e'"e""e""e""e""e", 'f'"f""f""f""f""f", 'f2'"f2""f2""f2""f2""f2", 'h'"h""h""h""h""h", 'i'"i""i""i""i""i", 'k'"k""k""k""k""k", 'l'"l""l""l""l""l", 'm'"m""m""m""m""m"

RotationRotationRotationRotationRotationrotation (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Rotation of the Golay element. Depending on the element, not all rotations are valid.

Default value: 0

List of values: 0, 2, 4, 6, 8, 10, 12, 14, 1, 3, 5, 7, 9, 11, 13, 15

Complexity

Let F be the area of an input region. Then the runtime complexity for one region is:

Result

thinning_golaythinning_golayThinningGolaythinning_golayThinningGolayThinningGolay returns 2 (H_MSG_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 Successors

reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain, select_shapeselect_shapeSelectShapeselect_shapeSelectShapeSelectShape, area_centerarea_centerAreaCenterarea_centerAreaCenterAreaCenter, connectionconnectionConnectionconnectionConnectionConnection

Alternatives

thinning_seqthinning_seqThinningSeqthinning_seqThinningSeqThinningSeq, thinningthinningThinningthinningThinningThinning

See also

erosion_golayerosion_golayErosionGolayerosion_golayErosionGolayErosionGolay, hit_or_miss_golayhit_or_miss_golayHitOrMissGolayhit_or_miss_golayHitOrMissGolayHitOrMissGolay

Module

Foundation


ClassesClassesClassesClasses | | | | Operators