[−][src]Function realsense_sys::rs2_set_region_of_interest
pub unsafe extern "C" fn rs2_set_region_of_interest(
sensor: *const rs2_sensor,
min_x: c_int,
min_y: c_int,
max_x: c_int,
max_y: c_int,
error: *mut *mut rs2_error
)
\brief sets the active region of interest to be used by auto-exposure algorithm \param[in] sensor the RealSense sensor \param[in] min_x lower horizontal bound in pixels \param[in] min_y lower vertical bound in pixels \param[in] max_x upper horizontal bound in pixels \param[in] max_y upper vertical bound in pixels \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored