HALCON常用算子(HALCON13.0)

Chapter 9--Develop

  • dev_clear_window ( : : : )功能:清除活动图形窗口的内容
  • dev_close_window ( : : : )功能:关闭活动图形窗口。
  • dev_display ( Object : : : )功能:在现有图形窗口中显示图像目标。

Chapter 10--File

10.1 Images

  • read_image ( : Image : FileName : )  功能:读取不同文件格式的图像。

example:

(1)读一副图像:read_image(Image,'mreut') 
(2)将3幅图像读入图像数组:read_image(Images,['ic0','ic1','ic2'])
(3)read_image(Image,'E:/1.jpg')

  • read_sequence  功能:读取图像。
  • write_image ( Image : : Format, FillColor, FileName : )功能:用图形格式写图像。

10.2 Misc

  • copy_file ( : : SourceFile, DestinationFile : )功能:复制一个文件到一个新的位置
  • delete_file ( : : FileName : )功能:删除一个文件
  • file_exists ( : : FileName : FileExists )功能:检查文件是否存在

Chapter 11--Filters

11.1 Arithmetic(算术)

  • abs_diff_image ( Image1, Image2 : ImageAbsDiff : Mult : )功能:计算两个图像的绝对偏差
  • abs_image ( Image : ImageAbs : : )功能:计算一个图像的绝对值(模数)。
  • add_image ( Image1, Image2 : ImageResult : Mult, Add : )功能:使两个图像相加。
  • div_image ( Image1, Image2 : ImageResult : Mult, Add : )功能:使两个图像相除。
  • invert_image ( Image : ImageInvert : : )功能:使一个图像反像。[invert:使...颠倒]
  • max_image ( Image1, Image2 : ImageMax : : )功能:按像素计算两个图像的最大值。
  • min_image ( Image1, Image2 : ImageMin : : )功能:按像素计算两个图像的最大小值。
  • scale_image ( Image : ImageScaled : Mult, Add : )功能:为一个图像的灰度值分级。
  • sub_image ( ImageMinuend, ImageSubtrahend : ImageSub : Mult,Add : )功能:使两个图像相减。

11.3 Color

  • rgb1_to_gray ( RGBImage : GrayImage : : )功能:把一个RGB图像转变成一个灰度图像。
  • rgb3_to_gray ( ImageRed, ImageGreen, ImageBlue : ImageGray : : )功能:把一个RGB图像转变成一个灰度图像。
  • trans_from_rgb ( ImageRed, ImageGreen, ImageBlue : ImageResult1, ImageResult2, ImageResult3 : ColorSpace : )

功能:把一个图像从RGB颜色空间转变成任意颜色空间。

  • trans_to_rgb ( ImageInput1, ImageInput2, ImageInput3 : ImageRed, ImageGreen, ImageBlue : ColorSpace : )

功能:把一个图像从任意颜色空间转变成RGB颜色空间。

11.4 Edges

  • edges_color   功能:使用Canny、Deriche或者 Shen 滤波器提取颜色边缘。
  • edges_color_sub_pix功能:使用Canny、Deriche或者 Shen 滤波器提取子像素精确颜色边缘。
  • laplace ( Image : ImageLaplace : ResultType, MaskSize,FilterMask : ) 功能:使用有限差计算拉普拉斯算子。
  • laplace_of_gauss ( Image : ImageLaplace : Sigma : )
LoG-Operator (Laplace of Gaussian).功能:高斯的拉普拉斯算子。
  • prewitt_amp ( Image : ImageEdgeAmp : : )功能:使用Prewitt算子检测边缘(幅值)。
  • prewitt_dir ( Image : ImageEdgeAmp, ImageEdgeDir : : ) 功能:使用Prewitt算子检测边缘(幅值和相位)。
  • roberts ( Image : ImageRoberts : FilterType : )功能:使用Roberts滤波器检测边缘。
  • sobel_amp ( Image : EdgeAmplitude : FilterType, Size : )功能:使用Sobel算子检测边缘(幅值)。
  • sobel_dir ( Image : EdgeAmplitude, EdgeDirection : FilterType,Size : ) 功能:使用Sobel算子检测边缘(幅值和相位)。

