Questions tagged [disparity-mapping]
200 questions
0
votes
1 answer
Penalty Parameters Semi-Global Matching with "disparity" function of Computer Vision toolbox
Does anybody know the values of the penalty parameters in smoothness constrain of the Semi-Global Matching (SGM) technique used by the disparity function of Matlabs Computer Vision?
In the documentation they refer the SGM paper (see links). In the…

Cor
- 104
- 2
0
votes
1 answer
Calculating a distance from an object to a camera using stereo vision
I have been trying to calculate a distance between an object and one of my cameras (the same model).
After calibration, I successfully got the following matrix. The resolution was 600 x 480.
Left Camera Matrix
[[624.65871068 0. 279.196958 …

SSS
- 621
- 2
- 7
- 25
0
votes
1 answer
Reporject the image to 3D using opencv3
I'm trying to use cv2.reprojectImageTo3D function to get (x,y,z) coordinates.
but it gives me negatives values of z.
can i convert this coordinates to real distance?
can i calculate the depth from it?

Imen Jmal
- 23
- 7
0
votes
1 answer
StereoCalibration in OpenCV: Shouldn't this work without ObjectPoints?
I have two questions relating to stereo calibration with opencv. I have many pairs of calibration images like these:
Across the set of calibration images the distance of the chessboard away from the camera varies, and it is also rotated in some…

kevinkayaks
- 2,636
- 1
- 14
- 30
0
votes
1 answer
Image rectifying after stereo calibration using openCv3
I'm new to stereo vision, i'm trying to get a good stereo calibration.
I calibrate each camera and i got a good results:
RMS1:0.22 ,RMS2: 0.26
For the stereo calibration i got:
RMS: 0.75
Is this an acceptable value?
After that i used…

Imen Jmal
- 23
- 7
0
votes
1 answer
Disparity Map Block Matching
I am writing a disparity matching algorithm using block matching, but I am not sure how to find the corresponding pixel values in the secondary image.
Given a square window of some size, what techniques exist to find the corresponding pixels? Do I…

user9561223
- 3
- 1
- 2
0
votes
0 answers
What pre- and/or postprocessing techniques to use on images before calculating disparity map
I'm implementing the SGM algorithm to calculate the disparity from 2 rectified images (the Cones dataset from Middlebury's stereo page).
I have compared my results with those from OpenCV's StereoSGBM implementation and the both the results seem to…

vronzeur
- 33
- 6
0
votes
1 answer
opencv standard disparity map not working
I can't seem to get any sort of depth image using the standard opencv function (stereoBM).
I tried:
Mat disp, disp8;
StereoBM *sbm = StereoBM::create(16,…

Mee
- 129
- 2
- 10
0
votes
1 answer
Disparity map tutorial SADWindowSize and image can not float
I am new to Python and have been following a basic tutorial (https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_calib3d/py_depthmap/py_depthmap.html#py-depthmap) for creating a disparity map from two images, but I have had several errors.
I am…

SarahB
- 43
- 1
- 4
0
votes
1 answer
I want to get depth data( not disparity ) from iPhone7 Plus
I want to get depth data( not disparity ) from iPhone7 Plus
Now, I refer to a sample source “AVCamPhotoFilter”.
And, now I can probably get disparity data.
But, I don’t know how to get depth data.
So, According to the reference about AVDepthData,…

kuu
- 197
- 1
- 4
- 14
0
votes
1 answer
OpenCV 3.3 reating disparity maps returned smaller sized result
I am trying to get disparity map from stereo images. When I try stereo_match.cpp with images below, result image is smaller from original images and left of the image is missing.
Is it about parameters? What is the reason and how can solve it?
How…

ffttyy
- 853
- 2
- 19
- 49
0
votes
0 answers
3D world Coordinate estimation using stereo camera
I have a stack of know object. My problem is to find the World Coordinates(X,Y,Z) of the object using the stereo pair.
I have done the following steps.
Stereo camera calibration, Got intrinsic and extrinsic parameters.
Un-Distort the image…

SPG
- 11
- 3
0
votes
0 answers
How to calculate real depth from disparity map
I know a function
(Baseline*focal)
depth = ------------------
(disparity*SensorSize)
when focal/SensorSize = fx in intrinsics[0][0], right?
But this calculated depth is always less than the real depth.
the real depth…

nistar
- 13
- 6
0
votes
0 answers
convert pgm 12bit/px to pgm 5
I'm generating a disparity map using pgm files, the file type is 12bit/px.
I faced an error, it says "wrong magic number, only P5 PGM files supported"
Is there any solution? can I convert to PGM?
Thanks

Richard Adam
- 23
- 3
0
votes
0 answers
unable to reproduce disparity map and point cloud
The point cloud output of my stereo image pair seems to be very inaccurate and strange. I believe this may be caused by an incorrect disparity map since nothing in the disparity map looks discernible compared to the stereo images. What methods do I…

Senyokbalgul
- 1,058
- 4
- 13
- 37