ImageEn, unit imageenproc

TImageEnProc.SymmetricNearestNeighbour

TImageEnProc.SymmetricNearestNeighbour


Declaration

procedure SymmetricNearestNeighbour(Radius: Integer = 6);


Description

Apply a "Symmetric Nearest Neighbour" smoothing filter to the image.

SNN smoothing is very effective at noise reduction, while preserving edges.

Original image:


Applying SymmetricNearestNeighbour(6):


Notes:
- To remove noise from Monochrome images, use RemoveNoise
- A UI for this is available to your users in the Image Processing dialog
- If the image PixelFormat is not ie24RGB, it will be converted

Also see: Comparison of smoothing, blurring and noise reduction methods


Demo

Demo  Demos\ImageEditing\EveryMethod\EveryMethod.dpr


Example

// Load test image
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );

  

// Apply a "Symmetric Nearest Neighbour" smoothing filter to the image
ImageEnView1.Proc.SymmetricNearestNeighbour();

  

// Less aggressive SNN smoothing
ImageEnView1.Proc.SymmetricNearestNeighbour(2);

  


See Also

- fastNlMeansDenoisingColored