简体   繁体   English

Kinect颜色到深度的映射

[英]Kinect color to depth mapping

Given a color pixel coordinate(x,y), is there a way to find the corresponding depth image co-ordinate? 给定一个彩色像素坐标(x,y),有没有办法找到对应的深度图像坐标? I looked into co-ordinate mapping, using which you can map a skeleton pixel to a color pixel. 我研究了坐标映射,使用该坐标映射可以将骨架像素映射到彩色像素。 I'm identifying objects in the color stream and I want to know how far they are using the depth stream. 我正在识别颜色流中的对象,我想知道它们使用深度流的距离。 Am I overlooking something here? 我在这里俯瞰什么吗?

DepthImagePoint headDepthPoint = depth.MapSkeletonPointToDepthPoint(skel.Joints[JointType.Head].Position); DepthImagePoint headDepthPoint = depth.MapSkeletonPointToDepthPoint(skel.Joints [JointType.Head] .Position);

ColorImagePoint headColorPoint = depth.MapDepthPointToColorPoint. ColorImagePoint headColorPoint = depth.MapDepthPointToColorPoint。 X, headDepthPoint. X,headDepthPoint。 Y, ColorImageFormat.RgbResolution640x480Fps30); Y,ColorImageFormat.RgbResolution640x480Fps30);

like this try if there any methods like "MapColorPointToDepthPoint" 这样尝试是否有类似“ MapColorPointToDepthPoint”的方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM