Questions tagged [disparity-mapping]

200 questions
5
votes
1 answer

cvReprojectImageTo3D -3d modelling from 2d images issue-

i need your help about this issue badly. i am trying to model a simple scene in 3d out of 2d images. i am using 2 images (left and right-the famous tsukuba…
ardavar
  • 510
  • 9
  • 20
5
votes
1 answer

Finding the darkest region in a depth map using numpy and/or cv2

I am attempting to consistently find the darkest region in a series of depth map images generated from a video. The depth maps are generated using the PyTorch implementation here Their sample run script generates a prediction of the same size as…
Sam Hammamy
  • 10,819
  • 10
  • 56
  • 94
5
votes
1 answer

How do you use OpenCV's DisparityWLSFilter in Python?

I can compute a depth map with cv2.StereoSGBM that looks pretty good. Now I want to apply WLS filtering as described here. This answer has some info, which I follow below, but I can't quite get to work. How do I use ximgproc_DisparityWLSFilter in…
Salvatore
  • 10,815
  • 4
  • 31
  • 69
5
votes
1 answer

Getting depth map

I can't get normal depth map from disparity. Here is my code: #include "opencv2/core/core.hpp" #include "opencv2/calib3d/calib3d.hpp" #include #include #include…
5
votes
3 answers

Different results for Fundamental Matrix in Matlab

I am implementing stereo matching and as preprocessing I am trying to rectify images without camera calibration. I am using surf detector to detect and match features on images and try to align them. After I find all matches, I remove all that…
Martin Ch
  • 1,337
  • 4
  • 21
  • 42
5
votes
1 answer

OpenCV Stereo Matching

I'm a newbie to OpenCV. I'm working on a stereo project using 2 webcams. I can display the webcam captures into left and right videos. I want to do the following: When I click on any point on the left frame, I want to find the matching point on the…
dramaticlook
  • 653
  • 1
  • 12
  • 39
4
votes
1 answer

calculate disparity in processing

i'm using processing and i'm trying to calculate disparity from 2 rectified images and for that i need to take every pixel from left image and seach in one line from right image and find the similar pixel ,the dimension of the images is 640x480 . I…
4
votes
1 answer

OpenCV disparity map is cut from left

I'm trying to compute disparity map in C++ using OpenCV 3.1. I use StereoSGBM algorithm and I need to be able to recognize far and very close objects. Thus I set MinDisparity to -16 and MaxDisparity 160. Camera is now correctly calibrated but the…
bigmuscle
  • 419
  • 1
  • 6
  • 16
4
votes
1 answer

How can I measure distances in stereo images?

I Have two images( left and right ) I want to measure the real distance on image? When I click on the image, ı ll get real distance to clicked point to camera. Left Image: Right Image: I have calibrated the two images. I want to use EmguCV to get…
CbsHs
  • 73
  • 9
4
votes
2 answers

AVX2 Winner-Take-All Disparity Search

I am optimizing the "winner-take-all" portion of a disparity estimation algorithm using AVX2. My scalar routine is accurate, but at QVGA resolution and 48 disparities the runtime is disappointingly slow at ~14 ms on my laptop. I create both LR and…
Der Luftmensch
  • 124
  • 1
  • 9
3
votes
3 answers

disparity map from 2 consecutive frames of a SINGLE calibrated camera. Is it possible?

The stereo_match.cpp example converts L and R images into disparity and point cloud. I want to adapt this example for compute the disparity and point cloud from 2 consecutive frames of a single calibrated camera. Is it possible? If this example…
Fobi
  • 423
  • 1
  • 6
  • 8
3
votes
0 answers

OpenCV Face detect in stereo cameras

Here is what I am trying to do. Detect a person's face in 2 calibrated USB cameras individually. Get the coordinates of the face center in each camera. Calculate the corresponding point coordinates in disparity map. With OpenCV sample code, I…
hoyomi
  • 277
  • 1
  • 6
  • 19
3
votes
3 answers

How a good depth map can be created with stereo cameras?

I'm studying on a project for a long time. My aim is to get depth map from stereo cameras' images and filter humans only in order to count human inside. I am trying to calibrate my camera, continuously for 1-2 months. Nevertheless, when I draw…
kursat-06
  • 31
  • 3
3
votes
1 answer

Disparity map post-filtering

After calibration and rectification, I was able to extract a pretty accurate disparity map of the camera feed of my stereo camera. The map contains correct disparity values since when I transform them in metrical distances they are really…
3
votes
1 answer

stereo vision 3d point calculation with known intrinsic and extrinsic matrix

I have successfully calculated Rotation, Translation with the intrinsic camera matrix of two cameras. I also got rectified images from the left and right cameras. Now, I wonder how I calculate the 3D coordinate of a point, just one point in an…
SSS
  • 621
  • 2
  • 7
  • 25
1
2
3
13 14