Depth map of 3D environment

Hi All,

Is it possible to generate a depth map of the 3D environment in Slicer? I have looked around a bit and don’t believe this exists.


Do you mean of the rendered scene? You can get it with a bit of programming (get the vtk render window and read out the depth image). Something like this.

Yes, something like a segmentation.

Great, thank you! I’ll take a look and reach back out if I have any questions