17.1、对ROI进行操作----补充
*产生通过连通性分析后的区域ConnectedRegions
gen_ellipse (ROI_0, 194.454, 142.053, rad(22.0779), 68.1093, 95.939)
gen_rectangle1 (TMP_Region, 92.0538, 295.488, 320.485, 422.806)
union2 (ROI_0, TMP_Region, ROI_0)
gen_circle (TMP_Region, 194.454, 537.067, 70.29)
union2 (ROI_0, TMP_Region, ROI_0)
connection (ROI_0, ConnectedRegions)
*产生一个矩形ROI_1
gen_rectangle1 (ROI_1, 216.115, 27.793, 424.854, 674.179)
*把这两个region做差集(ROI_1在第一个参数)
intersection (ROI_1, ConnectedRegions, RegionIntersection1)
*把这两个region做差集(ROI_1在第二个参数)
intersection (ConnectedRegions, ROI_1, RegionIntersection)