Convert Depth To Screen Space Operator#
Authors: Magic Leap team (Magic Leap)
Supported platforms: x86_64, aarch64
Language: C++
Last modified: May 13, 2025
Latest version: 0.0
Minimum Holoscan SDK version: 0.6
Tested Holoscan SDK versions: 0.6, 2.0
Contribution metric: Level 2 - Trusted
The ConvertDepthToScreenSpaceOp
operator remaps the depth buffer from Clara Viz to an OpenXR specific range. The depth buffer is converted in place.
holoscan::openxr::ConvertDepthToScreenSpaceOp
#
Converts a depth buffer from linear world units to screen space ([0,1])
Inputs#
depth_buffer_in
: input depth buffer to be remapped- type:
holoscan::gxf::VideoBuffer
depth_range
: Allocator used to allocate the volume data- type:
nvidia::gxf::Vector2f
Outputs#
depth_buffer_out
: output depth buffer- type:
holoscan::gxf::Entity