halcon--Region Of Interest
3.1 Basic Concept
read_image (Image, 'mreut') gen_circle (ROI, 256, 256, 200) reduce_domain (Image, ROI, ImageReduced) edges_sub_pix (ImageReduced, Edges, 'lanser2', 0.5, 20, 40) dev_display (Image) dev_display (ROI) dev_display (Edges)
reduce_domain (Image, ROI, ImageReduced)
提取感兴趣区域,输入是一个image和一个region,输出是一个image(输入的交集)
然后之后的处理都基于ROI,以节约cpu
edges_sub_pix
提取亚像素精度轮廓