gen_region_polygon_filled— Store a polygon as a “filled” region.Signaturegen_region_polygon_filled( : Region : Rows, Columns : ) DescriptionThe operator gen_region_polygon_filled creates a region from a polygon containing the corner points of the region (line and column coordinates) either ...
gen_region_polygon_filled— Store a polygon as a “filled” region.Signaturegen_region_polygon_filled( : Region : Rows, Columns : ) DescriptionThe operator gen_region_polygon_filled creates a region from a polygon containing the corner points of the region (line and column coordinates) either ...
14.gen_region_polygon_filled( : Region : Rows, Columns : ) 创建多边形填充区域,输出为一个区域。 15.gen_region_polygon_filled( : Region : Rows, Columns : ) 提取直线极其宽度,输出为XLD形式数组。 16.hom_mat3d_compose( : : HomMat3DLeft, HomMat3DRight : HomMat3DCompose) 输出两个齐次矩阵...
gen_region_polygon_filled (Region1, Row, Col) gen_contour_polygon_xld (Contour, Row, Col) *判断轮廓是不是闭合 test_closed_xld (Contour, IsClosed) if (IsClosed == 1) endif close_contours_xld (Contour, ClosedContours) gen_region_contour_xld (ClosedContours, Region2, 'filled') 二、regio...
gen_region_polygon_xld (Polygons, Region, 'filled') 1. 2. 3. 4. 3、gen_contour_region_xld(Regions : Contours : Mode : ) 功能:根据region创建一个xld read_image(Image,'lena') draw_region (Region, 3600) gen_contour_region_xld (Region, XLD1, 'border') ...
使用gen_region_polygon函数来生成多边形结构内核,这个函数的参数中: (1)第一个参数Region为输出的多边形结构内核区域; (2)第二个参数Rows为多边形的角点的行坐标组; (3)第三个参数Columns为多边形的角点的列坐标组。 在HALCON当中,使用dilation1函数来实现膨胀变换,这个函数的参数中: ...
Polygon(输入参数):输入XLD多边形 PolygonsAffinTrans(输出参数):变换的XLD多边形 HomMat2D(输入参数):仿射变换矩阵 gen_region_polygon_filled(reg,[100,50,50,100,300,300,300,100],[50,100,200,400,400,200,50,50]) gen_contour_region_xld (reg, Contours, 'border') ...
gen_region_contour_xld (XLD1, Region, 'filled') 2、gen_region_polygon_xld(Polygon : Region : Mode : ) 功能:根据多边形轮廓创建一个区域region read_image(Image,'lena') draw_xld (XLD1, 3600, 'true', 'true', 'true', 'true')
gen_region_contour_xld (UnionContours, Region, 'filled') 针对上述问题,我们可以先将合并后的xld转换为polygon,然后将polygon转换为region,此时region就是一条连续的线。 read_image (Image, 'C:/Users/SWD-AR05/Desktop/10.png') lines_gauss (Image, Lines, 1.5, 3, 8, 'dark', 'true', 'bar-shap...
gen_region_polygon_filled (ROI, RectangleRow, RectangleCol) reduce_domain (Image, ROI, ImageReduced) * Extract the lines lines_gauss (ImageReduced, Lines, 1, 3, 8, 'dark', 'true', 'bar-shaped', 'true') * Adapt the pose of the measurement plane to the tilted plane of the vernier ...