thickening_seqthickening_seqThickeningSeqThickeningSeqthickening_seq (算子)

名称

thickening_seqthickening_seqThickeningSeqThickeningSeqthickening_seq — 将击中或击不中操作的结果添加到区域(顺序)。

警告

thickening_seqthickening_seqThickeningSeqThickeningSeqThickeningSeqthickening_seq 已过时,仅出于向后兼容性考虑而保留。

签名

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)

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

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

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

HRegion HRegion.ThickeningSeq(string golayElement, int iterations)

def thickening_seq(region: HObject, golay_element: str, iterations: int) -> HObject

描述

thickening_seqthickening_seqThickeningSeqThickeningSeqThickeningSeqthickening_seq calculates the sequential thickening of the input regions with a structuring element from the Golay alphabet (GolayElementGolayElementGolayElementGolayElementgolayElementgolay_element). To do so, thickening_seqthickening_seqThickeningSeqThickeningSeqThickeningSeqthickening_seq calls the operator thickening_golaythickening_golayThickeningGolayThickeningGolayThickeningGolaythickening_golay 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_elementsGolayElementsGolayElementsGolayElementsgolay_elements。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.

执行信息

参数

RegionRegionRegionRegionregionregion (输入对象)  region(-array) objectHRegionHObjectHRegionHobject

Regions to be processed.

RegionThickRegionThickRegionThickRegionThickregionThickregion_thick (输出对象)  region(-array) objectHRegionHObjectHRegionHobject *

Result of the thickening operator.

GolayElementGolayElementGolayElementGolayElementgolayElementgolay_element (输入控制)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Structuring element from the Golay alphabet.

默认值: 'h' "h" "h" "h" "h" "h"

值列表: '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 (输入控制)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of iterations.

默认值: 1

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

值范围: 1 ≤ Iterations Iterations Iterations Iterations iterations iterations (lin)

最小增量: 1

建议增量: 1

复杂度

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

结果

thickening_seqthickening_seqThickeningSeqThickeningSeqThickeningSeqthickening_seq 在所有参数正确时返回 2 ( H_MSG_TRUE )。当输入区域为空或不存在时,其行为可通过以下方式设置:

否则,将抛出异常。

可能的后继

reduce_domainreduce_domainReduceDomainReduceDomainReduceDomainreduce_domain, select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape, area_centerarea_centerAreaCenterAreaCenterAreaCenterarea_center, connectionconnectionConnectionConnectionConnectionconnection

替代

thickening_golaythickening_golayThickeningGolayThickeningGolayThickeningGolaythickening_golay, thickeningthickeningThickeningThickeningThickeningthickening

另见

erosion_golayerosion_golayErosionGolayErosionGolayErosionGolayerosion_golay, thinning_seqthinning_seqThinningSeqThinningSeqThinningSeqthinning_seq

模块

基础