erosion_seqerosion_seqErosionSeqErosionSeqerosion_seq (算子名称)

名称

erosion_seqerosion_seqErosionSeqErosionSeqerosion_seq — Erode a region sequentially.

警告

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

参数签名

erosion_seq(区域 : RegionErosion : GolayElement, Iterations : )

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

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

void ErosionSeq(const HObject& 区域, 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

HRegion HRegion::ErosionSeq(const wchar_t* GolayElement, Hlong Iterations) const   ( Windows only)

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

HRegion HRegion.ErosionSeq(string golayElement, int iterations)

def erosion_seq(区域: HObject, golay_element: str, iterations: int) -> HObject

描述

erosion_seqerosion_seqErosionSeqErosionSeqErosionSeqerosion_seq computes the sequential erosion of the input region 区域区域区域区域区域区域 with the selected structuring element GolayElementGolayElementGolayElementGolayElementgolayElementgolay_element from the Golay alphabet. This is done by executing 该算子 erosion_golayerosion_golayErosionGolayErosionGolayErosionGolayerosion_golay 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 该算子 golay_elementsgolay_elementsGolayElementsGolayElementsGolayElementsgolay_elements.

运行信息

参数表

区域区域区域区域区域区域 (input_object)  region(-array) objectHRegionHObjectHRegionHobject

Regions to be eroded.

RegionErosionRegionErosionRegionErosionRegionErosionregionErosionregion_erosion (output_object)  region(-array) objectHRegionHObjectHRegionHobject *

Eroded regions.

GolayElementGolayElementGolayElementGolayElementgolayElementgolay_element (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Structuring element from the Golay alphabet.

Default: '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 HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of iterations.

Default: 1

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

Value range: 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:

结果

erosion_seqerosion_seqErosionSeqErosionSeqErosionSeqerosion_seq 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.

可能的前置算子

thresholdthresholdThresholdThresholdThresholdthreshold, regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowingregiongrowing, watershedswatershedsWatershedsWatershedsWatershedswatersheds, class_ndim_normclass_ndim_normClassNdimNormClassNdimNormClassNdimNormclass_ndim_norm

可能的后置算子

connectionconnectionConnectionConnectionConnectionconnection, reduce_domainreduce_domainReduceDomainReduceDomainReduceDomainreduce_domain, select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape, area_centerarea_centerAreaCenterAreaCenterAreaCenterarea_center

可替代算子

erosion_golayerosion_golayErosionGolayErosionGolayErosionGolayerosion_golay, erosion1erosion1Erosion1Erosion1Erosion1erosion1, erosion2erosion2Erosion2Erosion2Erosion2erosion2

参考其它

dilation_seqdilation_seqDilationSeqDilationSeqDilationSeqdilation_seq, hit_or_miss_seqhit_or_miss_seqHitOrMissSeqHitOrMissSeqHitOrMissSeqhit_or_miss_seq, thinning_seqthinning_seqThinningSeqThinningSeqThinningSeqthinning_seq

模块

Foundation