ImageEn, unit imageenproc

TImageEnProc.Sharpen

TImageEnProc.Sharpen


Declaration

procedure Sharpen(Intensity: Integer = 10; Neighbourhood: Integer = 4);


Description

Apply a sharpening filter to the image
Sharpen increases the difference between neighbourhood pixels. It is a simpler sharpening operation than AutoSharp.

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

Parameter Description
Intensity The amount of the sharpening (1 to 100)
Neighbourhood The window size

Note:
A UI for this is available to your users in the Image Processing dialog
Also available as a RetouchTool by setting MouseInteractGeneral to [miRetouchTool] and RetouchMode to iermSharpen
If the image PixelFormat is not ie24RGB or ie32RGB, it will be converted


Demo

Demo  Demos\ImageEditing\EveryMethod\EveryMethod.dpr


Example

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

  

// Apply a sharpening filter to the image
ImageEnView1.Proc.Sharpen();