
OpenCV
czhzasui
nullpter
展开
-
几个非常好的opencv教程
1.【OpenCV】入门教程http://blog.youkuaiyun.com/column/details/opencv-tutorial.html2.OpenCV学习笔记(2):Mat矩阵的初始化3.【OpenCV入门指南】http://blog.youkuaiyun.com/morewindows/article/category/12917644.白话经典算法系列之七 堆与堆排序http://blog.csdn...转载 2018-04-17 14:24:11 · 3064 阅读 · 0 评论 -
OpenGL使用精灵图集
使用OpenGL绘制开机动画,fps33,使用精灵图集使用OpenCV载入纹理。运行环境ubuntu16,废话不多说,上源码。主程序main.cpp//// Created by czh on 18-9-10.//#include <glad/glad.h>#include <GLFW/glfw3.h>#include &quot原创 2018-10-30 17:14:05 · 732 阅读 · 0 评论 -
OpenCV相机标定全过程
findChessboardCorners() 棋盘格角点检测bool findChessboardCorners( InputArray image, Size patternSize, OutputArray corners, int flags = CALIB_CB_ADAPTIVE_THRESH + ...原创 2018-10-22 15:19:02 · 48726 阅读 · 15 评论 -
在NXP I.MX6上做一个基于Opencv和OpenGL的打砖块游戏
最近一直想搞一个网站,一直偷懒233最近一直在研究OpenGL,顺便搞了一个小游戏玩玩。话不多说上图:就是用下面一个板接住弹来弹去的小球,直到把所有砖块都撞碎主程序主要是开辟一个新线程然后后台监听DBus信号,这个游戏监听汽车上的转盘和按钮发送的DBus信号实现操控。新线程以每秒大约30帧刷新界面。command这个类是用来实现转盘和按钮DBus监听。/*****************...原创 2018-10-10 18:12:49 · 722 阅读 · 0 评论 -
OpenCV以及EGL环境配置
安装OpenCV(转自https://blog.youkuaiyun.com/cocoaqin/article/details/78163171)1.去官网下载opencv,在本教程中选用的时opencv3.4.1,其他版本的配置方法异曲同工。下载链接http://opencv.org/releases.html,选择sources版本2.解压下载下来的zip包unzip opencv-3.4.1....原创 2018-10-15 10:39:45 · 2008 阅读 · 0 评论 -
遍历扫描文件实现图片转码
windows图片转码程序#include "stdafx.h"#include <Windows.h>#include <iostream>#include &amp原创 2018-09-03 22:36:24 · 316 阅读 · 0 评论 -
linux截屏程序
利用opencv从frambuffer读取桌面图片,实现截屏,并保存为png32格式图片.//// Created by czh on 18-9-3.//#include <unistd.h>#include <sys/stat.h>#include <fcntl.h>#include <sys/ioctl.h>#i原创 2018-09-03 22:31:15 · 864 阅读 · 0 评论 -
使用OpenCV进行图片转码
将RGBA格式的png图片转为RGB格式,即32位png图片转为24位,通道数量由4通道变为3通道 下面是程序源码:#include <iostream>#include <stdio.h>#include <opencv2/core/core.hpp>#include <opencv2/opencv.hpp>#include &l...原创 2018-08-23 20:33:44 · 1169 阅读 · 0 评论 -
OpenCV 学习资料
学习OpenCV2——Mat之通道的理解 https://www.cnblogs.com/SuMeng/p/8371026.html原创 2018-08-23 20:29:47 · 213 阅读 · 0 评论 -
opencv绘制灰阶图
最近需要绘制灰阶图,写了一个opencv绘制灰阶图的函数cv::Mat MakeColorMap(int bkgWidth, int bkgHeight, int mapNum, char *savePath) { if (savePath == NULL) { char *defaultPath = (char *) "/data/colorMap.png"; ...原创 2019-08-08 19:35:26 · 2845 阅读 · 0 评论