ImageEn, unit imageenproc

TImageEnProc.UnsharpMask

TImageEnProc.UnsharpMask


Declaration

procedure UnsharpMask(Radius: Double = 4.0; Amount: Double = 1.0; Threshold: Double = 0.05);


Description

Apply a gaussian blur to the image.

Parameter Description
Radius Radius of the gaussian blur matrix (> 1)
Amount Difference between original and blurred image (0.0 to 5.0)
Threshold Threshold of maximum luminosity to apply the effect (0.0 to 1.0)


Example

ImageEnView1.Proc.UnsharpMask(2.0, 2.0, 0.05);