FingerImage.crop Method

Module: FingerImage

Definition

Crop a rectangular region of interest in the image according to the given bounds.

crop(self, left: int, top: int, width: int, height: int) -> FingerImage

Parameters

left int
in Left bound of the crop to extract.

top int
in Top bound of the crop to extract.

width int
in Width of the crop to extract.

height int
in Height of the crop to extract.

Returns

The extracted region of interest.

Exceptions

An error has occurred during Finger Library execution.
FingerImage crop(int left, int top, int width, int height)

Parameters

left int
in Left bound of the crop to extract.

top int
in Top bound of the crop to extract.

width int
in Width of the crop to extract.

height int
in Height of the crop to extract.

Returns

The extracted region of interest.

Exceptions

An error has occurred during Finger Library execution.
public FingerImage Crop(int left, int top, int width, int height)

Parameters

left int
in Left bound of the crop to extract.

top int
in Top bound of the crop to extract.

width int
in Width of the crop to extract.

height int
in Height of the crop to extract.

Returns

The extracted region of interest.

Exceptions

An error has occurred during Finger Library execution.
public FingerImage crop(int left, int top, int width, int height) throws FingerException

Parameters

left int
in Left bound of the crop to extract.

top int
in Top bound of the crop to extract.

width int
in Width of the crop to extract.

height int
in Height of the crop to extract.

Returns

The extracted region of interest.

Exceptions

An error has occurred during Finger Library execution.
public func crop(left: Int32, top: Int32, width: Int32, height: Int32) throws -> FingerImage

Parameters

left Int32
in Left bound of the crop to extract.

top Int32
in Top bound of the crop to extract.

width Int32
in Width of the crop to extract.

height Int32
in Height of the crop to extract.

Returns

The extracted region of interest.

Exceptions

An error has occurred during Finger Library execution.
int id3FingerImage_Crop (
    ID3_FINGER_IMAGE hFingerImage,
    int left,
    int top,
    int width,
    int height,
    ID3_FINGER_IMAGE hFingerImageCrop)

Parameters

hFingerImage ID3_FINGER_IMAGE
in Handle to the FingerImage object.

left int
in Left bound of the crop to extract.

top int
in Top bound of the crop to extract.

width int
in Width of the crop to extract.

height int
in Height of the crop to extract.

hFingerImageCrop ID3_FINGER_IMAGE
out The extracted region of interest.

Returns

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