toFrame

abstract fun toFrame(): Frame

Converts this Depth frame to a Frame containing the depth or disparity data in the current pixelFormat. The resulting Frame must be disposed too.