Support for different image types on both host and device with Pangolin depth handler.