iDRS™ SDK 16
Loading...
Searching...
No Matches
CImageLimits_interface.h File Reference

Interface for CImageLimits wrapper. More...

Go to the source code of this file.

Functions

IDRS_UINT32 CImageLimits_GetImageMaxWidth (idrs_exception *pargException)
 GetImageMaxWidth returns the maximum width in pixels for an image to be used with iDRS SDK.
 
IDRS_UINT32 CImageLimits_GetImageMaxHeight (idrs_exception *pargException)
 GetImageMaxHeight returns the maximum height in pixels for an image to be used with iDRS SDK.
 
IDRS_UINT32 CImageLimits_GetImageMaxSize (idrs_exception *pargException)
 GetImageMaxSize returns the maximum number of pixels for an image to be used with iDRS SDK.
 
IDRS_UINT32 CImageLimits_GetImageMinResolution (idrs_exception *pargException)
 GetImageMinResolution returns the minimum resolution in dpi that can be used by the recognition engine.
 
IDRS_UINT32 CImageLimits_GetImageMaxResolution (idrs_exception *pargException)
 GetImageMaxResolution returns the maximum resolution in dpi that can be used by the recognition engine.
 
IDRS_UINT32 CImageLimits_GetCharacterMaxHeight (IDRS_UINT32 const uiResolution, idrs_exception *pargException)
 GetCharacterMaxHeight returns the maximum character height, at the supplied resolution.
 
IDRS_UINT32 CImageLimits_GetLineMaxHeight (IDRS_UINT32 const uiResolution, idrs_exception *pargException)
 GetLineMaxHeight returns the maximum line height, at the supplied resolution.
 
IDRS_BOOL CImageLimits_CheckPageLimits (const CPage argPage, idrs_exception *pargException)
 CheckPageLimits verifies the limits of the supplied CPage object.
 
IDRS_BOOL CImageLimits_CheckPageLimits2 (IDRS_UINT32 const uiWidth, IDRS_UINT32 const uiHeight, idrs_exception *pargException)
 CheckPageLimits verifies if the supplied width and height are within the minimum and maximum image limits.
 
IDRS_BOOL CImageLimits_CheckPageResolution (const CPage argPage, idrs_exception *pargException)
 CheckPageLimits verifies the resolution of the supplied CPage object is in the min and max resolution interval.
 
IDRS_BOOL CImageLimits_CheckPageResolution2 (IDRS_UINT32 const uiResolution, idrs_exception *pargException)
 CheckPageResolution verifies that the supplied resolution is within recognition accepted limits.
 

Detailed Description

Interface for CImageLimits wrapper.

Function Documentation

◆ CImageLimits_CheckPageLimits()

IDRS_BOOL CImageLimits_CheckPageLimits ( const CPage  argPage,
idrs_exception *  pargException 
)

CheckPageLimits verifies the limits of the supplied CPage object.

Parameters
argPageCPage object that will be verified
pargExceptionPointer to exception structure that will be filled if an exception occurs
Return values
IDRS_TRUEif argPage contains an image that can be used for recognition
IDRS_FALSEif argPage internal image is not suitable for recognition

◆ CImageLimits_CheckPageLimits2()

IDRS_BOOL CImageLimits_CheckPageLimits2 ( IDRS_UINT32 const  uiWidth,
IDRS_UINT32 const  uiHeight,
idrs_exception *  pargException 
)

CheckPageLimits verifies if the supplied width and height are within the minimum and maximum image limits.

Parameters
uiWidthImage width
uiHeightImage height
pargExceptionPointer to exception structure that will be filled if an exception occurs
Return values
IDRS_TRUEif the width and height are ok
IDRS_FALSEif the width or height of the image exceeds the max limits

◆ CImageLimits_CheckPageResolution()

IDRS_BOOL CImageLimits_CheckPageResolution ( const CPage  argPage,
idrs_exception *  pargException 
)

CheckPageLimits verifies the resolution of the supplied CPage object is in the min and max resolution interval.

Parameters
argPageCPage object that will be verified
pargExceptionPointer to exception structure that will be filled if an exception occurs
Return values
IDRS_TRUEif the argPage contains an image with a resolution that can be used for recognition
IDRS_FALSEif the argPage internal image has a resolution not suitable for recognition

◆ CImageLimits_CheckPageResolution2()

IDRS_BOOL CImageLimits_CheckPageResolution2 ( IDRS_UINT32 const  uiResolution,
idrs_exception *  pargException 
)

CheckPageResolution verifies that the supplied resolution is within recognition accepted limits.

Parameters
uiResolutionresolution to verify
pargExceptionPointer to exception structure that will be filled if an exception occurs
Return values
IDRS_TRUEif the supplied resolution can be used for recognition
IDRS_FALSEif the supplied resolution is not suitable for recognition

◆ CImageLimits_GetCharacterMaxHeight()

IDRS_UINT32 CImageLimits_GetCharacterMaxHeight ( IDRS_UINT32 const  uiResolution,
idrs_exception *  pargException 
)

GetCharacterMaxHeight returns the maximum character height, at the supplied resolution.

Parameters
uiResolutionImage resolution
pargExceptionPointer to exception structure that will be filled if an exception occurs
Returns
The maximum character height in pixels for the supplied resolution

◆ CImageLimits_GetImageMaxHeight()

IDRS_UINT32 CImageLimits_GetImageMaxHeight ( idrs_exception *  pargException)

GetImageMaxHeight returns the maximum height in pixels for an image to be used with iDRS SDK.

Parameters
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CImageLimits_GetImageMaxResolution()

IDRS_UINT32 CImageLimits_GetImageMaxResolution ( idrs_exception *  pargException)

GetImageMaxResolution returns the maximum resolution in dpi that can be used by the recognition engine.

Parameters
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CImageLimits_GetImageMaxSize()

IDRS_UINT32 CImageLimits_GetImageMaxSize ( idrs_exception *  pargException)

GetImageMaxSize returns the maximum number of pixels for an image to be used with iDRS SDK.

Parameters
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CImageLimits_GetImageMaxWidth()

IDRS_UINT32 CImageLimits_GetImageMaxWidth ( idrs_exception *  pargException)

GetImageMaxWidth returns the maximum width in pixels for an image to be used with iDRS SDK.

Parameters
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CImageLimits_GetImageMinResolution()

IDRS_UINT32 CImageLimits_GetImageMinResolution ( idrs_exception *  pargException)

GetImageMinResolution returns the minimum resolution in dpi that can be used by the recognition engine.

Parameters
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CImageLimits_GetLineMaxHeight()

IDRS_UINT32 CImageLimits_GetLineMaxHeight ( IDRS_UINT32 const  uiResolution,
idrs_exception *  pargException 
)

GetLineMaxHeight returns the maximum line height, at the supplied resolution.

Parameters
uiResolutionImage resolution
pargExceptionPointer to exception structure that will be filled if an exception occurs
Returns
The maximum line height in pixels for the supplied resolution