Function sc_tdc_cam_set_roi

Function Documentation

int sc_tdc_cam_set_roi(const int dd, const unsigned x_min, const unsigned x_max, const unsigned y_min, const unsigned y_max)

Set a region of interest in a camera. Restriction to a subset of the sensor area may enable faster frame rates. To go back to the full sensor area, use x_min = 0, x_max = 8192, y_min = 0, y_max = 8192 (or any values for x_max, y_max that are larger than the native number of pixels on the sensor).

Parameters
  • dd – Device Descriptor

  • x_min – left border

  • x_max – right border

  • y_min – top border

  • y_max – bottom border

Returns

0 on success, or negative error code