Martin Peris' 3D Reconstruction with OpenCV and Point Cloud Library
3D Reconstruction using OpenCV and Point Cloud Library from Stereo Camera generated disparity map.
I need help running Martin Peris' 3D Reconstruction with OpenCV and Point Cloud Library source code - http://blog.martinperis.com/2012/01/3d-reconstruction-with-opencv-and-point.html# in MS Visual Studio 2010. How can run I it? Please guide me on what needs to be done in order to run it. I need it as reference for my studies and i'm quite new to this thing.
what if you start following his instructions, and report back if you run into trouble ?
oh, just get the opencv install from here instead, willowgarage is dead.
I already installed opencv and pcl. I also followed his instructions and I also have the disparity map and matrix needed by the code. I want to know what type of project do I create in Visual Studio to run the code. I'm also missing the parts on what to set, include, configure etc. before running it. I guess the instructions on the site are for running the program on linux platform. If someone could try running it on Visual Studio, your feedback will surely help.
oh, create an empty project in any case. (as even the 'console' one will run you into trouble with unicode / precompiled headers and such)
if you got cmake - open a console window in that folder and run:
this should generate the desired vcproj/sln files
"I also have the disparity map and matrix needed by the code" -- well, that's the outcome of his situation.
(the code is only for visualizing an existing disparity map)
to get a disparity map from your cams, you'll have to stereo calibrate your cams, undistort the images, and acquire your own disparity via blockmatching/stereovar.
hard work ahead ;)
I tried creating a console project and pasted the source code. I also did the cmake thing in the folder but I ran into some errors for both cases. I guess they have something to do with the include stuff in opencv and also pcl. Have you tried running the code @berak? I need your help on how to do this in steps. Thanks.
I already have the disparity map from my cam. I already did my own stereo calibration. My problem now is how to get the source code running. I really need your help. Thanks.
no i did not run it. (got too lazy , when it comes to configuring pcl as well.. )
also still on vs2008 and different pcl version here, so whatever would work for me, won't for you.
"I already have the disparity map from my cam" -- ohh ok. ++ ;)
Ok. Thanks for the help though. Just wanna ask. I found the owner of the source code. He has an account here in opencv.org. Is there a way that I can send him a personal message here or tag him?