ClassesClassesClassesClasses | | | | Operators

erosion_seqerosion_seqErosionSeqerosion_seqErosionSeqErosionSeq (Operator)

Name

erosion_seqerosion_seqErosionSeqerosion_seqErosionSeqErosionSeq — Erode a region sequentially.

Signature

erosion_seq(Region : RegionErosion : GolayElement, Iterations : )

Herror erosion_seq(const Hobject Region, Hobject* RegionErosion, const char* GolayElement, const Hlong Iterations)

Herror T_erosion_seq(const Hobject Region, Hobject* RegionErosion, const Htuple GolayElement, const Htuple Iterations)

Herror erosion_seq(Hobject Region, Hobject* RegionErosion, const HTuple& GolayElement, const HTuple& Iterations)

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

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

void ErosionSeq(const HObject& Region, HObject* RegionErosion, const HTuple& GolayElement, const HTuple& Iterations)

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

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

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

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

static void HOperatorSet.ErosionSeq(HObject region, out HObject regionErosion, HTuple golayElement, HTuple iterations)

HRegion HRegion.ErosionSeq(string golayElement, int iterations)

Description

erosion_seqerosion_seqErosionSeqerosion_seqErosionSeqErosionSeq computes the sequential erosion of the input region RegionRegionRegionRegionRegionregion with the selected structuring element GolayElementGolayElementGolayElementGolayElementGolayElementgolayElement from the Golay alphabet. This is done by executing the operator erosion_golayerosion_golayErosionGolayerosion_golayErosionGolayErosionGolay with all rotations of the structuring element IterationsIterationsIterationsIterationsIterationsiterations times. The following structuring elements can be selected:

'l', 'd', 'c', 'f', 'h', 'k'.

Only the “foreground elements” (even rotation numbers) are used. The elements 'i' and 'e' result in unchanged output regions. The elements 'l', 'm' and 'f2' are identical for the foreground. The Golay elements, together with all possible rotations, are described with the operator golay_elementsgolay_elementsGolayElementsgolay_elementsGolayElementsGolayElements.

Parallelization

Parameters

RegionRegionRegionRegionRegionregion (input_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject

Regions to be eroded.

RegionErosionRegionErosionRegionErosionRegionErosionRegionErosionregionErosion (output_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject *

Eroded regions.

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", 'f'"f""f""f""f""f", 'h'"h""h""h""h""h", 'k'"k""k""k""k""k", 'l'"l""l""l""l""l"

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

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:

       O(Iterations * 20 * sqrt(F)) .

Result

erosion_seqerosion_seqErosionSeqerosion_seqErosionSeqErosionSeq 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 Predecessors

thresholdthresholdThresholdthresholdThresholdThreshold, regiongrowingregiongrowingRegiongrowingregiongrowingRegiongrowingRegiongrowing, watershedswatershedsWatershedswatershedsWatershedsWatersheds, class_ndim_normclass_ndim_normClassNdimNormclass_ndim_normClassNdimNormClassNdimNorm

Possible Successors

connectionconnectionConnectionconnectionConnectionConnection, reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain, select_shapeselect_shapeSelectShapeselect_shapeSelectShapeSelectShape, area_centerarea_centerAreaCenterarea_centerAreaCenterAreaCenter

Alternatives

erosion_golayerosion_golayErosionGolayerosion_golayErosionGolayErosionGolay, erosion1erosion1Erosion1erosion1Erosion1Erosion1, erosion2erosion2Erosion2erosion2Erosion2Erosion2

See also

dilation_seqdilation_seqDilationSeqdilation_seqDilationSeqDilationSeq, hit_or_miss_seqhit_or_miss_seqHitOrMissSeqhit_or_miss_seqHitOrMissSeqHitOrMissSeq, thinning_seqthinning_seqThinningSeqthinning_seqThinningSeqThinningSeq

Module

Foundation


ClassesClassesClassesClasses | | | | Operators