run stereo vision on a stereo video data using open cv [closed]

asked 2016-10-18 06:49:19 -0600

smarty gravatar image

updated 2016-10-19 00:30:00 -0600

Hi,

I am new to openCV and want to run stereo vision on a stereo video data using openCV+visual studio. I want to show results by using color keys for disparities.

Does any one know from where to start ? While doing some net surfing, i came across few third party libraries too to achieve it.

Do we really need to use them ?

Can we achieve it using openCV itself ?

I would really appreciate any help !!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by smarty
close date 2016-11-30 15:37:51.842954

Comments

I am doing some stereo-processing with openCV at the moment as well. I never used anything else to achieve it but openCV (except to capture the frames from the camera, but that is only because of my special scenario, OpenCV usually can to that too!). What you want to look into first is Stereo Camera Calibration. You can find the code in the samples of the opencv source. This will give you all intrinsic and extrinsic parameters of the cameras (or whatever you are using for input), so it will give you the distortion as well as the rotation and translation between the cameras. If you gathered all this information, you can start creating disparity maps or whatever you want!

benT gravatar imagebenT ( 2016-10-18 10:48:05 -0600 )edit

Thank you for the information. I tried camera callibration sample code in opencv but facing issues while passing image list using VID5.XML file ..It gives me this error- (parsing error.There should be some space between literals). For disparity map can I use stereoBM or SGBM like procedures directly?

smarty gravatar imagesmarty ( 2016-10-24 11:57:37 -0600 )edit

Are there any white-spaces in the filenames or the folders they are in? Try to specify the absolute path to the files and make sure there are no white-spaces in them!

I do not know about stereoBM or SGBM

benT gravatar imagebenT ( 2016-10-31 08:24:08 -0600 )edit