Function rs2_get_region_of_interest

Function Documentation

void rs2_get_region_of_interest(const rs2_sensor *sensor, int *min_x, int *min_y, int *max_x, int *max_y, rs2_error **error)

gets the active region of interest to be used by auto-exposure algorithm

Parameters:
  • sensor[in] the RealSense sensor

  • min_x[out] lower horizontal bound in pixels

  • min_y[out] lower vertical bound in pixels

  • max_x[out] upper horizontal bound in pixels

  • max_y[out] upper vertical bound in pixels

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