TUI-NICR / ESANet

ESANet: Efficient RGB-D Semantic Segmentation for Indoor Scene Analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A question about the unit of depth value(m or mm)

amokame opened this issue · comments

Thanks a lot for your work!

I have a question about the unit of depth value, should it be meters or milimeters?
In nyuv2 files, it seems you change the unit to milimeters, but I didnot find similar process in Cityscapes data.

It depends on the dataset: For all indoor datasets except of SUNRGB-D, we use mm as our data during application is in mm as well. For Cityscapes, we use m as the outdoor distances are much larger - mm would not fit an uint16 png.
However, during preprocessing, we apply a standardization with mean and std computed on the current input dataset anyway.

You have a look in our follow up work EMSANet and the related dataset package - here we use hardcoded depth stats for standardization.

Thanks for your replying.
So the choice of the mm or m is dependent on the distance range of the particular dataset, got it.