iDRS™ SDK 16
Loading...
Searching...
No Matches
CDeskew_interface.h
Go to the documentation of this file.
1
7#ifndef CDESKEW_INTERFACE_H
8
9#define CDESKEW_INTERFACE_H
10
11#include "CIDRS_interface.h"
13
14#include "idrs_common.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
30CDeskew CDeskew_Create(const CIDRS argIDRS, idrs_exception *pargException);
31
46SkewInfo CDeskew_DetectSkewAngle(const CDeskew argCDeskew, const CImage argImage, idrs_exception *pargException);
47
62SkewInfo CDeskew_DetectSkewAngle2(const CDeskew argCDeskew, const CPage argPage, idrs_exception *pargException);
63
76SkewInfo CDeskew_Deskew(CDeskew argCDeskew, CImage argImage, idrs_exception *pargException);
77
94SkewInfo CDeskew_Deskew2(CDeskew argCDeskew, CPage argPage, idrs_exception *pargException);
95
105void CDeskew_CorrectSkewAngle(CDeskew argCDeskew, CImage argImage, const SkewInfo* stSkewInfo, idrs_exception *pargException);
106
120void CDeskew_CorrectSkewAngle2(CDeskew argCDeskew, CPage argPage, const SkewInfo* stSkewInfo, idrs_exception *pargException);
121
129void CDeskew_SetDimensionAdjust(CDeskew argCDeskew, enum DimensionAdjust const evDimensionAdjust, idrs_exception *pargException);
130
138enum DimensionAdjust CDeskew_GetDimensionAdjust(const CDeskew argCDeskew, idrs_exception *pargException);
139
147void CDeskew_Destroy(CDeskew argCDeskew, idrs_exception *pargException);
148
149#ifdef __cplusplus
150}
151#endif /* __cplusplus */
152
153#endif /* CDESKEW_INTERFACE_H */
SkewInfo CDeskew_DetectSkewAngle2(const CDeskew argCDeskew, const CPage argPage, idrs_exception *pargException)
DetectSkewAngle analyzes the supplied page and detects its skew angle.
CDeskew CDeskew_Create(const CIDRS argIDRS, idrs_exception *pargException)
Creates a new CDeskew object.
void CDeskew_Destroy(CDeskew argCDeskew, idrs_exception *pargException)
Destroys a CDeskew handle.
SkewInfo CDeskew_DetectSkewAngle(const CDeskew argCDeskew, const CImage argImage, idrs_exception *pargException)
DetectSkewAngle analyzes the supplied image and detects its skew angle.
SkewInfo CDeskew_Deskew2(CDeskew argCDeskew, CPage argPage, idrs_exception *pargException)
Deskew analyzes and rotates the page to correct its skew angle.
void CDeskew_CorrectSkewAngle2(CDeskew argCDeskew, CPage argPage, const SkewInfo *stSkewInfo, idrs_exception *pargException)
Correct the skew angle of the provided page according to the skew info provided.
void CDeskew_SetDimensionAdjust(CDeskew argCDeskew, enum DimensionAdjust const evDimensionAdjust, idrs_exception *pargException)
Sets the behavior regarding dimension adjustment for deskew.
enum DimensionAdjust CDeskew_GetDimensionAdjust(const CDeskew argCDeskew, idrs_exception *pargException)
Retrieves the behavior regarding dimension adjustment for deskew operation.
void CDeskew_CorrectSkewAngle(CDeskew argCDeskew, CImage argImage, const SkewInfo *stSkewInfo, idrs_exception *pargException)
Correct the skew angle of the image according to the skew info provided.
SkewInfo CDeskew_Deskew(CDeskew argCDeskew, CImage argImage, idrs_exception *pargException)
Deskew analyzes and rotates the image to correct its skew angle.
Interface for CIDRS wrapper.
Interface for CImageOperation wrapper.
DimensionAdjust
Enumerable that defines the dimension adjustment options available when performing Deskew feature.
Definition EnumDefinitions_interface.h:2057
The CDeskew class offers deskew image correction.
The CImage class manages images for iDRS.
The CPage class manages a page in the IDRS.
Fine representation of a skew angle.
Definition StructDefinitions_interface.h:68