CaptureImage.extractRoi Method¶
Module: CaptureImage
Definition¶
Extracts a region of interest in the image according to the given bounds.
extract_roi(self, bounds: Rectangle) -> CaptureImage
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Devices Library execution.
CaptureImage extractRoi(Rectangle bounds)
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Devices Library execution.
public CaptureImage ExtractRoi(Rectangle bounds)
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Devices Library execution.
public CaptureImage extractRoi(Rectangle bounds) throws DevicesException
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesCaptureImage_ExtractRoi (
ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
const id3DevicesRectangle * sBounds,
ID3_DEVICES_CAPTURE_IMAGE hCaptureImageRoi)
Parameters
hCaptureImage
ID3_DEVICES_CAPTURE_IMAGEin Handle to the CaptureImage object.sBounds
const id3DevicesRectangle *in Bounds of the crop to extract.hCaptureImageRoi
ID3_DEVICES_CAPTURE_IMAGEout The extracted region of interest.
Returns