High pass 3x3 filter.
function call:
[out_img1]=vsg('Sharpen',in_img1);
Arguments:
in_img1
input image, 3 channel RGB, 1 channel greyscale or binary image, or
DICOM image.
Description:
The sharpen function emphasises high frequency regions within an image.
out_img1
- An image which has dimensions the same as the input image. The output
image is the input image after being sharpened.
Example:
img = openimage('lake.jpg');
[out_img1]=vsg('Sharpen',img);