Questions tagged [disparity-mapping]

200 questions
3
votes
1 answer

How to interpret Disparity value

assume we have two rectified photos with known pixel position from stereo cameras and we want to draw the disparity map what would be the closest pixel if the pixel in the right photo is moving in both direction? I know that the farthest point is…
Raziel
  • 444
  • 6
  • 22
3
votes
1 answer

What is disparity space image (DSI)

What is meant by Disparity Space Image (DSI). I couldn't find a clear definition for it. In some places it is mentioned that DSI and Disparity map are the same (but I disagree), like in here What is meant by disparity space image. And in some places…
3
votes
0 answers

Adjust OpenCV's SGBM parameters to avoid striped ground

I am building a disparity map with OpenCV's SGBM implementation. In particular, I'm using the OpenCV version 2.4.9. Currently, I am working with the following parameters: int numberOfDisparities = 64; sgbm.preFilterCap = 25; sgbm.SADWindowSize =…
agregorio
  • 91
  • 1
  • 11
3
votes
1 answer

What is "cliptab" in OpenCV's SGBM algorithm?

I am currently trying to understand how OpenCV's SGBM disparity algorithm works, I know the pixel cost calculations follows Birchfield and Tomasi algorithm. http://robotics.stanford.edu/~birch/publications/dissimilarity_pami1998.pdf I cannot seem to…
C. Jaraque
  • 92
  • 6
3
votes
1 answer

point cloud generated from the images taken by the stereo rig in opencv

I can view the point clouds that are given with the Point Cloud Library. But, the problem is I cannot view my point cloud which I have generated from my stereo rig images. The images are of resolution 640x480 pixels. But, the number of points in…
Richie
  • 4,404
  • 2
  • 17
  • 22
3
votes
4 answers

Best stereo correspondence algorithm in opencv

Well, I have got a stereo setup where it computes the disparity of stereo image pairs using SGBM(Semi-global block matching), BM(Block matching) and Variational matching algorithm using the OpenCV library. But the disparities are not so good as that…
Richie
  • 4,404
  • 2
  • 17
  • 22
2
votes
3 answers

How can I compute the dense disparity map from to stereo images?

How can I compute the dense disparity map from to stereo images ? My idea so far was to go over all the pixels from the first image, and scan the second image for matches. To compare the similarity of two pixels i computed the squared difference of…
Jim Cocke
2
votes
1 answer

How to create a disparity map?

Okay so I have implemented a stereo correspondence algorithm which takes a stereo image pair, matches a point on the left image with a point on the right image, and finds the disparity between the points. I need to write this to a disparity map. The…
cherryduck
  • 251
  • 1
  • 6
  • 14
2
votes
2 answers

Non-uniform shifting of pixels

From the given matrices A and B I need to compute a new matrix C. Matrix A represents image pixels and C is a horizontally shifted version of A. The tricky part: this shift is defined per pixel by the values in the disparity matrix B. For exampe:…
Atze Kaputtnik
  • 262
  • 3
  • 10
2
votes
0 answers

How do I replicate the error values of OpenCV SGBM on KITTI dataset?

I've recently been working on the KITTI dataset- specifically the stereo subsection. I tried to replicate the results using the OpenCV SGBM method. I have used all the same parameters as specified on the OpenCV results page in the KITTI…
AsishG
  • 21
  • 2
2
votes
0 answers

Disparity Map implementation in Python not matching in-built OpenCV function

I'm facing an issue, and would like some inputs from the community on how to improve the disparity map. I'm following this tutorial for calculating the disparity map between 2 images. The code I have is as follows: import cv2 import numpy as…
2
votes
3 answers

Normalizing Disparity Image Using an Accelarator

I have a disparity image and I am normalizing it using the sample code below but it is very slow. I need to do it using some accelerator like custom CIFilter or any other technique but I dont know how? I am currently running the code with…
eral
  • 123
  • 1
  • 16
2
votes
1 answer

How can we show a single disparity map with OpencCV StereoSGBM (C++)?

I'm trying to show a disparity map with stereoSGBM from opencv, but when I show the map, 3 images appear, and I can't find how to show only one disparity map. Here an exemple of what appears (I display it whit the QPixmap class): Here is my code…
ping_pung
  • 29
  • 3
2
votes
1 answer

how to get a clean disparity map and clean DEPTH MAP

currently I working with IP camera from titathink (TT522PW) which deliver a stream of 1280 * 720 with 30 FPS with normal sensors (not a model with a high sensitivity low light) when capturing the video stream we see on the frames a fisheye type…
2
votes
1 answer

'Color' must correspond to the number of input points when using pointCloud in MATLAB

I want to create a 3D Map from a stereo camera, to test this I use the two given MATLAB examples: https://de.mathworks.com/help/vision/ref/estimatecameraparameters.html ("Stereo Camera Calibration")…
Kev1n91
  • 3,553
  • 8
  • 46
  • 96
1 2
3
13 14