plug-in-unsharp-mask

Winston Chang <winstonc@cs.wisc.edu>

Description

The most widely useful method for sharpening an image

Help

The unsharp mask is a sharpening filter that works by comparing using the difference of the image and a blurred version of the image. It is commonly used on photographic images, and is provides a much more pleasing result than the standard sharpen filter.


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }
PF_IMAGE image (unused)
PF_DRAWABLE drawable Drawable to draw on
PF_FLOAT radius Radius of gaussian blur (in pixels > 1.0)
PF_FLOAT amount Strength of effect
PF_INT threshold Threshold (0-255)

Return

None