Blob (CVCBlob.dll) 14.1
Filter Functions

Functions

cvbres_t BlobGetHoleLimitArea (void *BlobHandle, cvbval_t *lLow, cvbval_t *lHigh)
 This function returns the parameter settings for the area of holes that are found. More...
 
cvbres_t BlobGetHoleLimitHeight (void *BlobHandle, cvbval_t *lLow, cvbval_t *lHigh)
 This function returns the parameter settings for the height of holes that are found. More...
 
cvbres_t BlobGetHoleLimitWidth (void *BlobHandle, cvbval_t *lLow, cvbval_t *lHigh)
 This function returns the parameter settings for the width of holes that are found. More...
 
cvbres_t BlobGetLimitArea (void *BlobHandle, cvbval_t *lLow, cvbval_t *lHigh)
 This function returns the parameter settings for the Blob area. More...
 
cvbres_t BlobGetLimitHeight (void *BlobHandle, cvbval_t *lLow, cvbval_t *lHigh)
 This function returns the parameter settings for the Blob height. More...
 
cvbres_t BlobGetLimitNoHoles (void *BlobHandle, cvbval_t *lLow, cvbval_t *lHigh)
 This function returns the parameter settings for the number of holes per Blob. More...
 
cvbres_t BlobGetLimitNoMeasHoles (void *BlobHandle, cvbval_t *lLow, cvbval_t *lHigh)
 This function returns the parameter settings for the number of measured holes per Blob. More...
 
cvbres_t BlobGetLimitWidth (PBLOB BlobHandle, cvbval_t *lLow, cvbval_t *lHigh)
 This function returns the parameter settings for the Blob width. More...
 
cvbres_t BlobSetHoleLimitArea (void *BlobHandle, cvbval_t lLow, cvbval_t lHigh)
 This function sets the filter for holes which have a size (area) of at least lLow and at most lHigh. More...
 
cvbres_t BlobSetHoleLimitHeight (void *BlobHandle, cvbval_t lLow, cvbval_t lHigh)
 This function sets the filter for holes which have a height of at least lLow and at most lHigh. More...
 
cvbres_t BlobSetHoleLimitWidth (void *BlobHandle, cvbval_t lLow, cvbval_t lHigh)
 This function sets the filter for holes which have a width of at least lLow and at most lHigh. More...
 
cvbres_t BlobSetLimitArea (void *BlobHandle, cvbval_t lLow, cvbval_t lHigh)
 This function sets the filter for objects which have a size (area) of at least lLow and at most lHigh. More...
 
cvbres_t BlobSetLimitHeight (void *BlobHandle, cvbval_t lLow, cvbval_t lHigh)
 This function sets the filter for objects which have a height of least lLow and at most lHigh. More...
 
cvbres_t BlobSetLimitNoHoles (void *BlobHandle, cvbval_t lLow, cvbval_t lHigh)
 This function sets the filter for objects which have a number of holes of at least lLow and at most lHigh. More...
 
cvbres_t BlobSetLimitNoMeasHoles (void *BlobHandle, cvbval_t lLow, cvbval_t lHigh)
 This function sets the filter for objects which have a number of measured holes (without the filtered ones) of at least lLow and at most lHigh. More...
 
cvbres_t BlobSetLimitWidth (void *BlobHandle, cvbval_t lLow, cvbval_t lHigh)
 This function sets the filter for objects which have a width of at least lLow and at most lHigh. More...
 
cvbres_t BlobSetObjectTouchBorder (void *BlobHandle, cvbval_t lMask)
 This function sets the filter for objects which have one or more borders. More...
 

Detailed Description

Function Documentation

◆ BlobGetHoleLimitArea()

cvbres_t BlobGetHoleLimitArea ( void *  BlobHandle,
cvbval_t *  lLow,
cvbval_t *  lHigh 
)

This function returns the parameter settings for the area of holes that are found.

Parameters
[in]BlobHandleHandle to the Blob object.
[out]lLowLower limit (only Blobs that are smaller than the lower limit are found).
[out]lHighUpper limit (only Blobs that are bigger than the upper limit are found).
Returns
>= 0 on success,
< 0 if an error occurs.
Supported platforms:
Win32
Win64

◆ BlobGetHoleLimitHeight()

cvbres_t BlobGetHoleLimitHeight ( void *  BlobHandle,
cvbval_t *  lLow,
cvbval_t *  lHigh 
)

This function returns the parameter settings for the height of holes that are found.

Parameters
[in]BlobHandleHandle to the Blob object.
[out]lLowLower limit (only Blobs that are lower than the lower limit are found).
[out]lHighUpper limit (only Blobs that are higher than the upper limit are found).
Returns
>= 0 on success,
< 0 if an error occurs.
Supported platforms:
Win32
Win64

◆ BlobGetHoleLimitWidth()

