Questions tagged [disparity-mapping]
200 questions
1
vote
0 answers
Align depth/point cloud to RGB scene
I have a setup of a hybrid stereo system. One camera is 3D ToF from which I can export depth map or greyscale point cloud and the other camera is PI V2 RGB camera. I have done stereoCalibration using Matlab stereo calib tool.
How can I estimate a…

Kuchx
- 21
- 3
1
vote
1 answer
Dense dispairity map generation in OpenCV with ORB
I am trying to generate a dense disparity map with OpenCV's ORB detectors. I followed this tutorial and understand how it generates its disparity map.
However, I don't understand how the code in the tutorial generates a dense disparity map because I…

Derpson
- 11
- 2
1
vote
1 answer
Depth/Disparity Map from a moving camera in OpenCV
Is that possible to get the depth/disparity map from a moving camera? Let say I capture an image at x location, after I travelled let say 5cm and I capture another picture, and from there I calculate the depth map of the image.
I have tried using…

user9870
- 45
- 1
- 10
1
vote
0 answers
theory behing open cv functions
I have used OpenCV library to for Stereo Camera Calibration and disparity map estimation. I used the tutorials available in OpenCV 3.3.1 documentation. For example, for disparity I have used the code from the following link:…

Reborn
- 147
- 2
- 9
1
vote
1 answer
Stereo map using Post-filtering
I tried using the code to find the disparity given in the link: link However the disparity map appears to be wrong in some areas. Some objects far from the camera appear to be brighter than the closer objects. I tried to calculate the actual depth…

Abhilesh Borode
- 31
- 7
1
vote
1 answer
How to superimpose two stereo images so that they become aligned? (Camera intrinsics and extrinsics known)
I'd like to find a transformation that projects the image from the Left camera onto the image from the Right camera so that the two become aligned. I already managed to do that with two similar cameras (IGB and RGB), by using the disparity map and…

S. Rozov
- 13
- 3
1
vote
1 answer
Improper disparity map using LIBELAS and post filtering algorithm
Mat generateDisparityMap(Mat& left, Mat& right)
{
Mat lb, rb;
if (left.empty() || right.empty())
return left;
cvtColor(left, lb, CV_BGR2GRAY);
cvtColor(right, rb, CV_BGR2GRAY);
const Size imsize = lb.size();
const int32_t dims[3] =…

Abhilesh Borode
- 31
- 7
1
vote
2 answers
disparity map creation opencv
I have 2 image one is left the other is right image. I want to implement disparity mapping. There are some questions in my mind.
Firstlty dispartiy image is 1 channel gray image but the left and right images are 3 channels bgr images. If we convert…

cemalinanc
- 11
- 2
1
vote
1 answer
Disparity maps with Normalized Cross Correlation using Python
For understanding purposes, I want to implement a stereo algorithm in Python (and Numpy), that computes a disparity map. As image data, I used the Tsukuba image dataset from Middlebury*. For simplicity, I choose normalised cross correlation (NCC)**…

ChefFrank
- 21
- 5
1
vote
1 answer
Improved SGBM based on previous frames result
I was wondering if there is any good method to make SGBM process faster, by taking the info from the previous video frame.
I think that it can be made faster by searching correspondences only near the distance of the disparity of previous frame.…

agregorio
- 91
- 1
- 11
1
vote
1 answer
Inaccurate real time disparity map.
I am new to stereo camera(or perhaps, new to opencv). However, i need to do my FYP that requires stereo camera to measure distance of an object selected.
What are the steps taken to get an accurate disparity map? As far as i know, we need to…

Jerry Chee
- 11
- 4
1
vote
1 answer
Loop to build virtual disparity image in MATLAB
I'm trying to implement the homogeneous transformation from the disparity image to the virtual disparity image, following the paper of Suganuma et. al. "An Obstacle Extraction Method Using Virtual Disparity Image".
After doing the matrix…

agregorio
- 91
- 1
- 11
1
vote
0 answers
Disparity Map won't show/ not sure if calibrating properly
I wrote this code using other code that I found online. I don't get any errors, however I can't get the disparity map to show up using imshow. I saved the image and it is just black so I'm not doing something properly. Could someone please look…

Mauro
- 11
- 2
1
vote
1 answer
u-disparity shows half the expected cols
I cannot see what I am doing wrong after checking the code a thousand times.
The algorithm is very simple: I have a CV_16U image with the disparity values called disp, and I am trying to implement the building of the u and v disparities in order to…

agregorio
- 91
- 1
- 11
1
vote
1 answer
Is opencv disparity map of real time stationary image meant to change?
Is a disparity map generated in OpenCV from two live camera feeds of a stationary scene meant to change over time??? (I assumed not but I am getting a changing disparity image.)
user5036470