在Kinect SDK v2.0中,如何将彩色图像中的像素映射到深度图像中的像素 [英] In Kinect SDK v2.0, how do I map a pixel in the color image to a pixel in the depth image
问题描述
给定一个彩色像素坐标(x,y),我需要知道该像素的深度(以mm为单位)(如果存在)。我想知道距离Kinect有多远(不是人类)?我知道答案是在坐标映射器类中的某个地方。我一直在敲我的头来
找到它。
看看这个 http://msdn.microsoft.com/ en-us / library / microsoft.kinect.coordinatemapper.mapcamerapointstodepthspace.aspx
and this http://msdn.microsoft.com/en-us/library/microsoft.kinect.coordinatemapper .mapcamerapointtodepthspace.aspx
Given a color pixel co-ordinate(x,y), I need to know the depth(in mm) of that pixel(if it exists). I want to know how far from Kinect is the object (not human)? I know the answer is somewhere in the Co-ordinate Mapper class. I've been banging my head to find it.
Look this http://msdn.microsoft.com/en-us/library/microsoft.kinect.coordinatemapper.mapcamerapointstodepthspace.aspx
and this http://msdn.microsoft.com/en-us/library/microsoft.kinect.coordinatemapper.mapcamerapointtodepthspace.aspx
这篇关于在Kinect SDK v2.0中,如何将彩色图像中的像素映射到深度图像中的像素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!