cvbres_t BlobGetHoleLimitWidth ( void *  BlobHandle,
cvbval_t *  lLow,
cvbval_t *  lHigh 
)

This function returns the parameter settings for the width of holes that are found.

Parameters
[in]BlobHandleHandle to the Blob object.
[out]lLowLower limit (only Blobs that are narrower than the lower limit are found).
[out]lHighUpper limit (only Blobs that are wider than the upper limit are found).
Returns
>= 0 on success,
< 0 if an error occurs.
Supported platforms:
Win32
Win64

◆ BlobGetLimitArea()

cvbres_t BlobGetLimitArea ( void *  BlobHandle,
cvbval_t *  lLow,
cvbval_t *  lHigh 
)

This function returns the parameter settings for the Blob area.

Parameters
[in]BlobHandleHandle to the Blob object.
[out]lLowLower limit (only Blobs that are bigger than the lower limit are found).
[out]lHighUpper limit (only Blobs that are smaller than the upper limit are found).
Returns
>= 0 on success,
< 0 if an error occurs.
Supported platforms:
Win32
Win64

◆ BlobGetLimitHeight()

cvbres_t BlobGetLimitHeight ( void *  BlobHandle,
cvbval_t *  lLow,
cvbval_t *  lHigh 
)

This function returns the parameter settings for the Blob height.

Parameters
[in]BlobHandleHandle to the Blob object.
[out]lLowLower limit (only Blobs that are lower than the lower limit are found).
[out]lHighUpper limit (only Blobs that are higher than the upper limit are found).
Returns
>= 0 on success,
< 0 if an error occurs.
Supported platforms:
Win32
Win64

◆ BlobGetLimitNoHoles()

cvbres_t BlobGetLimitNoHoles ( void *  BlobHandle,
cvbval_t *  lLow,
cvbval_t *  lHigh 
)

This function returns the parameter settings for the number of holes per Blob.

Parameters
[in]BlobHandleHandle to the Blob object.
[out]lLowLower limit (only Blobs that have more holes than the lower limit are found).
[out]lHighUpper limit (only Blobs that have fewer holes than the upper limit are found).
Returns
>= 0 on success,
< 0 if an error occurs.
Supported platforms:
Win32
Win64

◆ BlobGetLimitNoMeasHoles()

cvbres_t BlobGetLimitNoMeasHoles ( void *  BlobHandle,
cvbval_t *  lLow,
cvbval_t *  lHigh 
)

This function returns the parameter settings for the number of measured holes per Blob.

Parameters
[in]BlobHandleHandle to the Blob object.
[out]lLowLower limit (only Blobs that have more holes than the lower limit are found).
[out]lHighUpper limit (only Blobs that have fewer holes than the upper limit are found).
Returns
>= 0 on success,
< 0 if an error occurs.
Supported platforms:
Win32
Win64

◆ BlobGetLimitWidth()

cvbres_t BlobGetLimitWidth ( PBLOB  BlobHandle,
cvbval_t *  lLow,
cvbval_t *  lHigh 
)

This function returns the parameter settings for the Blob width.

Parameters
[in]BlobHandleHandle to the Blob object.
[out]lLowLower limit (only Blobs that are narrower than the lower limit are found).
[out]lHighUpper limit (only Blobs that are wider than the upper limit are found).
Returns
>= 0 on success,
< 0 if an error occurs.
Supported platforms:
Win32
Win64

◆ BlobSetHoleLimitArea()

cvbres_t BlobSetHoleLimitArea ( void *  BlobHandle,
cvbval_t  lLow,
cvbval_t  lHigh 
)

This function sets the filter for holes which have a size (area) of at least lLow and at most lHigh.

Parameters
[in]BlobHandleHandle to the Blob object.
[in]lLowLower limit of hole area. Set to -1 to turn filter off.
[in]lHighUpper limit of hole area. Set to -1 to turn filter off.
Returns
CVC_E_OK on success, otherwise CVC_E_PARAMETER for invalid function parameters.
Supported platforms:
Win32
Win64

◆ BlobSetHoleLimitHeight()

cvbres_t BlobSetHoleLimitHeight ( void *  BlobHandle,
cvbval_t  lLow,
cvbval_t  lHigh 
)

This function sets the filter for holes which have a height of at least lLow and at most lHigh.

Parameters
[in]BlobHandleHandle to the Blob object.
[in]lLowLower limit of hole height. Set to -1 to turn filter off.
[in]lHighUpper limit of hole height. Set to -1 to turn filter off.
Returns
CVC_E_OK on success, otherwise CVC_E_PARAMETER for invalid function parameters.
Supported platforms:
Win32
Win64

◆ BlobSetHoleLimitWidth()

cvbres_t BlobSetHoleLimitWidth ( void *  BlobHandle,
cvbval_t  lLow,
cvbval_t  lHigh 
)

