region/XLD的数据结构
Posted dingyd
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了region/XLD的数据结构相关的知识,希望对你有一定的参考价值。
region
gen_rectangle1 (ROI_0, 100, 100, 110, 110)
get_region_points (ROI_0, Rows, Columns)
tuple_length (Rows, Length)
Rows, Columns的数据如下
XLD
gen_contour_region_xld (ROI_0, Contours, ‘border‘)
get_contour_xld (Contours, Row, Col)
Polygon
gen_region_runs (ROI_0, [140,141,142,143,143,144,145,146,147,148,149,150,151,151,152,152,153,153,154,154,155,155,156,156,157,157,158], [189,187,185,172,183,166,164,162,161,160,158,157,156,171,155,170,154,169,154,169,153,168,153,168,168,184,168], [189,189,189,180,189,189,189,189,189,189,189,189,166,189,163,189,161,189,159,189,157,189,155,189,175,189,168])
gen_contour_region_xld (ROI_0, Contours, ‘border‘)
gen_polygons_xld (Contours, Polygons, ‘ramer‘, 2)
get_polygon_xld (Polygons, Row, Col, Length, Phi)
gen_region_points (Region, Row, Col)
dev_set_color (‘green‘)
tuple_length (Row, Length1)
for Index := 1 to Length1-1 by 1
gen_circle (Circle, Row[Index-1], Col[Index-1], 1.5)
endfor
以上是关于region/XLD的数据结构的主要内容,如果未能解决你的问题,请参考以下文章