DocumentImage.extractRoi Method¶
Module: DocumentImage
Definition¶
Extracts a region of interest in the image according to the given bounds.
extract_roi(self, bounds: Rectangle) -> DocumentImage
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Document Library execution.
DocumentImage extractRoi(Rectangle bounds)
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Document Library execution.
public DocumentImage ExtractRoi(Rectangle bounds)
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Document Library execution.
public DocumentImage extractRoi(Rectangle bounds) throws DocumentException
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Document Library execution.
public func extractRoi(bounds: Rectangle) throws -> DocumentImage
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentImage_ExtractRoi (
ID3_DOCUMENT_IMAGE hDocumentImage,
ID3_DOCUMENT_RECTANGLE hBounds,
ID3_DOCUMENT_IMAGE hDocumentImageRoi)
Parameters
hDocumentImage
ID3_DOCUMENT_IMAGEin Handle to the DocumentImage object.hBounds
ID3_DOCUMENT_RECTANGLEin Bounds of the crop to extract.hDocumentImageRoi
ID3_DOCUMENT_IMAGEout The extracted region of interest.
Returns