get_region_points T_get_region_points GetRegionPoints GetRegionPoints get_region_points (算子名称)
名称
get_region_points T_get_region_points GetRegionPoints GetRegionPoints get_region_points — Access the pixels of a region.
参数签名
Herror T_get_region_points (const Hobject 区域 , Htuple* Rows , Htuple* Columns )
def get_region_points (区域 : HObject) -> Tuple[Sequence[int], Sequence[int]]
描述
该算子 get_region_points get_region_points GetRegionPoints GetRegionPoints GetRegionPoints get_region_points returns the region data in the form
of coordinate lists. The coordinates are sorted in the following
order:
get_region_points get_region_points GetRegionPoints GetRegionPoints GetRegionPoints get_region_points returns the coordinates in the form of tuples.
An empty region is passed as empty tuple.
注意
Only one region may be passed.
运行信息
多线程类型:可重入(与非独占操作符并行运行)。
多线程作用域:全局(可以从任何线程调用)。
未经并行化处理。
参数表
区域 区域 区域 区域 区域 区域 (input_object) region → object HRegion HObject HRegion Hobject
This region is accessed.
Rows Rows Rows Rows rows rows (output_control) coordinates.y-array → HTuple Sequence[int] HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Line numbers of the pixels in the region
Columns Columns Columns Columns columns columns (output_control) coordinates.x-array → HTuple Sequence[int] HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Column numbers of the pixels in the region.
Number of elements:
Columns == Rows
结果
该算子 get_region_points get_region_points GetRegionPoints GetRegionPoints GetRegionPoints get_region_points normally 返回值 2 (
H_MSG_TRUE )
.
If more than one connection component is passed an exception is raised.
The behavior in case of empty input (no input regions available) is set via
该算子 set_system('no_object_result',<Result>) set_system("no_object_result",<Result>) SetSystem("no_object_result",<Result>) SetSystem("no_object_result",<Result>) SetSystem("no_object_result",<Result>) set_system("no_object_result",<Result>) .
可能的前置算子
sobel_amp sobel_amp SobelAmp SobelAmp SobelAmp sobel_amp ,
threshold threshold Threshold Threshold Threshold threshold ,
connection connection Connection Connection Connection connection
可替代算子
get_region_runs get_region_runs GetRegionRuns GetRegionRuns GetRegionRuns get_region_runs
参考其它
copy_obj copy_obj CopyObj CopyObj CopyObj copy_obj ,
gen_region_points gen_region_points GenRegionPoints GenRegionPoints GenRegionPoints gen_region_points
模块
Foundation