当前位置:网站首页>标定。。。
标定。。。
2022-06-26 00:26:00 【ooolmf】
void Cmy3DScanMFCDlg::OnBnClickedButton3()//开始
{
// TODO: 在此添加控件通知处理程序代码
plistb->AddString(_T("开始标定:"));
cd.camera_points.clear();
cd.cornerpoints_temp.clear();
cd.cornerpoints.clear();
cd.worldpoints.clear();
grating.samples_FAI.clear();
delete grating.src_grating_cllect;
grating.src_grating_cllect = new cv::Mat[cam.group_num][13];
cam.calib_num = cam.group_num;
cam.calib_button_flag = 1;
}
void Cmy3DScanMFCDlg::OnBnClickedButton9()
{
// TODO: 在此添加控件通知处理程序代码
//bool flag = cd.collectWorldPoints(grating.src_grating[0]);
bool flag = cd.collectWorldPointsCircle(grating.src_grating[0]);
if (!flag)
{
CString CStemp;
CStemp.Format(_T("%d"), cam.group_num +1-cam.calib_num);
plistb->AddString(_T("第")+ CStemp+_T("次标定失败!"));
}
else
{
CString CStemp;
CStemp.Format(_T("%d"), cam.group_num+1 - cam.calib_num);
plistb->AddString(_T("第") + CStemp + _T("次标定完成!"));
for (int i = 1;i < 13;++i)
{
grating.src_grating_cllect[cam.group_num - cam.calib_num][i] = grating.src_grating[i];
}
cam.calib_num--;
}
if (cam.calib_num == 0)
{
cd.cameraCalibrationChessBoard();
for (int i = 0;i < cam.group_num;++i)
{
grating.threeFrequencyHeterodyneImproved(cd.cornerpoints[i], grating.src_grating_cllect[i]);
}
cd.calculateCameraPoints();
cd.phase3DPointsMapping(grating.samples_FAI);
plistb->AddString(_T("标定完成!!!") );
delete grating.src_grating_cllect;
grating.src_grating_cllect = new cv::Mat[cam.group_num][13];
}
}
边栏推荐
- memory leak check tools 详解
- biggan:large scale gan training for high fidelity natural image synthesis
- 输入3个整数,从大到小输出出来
- Disruptor(一)Sequence
- General introduction to gun make (2)
- 图形渲染管线
- Show spirit chenzitong was invited to be the chief experience officer of the global finals of the sixth season perfect children's model
- Principle of voice wake-up
- Web Testing
- Tcp网络通信中各个状态的含义
猜你喜欢

关于strlen与sizeof的区别

shell学习记录(二)

cyclegan:unpaired image-to-image translation using cycle-consistent adversarial network

秀场精灵陈梓桐 受邀担任第六季完美童模全球总决赛首席体验官

pixel 6 root

Sunshine boy chenhaotian was invited to be the spokesperson for the global finals of the sixth season perfect children's model

Energetic girl wangyujie was invited to be the spokesperson for the global finals of the sixth season perfect children's model

Redis7.0 installation steps

Abnova CMV CISH probe solution

通俗易懂C语言关键字static
随机推荐
阳光男孩陈颢天 受邀担任第六季完美童模全球总决赛代言人
Wanglaoji pharmaceutical's public welfare activity of "caring for the most lovely people under the scorching sun" was launched in Hangzhou
LeetCode 41 ~ 50
Tengwenze, a hot-blooded boy, was invited to serve as the image ambassador of the global finals of the sixth season perfect children's model
Brief introduction to the usage of iloc in dataframe
wifi 相关知识详解
PTA class a simulated second bullet: 1136-1139
CyCa children's physical etiquette Yueqing City training results assessment successfully concluded
前置++,后置++与前置--与后置--(++a,a++与--a,a--)
Energetic girl wangyujie was invited to be the spokesperson for the global finals of the sixth season perfect children's model
Input 3 integers and output them from large to small
CYCA少儿形体礼仪 乐清市培训成果考核圆满落幕
影响个人成长的三个因素
How to set an achievable annual goal?
Gun make (5) variables in makefile
Abnova anti GBA monoclonal antibody solution
Redis-SDS
Visual studio 2013 redistributable is installed, but MySQL installation fails
如何为政企移动办公加上一道“安全锁”?
17.11 std::atomic续谈、std::async深入谈