ZeroCross

Zero crossings edge detector.

 

function call:

[out_img1]=vsg('ZeroCross',in_img1);

 

Arguments:

in_img1 input image, 3 channel RGB, 1 channel greyscale or binary image, or DICOM image.

 

Description:

out_img1 - An image which has dimensions the same as the input image. The output image is the zero-crossing edge regions of the input image.

 

Example:

img = openimage('lake.jpg');

h=figure;image(img); set(h,'Name','Input');

[out_img1]=vsg('ZeroCross',img);

h=figure; image(uint8(out_img1));set(h,'Name','Zero Crossing');

Home       Functions       Back