ImageGearJava Project > com.accusoft.imagegear.processing Package > ImGearRasterProcessing Class : despeckle Method |
Despeckle is used to help reduce the amount of noise in the image. Single pixels and pixel spurs on letters and graphics are removed while leaving the solid areas alone. It is typically used on 1-bit document images.
The despeckle operation performs a median filter on the image. For each pixel in the original image, a single pixel is produced in the output image. The output pixel is the median of the pixel values in the neighborhood area defined by neighborhoodWidth
and neighborhoodHeight
parameters.
public static void despeckle( ImGearRasterPage page, int neighborhoodWidth, int neighborhoodHeight ) |
Despeckle is used to help reduce the amount of noise in the image. Single pixels and pixel spurs on letters and graphics are removed while leaving the solid areas alone. It is typically used on 1-bit document images.
The despeckle operation performs a median filter on the image. For each pixel in the original image, a single pixel is produced in the output image. The output pixel is the median of the pixel values in the neighborhood area defined by neighborhoodWidth
and neighborhoodHeight
parameters.