s-gupta / rcnn-depth

Learning Rich Features from RGB-D Images for Object Detection and Segmentation
BSD 2-Clause "Simplified" License
365 stars 150 forks source link

Calulate depth image by raw depth image #18

Closed carlosInteraminense closed 8 years ago

carlosInteraminense commented 8 years ago

How you calculate the depth image by the raw depth image? You have the code?

LaifuLi commented 8 years ago

Have you already fixed this problem?

s-gupta commented 8 years ago

We use in-painted depth as made available by Silberman et al. Please look at this script for how the data that we use for our experiments was obtained.

Silberman et al. release code that they used for in-painting, so that can be a place to start if you want to in-paint your images. Otherwise we have a rather naive median filtering based method for in-painting images here.

LaifuLi commented 8 years ago

In the toolbox of nyu_depth_v2 provided by Silberman et al., there is a demo script named demo_fill_depth_cross_bf_test.m, it shows how could we get the in-painted depth if we only have the raw depth files. Thank @s-gupta again for the hint!