7#ifndef CPERSPECTIVE_INTERFACE_H
9#define CPERSPECTIVE_INTERFACE_H
Interface for CIDRS wrapper.
Interface for CImageOperation wrapper.
CPerspective CPerspective_Create(const CIDRS objIdrs, idrs_exception *pargException)
Creates a new CPerspective object.
void CPerspective_SetCropToDocumentArea(CPerspective argCPerspective, IDRS_BOOL const bCropToDocumentArea, idrs_exception *pargException)
Sets the flag to crop to document area.
void CPerspective_Destroy(CPerspective argCPerspective, idrs_exception *pargException)
Destroys a CPerspective handle.
void CPerspective_CorrectPerspective(CPerspective argCPerspective, CImage argImage, const PerspectiveCorners *stPerspectiveCorners, idrs_exception *pargException)
ApplyCorrection corrects perspective distortion of the supplied image using the provided corners.
PerspectiveCorners CPerspective_DetectDocumentCorners(CPerspective argCPerspective, const CImage argImage, idrs_exception *pargException)
DetectDocumentCorners retrieves the corners for the supplied image.
IDRS_BOOL CPerspective_GetCropToDocumentArea(const CPerspective argCPerspective, idrs_exception *pargException)
Gets the flag to crop to document area.
Interface for CPolygon wrapper.
The CImage class manages images for iDRS.
The CPerspective class offers perspective correction of document images captured by a camera....
The PerspectiveCorners structure contains the four corners of a quadrilateral that represent the area...
Definition StructDefinitions_interface.h:52