Increase or decrease image sharpness
1. imgSharpen s:=20;
2. imgSharpen s:=-20 img:=mat(1) oimg:=mat(2);
Please refer to the page for additional option switches when accessing the x-function from script
Specifies the amount of sharpness change. Valid values range from -1000 to +1000. A negative value will cause the sharpness to be decreased, while a positive value will result in a increase of sharpness.
Specifies the source image to be manipulated. The default input is the active image.
Specifies the output image. By default, the output image is the same as the input image.
See the syntax here.
The imgSharpen function increases or decreases the sharpness of the image in the input image.
In this example, we use the imgSharpen function to increase the sharpness of the input image:
The computation uses L_SharpenBitmap() function from LEADTOOLS Main API. Please refer to the LEADTOOLS Main API Help file, Version 14 and read the L_SharpenBitmap topic.
LEADTOOLS Main API Help file, Version 14