ImageEn, unit imageenproc

TImageEnProc.RemoveNoise

TImageEnProc.RemoveNoise

Declaration

procedure RemoveNoise(Iterations: Integer = 2; InvertImage: Boolean = False);

Description

Removes noise pixels using the "Kfill" algorithm from a black & white image.
Iterations is the maximum number of processing iterations (1 or more).
If InvertImage is True, the image is inverted (negative) during processing.

Note: Only works with black & white images (1bit). To remove noise from color images, use SymmetricNearestNeighbour

Demo

Demo  Demos\ImageEditing\EveryMethod\EveryMethod.dpr

Examples

Also see: Automated Samples
ImageEnView1.Proc.RemoveNoise();