- 博客(8)
- 收藏
- 关注
转载 在元素为结构体的向量中查找
如下,struct Club{ string m_str; int m_i; Club(const string &s, int i) { m_str = s; m_i = i; }}; vector vClub;Club a("randylin",2);Club b("forrest",1);vector vClub
2014-02-27 15:05:03 605
转载 How does reszing a image affect the intrinsic camera matrix?
Q:I have a camera matrix (I know both intrinsic and extrinsic parameters) known for image of size HxW. (I use this matrix for some calculations I need).I want to use a smaller image, say: H2
2014-02-19 09:37:44 515
转载 A simple quickref for Eigen
// A simple quickref for Eigen. Add anything that's missing.// Main author: Keir Mierle#include Matrix A; // Fixed rows and cols. Same as Matrix3d.Matrix B; // Fixed rows,
2014-02-18 15:37:11 849
转载 Type conversion - unsigned to signed int/char
Q:I tried the to execute the below program:#include int main() { signed char a = -5; unsigned char b = -5; int c = -5; unsigned int d = -5; if (a == b) printf("\r\n
2014-02-17 12:42:27 678
转载 MATLAB调用C/C++函数的方法
通过MATLAB将C/C++函数编译成MEX函数,在MATLAB中就可以调用了。1,首先装编译器Matlab里键入mex -setup,选择你要编译C++的编译器2,写C++函数函数的形式必须是void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])nlhs:输出参数个数
2014-02-12 11:16:17 424
转载 matlab 解方程组
1、解方程最近有多人问如何用matlab解方程组的问题,其实在matlab中解方程组还是很方便的,例如,对于代数方程组Ax=b(A为系数矩阵,非奇异)的求解,MATLAB中有两种方法:(1)x=inv(A)*b — 采用求逆运算解方程组; (2)x=A\B — 采用左除运算解方程组PS:使用左除的运算效率要比求逆矩阵的效率高很多~例:x1+2x2=8
2014-02-11 15:44:51 2254
转载 cvUndistort2 () and cvRemap () crash
I was doing example 11-1 of "Learning OpenCV" by Bradski. Unfortunately the given example doesn't work on my computer.The program is supposed to calibrate camera using chessboard and then output u
2014-02-10 17:25:12 1574
转载 摄像机标定和图像径向畸变校正
这段时间断断续续在弄这个摄像头的标定和图像畸形矫正的问题,基本差不多了,乘休息时间,发点成果和大家分享吧!一、标定 关于摄像头的标定,说实话网上的资料太多了,方法也很多的。个人觉得想要研究这个的话,可以先了解基本原理,然后看opencv的例子calibration。如果你还了解的更深入的话,建议下载一些论文看看。当然我推荐一个网址:http://www.ti-times.c
2014-02-10 17:18:51 3175
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人