Questions tagged [disparity-mapping]
200 questions
0
votes
0 answers
OpenCV weight approach for correspondence search and disparities C++
I have an OpenCV application and I have to implement a correspondence search using varying support weights between two image pair. This work is very similar to "Adaptive Support-Weight Approach for Correspondence Search" by Kuk-Jin Yoon and In So…

Franktrt
- 373
- 1
- 8
- 18
0
votes
1 answer
Get textured pointcloud with Block-Matching-Algorithm
I want to texture a generated pointcloud with the original image color from two images. For this I calculated the disparity-map with Block-Matching and did the reconstruction. Also writing an export function for .ply-files wasn't a big deal.
My…

attenbe
- 5
- 5
0
votes
1 answer
Matlab/OpenCV stereo vision distance measurement is not accurate
After stereo calibration, when I run the Matlab example for stereo depth estimation (SDE), the distances are wrong: at about 2 meters, it always reports distance as less than 1m.
And my 3D scene reconstruction looks cone-shaped instead of like the…

Doug Null
- 7,989
- 15
- 69
- 148
0
votes
1 answer
OpenCV StereoSGBM gives really bad disparity map
these is my calibration code:
void calibrate()
{
int numBoards = 10;
int board_w = 6;
int board_h = 9;
Size board_sz = Size(board_w, board_h);
int board_n = board_w*board_h;
vector > object_points;
…

Aram Gevorgyan
- 2,175
- 7
- 37
- 57
0
votes
1 answer
How to estimate the disparity/depth map limits from stereo geometry parameters?
i'm trying to estimate an upper limit for the disparity between some points in a stereo pair. I know the following parameters:
converge angle: 2.2°
baseline: 77 mm
focal length: 6.3 mm
Xresolution: 72
Yresolution: 72
resolution unit: 0x2 (inch)
i…

user2614596
- 630
- 2
- 11
- 30
0
votes
2 answers
Stereo Reconstruction Problems using BM and SGBM approaches
I've calibrated my stereo camera using OpenCV's chessboard calibration routine. I am currently using the obtained intrinsic and extrinsic matrices to rectify my messages and use a block matching approach (I've used both BM and SGBM and get the same…

c0d3rz
- 649
- 3
- 15
- 23
0
votes
0 answers
opencv ReprojectImageto3D gives values tending to infinity
I am using stereocalibrate and stereorectify to get the Q matrix.
I am giving this as input to cv.ReprojectImageto3D to get the depth map.
But when I try to show the results, many values are calculated as infinity.
Do I need to change or scale…

katri
- 26
- 1
- 7
0
votes
2 answers
Changing stereo vision baseline via software
I'm trying to estimate the distance with stereo system of far objects. I have rectified the images acquired after calibration process and I have built the disparity map.
Is it now possible to change the baseline (and the maximum depth achievable)…

Speed87
- 137
- 1
- 2
- 5
0
votes
2 answers
Rectifying images on opencv with intrinsic and extrinsic parameters already found
I ran Bouguet's calibration toolbox (http://www.vision.caltech.edu/bouguetj/calib_doc/htmls/example.html) on Matlab and have the parameters from the calibration (intrinsic [focal lengths and principal point offsets] and extrinsic [rotation and…

David
- 11
- 2
- 4
0
votes
1 answer
Using a median operator to combine four initial disparity maps into one
Hi could someone please help I am using matlab to generate a disparity map. I have performed multi-wavelet transforms on two rectified stereo pairs and have used a stereo matching algorithm to combine the corresponding babsebands from each image to…

Sean
- 11
- 3
0
votes
0 answers
Stereo images rectification and disparity: which algorithms?
I'm trying to figure out what are currently the two most efficent algorithms that permit, starting from a L/R pair of stereo images created using a traditional camera (so affected by some epipolar lines misalignment), to produce a pair of adjusted…

TheUnexpected
- 3,077
- 6
- 32
- 62
0
votes
2 answers
missing region in disparity map
i am currently working on stereo processing using opencv2.3 and a Pointgrey Bumblebee2 stereocamera as an input device. Acquiring images is done via the libdc1394.
My code for rectification and stereo processing is the following:
void…

m47h
- 1,611
- 2
- 18
- 26
0
votes
1 answer
When building an OpenCV project on iOS, why is CvStereoBMState undeclared?
I am working on an iOS project using OpenCV. I am trying to create disparity map of an image. While implementing this, Xcode is showing CvStereoBMState as being an undeclared identifier.
How can I fix this?

Dani
- 73
- 1
- 11
0
votes
2 answers
Issue with cvReprojectImageTo3D and CV_32FC3
I need your help. I have implemented stereo calibration, rectification using my stereo pair. I have got a disparity image which is quite reasonable. The problem that I face is with cvReprojectImageTo3D.I have used stereobM. And rectified in a…

nbsrujan
- 1,179
- 1
- 12
- 26
-1
votes
1 answer
What is the best way(algorithim or function) of generating a decent disparity map in c++ or python for implementation on raspberry pi?
I am trying to do some distance calculations using stereo videos in realtime but there is no proper documentation available for disparity mapping for opencv3 and many of the old commands from opencv2 are not working on the latest versions. Is there…

BigZee
- 456
- 5
- 22