Hello author~ I use offline mode to collect the RGB-D information and try to load the depth file from the local file.
I use this code to load the "*.depth.png"
np.array(Image.open(depth_file).resize((rgb.shape[1], rgb.shape[0]), Image.Resampling.NEAREST))
and find it's a 4-channel array (Usually it should be 1-channel)

This is the depth file:

So I would like to ask for advice on how to properly load a depth file, thanks!
Hello author~ I use offline mode to collect the RGB-D information and try to load the depth file from the local file.

I use this code to load the "*.depth.png"
np.array(Image.open(depth_file).resize((rgb.shape[1], rgb.shape[0]), Image.Resampling.NEAREST))and find it's a 4-channel array (Usually it should be 1-channel)
This is the depth file:

So I would like to ask for advice on how to properly load a depth file, thanks!