This function sets the filter for holes which have a width of at least lLow and at most lHigh.

Parameters
[in]BlobHandleHandle to the Blob object.
[in]lLowLower limit of hole width. Set to -1 to turn filter off.
[in]lHighUpper limit of hole width. Set to -1 to turn filter off.
Returns
CVC_E_OK on success, otherwise CVC_E_PARAMETER for invalid function parameters.
Supported platforms:
Win32
Win64

◆ BlobSetLimitArea()

cvbres_t BlobSetLimitArea ( void *  BlobHandle,
cvbval_t  lLow,
cvbval_t  lHigh 
)

This function sets the filter for objects which have a size (area) of at least lLow and at most lHigh.

Parameters
[in]BlobHandleHandle to the Blob object.
[in]lLowLower limit of object area. Set to -1 to turn filter off.
[in]lHighUpper limit of object area. Set to -1 to turn filter off.
Returns
CVC_E_OK on success, otherwise CVC_E_PARAMETER for invalid function parameters.
Supported platforms:
Win32
Win64
Examples:
Delphi - Delphi Blob Detection Example
Visual Basic - VB Blob Detection Example

◆ BlobSetLimitHeight()

cvbres_t BlobSetLimitHeight ( void *  BlobHandle,
cvbval_t  lLow,
cvbval_t  lHigh 
)

This function sets the filter for objects which have a height of least lLow and at most lHigh.

Parameters
[in]BlobHandleHandle to the Blob object.
[in]lLowLower limit of object height. Set to -1 to turn filter off.
[in]lHighUpper limit of object height. Set to -1 to turn filter off.
Returns
CVC_E_OK on success, otherwise CVC_E_PARAMETER for invalid function parameters.
Supported platforms:
Win32
Win64
Examples:
Delphi - Delphi Blob Detection Example
Visual Basic - VB Blob Detection Example

◆ BlobSetLimitNoHoles()

cvbres_t BlobSetLimitNoHoles ( void *  BlobHandle,
cvbval_t  lLow,
cvbval_t  lHigh 
)

This function sets the filter for objects which have a number of holes of at least lLow and at most lHigh.

Parameters
[in]BlobHandleHandle to the Blob object.
[in]lLowLower limit for the number of holes in objects. Set to -1 to turn filter off.
[in]lHighUpper limit for the number of holes in objects. Set to -1 to turn filter off.
Returns
CVC_E_OK on success, otherwise CVC_E_PARAMETER for invalid function parameters.
Supported platforms:
Win32
Win64

◆ BlobSetLimitNoMeasHoles()

cvbres_t BlobSetLimitNoMeasHoles ( void *  BlobHandle,
cvbval_t  lLow,
cvbval_t  lHigh 
)

This function sets the filter for objects which have a number of measured holes (without the filtered ones) of at least lLow and at most lHigh.

Parameters
[in]BlobHandleHandle to the Blob object.
[in]lLowLower limit for the number of measured holes in objects. Set to -1 to turn filter off.
[in]lHighUpper limit for the number of measured holes in objects. Set to -1 to turn filter off.
Returns
CVC_E_OK on success, otherwise CVC_E_PARAMETER for invalid function parameters.
Supported platforms:
Win32
Win64

◆ BlobSetLimitWidth()

cvbres_t BlobSetLimitWidth ( void *  BlobHandle,
cvbval_t  lLow,
cvbval_t  lHigh 
)

This function sets the filter for objects which have a width of at least lLow and at most lHigh.

Parameters
[in]BlobHandleHandle to the Blob object.
[in]lLowLower limit of object width. Set to -1 to turn filter off.
[in]lHighUpper limit of object width. Set to -1 to turn filter off.
Returns
CVC_E_OK on success, otherwise CVC_E_PARAMETER for invalid function parameters.
Supported platforms:
Win32
Win64
Examples:
Delphi - Delphi Blob Detection Example
Visual Basic - VB Blob Detection Example

◆ BlobSetObjectTouchBorder()

cvbres_t BlobSetObjectTouchBorder ( void *  BlobHandle,
cvbval_t  lMask 
)

This function sets the filter for objects which have one or more borders.

Parameters
[in]BlobHandleHandle to the Blob object.
[in]lMaskBorder mask. Following border masks are possible:
CVC_BLOB_BORDER_LEFT,
CVC_BLOB_BORDER_RIGHT,
CVC_BLOB_BORDER_TOP,
CVC_BLOB_BORDER_BOTTOM,
CVC_BLOB_BORDER_ALL,
CVC_BLOB_BORDER_NONE
Returns
CVC_E_OK on success, otherwise CVC_E_PARAMETER for invalid function parameters.
Supported platforms:
Win32
Win64
Examples:
Delphi - Delphi Blob Detection Example
Visual Basic - VB Blob Detection Example