test_region_point— Test if the region contains a given point. Signature Description If an array of regions and one test point is provided,test_region_pointtests if at least one input region ofRegionscontains the single test point given in (Row,Column). If this is the case,IsInsideis set...
zoom_region (Regions, RegionZoom, 2, 2)//对坐标进行缩放 test_equal_region (Regions, Regions, IsEqual)//判断俩个是否相等 test_region_point (Regions, 193, 275, IsInside)//判断点是否存在其中 r:=[1,2,3] c:=[1,2,3] allisinside:=[] for i:=0 to |r|-1 by 1 test_region_point ...
(1)第一个参数Region为输入的区域; (2)第二个参数RegionUnion为联合之后的区域。 union2的参数中: (1)第一个参数Region1为输入的第一个区域; (2)第二个参数Region2为输入的第二个区域; (3)第三个参数RegionUnion为联合后的区域。 异或区域为两个区域进行异或运算,区域重叠的区域为0,不重叠的区域为1,两...
intersection (Partitioned, Region, Characters)取出两个区域中重叠的部分,如果Region有两个区域在Partitioned中,则这两个区域合并成一区域。 difference (RegionDilation, RegionErosion, RegionDifference) 取出两个区域中不重叠的部分。 critical_points_sub_pix (FilterResponse, 'facet', 1.5, 0.7, RowMin, ColMin...
rg.DispObj(HWindowXCtrl1.HalconWindow); rest := rg.TestRegionPoint(76, 360); Label2.Caption := '(76, 360) - ' + IntToStr(rest); rest := rg.TestRegionPoint(77, 360); Label3.Caption := '(77, 360) - ' + IntToStr(rest); end; end....
intersection (Partitioned,Region, Characters)取出两个区域中重叠的部分,如果Region有两个区域在Partitioned中,则这两个区域合并成一区域。 difference (RegionDilation, RegionErosion, RegionDifference) 取出两个区域中不重叠的部分。 critical_points_sub_pix (FilterResponse, 'facet', 1.5, 0.7, RowMin, ColMin...
检验一个点是否在区域内部,同 test_region_point. HBool IsEmpty(void) const; 检验区域是否为空,也就是区域面积是否为0 例1 #include"HalconCpp.h"usingnamespaceHalcon;voidmain(){HImageimage("E:\\halcon\\images\\mreut.png");// Reading an aerial imageHRegion region=image>=190;// Calculating ...
5.4.10 test_region_point 249 5.4.11 test_xld_point 249 5.4.14 paint_gray 249 5.4.15 paint_region 249 5.4.16 paint_xld 250 5.4.16 area_center 250 5.4.17 area_center_xld 250 5.4.18 area_holes 251 5.4.19 gray_projections 251 5.4.20 Intensity 251 5.4.21 min_max_gray 251 5.4.22...
select_region_point (Regions, DestRegions, Row, Column)选择包含指定点的区域 gen_contour_region_xld (SelectedRegions, Contours, 'border_holes')根据区域和指定的特征生 成轮廓线。 dump_window_image (DumpImage, WindowHandle)将窗口的内容截图成图像 area_center_points_xld (ClipContours, Area, RowPoints...
intersection(Partitioned,Region,Characters)取出两个区域中重叠的部分,如果Region有两个 区域在Partitioned中,则这两个区域合并成一区域。 difference(RegionDilation,RegionErosion,RegionDifference)取出两个区域中不重叠的部分。 critical_points_sub_pix(FilterResponse,facet,1.5,0.7,RowMin,ColMin,RowMax,ColMax, ...