thickening_golaythickening_golayThickeningGolayThickeningGolaythickening_golay (Operator)

Name

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

Warning

thickening_golaythickening_golayThickeningGolayThickeningGolayThickeningGolaythickening_golay 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

HRegion HRegion::ThickeningGolay(const wchar_t* GolayElement, Hlong Rotation) const   (Windows only)

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

HRegion HRegion.ThickeningGolay(string golayElement, int rotation)

def thickening_golay(region: HObject, golay_element: str, rotation: int) -> HObject

Description

thickening_golaythickening_golayThickeningGolayThickeningGolayThickeningGolaythickening_golay 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 RegionRegionRegionRegionregionregion (cf. hit_or_miss_golayhit_or_miss_golayHitOrMissGolayHitOrMissGolayHitOrMissGolayhit_or_miss_golay), 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 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_elementsGolayElementsGolayElementsGolayElementsgolay_elements.

Attention

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

Execution Information

Parameters

RegionRegionRegionRegionregionregion (input_object)  region(-array) objectHRegionHObjectHRegionHobject

Regions to be processed.

RegionThickRegionThickRegionThickRegionThickregionThickregion_thick (output_object)  region(-array) objectHRegionHObjectHRegionHobject *

Result of the thickening operator.

GolayElementGolayElementGolayElementGolayElementgolayElementgolay_element (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (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 HTupleintHTupleHtuple (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_golayThickeningGolayThickeningGolayThickeningGolaythickening_golay 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_domainReduceDomainReduceDomainReduceDomainreduce_domain, select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape, area_centerarea_centerAreaCenterAreaCenterAreaCenterarea_center, connectionconnectionConnectionConnectionConnectionconnection

Alternatives

thickeningthickeningThickeningThickeningThickeningthickening, thickening_seqthickening_seqThickeningSeqThickeningSeqThickeningSeqthickening_seq

See also

erosion_golayerosion_golayErosionGolayErosionGolayErosionGolayerosion_golay, hit_or_miss_golayhit_or_miss_golayHitOrMissGolayHitOrMissGolayHitOrMissGolayhit_or_miss_golay

Module

Foundation