Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ning_R_
Beginner
34 Views

algorithm behind the function of renderd.RenderFrame(sample->depth);

Hi guys, anybody have idea about how to map the value of the deep to the value of the intensity?    the function

renderd.RenderFrame(sample->depth);

what the algorithm behind this.

 

Thanks a lot ^_^

Ning

 

0 Kudos
2 Replies
Johannes_V_
New Contributor I
34 Views

what exactly do you mean? going from depth data to grayscale?

i have a r200 and the raw depth data is unsigned 16 bit integer. if you want to show it on a standard grayscale (8bit) image, you could divide each pixel value from depth stream by 256 (maybe round the value). you will lose some information by this.

Ning_R_
Beginner
34 Views

Thanks Johannes, looks we did  the same way, but the image picture was not good as that in our imagination.   We're trying to modify the algorithm. 

Reply