Function rs2_gl_create_colorizer

Function Documentation

rs2_processing_block *rs2_gl_create_colorizer(int api_version, rs2_error **error)

Creates Colorizer processing block This block has similar capabilities as the regular librealsense colorizer It is capable of applying depth to RGB conversion using various color schemes and optional histogram equalization

Parameters:
  • api_version[in] Users are expected to pass their version of RS2_API_VERSION to make sure they are running the correct librealsense version.

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored