Important notice: the development of WideImage 1.0 branch is discontinued.
Please visit
http://wideimage.sourceforge.net for the new version of library and documentation.
This web site will remain accessible to serve as documentation for the old versions of the library.
For help on migration, please refer
to the
migration
guide.
wiImage::unsharp()
See:
List of operations
Signature
wiImage::unsharp($amount, $radius, $threshold)
Parameters
- $amount (float): the filter's strength
- $radius (float): radius (rounded towards nearest integer)
- $threshold (int): minimum difference in pixel color to apply the filter
- return wiTrueColorImage: the filtered image
Notes
The parameters are analogous to Photoshop's filters and the numeric values try to emulate the way Photoshop handles unsharp.
Examples
$image->unsharp(80, 0.5, 3);
CategoryDocApi
There are no comments on this page. [Add comment]