iDRS™ SDK 16
Loading...
Searching...
No Matches
CDespeckle_interface.h
Go to the documentation of this file.
1
7#ifndef CDESPECKLE_INTERFACE_H
8
9#define CDESPECKLE_INTERFACE_H
10
11#include "CIDRS_interface.h"
13#include "CPolygon_interface.h"
15
16#include "idrs_common.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
32CDespeckle CDespeckle_Create(const CIDRS argIDRS, idrs_exception *pargException);
33
46void CDespeckle_Despeckle(CDespeckle argCDespeckle, CImage argImage, idrs_exception *pargException);
47
62void CDespeckle_Despeckle2(CDespeckle argCDespeckle, CImage argImage, const CPolygon argPolygon, idrs_exception *pargException);
63
73void CDespeckle_SetSpeckleMaxSize(CDespeckle argCDespeckle, IDRS_UINT const uiSpeckleMaxSize, idrs_exception *pargException);
74
84IDRS_UINT CDespeckle_GetSpeckleMaxSize(const CDespeckle argCDespeckle, idrs_exception *pargException);
85
93void CDespeckle_SetDilatation(CDespeckle argCDespeckle, IDRS_UINT const uiDilatation, idrs_exception *pargException);
94
104IDRS_UINT CDespeckle_GetDilatation(const CDespeckle argCDespeckle, idrs_exception *pargException);
105
113void CDespeckle_SetDespeckleType(CDespeckle argCDespeckle, enum DespeckleType const evDespeckleType, idrs_exception *pargException);
114
122enum DespeckleType CDespeckle_GetDespeckleType(const CDespeckle argCDespeckle, idrs_exception *pargException);
123
131IDespeckleCallback CDespeckle_GetDespeckleCallback(const CDespeckle argCDespeckle, idrs_exception *pargException);
132
140void CDespeckle_SetDespeckleCallback(CDespeckle argCDespeckle, IDespeckleCallback pDespeckleCallback, idrs_exception *pargException);
141
149void CDespeckle_Destroy(CDespeckle argCDespeckle, idrs_exception *pargException);
150
151#ifdef __cplusplus
152}
153#endif /* __cplusplus */
154
155#endif /* CDESPECKLE_INTERFACE_H */
CDespeckle CDespeckle_Create(const CIDRS argIDRS, idrs_exception *pargException)
Creates a new CDespeckle object.
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_Destroy(CDespeckle argCDespeckle, idrs_exception *pargException)
Destroys a CDespeckle handle.
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...
IDespeckleCallback CDespeckle_GetDespeckleCallback(const CDespeckle argCDespeckle, idrs_exception *pargException)
Gets the callback used to indicate which groups of connected pixels to remove.
enum DespeckleType CDespeckle_GetDespeckleType(const CDespeckle argCDespeckle, idrs_exception *pargException)
Get the despeckle type to perform.
void CDespeckle_SetDespeckleType(CDespeckle argCDespeckle, enum DespeckleType const evDespeckleType, idrs_exception *pargException)
Set the despeckle type to perform.
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...
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.
void CDespeckle_SetDilatation(CDespeckle argCDespeckle, IDRS_UINT const uiDilatation, idrs_exception *pargException)
Set the dilatation value (in pixels) that will be used during despeckling.
void CDespeckle_SetDespeckleCallback(CDespeckle argCDespeckle, IDespeckleCallback pDespeckleCallback, idrs_exception *pargException)
Sets the callback used to indicate which groups of connected pixels to remove.
IDRS_UINT CDespeckle_GetDilatation(const CDespeckle argCDespeckle, idrs_exception *pargException)
Get the dilatation value (in pixels) that will be used during despeckling.
Interface for CIDRS wrapper.
Interface for CImageOperation wrapper.
Interface for CPolygon wrapper.
DespeckleType
The despeckling type.
Definition EnumDefinitions_interface.h:1856
Interface for IDespeckleCallback wrapper.
The CDespeckle class provides image noise reduction features via an image despeckle filter.
The CImage class manages images for iDRS.
The CPolygon class handles polygons for iDRS.
IBinarizeCallback defines the interface required to provide a custom algorithm for speckle removing.
unsigned int IDRS_UINT
An unsigned integer.
Definition idrsstd_interface.h:27