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

Interface for CBlankImageDetection wrapper. More...

Go to the source code of this file.

Functions

CBlankImageDetection CBlankImageDetection_Create (const CIDRS argIDRS, idrs_exception *pargException)
 Creates a new CBlankImageDetection object.
 
void CBlankImageDetection_SetDetectionMode (CBlankImageDetection argCBlankImageDetection, enum BlankImageDetectionMode const evBlankImageDetectionMode, idrs_exception *pargException)
 Sets the detection mode.
 
enum BlankImageDetectionMode CBlankImageDetection_GetDetectionMode (const CBlankImageDetection argCBlankImageDetection, idrs_exception *pargException)
 Returns the detection mode.
 
void CBlankImageDetection_SetDetectionSensitivity (CBlankImageDetection argCBlankImageDetection, enum BlankImageDetectionSensitivity const evBlankImageDetectionSensitivity, idrs_exception *pargException)
 Sets the detection sensitivity.
 
enum BlankImageDetectionSensitivity CBlankImageDetection_GetDetectionSensitivity (const CBlankImageDetection argCBlankImageDetection, idrs_exception *pargException)
 Returns the detection sensitivity.
 
IDRS_BOOL CBlankImageDetection_IsBlank (const CBlankImageDetection argCBlankImageDetection, const CImage argImage, idrs_exception *pargException)
 IsBlank detects blank images.
 
void CBlankImageDetection_Destroy (CBlankImageDetection argCBlankImageDetection, idrs_exception *pargException)
 Destroys a CBlankImageDetection handle.
 

Detailed Description

Interface for CBlankImageDetection wrapper.

Function Documentation

◆ CBlankImageDetection_Create()

CBlankImageDetection CBlankImageDetection_Create ( const CIDRS  argIDRS,
idrs_exception *  pargException 
)

Creates a new CBlankImageDetection object.

Parameters
argIDRSThe iDRS
pargExceptionPointer to exception structure that will be filled if an exception occurs
Returns
The newly created CBlankImageDetection object.
Remarks
The default blank detection mode used is BlankImageDetectionMode::Advanced which gives the most accurate results.
Instances created by this method can also be provided to CImageOperation methods

◆ CBlankImageDetection_Destroy()

void CBlankImageDetection_Destroy ( CBlankImageDetection  argCBlankImageDetection,
idrs_exception *  pargException 
)

Destroys a CBlankImageDetection handle.

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

◆ CBlankImageDetection_GetDetectionMode()

enum BlankImageDetectionMode CBlankImageDetection_GetDetectionMode ( const CBlankImageDetection  argCBlankImageDetection,
idrs_exception *  pargException 
)

Returns the detection mode.

Remarks
The default blank detection mode used is BlankImageDetectionMode::Advanced which gives the most accurate results.
Returns
The detection mode
Parameters
argCBlankImageDetectionCBlankImageDetection handle
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CBlankImageDetection_GetDetectionSensitivity()

enum BlankImageDetectionSensitivity CBlankImageDetection_GetDetectionSensitivity ( const CBlankImageDetection  argCBlankImageDetection,
idrs_exception *  pargException 
)

Returns the detection sensitivity.

Returns
The detection sensitivity
Parameters
argCBlankImageDetectionCBlankImageDetection handle
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CBlankImageDetection_IsBlank()

IDRS_BOOL CBlankImageDetection_IsBlank ( const CBlankImageDetection  argCBlankImageDetection,
const CImage  argImage,
idrs_exception *  pargException 
)

IsBlank detects blank images.

Parameters
argCBlankImageDetectionCBlankImageDetection handle
argImageThe image to analyze.
pargExceptionPointer to exception structure that will be filled if an exception occurs
Return values
IDRS_TRUEif the image is considered as blank.
IDRS_FALSEotherwise.

◆ CBlankImageDetection_SetDetectionMode()

void CBlankImageDetection_SetDetectionMode ( CBlankImageDetection  argCBlankImageDetection,
enum BlankImageDetectionMode const  evBlankImageDetectionMode,
idrs_exception *  pargException 
)

Sets the detection mode.

Parameters
argCBlankImageDetectionCBlankImageDetection handle
evBlankImageDetectionModeThe detection mode to set
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CBlankImageDetection_SetDetectionSensitivity()

void CBlankImageDetection_SetDetectionSensitivity ( CBlankImageDetection  argCBlankImageDetection,
enum BlankImageDetectionSensitivity const  evBlankImageDetectionSensitivity,
idrs_exception *  pargException 
)

Sets the detection sensitivity.

Parameters
argCBlankImageDetectionCBlankImageDetection handle
evBlankImageDetectionSensitivityThe detection sensitivity to set
pargExceptionPointer to exception structure that will be filled if an exception occurs