7#ifndef CBINARIZE_INTERFACE_H
9#define CBINARIZE_INTERFACE_H
IDRS_INT CBinarize_GetBrightness(const CBinarize argCBinarize, idrs_exception *pargException)
Gets the brightness adjustment to apply during binarization.
CImage CBinarize_Binarize(CBinarize argCBinarize, const CImage argImage, idrs_exception *pargException)
void CBinarize_SetBinarizationType(CBinarize argCBinarize, enum BinarizationType const evBinarizationType, idrs_exception *pargException)
Set the type of binarization to use.
IDRS_INT CBinarize_GetSmoothingLevel(const CBinarize argCBinarize, idrs_exception *pargException)
Gets the strength of the smoothing operation applied during binarization.
IDRS_BOOL CBinarize_GetUndithering(const CBinarize argCBinarize, idrs_exception *pargException)
Gets a flag indicating if the automatic undithering correction will be applied before OCR.
enum BinarizationType CBinarize_GetBinarizationType(const CBinarize argCBinarize, idrs_exception *pargException)
Get the type of binarization to use.
CImage CBinarize_Binarize2(const CIDRS argIDRS, const CImage argImage, idrs_exception *pargException)
IBinarizeCallback CBinarize_GetBinarizeCallback(const CBinarize argCBinarize, idrs_exception *pargException)
Gets the callback object used to indicate which color to drop out.
void CBinarize_SetContrast(CBinarize argCBinarize, IDRS_INT const iContrast, idrs_exception *pargException)
Sets the contrast adjustment to apply during binarization.
IDRS_INT CBinarize_GetContrast(const CBinarize argCBinarize, idrs_exception *pargException)
Gets the contrast adjustment to apply during binarization.
CBinarize CBinarize_Create(const CIDRS argIDRS, idrs_exception *pargException)
Creates a new CBinarize object.
void CBinarize_SetGlobalThreshold(CBinarize argCBinarize, IDRS_INT const iGlobalThreshold, idrs_exception *pargException)
Sets the global threshold to be use during binarization.
IDRS_INT CBinarize_GetGlobalThreshold(const CBinarize argCBinarize, idrs_exception *pargException)
Gets the global threshold to be use during binarization.
void CBinarize_SetBrightness(CBinarize argCBinarize, IDRS_INT const iBrightness, idrs_exception *pargException)
Sets the brightness adjustment to apply during binarization.
void CBinarize_SetSmoothingLevel(CBinarize argCBinarize, IDRS_INT const iSmoothingLevel, idrs_exception *pargException)
Sets the strength of the smoothing operation applied during binarization.
void CBinarize_SetUndithering(CBinarize argCBinarize, IDRS_BOOL const bUndithering, idrs_exception *pargException)
Sets the automatic undithering when binarizing a page.
void CBinarize_Destroy(CBinarize argCBinarize, idrs_exception *pargException)
Destroys a CBinarize handle.
void CBinarize_SetBinarizeCallback(CBinarize argCBinarize, IBinarizeCallback pBinarizeCallback, idrs_exception *pargException)
Sets the callback object used to indicate which color to drop out.
Interface for CIDRS wrapper.
Interface for CImageOperation wrapper.
Interface for CPage wrapper.
BinarizationType
The types of binarization available.
Definition EnumDefinitions_interface.h:1819
Interface for IBinarizeCallback wrapper.
The CBinarize class offers image binarization features.
The CImage class manages images for iDRS.
IBinarizeCallback defines the interface required to provide a custom algorithm for image binarization...