Previous - imgFilterNoise Section Home - Images Next - imgWidth


imgFilterUnsharpMask ( )

Adds unsharpen mask to the image stored in memory buffer

Usage:

imgFilterUnsharpMask (object me, float radius, float amount, integer threshold)

Parameters:

radius ( float) - radius of the unsharpen mask

amount (float) - amount to apply

threshold (integer) - the threshold of the mask brush

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.imgOpen( "C:\windows\winnt.bmp" )
xtRose.imgFilterUnsharpMask( 5.0, 0.7, 0 )

Notes:


Previous - imgFilterNoise Section Home - Images Next - imgWidth