Function rs2_create_disparity_transform_block

Function Documentation

rs2_processing_block *rs2_create_disparity_transform_block(unsigned char transform_to_disparity, rs2_error **error)

Creates a post processing block that provides for depth<->disparity domain transformation for stereo-based depth modules

Parameters:
  • transform_to_disparity[in] flag select the transform direction: true = depth->disparity, and vice versa

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