about read depth information from Kinect
3 次查看(过去 30 天)
显示 更早的评论
I capture a few depth images from Kinect with format of .tif. However,when I use data cursor to get the depth information, it shows different type of number, it indeed confuse me. I put two different read result as follow:
First type shows:
X:170 Y 320
index:1.245e+004
RGB: 0.404 0.404 0.404
Second type shows:
X: 172 Y 132
RGB: 159,0,0
I just wonder what the meaning of the index and the two type of RGB value? Dose the RGB value means the Kinect disparity or something else?
Thank you very much for whom read and help!
1 个评论
Laila Kazemi
2013-6-13
hey how do u get these values? im really new to this, it would help a lot if let me know your procedure
回答(2 个)
Walter Roberson
2012-1-31
When data cursor mode shows an index, then the image being displayed is a pseudo-color image, and the index that is shown is the color number that is stored for that point. The RGB values that are shown are the Red, Green, and Blue intensities associated with that color number in the current color map; if you were to apply a different colormap then the color index would not change but the RGB values would. The RGB values are in the range 0 to 1, fully-off to fully-on.
When the data cursor mode does not show an index, then the image being displayed is a true-color image, and the RGB values that are shown are the Red, Green, and Blue intensities associated with that particular point. The RGB values will be in the range 0 to 1 if the color information for the image was stored as single precision or double precision. RGB values in the range 0 to 255 will be integral values, and indicate that the color information for the image was stored as unsigned 8 bit integers, 0 for fully-off and 255 for fully-on. If you see integral values above 255, then the color information for the image was stored as unsigned 16 bit numbers, 0 for fully-off and 65535 for fully-on.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Kinect For Windows Sensor 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!