Kinect 深度图像格式

Kinect的深度图像有16bit,2byte,如图:

第15位:标志位,不用做深度计算

第14~3位:深度图像数据,即距离,以毫米为单位

第0~2位:深度图中人的ID(PlayerID)

 

深度图有两种格式:

FTIMAGEFORMAT_UINT16_D16     16位全表示深度数据,即距离,单位为毫米。不包含PlayerID。

FTIMAGEFORMAT_UINT16_D13P3    即为上边图中显示的格式,包含PlayerID。

 

Reference:

http://www.benbarbour.com/convert-kinect-depth-image-iftimage-to-opencv-iplimage/

https://msdn.microsoft.com/en-us/library/microsoft.kinect.facetracking.ftimageformat.aspx

posted @ 2016-05-06 10:20  Fienly  阅读(1774)  评论(0编辑  收藏  举报