函数用于计算Region 的补码RegionComplement 。如果系统标志'clip_region'为'true'(这是默认值),则返回当前halcon处理的最大图像(参见reset_obj_db)和输入区域的差值。如果系统标志'clip_region'为'false'(请参阅set_system),那么输出的结果区域将无限大。为了...
Rgb1ToGray(ho_Image,&ho_Image1);//将RGB图像转换为灰度图像Threshold(ho_Image1,&ho_Region,80,90); Complement(ho_Region,&ho_RegionComplement);//区域的反选--获取参数1之外的区域GetImageSize(ho_Image1,&hv_Width, &hv_Height); SetWindowAttr("background_color","black"); OpenWindow(10,100,...
complement (Region, RegionComplement) *区域的补集--获取参数1之外的区域 get_image_size (Image1, Width, Height) dev_open_window(10,100,Width, Height,'black',WindowHandle) dev_display(Region) dev_open_window(10,100,Width, Height,'black',WindowHandle1) dev_display(RegionComplement) 1. 2. 3...
gen_rectangle1 (Rectangle, Row1, Column1, Row2, Column2)在区域内部的实心区域得到一个平行于横坐标的最大矩形。 complement(Region:RegionComplement: : )找到输入区域的补区域。 interjacent (Regions, RegionInterjacent, 'border')找到将各个区域分割开的区域 local_max (Image, LocalMaxima)找到比周围灰度...
complement (Region, RegionComplement) intensity (RegionComplement, Image, MeanSmall, Deviation2) newValue:=(MeanBig+MeanSmall)/2 if (newValue-star<5) break endif star:=newValue endfor 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
complement(imageDilation,NotImageDilation)功能:对膨胀过后的 Region 进行求补集运算, 得到整个原图中除去大颗粒区域以外的 NotImageDilation47. reduce_domain(Image,NotImageDilation,ParticlesRed)功能:减少操作器,从 Image 中减掉 NotImageDilation 区域以外的区域,保存为ParticlesRed48. mean_im 10、age(ParticlesRed...
complement (LargeDilation, NotLarge) reduce_domain (Image, NotLarge, ParticlesRed) mean_image (ParticlesRed, Mean,31,31) dyn_threshold (ParticlesRed, Mean, SmallRaw,3, 'light') opening_circle (SmallRaw, Small,2.5) connection (Small, SmallConnection) ...
complement determines the complement of the input region(s). If the system flag 'clip_region' is 'true', which is the default, the difference of the largest image processed so far (see reset_obj_db) and the input region is returned. ...
找到complement(region : region complement 3360 :)输入区域的补充区域。Interjacent (regions,regioninterjacent,border)查找划分各个区域的区域查找大于Local_max (Image,LocalMaxima)周围灰度值的点。寻找小于Local _ min (image inverted,local minima)周围灰阶值的点平滑Smooth _ image (image,image smooth,de ...
6、complement算的应用讲解 06:58 7、skeleton算子的应用讲解 08:22 8、boundary算子的应用讲解 05:53 9、erosion_circle算子讲解 05:41 10、erosion_circle算子补充讲解 05:19 11、erosion_rectangle1算子讲解 08:12 12、gray_erosion_rect算子讲解 04:25 13、dilation_circle算子讲解 06:29 14、...