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
boundsRectanglein 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
boundsRectanglein 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
boundsRectanglein 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
boundsRectanglein 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
boundsRectanglein 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
hDocumentImageID3_DOCUMENT_IMAGEin Handle to the DocumentImage object.hBoundsID3_DOCUMENT_RECTANGLEin Bounds of the crop to extract.hDocumentImageRoiID3_DOCUMENT_IMAGEout The extracted region of interest.
Returns