ImageEn, unit iexUserInteractions

TIERetouchToolInteraction.SmoothRadius

TIERetouchToolInteraction.SmoothRadius


Declaration

var SmoothRadius: Integer;


Description

Specify the radius of the "Symmetric Nearest Neighbour" smoothing filter (Min value: 1).

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

Original image:


Applying SymmetricNearestNeighbour(6):


For more information: SymmetricNearestNeighbour

Default: 6


Example

// Remove noise from the image
ImageEnView1.RetouchTool.RetouchMode  := iermSmooth;
ImageEnView1.RetouchTool.SmoothRadius := 12;
ImageEnView1.MouseInteractGeneral     := [ miRetouchTool ];