gen_region_linegen_region_lineGenRegionLineGenRegionLinegen_region_line (算子)
名称
gen_region_linegen_region_lineGenRegionLineGenRegionLinegen_region_line — 将输入线存储为区域。
签名
void GenRegionLine(HObject* RegionLines, const HTuple& BeginRow, const HTuple& BeginCol, const HTuple& EndRow, const HTuple& EndCol)
void HRegion::GenRegionLine(const HTuple& BeginRow, const HTuple& BeginCol, const HTuple& EndRow, const HTuple& EndCol)
void HRegion::GenRegionLine(Hlong BeginRow, Hlong BeginCol, Hlong EndRow, Hlong EndCol)
static void HOperatorSet.GenRegionLine(out HObject regionLines, HTuple beginRow, HTuple beginCol, HTuple endRow, HTuple endCol)
void HRegion.GenRegionLine(HTuple beginRow, HTuple beginCol, HTuple endRow, HTuple endCol)
void HRegion.GenRegionLine(int beginRow, int beginCol, int endRow, int endCol)
def gen_region_line(begin_row: MaybeSequence[Union[int, float]], begin_col: MaybeSequence[Union[int, float]], end_row: MaybeSequence[Union[int, float]], end_col: MaybeSequence[Union[int, float]]) -> HObject
描述
算子 gen_region_linegen_region_lineGenRegionLineGenRegionLineGenRegionLinegen_region_line stores the given lines (with starting
point [BeginRowBeginRowBeginRowBeginRowbeginRowbegin_row,BeginColBeginColBeginColBeginColbeginColbegin_col] and ending point
[EndRowEndRowEndRowEndRowendRowend_row, EndColEndColEndColEndColendColend_col]) as region.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
RegionLinesRegionLinesRegionLinesRegionLinesregionLinesregion_lines (输出对象) region(-array) → objectHRegionHObjectHRegionHobject *
Created regions.
BeginRowBeginRowBeginRowBeginRowbeginRowbegin_row (输入控制) line.begin.y(-array) → HTupleMaybeSequence[Union[int, float]]HTupleHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double)
Line coordinates of the starting points of the input
lines.
默认值:
100
建议值:
10, 50, 100, 200, 300, 400
值范围:
BeginRow
BeginRow
BeginRow
BeginRow
beginRow
begin_row
(lin)
最小增量:
1
建议增量:
1
BeginColBeginColBeginColBeginColbeginColbegin_col (输入控制) line.begin.x(-array) → HTupleMaybeSequence[Union[int, float]]HTupleHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double)
Column coordinates of the starting points of the input
lines.
默认值:
50
建议值:
10, 50, 100, 200, 300, 400
值范围:
BeginCol
BeginCol
BeginCol
BeginCol
beginCol
begin_col
(lin)
最小增量:
1
建议增量:
1
EndRowEndRowEndRowEndRowendRowend_row (输入控制) line.end.y(-array) → HTupleMaybeSequence[Union[int, float]]HTupleHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double)
Line coordinates of the ending points of the input
lines.
默认值:
150
建议值:
50, 100, 200, 300, 400, 500
值范围:
EndRow
EndRow
EndRow
EndRow
endRow
end_row
(lin)
最小增量:
1
建议增量:
1
EndColEndColEndColEndColendColend_col (输入控制) line.end.x(-array) → HTupleMaybeSequence[Union[int, float]]HTupleHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double)
Column coordinates of the ending points of the
input lines.
默认值:
250
建议值:
50, 100, 200, 300, 400, 500
值范围:
EndCol
EndCol
EndCol
EndCol
endCol
end_col
(lin)
最小增量:
1
建议增量:
1
结果
算子 gen_region_linegen_region_lineGenRegionLineGenRegionLineGenRegionLinegen_region_line 始终返回值 2 ( H_MSG_TRUE )。
The clipping according to the current image format is determined by the
operator set_system('clip_region',<'true'/'false'>)set_system("clip_region",<"true"/"false">)SetSystem("clip_region",<"true"/"false">)SetSystem("clip_region",<"true"/"false">)SetSystem("clip_region",<"true"/"false">)set_system("clip_region",<"true"/"false">)。
可能的前趋
split_skeleton_linessplit_skeleton_linesSplitSkeletonLinesSplitSkeletonLinesSplitSkeletonLinessplit_skeleton_lines
替代
gen_region_hlinegen_region_hlineGenRegionHlineGenRegionHlineGenRegionHlinegen_region_hline
模块
基础