about read depth information from Kinect

1 回表示 (過去 30 日間)
LIU WEIHUA
LIU WEIHUA 2012 年 1 月 31 日
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
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
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.
  1 件のコメント
LIU WEIHUA
LIU WEIHUA 2012 年 1 月 31 日
Thank you very much ,I learned a lot!

サインインしてコメントする。


Yan
Yan 2013 年 6 月 30 日
how do u get the data? can you give me the code. thank you very much.

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by