尚无官方的SDK,有人可以帮忙吗?
如何在ubuntu(或其他linux env)中将realsense RGB帧转换为cv::Mat?
最佳答案
似乎可以创建3个cv::Mat来表示图像RGB +深度+ IR的每个分量。因此,应该像
cv::Mat frameColor = cv::Mat::zeros(resolutionColor.height, resolutionColor.width, CV_8UC3); cv::Mat frameDepth = cv::Mat::zeros(resolutionDepth.height, resolutionDepth.width, CV_32FC1); cv::Mat frameIR = cv::Mat::zeros(resolutionIR.height, resolutionIR.width, CV_8UC1);
查看此论坛->
https://software.intel.com/en-us/forums/realsense/topic/538066和
Convert a PXCImage into an OpenCV Mat
关于opencv - 如何在ubuntu(或其他linux env)中将realsense RGB帧转换为cv::Mat?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37266390/