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 Rectangle
in 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 Rectangle
in 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 Rectangle
in 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 Rectangle
in 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

in Handle to the CaptureImage object.

in Bounds of the crop to extract.

hCaptureImageRoi ID3_DEVICES_CAPTURE_IMAGE
out The extracted region of interest.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.