diode-devkit icon indicating copy to clipboard operation
diode-devkit copied to clipboard

How to change the format depth.npy to depth.png

Open genera0 opened this issue 3 years ago • 3 comments

genera0 avatar Oct 15 '20 01:10 genera0

The high precision of depth value cannot be contained in PNG format. That's why we used npy array. What are your particular use cases? Visualization?

w-hc avatar May 08 '21 15:05 w-hc

I would also like to know how to convert the depth data into a greyscale 8-bit format

Henkebot avatar May 29 '21 21:05 Henkebot

PNG sacrifices precision; hence it's not stored that way.

w-hc avatar Sep 22 '21 23:09 w-hc