thickening_seq thickening_seq ThickeningSeq ThickeningSeq thickening_seq (算子)
名称
thickening_seq thickening_seq ThickeningSeq ThickeningSeq thickening_seq — 将击中或击不中操作的结果添加到区域(顺序)。
警告
thickening_seq thickening_seq ThickeningSeq ThickeningSeq ThickeningSeq thickening_seq 已过时,仅出于向后兼容性考虑而保留。
签名
描述
thickening_seq thickening_seq ThickeningSeq ThickeningSeq ThickeningSeq thickening_seq calculates the sequential thickening of
the input regions with a structuring element from the Golay alphabet
(GolayElement GolayElement GolayElement GolayElement golayElement golay_element ). To do so, thickening_seq thickening_seq ThickeningSeq ThickeningSeq ThickeningSeq thickening_seq
calls the operator thickening_golay thickening_golay ThickeningGolay ThickeningGolay ThickeningGolay thickening_golay with all possible
rotations of the structuring element Iterations Iterations Iterations Iterations iterations iterations 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_elements golay_elements GolayElements GolayElements GolayElements golay_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.
执行信息
多线程类型:可重入(与非独占算子并行运行)。
多线程作用域:全局(可从任何线程调用)。
在元组级别上自动并行化。
参数
Region Region Region Region region region (输入对象) region(-array) → object HRegion HObject HRegion Hobject
Regions to be processed.
RegionThick RegionThick RegionThick RegionThick regionThick region_thick (输出对象) region(-array) → object HRegion HObject HRegion Hobject *
Result of the thickening operator.
GolayElement GolayElement GolayElement GolayElement golayElement golay_element (输入控制) string → HTuple str HTuple Htuple (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"
Iterations Iterations Iterations Iterations iterations iterations (输入控制) integer → HTuple int HTuple Htuple (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_seq thickening_seq ThickeningSeq ThickeningSeq ThickeningSeq thickening_seq 在所有参数正确时返回 2 ( H_MSG_TRUE )。当输入区域为空或不存在时,其行为可通过以下方式设置:
无区域:
set_system('no_object_result',<RegionResult>) set_system("no_object_result",<RegionResult>) SetSystem("no_object_result",<RegionResult>) SetSystem("no_object_result",<RegionResult>) SetSystem("no_object_result",<RegionResult>) set_system("no_object_result",<RegionResult>)
空区域:
set_system('empty_region_result',<RegionResult>) set_system("empty_region_result",<RegionResult>) SetSystem("empty_region_result",<RegionResult>) SetSystem("empty_region_result",<RegionResult>) SetSystem("empty_region_result",<RegionResult>) set_system("empty_region_result",<RegionResult>)
否则,将抛出异常。
可能的后继
reduce_domain reduce_domain ReduceDomain ReduceDomain ReduceDomain reduce_domain ,
select_shape select_shape SelectShape SelectShape SelectShape select_shape ,
area_center area_center AreaCenter AreaCenter AreaCenter area_center ,
connection connection Connection Connection Connection connection
替代
thickening_golay thickening_golay ThickeningGolay ThickeningGolay ThickeningGolay thickening_golay ,
thickening thickening Thickening Thickening Thickening thickening
另见
erosion_golay erosion_golay ErosionGolay ErosionGolay ErosionGolay erosion_golay ,
thinning_seq thinning_seq ThinningSeq ThinningSeq ThinningSeq thinning_seq
模块
基础