登录
首页 » c++ » opencv 模板匹配

opencv 模板匹配

于 2022-06-22 发布 文件大小:111.22 kB
0 142
下载积分: 2 下载次数: 1

代码说明:

【1】给局部变量初始化 【2】初始化用于结果输出的矩阵 【3】进行匹配和标准化 【4】通过函数 minMaxLoc 定位最匹配的位置

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • OFDM
    OFDM仿真资料,以及一些仿真的程序源代码OFDM仿真资料,以及一些仿真的程序源代码OFDM仿真资料,以及一些仿真的程序源代码(OFDM simulation data, as well as some simulation program source code for OFDM simulation data, as well as some simulation program source code for OFDM simulation data, as well as some simulation program source code for)
    2009-09-10 15:50:35下载
    积分:1
  • MCM-ICM-QuestionD-2019-master
    元胞自动机初步建立静态场,2019年美赛建模D题 元胞自动机(Cellular Automata Preliminary Establishment of Static Field, Modeling D-Topic Cellular Automata in 2019 Mercedes)
    2020-06-22 23:00:02下载
    积分:1
  • ZNodes
    qt中提供了QGphicsView,QGraphicsScene,QGraphicsItem,QGraphicsPixmapItem是QGraphicsItem的子类 分辨创建它们的实例:view,scene,item,然后通过各自的方法scene->addItem(item);view->setScene(scene);就可以达到类似下图的效果,想要进一步定制,则要继承QGraphicsItem或QGraphicsPixmapItem,然后重写paint()、boundingRect()等方法,此外如果还想要获取鼠标事件,重写mousePressEvent等事件就好了,注意,一旦重写了mousePressEvent方法,就以为了qt不会再自动处理item的任何press事件了,可以在你重写的mousePressEvent方法中最后添加QGraphicsItem::mousePressEvent(event);解决这个问题,就是说你获取到了鼠标事件,但是依然让qt处理这个鼠标事件。(QGphics View, QGraphics Scene, QGraphics Item and QGraphics PixmapItem are provided in qt. They are subclasses of QGraphics Item. Resolve the instances of creating them: view, scene, item, and then use their respective methods scene - > addItem (item); view - > setScene (scene); you can achieve the effect similar to the figure below. If you want to further customize, you need to inherit QGraphics Item or QGraphics Pixmap Item, and then rewrite paint (), boundingRect () and other methods, and if you want to do so. If you want to get mouse events, rewrite events like mousePressEvent. Note that once you rewrite the mousePressEvent method, you think that QT will no longer automatically handle any press events of item. You can finally add QGraphics Item:: mousePressEvent (event) to your rewritten mousePressEvent method to solve this problem. That is, you get the mouse event, but still let QT handle the mouse event.)
    2020-06-16 20:20:01下载
    积分:1
  • 捷联惯性导航姿态解算原理及核心算法 inertial-navigation-algorithm
    捷联惯性导航姿态解算原理及核心算法,从原理到最终程序实现(Strapdown inertial navigation attitude algorithm principle and the core algorithm, the principle to the final program)
    2016-04-12 12:42:36下载
    积分:1
  • 串口调试程序:包含文字编码转换,hex和dec转换
    波形检测还没开发出来,目前只有简单的串口调试,汉字和编码的互相转换包括hex和dec的相互转换。语音播报也加了,可根据代码适当应用。遥控器红外经过下位机传上来的数据进行处理。外加倒计时。这是这些天学到的,整合在一起。
    2022-03-31 13:08:35下载
    积分:1
  • 《马昌凤-最优化方法及其Matlab程序设计》
    说明:  全面详细解读MATLAB优化算法,序列二次规划、共轭梯度,拟牛顿法等(Comprehensively and detailedly interpret the optimization algorithm of MATLAB)
    2019-01-09 10:19:57下载
    积分:1
  • br_circle
    说明:  graphics project on bressenham circle
    2020-06-22 14:00:02下载
    积分:1
  • Test_colour_new
    TCS3200传感器捕获方波频率,可以根据频率变化识别外部光源颜色(TCS3200 sensor to capture a square wave frequency, the frequency change can identify the external light source color)
    2010-08-27 16:43:48下载
    积分:1
  • 矢量转栅格--e00文件
    资源描述矢量转栅格--e00文件  该程序是用来打开e00矢量文件,能够正确显示矢量结构,然后支持矢量转栅格绘制出来同时支持图像的方法,缩小,漫游,是GIS初学者适合用的(e00文件时一种通用的GIS数据文件,能够反映拓扑关系什么的,非常实用
    2022-02-06 17:04:41下载
    积分:1
  • VIO视觉slam源码
    本程序是vio的一个测试 给出相机图片特征点 然后根据已知的轨迹方程 分别用欧拉积分和中止积分进行测试 比较效果 程序中分别给出基于ROS平台的程序和基于非ROS平台的程序  
    2022-04-24 15:41:58下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载