1 步骤
(1)运行程序
(2)选中要计算的图形
(3)查看特征检测框中的数据
read_image (Image2, 'Pic2_4.bmp')
rgb1_to_gray (Image2, GrayImage)
fast_threshold (GrayImage, Region2, 150, 255, 20)
connection (Region2, ConnectedRegions2)
sort_region (ConnectedRegions2, SortedRegions, 'first_point', 'false', 'row')
原图