Questions tagged [disparity-mapping]
200 questions
2
votes
1 answer
FInding the Z coordinate using disparity map
I have found Disparity map of two stereoscopic images. And now I have to write an OpenGL code to visualize it for 3D reconstruction.
OpenGL has function vertex3f() for which three co-ordinates are to mentioned.
Two dimension are points on image.
So…

Gunjan naik
- 501
- 1
- 7
- 18
2
votes
1 answer
Disparity map code in openCV C++
I have calibrated and stereo rectified images in MATLAB using Caltech's toolbox (http://www.vision.caltech.edu/bouguetj/calib_doc/). I tried the disaprity in MATLAB and it is not returning good results now I would like to try it in OPENCV. I could…

CV_passionate
- 115
- 1
- 4
- 18
2
votes
1 answer
Matlab: From Disparity Map to 3D coordinates
I copied the matlab code from: http://www.mathworks.fr/fr/help/vision/ug/stereo-image-rectification.html
I can compute the 3D coordinates but I am not sure if it is the correct one.
Starting from the disparity map and calculating the 3D coordinates,…

alvaro562003
- 678
- 1
- 6
- 27
2
votes
1 answer
How to choose BlockSize and DisparityRange parameters for disparity function of matlab to compute depthmap
I have 2 stereo images with me and the quality of depth map depends on the BlockSize and DisparityRange parameters of the disparity function. Currently I fix them by trying few different values for it.
Is there a better way (code or matlab function)…

Abhishek
- 3,337
- 4
- 32
- 51
2
votes
1 answer
OpenCV Big difference between StereoSGBM and gpu::StereoBM_GPU
I try to generate disparity of stereo image by using OpenCV and optimize performance by using GPU but the results of them are different.
StereoSGBM initialize
StereoSGBM sbm;
sbm.SADWindowSize = 3;
sbm.numberOfDisparities = 144;
sbm.preFilterCap =…

thanhit08
- 23
- 1
- 3
2
votes
1 answer
Calling stereoRectify in OpenCV causes exception: invalid frame pointer
For my employer I am comparing the results of an already implemented image rectification method with the results of the corresponding OpenCV implementation. However, an exception is thrown once the OpenCV function is called.
The header of the OpenCV…

Simon Oelmann
- 247
- 4
- 12
2
votes
2 answers
Disparity map colors are backwards in opencv
My problem is that the colors in my disparity map are backwards. As in the farther away things are lighter than the things closer to the camera.
I have tried many things (i.e. convertTo, convertScaleAbs, and various combinations of values in them,…

limac
- 21
- 1
- 4
1
vote
1 answer
What does a disparity map in OpenCV tell?
What does the map returned by stereo.compute() indicate?
The definition of disparity is the distance between two comparable pixels in the left and right images.
However, by running the following code, I obtained a map with the same size as the input…

M812_
- 55
- 6
1
vote
1 answer
Is it possible to create / use the V-disparity map with data from a Time of Flight sensor (instead of normally used RGB-D Stereo Vision approach)?
I am doing my master thesis regarding floor based obstacle detection with a Time of Flight (ToF) camera.
I found out there are alot of applications that use the V- and U- Disparity map to detect and track objects and the ground plane with a stereo…
1
vote
0 answers
Disparity of image (closest object)
I want to extract closest object to the camera from image in Python OpenCV. I have two images of the same object but second one is just a little bit rotated. Now what I want is to create a binary mask based on my disparity map to extract my object…

Jaroslav Venjarski
- 11
- 1
1
vote
0 answers
Pixel Correspondence from Disparity Map - OpenCV Python
I am trying to select a point in the left image and get the corresponding point in the right image.
To start with, I did the stereo calibration and rectified the images, and proceeded to find the disparity map. I used the StereoSGBM in OpenCV. Since…

GoncaloGabriel
- 11
- 5
1
vote
0 answers
Why are different methods used to optimize energy function for optical flow and stereo vision?
Optical flow and stereo vision both try to estimate dense correspondence from each pixel in
one image to matching pixel in another image.
For optical flow, the two images are taken from the same camera, but at different points in time, and optical…

Jogging Song
- 573
- 6
- 28
1
vote
1 answer
Tensorflow lite - depth map - based on stereo vision
I have not found any project, library, model or guide to measure distance using stereo imaging with tensorflow lite 2.
I want to be able to measure distance from stereo images.
I would like to be able to run it on android, so I would like to create…

user60108
- 3,270
- 2
- 27
- 43
1
vote
0 answers
How to apply feature matching method to enhance Stereo Disparity Map result
Recently I'm using the Middlebury Stereo Datasets 2005 for generating the disparity map. Only the dataset Art, Dolls and Reindeer will be used. The requirement is to generate the disparity map with only view1.png and view5.png for each set.
I've…

Xenox
- 43
- 4
1
vote
1 answer
What is the difference between Optical flow estimation and Disparity estimation?
I am trying to understand some computer vision topics. One main difference I observed between these two is that In optical flow, the 2nd image is often at time (t+1) whereas in disparity estimation, its often the same time-step unless one is having…

StanGeo
- 431
- 1
- 7
- 20