sharpen


Description:

public static bool sharpen (Image image)

Sharpen the selection mask.

This procedure sharpens the selection mask. For every pixel in the selection channel, if the value is > 127, the new pixel is assigned a value of 255. This removes any \"anti-aliasing\" that might exist in the selection mask's boundary.

Parameters:

image

The image.

Returns:

TRUE on success.