labview机器视觉/图像处理中ROI理解

2019-07-17 11:24发布



       目前对labview中ROI Descriptor的理解存在一点障碍,这个簇包含两个元素,Global Rectangle和Contours,其中Contours又是一个簇数组,其中的簇包含三个元素(ID,Type,Coordinates)。
       下面的表是NI帮助中对各个元素给出的解释。

Global Rectangle contains the coordinates of the bounding rectangle.
Contours are each of the individual shapes that define an ROI.
ID refers to whether the contour is the external or internal edge of an ROI.
Type is the shape type of the contour.
Coordinates indicates the relative position of the contour. 1、Global Rectangle我最开始理解为就是一个矩形框,框内为目标区域,也就是ROI。但是后面的“Contours are each of the individual shapes that define an ROI.“定义又表明了里面的Contours才是定义的ROI。那我就此修正一下我的理解,是不是Global Rectangle仅仅是框出的一个大致范围?
2、ID表示Contour是external 或者 internal边缘,这个external或者internal我是不是可以这么理解:边缘的法线方向肯定不止一个像素构成,而是存在多个像素。这样就存在一个外圈单像素链接成的边缘和内圈单像素链接成的边缘,也即这里的external或internal?


      希望能得到帮助,以便更好的理解及进行相关的应用。表示感谢!
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
19条回答
zhiyaoyouxinjbw
2019-07-19 02:39
Global Rectangle 设置成任何值对找圆都没影响,不知道这个Global Rectangle有何意义

一周热门 更多>