Ask Your Question
0

Disparity Map Quality using Graph Cuts

asked 2012-08-29 02:07:50 -0600

bo2krocketman gravatar image

I've written a piece of software using FindStereoCorrespondenceGC, and while it's generating great disparity maps (in terms of object boundaries), the actual depth quality is mediocre. It's basically put every object onto a 2.5D plane.

The images have all been pre-rectified, although not using openCV. The camera is a Pt. Grey Bumblebee, so I used the Triclops rectification functions.

I was wondering if there's any way to improve the disparity map quality with graph cuts, or do I need to start using a hybrid method.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-08-29 03:27:20 -0600

Jacek gravatar image

It seems GraphCut stereo algorithm it's not included in the latest OpenCV version (at least I wasn't able to find anything in the documentation).

I can suggest using StereoSGBM(). Semi Global Block Matching stereo algorithm gives very good results (similar to best global methods, like GraphCut) but at the speed comparable to simple local methods (like block matching algorithms). I've tried it myself and reasults were really very good.

edit flag offensive delete link more

Comments

I don't think it's in the C++ API, at least not that I've seen.

bo2krocketman gravatar imagebo2krocketman ( 2012-08-29 03:52:50 -0600 )edit
Jacek gravatar imageJacek ( 2012-08-29 07:20:55 -0600 )edit

Whoops,I meant to say that graph cut isn't in the C++ API.

bo2krocketman gravatar imagebo2krocketman ( 2012-08-29 08:48:25 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-08-29 02:07:50 -0600

Seen: 3,435 times

Last updated: Aug 29 '12