EPFL-VILAB / omnidata

A Scalable Pipeline for Making Steerable Multi-Task Mid-Level Vision Datasets from 3D Scans [ICCV 2021]
Other
395 stars 49 forks source link

how to change 3 channel depth to 1 channel #15

Closed zf-666 closed 1 year ago

zf-666 commented 2 years ago

I want to use the depth images in my network, but I don't know why the depth images are 3 channel, and i want to chage it as 1 channel ,do you have any tools to solve it? Thank you!

alexsax commented 1 year ago

The depth images should be single-channel, since they are saved as 1-channel 16-bit images. But probably all channels are identical, so you can just take the first channel