机器视觉——Halcon
文章平均质量分 56
bill0-Ng
梦想就在身边
展开
-
基于HALCON的模板匹配方法总结
基于HALCON的模板匹配方法总结 很早就想总结一下前段时间学习HALCON的心得,但由于其他的事情总是抽不出时间。去年有过一段时间的集中学习,做了许多的练习和实验,并对基于HDevelop的形状匹配算法的参数优化进行了研究,写了一篇《基于HDevelop的形状匹配算法参数的优化研究》文章,总结了在形状匹配过程中哪些参数影响到模板的搜索和匹配,又如何来协调这些参数来转载 2014-07-10 16:02:15 · 1697 阅读 · 0 评论 -
二.halcon基本语句---HDevelop language
1.Assign算子:assign(Input, Result),对变量以及表达式或数组赋值 assign(sin(x) + cos(y), u) which is displayed in the program window as: 程序窗等价为 u := sin(x) + cos(y) Tuple1 := [1,0,3,4,5转载 2014-07-14 15:34:05 · 1177 阅读 · 0 评论 -
一.halcon单摄像机标定
从今天起,每天坚持学习10-15个halcon个算子,例程序,写做视觉项目的点滴心得。说明:In the reference manual,operator signatures are visualized in the following way:operator ( iconic input : iconic output : control input : contro转载 2014-07-14 15:30:56 · 1539 阅读 · 0 评论 -
三.HALCON标定后的二维测量
http://blog.sina.com.cn/s/blog_442bfe0e0100yfk8.html1.gen_measure_rectangle2( : : Row, Column, Phi, Length1, Length2, Width, Height,Interpolation : MeasureHandle)产生测量矩形句柄,控制输入为测量矩形范围的坐标中心,矩形转载 2014-07-14 15:35:45 · 1828 阅读 · 0 评论 -
HALCON中的算子大全(中英对照)
Chapter 1 :Classification1.1 Gaussian-Mixture-Models1.add_sample_class_gmm功能:把一个训练样本添加到一个高斯混合模型的训练数据上。2.classify_class_gmm功能:通过一个高斯混合模型来计算一个特征向量的类。3. clear_all_class_gmm 功原创 2014-07-09 17:20:59 · 50893 阅读 · 5 评论 -
模板匹配(基于形状模板)check_soft_cheese例程
1.创建3个形状模板2.原创 2014-07-30 15:25:28 · 1777 阅读 · 0 评论 -
模板匹配(基于形状)inspect_shampoo_label例程
* This example program checks the right position of a label on* a shampoo bottle.* First, two shape models for the bottle and the label are created.* Then, the models are searched in a sequence原创 2014-07-30 17:33:15 · 1756 阅读 · 0 评论 -
halcon模板匹配(基于形状)——笔记
我的笔记:模板匹配需要轮廓的完整,所以用阈值化函数提取前后景比较好。1.如果模板图片和测试图片质量较差,那么模板用比较好的轮廓,采用助手优化识别速度;定位时测试图片用原图定位。2.创建可变模型时要用前景的region生成可变模型,然后测试图片的预处理一定要与可变模型的预处理相一致。参考例程variation_model_illumination.hdev。原创 2014-07-16 09:15:41 · 7833 阅读 · 0 评论 -
模板匹配(基于形状分析)
* This example demonstrates the print inspection using* a variation model. The variation model is trained* using a single model image. Before applying the print inspection,* the images are scaled t原创 2014-07-14 13:12:18 · 10816 阅读 · 0 评论