资源简介
双目标定程序,用于双目标定。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
代码片段和文件信息
#include
#include
using namespace std;
using namespace cv;
#define LEFT 0
#define RIGHT 1
#define SHOW 1
int i = 0;
Mat frame(1080 1920 * 2 CV_8UC3);
Size grids(9 6);
float Square = 260;
Mat Left Right;
vector> images(2);
vector> detected_img(2);
vector > objectPoints;
vector > > imagePoints(2);
void onMouse(int event int x int y int flags void* userdata)
{
Mat temp0 temp1;
if (event == 1)
{
Left.copyTo(temp0);
Right.copyTo(temp1);
images[0].push_back(temp0);
images[1].push_back(temp1);
imwrite(“whole“+to_string(i++) + “.jpg“ frame);
imwrite(“left“ + to_string(i) + “.jpg“ temp0);
imwrite(“right“ + to_string(i) + “.jpg“ temp1);
}
}
vector > calcBoardCornerPositions(int gridW int gridH float squareSize int imagesCount)
{
vector > objectPoints(imagesCount);
for (int k = 0; k
- 上一篇:scratch编程台球(.sb3)
- 下一篇:广联达ID添加必备
相关资源
- pkg-win.zip
- PRML最全资料集合.zip
- 数据可视化驾驶舱.zip
- 李晓峰通信原理.zip
- 图解西门子S71200PLC入门到实践(清晰
- AI拓客商家联盟V2.1.3前端+后端.rar
- echarts大数据领导仓demo.rar
- [C51单片机开发工具Keil.UV4].Keil.C51.V9
- Deep_Learning_2016.pdf
- zw_Classification1.zip
- Griffiths-IntroductiontoElectrodynamics4thEdit
- ParaViewTutorial.pdf
- xyisv_10236804.zip
- 计算机图形学第4版高清电子书.pdf
- 《多粒度知识获取与不确定性度量》
- 华成英模电课件.zip
- 70d0cd041f738f12db575d3b46e97582.pdf
- OfficeTabEnterprise13.1.zip
- wxu998.rar
- PowerDesigner16.5汉化文件.rar
- jsgis.zip
- PinyinIME(关键代码写了注释).zip
- 锁相环设计、仿真与应用第5版中.pd
- novelOnLine.zip
- SingleSensorImagingMethodsandApplicationsforDi
- ControlSystemsEngineering7th(NormanS.Nise)
- ModernControlSystems13th(RichardC.Dorf).ra
- VectorMagic_1.15pojie.rar
- complexityoflattice__problems.pdf
- xnby_883749.zip
评论
共有 条评论