区域的填充
read_image(image, ‘egypt1’)
threshold(image, Region, 0, 140)
fill_up(Region, RegionFillUp) //将阈值区域填充
dev_display(image)
dev_display(RegionFillUp)
有条件的区域的填充
read_image(image, ‘monkey’)
threshold(image, Region, 120, 255)
fill_up_shape(Region, RegionFillUp, ‘area’, 0, 200)//将阈值区域中的0到200大小的区域填充
dev_display(RegionFillUp)