- 博客(12)
- 收藏
- 关注
转载 What does CV_8UC3 and the other types stand for in OpenCV?
转自:https://stackoverflow.com/questions/27183946/what-does-cv-8uc3-and-the-other-types-stand-for-in-opencv#define CV_8UC1 CV_MAKETYPE(CV_8U,1)#define CV_8UC2 CV_MAKETYPE(CV_8U,2)#define CV_8UC3 C...
2018-07-31 17:45:09 177
转载 Mat 像素读取方式---at()和ptr()
转自:http://monkeycoding.com/?p=538at()可用來讀取和修改某個像素值,通常用來對隨機位置的像素進行讀寫,就效率考量,並不適合用在循序查訪影像所有像素,以下用at()來讀取img的所有像素,並讓所有像素值加20:int widthLimit = img.channels() * img.cols;for(int height=0; height<im...
2018-07-31 14:30:33 2356
转载 'override' keyword in C++
转自:https://stackoverflow.com/questions/18198314/what-is-the-override-keyword-in-c-used-for转自:https://msdn.microsoft.com/en-us/library/jj678987.aspxThe override keyword serves two purposes: It s...
2018-07-30 13:28:25 333
转载 Const at the end of a function in C++
转自:https://www.gamedev.net/forums/topic/500734-c-const-after-a-function-declaration/
2018-07-30 11:43:46 240
private protected public Class in C++
转自:https://stackoverflow.com/questions/224966/private-and-protected-members-c解释1:Private members are only accessible within the class defining them.Protected members are accessible in the class ...
2018-07-30 11:00:28 207
转载 InputArray OutputArray InputOutputArray in openCV
转自:https://stackoverflow.com/questions/29594048/the-meaning-of-inputoutputarray-in-cvstereocalibrate-declarationThe InputOutputArray is "placeholder" type. Parameters of this type are modified in pl...
2018-07-30 10:13:06 1029
转载 Virtual Function in C++
// ---------https://www.geeksforgeeks.org/virtual-function-cpp/#include <iostream>#include <vector>#include <algorithm>using namespace std;class base{public: virtual void...
2018-07-27 15:14:03 408
原创 calcOpticalFlowPyrLK()光流法找特征点
#include<opencv2\highgui\highgui.hpp>#include<opencv2\imgproc\imgproc.hpp>#include<iostream>#include<string>#include<opencv.hpp>using namespace cv;using namespace ...
2018-07-11 21:30:57 3706
原创 opencv Mat 的深拷贝与浅拷贝
深拷贝:操作系统为B开辟了新的内存空间,所以A改变不会导致B改变Mat A,B;A = imread("1.jpg");B = A.clone();浅拷贝:B之拷贝了A的地址,所以A改变的话会导致B改变。Mat A,B;A = imread("1.jpg");B = A;...
2018-07-11 21:28:06 4365
转载 Opencv KeyPoint类
转自:https://blog.csdn.net/u010821666/article/details/52883580KeyPoint定义:inlineKeyPoint::KeyPoint(Point2f _pt, float _size, float _angle, float _response, int _octave, int _class_id) : pt(_pt), siz...
2018-07-10 20:00:27 3262
转载 win10 +opencv3.4.1-Contrib+Cuda Cmake编译
opencv源码与opencv_contrib版本号一定要一样!!(在这卡了好久 = =) opencv3.4.1与opencv_contrib3.4.1下载链接: https://github.com/opencv/opencv/tree/3.4 https://github.com/opencv/opencv_contrib/tree/3.4CMake : 【注意】...
2018-07-04 14:22:07 1721
转载 CUDA学习笔记(二)---并行化程序
转自:https://blog.csdn.net/sunmc1204953974/article/details/51025801#include &amp;amp;amp;amp;amp;amp;lt;stdio.h&amp;amp;amp;amp;amp;amp;gt;#include &amp;amp;amp;amp;amp;amp;lt;cuda_runtime.h&amp;amp;amp;amp;amp;amp;gt;#inc
2018-07-02 14:41:14 968
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人