Chapter 23--Segmentation

23.5 Threshold

  • auto_threshold ( Image : Regions : Sigma : )功能:根据直方图决定的阀值分割图像。
  • binary_threshold ( Image : Region : Method,LightDark : UsedThreshold )功能:使用二进制阀值分割图像。
  • char_threshold ( Image, HistoRegion : Characters : Sigma,Percent : Threshold )功能:为提取的字符产生一个分割阀值。
  • check_difference ( Image, Pattern : Selected : Mode,DiffLowerBound, DiffUpperBound, GrayOffset, AddRow, AddCol : )功能:一个像素一个像素的比较两幅图像。
  • dual_threshold ( Image : RegionCrossings : MinSize, MinGray,Threshold : )功能:对标记的图像做门限操作。
  • dyn_threshold ( OrigImage,ThresholdImage : RegionDynThresh : Offset, LightDark : )功能:利用局域阀值分割图像。
  • fast_threshold ( Image : Region : MinGray, MaxGray, MinSize : )功能:利用全局阀值快速将图像二值化。
  • histo_to_thresh ( : : Histogramm, Sigma : MinThresh, MaxThresh )功能:根据直方图决定灰度值阈值。
  • threshold ( Image : Region : MinGray, MaxGray : )功能:利用全局阀值分割图像。
  • threshold_sub_pix ( Image : Border : Threshold : ) 功能:根据子像素的准确性从一副图像中提取水平(平坦)交叉口。
  • var_threshold ( Image : Region : MaskWidth, MaskHeight,StdDevScale, AbsThreshold, LightDark : )

功能:根据局域均值和标准偏差分析将图像二值化。

  • zero_crossing ( Image : RegionCrossing : : ) 功能:从一幅图像中提取零相交。
  • zero_crossing_sub_pix ( Image : ZeroCrossings : : )功能:根据子像素准确性从一幅图像中提取零相交。

Chapter 28--XLD

28.3 Features

  • area_center_points_xld ( XLD : : : Area, Row, Column )功能:被看做点云的轮廓(contour)和多边形(polygon)的面积和重心。
  • area_center_xld ( XLD : : : Area, Row, Column, PointOrder )功能:轮廓(contour)和多边形(polygon)的面积和重心。
  • diameter_xld ( XLD : : : Row1, Column1, Row2, Column2, Diameter ) 功能:两个轮廓(contour)或多边形(polygon)点间的最大距离。
  • dist_ellipse_contour_points_xld ( Contour : : DistanceMode,ClippingEndPoints, Row, Column, Phi, Radius1,Radius2 : Distances )功能:计算所有轮廓(contour)内的点到一个椭圆的距离。
  • dist_ellipse_contour_xld ( Contours : : Mode, MaxNumPoints,ClippingEndPoints, Row, Column, Phi, Radius1, Radius2 : MinDist,MaxDist, AvgDist, SigmaDist )功能:轮廓到一个椭圆的距离。
  • dist_rectangle2_contour_points_xld (Contour : : ClippingEndPoints, Row, Column, Phi, Length1,Length2 : Distances)功能:计算所有轮廓(contour)内的点到一个矩形的距离。
  • smallest_circle_xld ( XLD : : : Row, Column, Radius ) 功能:轮廓(contour)或多边形(polygon)的最小封闭圆。
  • smallest_rectangle1_xld ( XLD : : : Row1, Column1, Row2,Column2 ) 功能:平行与轮廓(contour)或多边形(polygon)的坐标轴的封闭矩形。
  • smallest_rectangle2_xld ( XLD : : : Row, Column, Phi, Length1,Length2 )功能:轮廓(contour)或多边形(polygon)任意方向的最小封闭矩形。
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/liyuqian199695/article/details/59056033

