Table of contents

DeskewedImagesUnit

The DeskewedImagesUnit class represents an intermediate result unit whose type is deskewed images.

Definition

Namespace: com.dynamsoft.ddn.intermediate_results

Assembly: DynamsoftCaptureVisionBundle.aar

class DeskewedImagesUnit extends IntermediateResultUnit

Methods

Methods Description
getDeskewedImage Gets the deskewed image of type DeskewedImageElement.
setDeskewedImage Sets the deskewed image with a DeskewedImageElement object

The following methods are inherited from class IntermediateResultUnit.

Method Description
getHashId Returns the hash ID of the unit.
getOriginalImageHashId Returns the hash ID of the original image.
getOriginalImageTag Returns the image tag of the original image.
getType Returns the type of the intermediate result unit.
getTransformMatrix Returns the transformation matrix via DSTransformMatrixType.
clone Creates a copy of the intermediate result unit.
replace Replaces the content of the intermediate result unit.

getDeskewedImage

Gets a deskewed image.

DeskewedImageElement getDeskewedImage();

Return Value

A DeskewedImageElement object that represents the deskewed image.

setDeskewedImage

Sets a DeskewedImageElement as the deskewed image.

void setDeskewedImage(DeskewedImageElement element, Matrix matrixToOriginalImage);

Parameters

[in] element: The deskewed image to be set.

[in] matrixToOriginalImage: The matrix to the original image.

This page is compatible for: