码迷,mamicode.com
首页 > 其他好文 > 详细

region/XLD的数据结构

时间:2020-05-23 16:48:57      阅读:54      评论:0      收藏:0      [点我收藏+]

标签:结构   dex   roi   dev   length   gre   com   col   img   

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的数据结构

标签:结构   dex   roi   dev   length   gre   com   col   img   

原文地址:https://www.cnblogs.com/dingyd/p/12942671.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!