DepthPixelFormat

type DepthPixelFormat = 
  | "depth-16-bit"
  | "depth-32-bit"
  | "depth-point-cloud"
  | "disparity-16-bit"
  | "disparity-32-bit"
  | "unknown"

Represents the pixel format of a depth image buffer.

In general, depth-* formats use actual depth sensors (like infra-red, time-of-flight or LiDAR), whereas disparity-* formats come from multiple constituent physical cameras and represents pixel shift between two or more cameras.

  • depth-16-bit: Depth (1 Grey) 16-bit Float
  • depth-32-bit: Depth (1 Grey) 32-bit Float
  • depth-point-cloud: A 3D Point Cloud representing depth. Each point consists of four 32-bit floats, [x, y, z, confidence].
  • disparity-16-bit: Disparity (1 Grey) 16-bit Float
  • disparity-32-bit: Disparity (1 Grey) 32-bit Float
  • unknown: An unknown format.