Software Archive
Read-only legacy content
17061 Discussions

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

Ning_R_
Beginner
468 Views

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
468 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.

0 Kudos
Ning_R_
Beginner
468 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. 

0 Kudos
Reply