使用 openCV 示例进行 3d 表面重建
我正在尝试使用 OpenCV 示例文件从立体配置执行 3D 表面重建。我用 2 个网络摄像头创建了一个立体摄像头。我已经使用stereo_calib.cpp( https://code.ros.org/trac/opencv/browser/trunk/opencv/samples/cpp/stereo_calib.cpp?rev=4086 )并使用stereo_match生成点云。 .cpp(https://code.ros.org /trac/opencv/browser/trunk/opencv/samples/c/stereo_match.cpp?rev=2614 )。使用 MeshLab 打开的结果点云根本不像原始场景 ( http:// img707.imageshack.us/i/snapshot01u.png/ )。
我在这里缺少什么?
重新创建的步骤:
- stereo_calib(在图像所在的同一文件夹中,没有参数,因此假定为默认值)
- stereo_match left01.jpg right01.jpg -i insides.yml -e extrinsics.yml -p cloud.asc
- import cloud.asc on网格实验室
谢谢
I am trying to perform a 3D surface reconstruction from a stereo configuration with OpenCV example files. I have created a stereo camera from 2 web cams. I have obtained the calibration parameters using stereo_calib.cpp ( https://code.ros.org/trac/opencv/browser/trunk/opencv/samples/cpp/stereo_calib.cpp?rev=4086 ) and generated a point cloud with stereo_match.cpp ( https://code.ros.org/trac/opencv/browser/trunk/opencv/samples/c/stereo_match.cpp?rev=2614 ). The resulting point cloud, opened with MeshLab doesn't resemble the original scene at all ( http://img707.imageshack.us/i/snapshot01u.png/ ).
What am I missing here?
Steps to recreate:
- stereo_calib (on the same folder where the images are, with no arguments so it assumes default)
- stereo_match left01.jpg right01.jpg -i intrinsics.yml -e extrinsics.yml -p cloud.asc
- import cloud.asc on MeshLab
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论