HALCON常用算子(HALCON13.0)相关推荐

  1. Halcon常用算子解释笔记

    ** Halcon常用算子解释笔记 ** 一.机器视觉所包含的部分 学科:数学.图像.软件.光学 1 光源 (照明系统) 2 镜头 (光学成像) 3 相机 (光电捕捉) 4 软件 (图像处理与决策模块 ...

  2. Halcon常用算子(库函数)整理

    目录 一. 常规操作类 1.1 tuple_length() 1.2 tuple_find_first() 1.3 tuple_gen_const() 1.4 dev_open_window( ) 1 ...

  3. Halcon 常用算子使用场合

    Chapter 1 :Classification 1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm 功能:把一个训练样本添加到一个高斯混合模型的训 ...

  4. 《zw版·Halcon-delphi系列原创教程》 zw版-Halcon常用函数Top100中文速查手册

    <zw版·Halcon-delphi系列原创教程> zw版-Halcon常用函数Top100中文速查手册 Halcon函数库非常庞大,v11版有1900多个算子(函数). 这个Top版,对 ...

  5. Halcon常用的几种阈值分割

    Halcon常用的几种阈值分割 1.threshold(Image : Region : MinGray, MaxGray : ) 2.binary_threshold(Image : Region ...

  6. 2021年大数据Spark(十五):Spark Core的RDD常用算子

    目录 常用算子 基本算子 分区操作函数算子 重分区函数算子 1).增加分区函数 2).减少分区函数 3).调整分区函数 ​​​​​​​聚合函数算子 ​​​​​​​Scala集合中的聚合函数 ​​​​​ ...

  7. halcon的算子清点: Chapter 5 滤波

    说明 halcon的算子有几千个,因而本身的知识需要一种检索方法管理,这里将第五章的功能列出,方便查询,或对比试验.或闲暇练习. Chapter 5 : Filter算子 5.1 Arithmetic ...

  8. 海康visionmaster开发笔记10-集成HALCON第三方算子到VM工具箱的方法

    描述 环境:VM4.0.0 + VS2015及以上 问题:有的用户在使用VisionMaster软件在开发视觉项目时,可能同时也使用HALCON,OpenCV等视觉算法库做一些图像的处理,并且希望能将 ...

  9. 机器视觉HALCON-Windows 10下的HALCON13.0安装

    为什么要学习HALCON呢?大概有以下几个原因吧: 首先,这学期学校开设了机器人视觉这门课,选用的是基于HALCON的国外经典教材<Machine Vision Algorithms and A ...

最新文章

  1. 青源 LIVE 预告 | 北大王一飞:高效 GAN 采样算法 (ECML 最佳论文解读)
  2. GPass:GNOME 暗码治理器
  3. Ubuntu16.04 安装chromedriver
  4. 2.11 矩阵和实数运算不同之处
  5. ElasticSearch安装过程中遇到的一些问题
  6. 【面试】c++单例模式
  7. ADS1675调试无时钟输出
  8. 死磕18个Java8日期处理,工作必用!收藏起来~
  9. Vue绑定style的使用方式(令组件复用)
  10. spring boot 1.5.4 整合webService(十五)
  11. python打包不能在其他电脑打开_pyinstaller打包python+opencv 无法在别人电脑上正常运行 问题所在:opencv_ffmpeg341_64.dll...
  12. qq说说时间轴php实现,qq空间时间轴PHP实现时间轴函数代码
  13. 微信小程序:蓝牙通讯,搜索、发送与接收
  14. 【转载】电磁波中的波段划分:L波段、S波段、C波段、X波段、Ku波段、K波段、Ka波段 等等
  15. 【win10】win10值不值得升级?
  16. AUTOCAD——文件管理
  17. Java剑 VS .NET刀 -- 晨袭血战(论模式)(一)【推荐】
  18. java实现第四届蓝桥杯公式求值
  19. linux带source地址ping,实战经验:Linux Source NAT在Ping场景下的应用
  20. 【DKN】(七)dataset.py【未完】

热门文章

  1. 流浪不是我的初衷 ... ...
  2. 解决: This application has no explicit mapping for /error, so you are seeing this as a fallback.
  3. java参数后面跟三个点是什么意思
  4. unittest核心要素
  5. 阻止事件冒泡两种方式:event.stopPropagation();和return false;
  6. 【设计模式】7、桥接模式
  7. 【SDOI 2011】Paint 染色
  8. 走台阶 OR 台阶走——《狂人C》习题解答14(第三章习题4)
  9. 关于selectNodes与selectSingleNode的用法的区别
  10. SQL SERVER7应用