Isolate holes in a binary image.
function call:
[out_img1]=vsg('IsolateHoles',in_img1);
Arguments:
in_img1
input image, 3 channel RGB, 1 channel greyscale
or binary image
or DICOM image.
Description:
out_img1
– returns an image of the same dimensions as the input with the holes of
each white blob in the input image marked as white on the output image.
Example:
img = openimage('crown.bmp');
h=figure;image(img);set(h, 'Name','Input
Image');
[out_img1]=vsg('Threshold',img,100);
[out_img1]=vsg('IsolateHoles',out_img1);
Notes: