Removes color noise from a binary (1-bit) image.
Syntax
'Declaration
Public Shared Sub Despeckle( _
ByVal As ImGearRasterPage, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim page As ImGearRasterPage
Dim neighborhoodWidth As Integer
Dim neighborhoodHeight As Integer
ImGearRasterProcessing.Despeckle(page, neighborhoodWidth, neighborhoodHeight)
public static void Despeckle(
ImGearRasterPage ,
int ,
int
)
public: static void Despeckle(
ImGearRasterPage* ,
int ,
int
)
public:
static void Despeckle(
ImGearRasterPage^ ,
int ,
int
)
Parameters
- page
- Image to filter.
- neighborhoodWidth
- Width of the square area.
- neighborhoodHeight
- Height of the square area.
Example
See Also