ClassesClassesClassesClasses | | | | Operators

thickening_seqthickening_seqThickeningSeqthickening_seqThickeningSeqThickeningSeq (Operator)

Name

thickening_seqthickening_seqThickeningSeqthickening_seqThickeningSeqThickeningSeq — Add the result of a hit-or-miss operation to a region (sequential).

Warning

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

Signature

thickening_seq(Region : RegionThick : GolayElement, Iterations : )

Herror thickening_seq(const Hobject Region, Hobject* RegionThick, const char* GolayElement, const Hlong Iterations)

Herror T_thickening_seq(const Hobject Region, Hobject* RegionThick, const Htuple GolayElement, const Htuple Iterations)

Herror thickening_seq(Hobject Region, Hobject* RegionThick, const HTuple& GolayElement, const HTuple& Iterations)

HRegion HRegion::ThickeningSeq(const HTuple& GolayElement, const HTuple& Iterations) const

HRegionArray HRegionArray::ThickeningSeq(const HTuple& GolayElement, const HTuple& Iterations) const

void ThickeningSeq(const HObject& Region, HObject* RegionThick, const HTuple& GolayElement, const HTuple& Iterations)

HRegion HRegion::ThickeningSeq(const HString& GolayElement, Hlong Iterations) const

HRegion HRegion::ThickeningSeq(const char* GolayElement, Hlong Iterations) const

void HOperatorSetX.ThickeningSeq(
[in] IHUntypedObjectX* Region, [out] IHUntypedObjectX*RegionThick, [in] VARIANT GolayElement, [in] VARIANT Iterations)

IHRegionX* HRegionX.ThickeningSeq(
[in] BSTR GolayElement, [in] Hlong Iterations)

static void HOperatorSet.ThickeningSeq(HObject region, out HObject regionThick, HTuple golayElement, HTuple iterations)

HRegion HRegion.ThickeningSeq(string golayElement, int iterations)

Description

thickening_seqthickening_seqThickeningSeqthickening_seqThickeningSeqThickeningSeq calculates the sequential thickening of the input regions with a structuring element from the Golay alphabet (GolayElementGolayElementGolayElementGolayElementGolayElementgolayElement). To do so, thickening_seqthickening_seqThickeningSeqthickening_seqThickeningSeqThickeningSeq calls the operator thickening_golaythickening_golayThickeningGolaythickening_golayThickeningGolayThickeningGolay with all possible rotations of the structuring element IterationsIterationsIterationsIterationsIterationsiterations times. The following structuring elements are available:

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

The Golay elements, together with all possible rotations, are described with the operator golay_elementsgolay_elementsGolayElementsgolay_elementsGolayElementsGolayElements. For all elements of the Golay alphabet, except for 'c', the foreground and background masks are exchanged in order to have an effect for them on the outer boundary of the region. The element 'c' can be used to generate the convex hull of the input region if enough iterations are performed.

Parallelization

Parameters

RegionRegionRegionRegionRegionregion (input_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject

Regions to be processed.

RegionThickRegionThickRegionThickRegionThickRegionThickregionThick (output_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject *

Result of the thickening 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"

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

Number of iterations.

Default value: 1

Suggested values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 17, 20, 30, 40, 50, 70, 100, 200

Typical range of values: 1 ≤ Iterations Iterations Iterations Iterations Iterations iterations (lin)

Minimum increment: 1

Recommended increment: 1

Complexity

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

Result

thickening_seqthickening_seqThickeningSeqthickening_seqThickeningSeqThickeningSeq 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

thickening_golaythickening_golayThickeningGolaythickening_golayThickeningGolayThickeningGolay, thickeningthickeningThickeningthickeningThickeningThickening

See also

erosion_golayerosion_golayErosionGolayerosion_golayErosionGolayErosionGolay, thinning_seqthinning_seqThinningSeqthinning_seqThinningSeqThinningSeq

Module

Foundation


ClassesClassesClassesClasses | | | | Operators