Highlight cracks in the input image.
function call:
[out_img1]=vsg('DetectCracks',in_img1);
Arguments:
in_img1
input image, 3 channel RGB, 1 channel greyscale
or binary image, or DICOM image.
Description
out_img1
– an image of the same dimensions as the input image that shows any
cracks in the input image.
Example:
img = openimage('crown.bmp');
h=figure,image(uint8(img));set(h,'Name','Input Image');
[out_img1]=vsg('Threshold',img,100);
[out_img1]=vsg('DetectCracks',out_img1);
Notes:
For DICOM images, each slice is considered separately and 2D operators are used. RGB images are worked on plane by plane.