about read depth information from Kinect
조회 수: 1 (최근 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에서 Acquisition Using Kinect for Windows Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!