|
iDRS™ SDK 16
|
Interface for CDespeckle wrapper. More...
Go to the source code of this file.
Functions | |
| CDespeckle | CDespeckle_Create (const CIDRS argIDRS, idrs_exception *pargException) |
| Creates a new CDespeckle object. | |
| void | CDespeckle_Despeckle (CDespeckle argCDespeckle, CImage argImage, idrs_exception *pargException) |
| Despeckle removes all the groups of connected pixels with a number of pixels below the SpeckleMaxSize property. | |
| void | CDespeckle_Despeckle2 (CDespeckle argCDespeckle, CImage argImage, const CPolygon argPolygon, idrs_exception *pargException) |
| Despeckle removes all the groups of connected pixels with a number of pixels below the SpeckleMaxSize property. | |
| void | CDespeckle_SetSpeckleMaxSize (CDespeckle argCDespeckle, IDRS_UINT const uiSpeckleMaxSize, idrs_exception *pargException) |
| Set the maximum size (area in pixels) of the connected pixels to be removed. | |
| IDRS_UINT | CDespeckle_GetSpeckleMaxSize (const CDespeckle argCDespeckle, idrs_exception *pargException) |
| Get the maximum size (area in pixels) of the connected pixels to be removed. | |
| void | CDespeckle_SetDilatation (CDespeckle argCDespeckle, IDRS_UINT const uiDilatation, idrs_exception *pargException) |
| Set the dilatation value (in pixels) that will be used during despeckling. | |
| IDRS_UINT | CDespeckle_GetDilatation (const CDespeckle argCDespeckle, idrs_exception *pargException) |
| Get the dilatation value (in pixels) that will be used during despeckling. | |
| void | CDespeckle_SetDespeckleType (CDespeckle argCDespeckle, enum DespeckleType const evDespeckleType, idrs_exception *pargException) |
| Set the despeckle type to perform. | |
| enum DespeckleType | CDespeckle_GetDespeckleType (const CDespeckle argCDespeckle, idrs_exception *pargException) |
| Get the despeckle type to perform. | |
| IDespeckleCallback | CDespeckle_GetDespeckleCallback (const CDespeckle argCDespeckle, idrs_exception *pargException) |
| Gets the callback used to indicate which groups of connected pixels to remove. | |
| void | CDespeckle_SetDespeckleCallback (CDespeckle argCDespeckle, IDespeckleCallback pDespeckleCallback, idrs_exception *pargException) |
| Sets the callback used to indicate which groups of connected pixels to remove. | |
| void | CDespeckle_Destroy (CDespeckle argCDespeckle, idrs_exception *pargException) |
| Destroys a CDespeckle handle. | |
Interface for CDespeckle wrapper.
| CDespeckle CDespeckle_Create | ( | const CIDRS | argIDRS, |
| idrs_exception * | pargException | ||
| ) |
Creates a new CDespeckle object.
| argIDRS | The iDRS |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CDespeckle_Despeckle | ( | CDespeckle | argCDespeckle, |
| CImage | argImage, | ||
| idrs_exception * | pargException | ||
| ) |
Despeckle removes all the groups of connected pixels with a number of pixels below the SpeckleMaxSize property.
Those connected pixels are not removed if the distance to a larger connected component is below the Dilatation property. As a result only the isolated pixels get deleted.
| argCDespeckle | CDespeckle handle |
| argImage | The image to despeckle. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CDespeckle_Despeckle2 | ( | CDespeckle | argCDespeckle, |
| CImage | argImage, | ||
| const CPolygon | argPolygon, | ||
| idrs_exception * | pargException | ||
| ) |
Despeckle removes all the groups of connected pixels with a number of pixels below the SpeckleMaxSize property.
Those connected pixels are not removed if the distance to a larger connected component is below the Dilatation property. As a result only the isolated pixels get deleted.
| argCDespeckle | CDespeckle handle |
| argImage | The image to despeckle. |
| argPolygon | The area to process. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CDespeckle_Destroy | ( | CDespeckle | argCDespeckle, |
| idrs_exception * | pargException | ||
| ) |
Destroys a CDespeckle handle.
| argCDespeckle | CDespeckle handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDespeckleCallback CDespeckle_GetDespeckleCallback | ( | const CDespeckle | argCDespeckle, |
| idrs_exception * | pargException | ||
| ) |
Gets the callback used to indicate which groups of connected pixels to remove.
| argCDespeckle | CDespeckle handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| enum DespeckleType CDespeckle_GetDespeckleType | ( | const CDespeckle | argCDespeckle, |
| idrs_exception * | pargException | ||
| ) |
Get the despeckle type to perform.
| argCDespeckle | CDespeckle handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_UINT CDespeckle_GetDilatation | ( | const CDespeckle | argCDespeckle, |
| idrs_exception * | pargException | ||
| ) |
Get the dilatation value (in pixels) that will be used during despeckling.
| argCDespeckle | CDespeckle handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_UINT CDespeckle_GetSpeckleMaxSize | ( | const CDespeckle | argCDespeckle, |
| idrs_exception * | pargException | ||
| ) |
Get the maximum size (area in pixels) of the connected pixels to be removed.
| argCDespeckle | CDespeckle handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CDespeckle_SetDespeckleCallback | ( | CDespeckle | argCDespeckle, |
| IDespeckleCallback | pDespeckleCallback, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the callback used to indicate which groups of connected pixels to remove.
| argCDespeckle | CDespeckle handle |
| pDespeckleCallback | Callback pointer to set |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CDespeckle_SetDespeckleType | ( | CDespeckle | argCDespeckle, |
| enum DespeckleType const | evDespeckleType, | ||
| idrs_exception * | pargException | ||
| ) |
Set the despeckle type to perform.
| argCDespeckle | CDespeckle handle |
| evDespeckleType | The despeckle type. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CDespeckle_SetDilatation | ( | CDespeckle | argCDespeckle, |
| IDRS_UINT const | uiDilatation, | ||
| idrs_exception * | pargException | ||
| ) |
Set the dilatation value (in pixels) that will be used during despeckling.
| argCDespeckle | CDespeckle handle |
| uiDilatation | The dilatation. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CDespeckle_SetSpeckleMaxSize | ( | CDespeckle | argCDespeckle, |
| IDRS_UINT const | uiSpeckleMaxSize, | ||
| idrs_exception * | pargException | ||
| ) |
Set the maximum size (area in pixels) of the connected pixels to be removed.
| argCDespeckle | CDespeckle handle |
| uiSpeckleMaxSize | The speckle max size. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |