asus-xtion

How to initialize multiple OpenNI sensors with OpenCV

自闭症网瘾萝莉.ら 提交于 2019-11-28 06:59:10
问题 I'd like to use two Asus Xtion Pro sensors with OpenCV (2.4.4) and not sure how to initialize both devices. I can initialize one like so: VideoCapture capture; capture.open(CV_CAP_OPENNI); How can I initialize two VideoCapture instances for two separate sensors ? 回答1: Turns out it's as simple as this: VideoCapture sensor1;sensor1.open(CV_CAP_OPENNI_ASUS); VideoCapture sensor2;sensor2.open(CV_CAP_OPENNI_ASUS+1); A very basic runnable example is: #include "opencv2/core/core.hpp" #include

Extracting 3D coordinates given 2D image points, depth map and camera calibration matrices

 ̄綄美尐妖づ 提交于 2019-11-27 13:49:00
I have a set of 2D image keypoints that are outputted from the OpenCV FAST corner detection function. Using an Asus Xtion I also have a time-synchronised depth map with all camera calibration parameters known. Using this information I would like to extract a set of 3D coordinates (point cloud) in OpenCV. Can anyone give me any pointers regarding how to do so? Thanks in advance! Nicolas Burrus has created a great tutorial for Depth Sensors like Kinect. http://nicolas.burrus.name/index.php/Research/KinectCalibration I'll copy & paste the most important parts: Mapping depth pixels with color

Extracting 3D coordinates given 2D image points, depth map and camera calibration matrices

馋奶兔 提交于 2019-11-26 16:29:39
问题 I have a set of 2D image keypoints that are outputted from the OpenCV FAST corner detection function. Using an Asus Xtion I also have a time-synchronised depth map with all camera calibration parameters known. Using this information I would like to extract a set of 3D coordinates (point cloud) in OpenCV. Can anyone give me any pointers regarding how to do so? Thanks in advance! 回答1: Nicolas Burrus has created a great tutorial for Depth Sensors like Kinect. http://nicolas.burrus.name/index.php