stereo-3d

Opencv - Depth map from uncalibrated stereo system

懵懂的女人 提交于 2019-12-03 04:43:25
问题 I'm trying to get a depth map from an uncalibrated method. I can obtain the fundamental matrix via different correspondent points from SIFT method and cv2.findFundamentalMat . Then with cv2.stereoRectifyUncalibrated I can get the rectification matrix. Finally I can use cv2.warpPerspective to rectify and compute the disparity but this latter doesn't conduct to a good depth map. The values are very high so I'm wondering if I have to use warpPerspective or I have to calculate rotation matrix

Convert between MATLAB stereoParameters and OpenCV stereoRectify stereo calibration

回眸只為那壹抹淺笑 提交于 2019-12-03 03:52:13
I wish to convert a MATLAB stereoParameters structure to intrinsics and extrinsics matrices to use in OpenCV's stereoRectify. If I understood http://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html and http://mathworks.com/help/vision/ref/stereoparameters-class.html , stereoParameters.CameraParameters1 and stereoParameters.CameraParameters2 store the intrinsic matrices and the other members of stereoParameters the extrinsic ones. I think I got this mapping Intrinsics: cameraMatrix1 = stereoParameters.CameraParameters1.IntrinsicMatrix' cameraMatrix2 =

Accuracy in depth estimation - Stereo Vision

时光怂恿深爱的人放手 提交于 2019-12-03 01:17:38
问题 I am doing a research in stereo vision and I am interested in accuracy of depth estimation in this question. It depends of several factors like: Proper stereo calibration (rotation, translation and distortion extraction), image resolution, camera and lens quality (the less distortion, proper color capturing), matching features between two images. Let's say we have a no low-cost cameras and lenses (no cheap webcams etc). My question is, what is the accuracy of depth estimation we can achieve

How to calculate the fundamental matrix for stereo vision

倖福魔咒の 提交于 2019-12-03 00:30:09
I'm trying to write some code that will calculate the fundamental matrix to determine the relationship between stereo images. I started with the Hartley and Zisserman book that most people recommend, but it didn't have any practical examples and the sample code for it was in MATLAB which I don't have. I then switched to An introduction to 3D Computer Vision Techniques and Algorithms which is more practical and has actual examples in it. I implemented the recommended 8-point algorithm using Python and numpy, but I'm having trouble verifying the validity of it. I'm using the dataset listed on

Opencv - Depth map from uncalibrated stereo system

蹲街弑〆低调 提交于 2019-12-02 17:59:20
I'm trying to get a depth map from an uncalibrated method. I can obtain the fundamental matrix via different correspondent points from SIFT method and cv2.findFundamentalMat . Then with cv2.stereoRectifyUncalibrated I can get the rectification matrix. Finally I can use cv2.warpPerspective to rectify and compute the disparity but this latter doesn't conduct to a good depth map. The values are very high so I'm wondering if I have to use warpPerspective or I have to calculate rotation matrix from homography matrix got with stereoRectifyUncalibrated . So I'm not sure of the projective matrix with

Accuracy in depth estimation - Stereo Vision

瘦欲@ 提交于 2019-12-02 14:45:16
I am doing a research in stereo vision and I am interested in accuracy of depth estimation in this question. It depends of several factors like: Proper stereo calibration (rotation, translation and distortion extraction), image resolution, camera and lens quality (the less distortion, proper color capturing), matching features between two images. Let's say we have a no low-cost cameras and lenses (no cheap webcams etc). My question is, what is the accuracy of depth estimation we can achieve in this field? Anyone knows a real stereo vision system that works with some accuracy? Can we achieve 1

Unable to use both cameras of Evo 4G using OpenCV4Android

不问归期 提交于 2019-11-30 16:23:30
问题 I'm planning to calculate disparity map by taking two pictures from the two back cameras of Evo 3D. However, I'm able to use only one camera. I tried different index. index 0 gives me left camera (one of the back cameras) 1 gives me front camera -1 gives me left camera (one of the back cameras). I once got other camera using -1 index, but it's not working anymore. I'm using CameraBridgeViewBase . I have seen on Google group of android-opencv that people have successfully used both cameras of

Unable to use both cameras of Evo 4G using OpenCV4Android

让人想犯罪 __ 提交于 2019-11-30 16:19:45
I'm planning to calculate disparity map by taking two pictures from the two back cameras of Evo 3D. However, I'm able to use only one camera. I tried different index. index 0 gives me left camera (one of the back cameras) 1 gives me front camera -1 gives me left camera (one of the back cameras). I once got other camera using -1 index, but it's not working anymore. I'm using CameraBridgeViewBase . I have seen on Google group of android-opencv that people have successfully used both cameras of Evo 3D phone. I want to know how to do it? Is there some other index? or is there some other way using

In a calibrated stereo-vision rig, how does one obtain the “camera matrices” needed for implementing a 3D triangulation algorithm?

六月ゝ 毕业季﹏ 提交于 2019-11-30 07:32:26
I am trying to implement the (relatively simple) linear homogeneous (DLT) 3D triangulation method from Hartley & Zisserman's "Multiple View Geometry" (sec 12.2), with the aim of implementing their full, "optimal algorithm" in the future. Right now, based on this question , I'm trying to get it to work in Matlab, and will later port it into C++ and OpenCV, testing for conformity along the way. The problem is that I'm unsure how to use the data I have. I have calibrated my stereo rig, and obtained the two intrinsic camera matrices, two vectors of distortion coefficients, the rotation matrix and

Difference between Disparity map and Disparity Image in Stereo Matching

本小妞迷上赌 提交于 2019-11-30 06:13:20
问题 I am new to Stereo Matching. I couldn't understand the concept of Disparity. Please tell me what is disparity map and disparity image and also What is the difference between them? Are both the terms same or different? 回答1: Disparity Disparity refers to the distance between two corresponding points in the left and right image of a stereo pair. If you look at the image below you see a labelled point X (ignore X1, X2 & X3). By following the dotted line from X to OL you see the intersection point