Despeckling an image

 

Some raster images contain noise--black or white dots speckling the image. You can remove noise on the active raster layer.

Effect of despeckling

image\despecks.gif

To remove black or white clusters of pixels within a specified area:

· Use the DespeckleEx(docwinID, 0, blkSpeckleSize, blkBoundBox, whtSpeckleSize, whtBoundBox, mode) transaction.

The blkSpeckleSize values cannot be greater than the square of the blkBoundBox size, and the whtSpeckleSize cannot be greater than the square of the whtBoundBox size. When using the Windows 3.1 version of Imagenation, the absolute upper limit of these Size values is 1000.

Back to: Overview: Improving raster images