Function rs2_set_region_of_interest

Function Documentation

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

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

Parameters:
  • sensor[in] the RealSense sensor

  • min_x[in] lower horizontal bound in pixels

  • min_y[in] lower vertical bound in pixels

  • max_x[in] upper horizontal bound in pixels

  • max_y[in] upper vertical bound in pixels

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