Questions tagged [disparity-mapping]
200 questions
1
vote
0 answers
Combine 2 point clouds constructed from disparity map
I have a stereopair (2 perspective cameras) which is rotated and does not move. Using conventional opencv methods I found disparity maps and perspective projection matrix Q.
From this I constructed 2 point clouds with reprojectImageTo3D() for two…

Anton Myagotin
- 11
- 1
1
vote
0 answers
correlation based disparity map on opencv result is not satisfying enough
I have used Normalized Cross Correlation equation to find disparity between two rectified images of tsukaba.
I searched in horizontal direction in range x=-15:1:15 and in vertical direction in range y=-1:1:1 using a rectangular windows sized…

Amir Mahmoudi
- 25
- 3
1
vote
1 answer
Disparity map's color is reversed
The result of my disparity map is good. As I know, close items should be light and far items are dark. The opposite happens with me.
This is my code:
CvStereoBMState *BMState = cvCreateStereoBMState();
assert(BMState != 0);
…

Salma
- 133
- 1
- 10
1
vote
2 answers
How to produce an accurate 3D reconstruction of an indoor surrounding using stereo vision?
I used cvStereoFindCorrespondenceGC() in openCV to produce a disparity map from the famous tsukaba image. But I notice that it lacks 3D features (eg the lamp is flat instead of slightly curve). How to approach this problem? What was lacking in the…

yasumi
- 205
- 1
- 4
- 7
1
vote
3 answers
Find real world coordinate of a point from calibrated stereo cameras with fundamental and essential matrix
I have a stereoscopic camera set up with two webcams that I am using with Matlab. I calibrate the cameras, and get the stereoParams.
Then, I want a user to be able to select a point in a picture, and get the real world point location in the image.…

bfrizzell
- 54
- 1
- 7
1
vote
2 answers
StereoBm Opencv function gives an error "object of an abstract class cannot be defined"
When I intialise StereoBM object I get an error "object of an abstract class cannot be defined". I checked calib3d.hpp and I found that StereoBM is an abstract class. Please provide me a solution how to define all those functions in StereoBM…

Nikita Chopra
- 440
- 9
- 22
1
vote
1 answer
visualizing the depth map in matlab and get the depth of an object in mm
what is the best way to visualize the depth map in MATLAB to find the depth of an object in millimeters?
I am using the formula in How Field of view changes depth estimation in stereo vision? to calculate depth from disparity. now I want to measure…

CV_passionate
- 115
- 1
- 4
- 18
1
vote
1 answer
Understanding Disparity Map in Opencv
Can somebody explain me what exactly does a disparity map return. Because there is not much given in the documentation and I have a few questions related to it.
Does it return difference values of pixels with respect to both images?
How to use…

kushal
- 301
- 1
- 7
- 18
1
vote
2 answers
Disparity calculation of two similar images in matlab
I have two images(both are exactly same images) and I am trying to calculate the disparity between them using sum of squared distances and reconstruct disparity in 3D space.
Do I need to rectify the image before calculating disparity?
The following…

User1234321232
- 517
- 10
- 25
1
vote
1 answer
reprojectImageTo3D - Where do I get Q
I am encountering some problems using OpenCV on Android without NDK.
Currently I am doing a project a my university and my chefs tells me that I should avoid camera calibration when reconstructing 3D objects from 2D images.
So far I have 2 2D images…

glethien
- 2,440
- 2
- 26
- 36
1
vote
0 answers
Why number of disparity must be divisible by 16?
Why in OpenCv the disparity number, in the creation of disparity map, must be divisible by 16?

Speed87
- 137
- 1
- 2
- 5
1
vote
1 answer
Graph Cuts on OpenCV
I'm trying to use the cvFindStereoCorrespondenceGC() function on opencv for the implementation of the graph cuts algorithm to find more accurate disparities than when using BM. I don't have this function for some reason; did they get rid of it in…

David
- 11
- 2
- 4
1
vote
2 answers
Given a stereo disparity map in OpenCV, how do I find true pixel offsets between left and right images (per-pixel)?
I have successfuly created a satisfying disparity map using cv::stereoSGBM class in OpenCV 2.4.5, with 256 different disparity levels. I have divided all the disparity values by 16, as indicated in the documentation, but this final map can't…

user2370585
- 11
- 2
1
vote
2 answers
Finding the corresponding pixel using disparity maps
I have a stereo pair of images and their ground truth disparity. The gray level in the disparity map tells me how far the object is. How do I use this gray level to find the corresponding pixel of a pixel?
I am sure that the gray levels are not the…

x-treme
- 1,606
- 2
- 21
- 39
1
vote
1 answer
3D reconstruction using stereo vison - theory
I am currently reading into the topic of stereo vision, using the book of Hartley&Zimmerman alongside some papers, as I am trying to develop an algorithm capable of creating elevation maps from two images.
I am trying to come up with the basic…

Zwähnia
- 177
- 2
- 8