필터 지우기
필터 지우기

about read depth information from Kinect

조회 수: 2 (최근 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