Grey Scale (SUSAN) corner detector.
function call:
[out_img1]=vsg('Susan',in_img1,num1,num2);
Arguments:
in_img1
input image, 3 channel RGB, 1 channel greyscale or binary image, or
DICOM image.
num1
– an integer specifying the brightness threshold.
num2-
- an integer specifying the geometric threshold.
Description:
This computationally efficient approach to the detection of gray scale
corners is based on the application of a small circular mask to an
image. As this mask is moved over the image in a raster scan fashion it
examines the local information to determine the likelihood of a valid
grey scale corner.
out_img1 - An image which has dimensions the same as the input image.
The output image displays SUSAN corners of the input image.
Example:
img = openimage('crown.jpg');
h=figure;image(img); set(h,'Name','Input Image');
[out_img1]=vsg('Threshold',img,100);
h=figure; image(uint8(out_img1));set(h,'Name','Threshold');
[out_img1]=vsg('Susan',out_img1,100,10);
Notes:
1. For DICOM images, the function operates on each slice separately.
2. For RGB images, the function operates on each channel separately.