视觉
zhangsansecond
这个作者很懒,什么都没留下…
展开
-
halcon 仿射变换理解
1.hom_mat2d_identity (HomMat2DIdentity)初始化一个矩阵[1.0, 0.0, 0.0, 0.0, 1.0, 0.0]2.hom_mat2d_translate (HomMat2DIdentity, Row, Column, HomMat2DTranslate)平移矩阵到Row,Column3.affine_trans_contour_xld (ShapeModel, ShapeModelTrans, HomMat2DTranslate)把 Shap..原创 2020-11-24 17:02:37 · 448 阅读 · 0 评论 -
halcon 双线程 先find shape model 然后find ncc model 显示not enough memory avaliable in operator find ncc
1.首先尝试 内存回收 ,GC.colloct()。没有效果。2.将相机保存的图片转换成灰度图再find,有减少出现次数,但还是会出现。3.将himage.find_shape_model 全部改成 HOperatorSet.find_shape_model(hobject,.......),感觉又减少了一些,但是还会出现。4.HSystem.SetSystem("temporary_mem_cache", "false");不使用缓存,减少缓存使用,减少了很多,但是偶尔还会出现。5...原创 2020-08-03 22:41:07 · 3350 阅读 · 5 评论 -
无法加载 DLL“halcon”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)
将项目拷贝到没有安装halcon的电脑上,出现标题所示异常参考文章:https://www.51halcon.com/thread-997-1-1.html我的解决办法是将halcon.dll 文件拷贝到\bin\debug目录下原创 2020-06-16 09:57:49 · 7847 阅读 · 1 评论 -
basler 相机无法连接上图像采集卡
PC机放置时间有些长了,相机连接到图像采集卡上,没有反应,没有识别出。将图像采集卡更换了一个插槽,之前是在一个短的PCI-E上,更换到长的(蓝色的)上之后,可以识别出来了。但是系统将它识别成普通网卡了。使用配置 pylon ip config 配置好ip后,打开pylon viewer,出现下面错误0xe1000014 "The buffer was incompletely grabbed. This can be caused by performance problems of the .原创 2020-06-10 14:39:43 · 2606 阅读 · 0 评论