ClassesClasses | | Operators

thickening_golaythickening_golayThickeningGolayThickeningGolay (Operator)

Name

thickening_golaythickening_golayThickeningGolayThickeningGolay — Add the result of a hit-or-miss operation to a region (using a Golay structuring element).

Warning

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

Signature

thickening_golay(Region : RegionThick : GolayElement, Rotation : )

Herror thickening_golay(const Hobject Region, Hobject* RegionThick, const char* GolayElement, const Hlong Rotation)

Herror T_thickening_golay(const Hobject Region, Hobject* RegionThick, const Htuple GolayElement, const Htuple Rotation)

void ThickeningGolay(const HObject& Region, HObject* RegionThick, const HTuple& GolayElement, const HTuple& Rotation)

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

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

static void HOperatorSet.ThickeningGolay(HObject region, out HObject regionThick, HTuple golayElement, HTuple rotation)

HRegion HRegion.ThickeningGolay(string golayElement, int rotation)

Description

thickening_golaythickening_golayThickeningGolayThickeningGolayThickeningGolay performs a thickening of the input regions using morphological operations and structuring elements from the Golay alphabet. The operator first applies a hit-or-miss-transformation to RegionRegionRegionRegionregion (cf. hit_or_miss_golayhit_or_miss_golayHitOrMissGolayHitOrMissGolayHitOrMissGolay), and then adds the detected points to the input region. The following structuring elements are available:

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

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

Attention

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

Execution Information

Parameters

RegionRegionRegionRegionregion (input_object)  region(-array) objectHRegionHRegionHobject

Regions to be processed.

RegionThickRegionThickRegionThickRegionThickregionThick (output_object)  region(-array) objectHRegionHRegionHobject *

Result of the thickening operator.

GolayElementGolayElementGolayElementGolayElementgolayElement (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Structuring element from the Golay alphabet.

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

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

RotationRotationRotationRotationrotation (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (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

thickening_golaythickening_golayThickeningGolayThickeningGolayThickeningGolay 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_domainReduceDomainReduceDomainReduceDomain, select_shapeselect_shapeSelectShapeSelectShapeSelectShape, area_centerarea_centerAreaCenterAreaCenterAreaCenter, connectionconnectionConnectionConnectionConnection

Alternatives

thickeningthickeningThickeningThickeningThickening, thickening_seqthickening_seqThickeningSeqThickeningSeqThickeningSeq

See also

erosion_golayerosion_golayErosionGolayErosionGolayErosionGolay, hit_or_miss_golayhit_or_miss_golayHitOrMissGolayHitOrMissGolayHitOrMissGolay

Module

Foundation


ClassesClasses | | Operators