Interface for IDespeckleCallback wrapper.
More...
Go to the source code of this file.
Interface for IDespeckleCallback wrapper.
◆ IDespeckleCallback_Create()
| IDespeckleCallback IDespeckleCallback_Create |
( |
PtrRemoveBlobTestFn |
ptrRemoveBlobTestFn, |
|
|
idrs_exception * |
pargException |
|
) |
| |
Creates a new IDespeckleCallback object.
- Parameters
-
| ptrRemoveBlobTestFn | RemoveBlobTest function pointer |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
- Returns
- The newly created IDespeckleCallback
◆ IDespeckleCallback_Destroy()
| void IDespeckleCallback_Destroy |
( |
IDespeckleCallback |
argIDespeckleCallback, |
|
|
idrs_exception * |
pargException |
|
) |
| |
Destroys a IDespeckleCallback handle.
- Parameters
-
| argIDespeckleCallback | IDespeckleCallback handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
◆ IDespeckleCallback_RemoveBlobTest()
RemoveBlobTest is a callback method called by CDespeckle before removing a group of connected pixels.
- Parameters
-
| argIDespeckleCallback | IDespeckleCallback handle |
| uiBlobHeight | The height of the group of connected pixels. |
| uiBlobWidth | The width of the group of connected pixels. |
| uiBlobPixelsCount | The number of black pixels in the group. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
- Return values
-
| IDRS_TRUE | If the group of connected pixels must be removed. |
| IDRS_FALSE | otherwise. |