Friday, April 6, 2012

Edge detection in SCILAB image processing

The SIVP toolbox provides for the common edge detection algorithms.The main methods provided are the frollowing. edge(im, method) edge(im, method, thresh) edge(im, method, thresh, direction) edge(im, method, thresh, sigma) [im1, thresh] = edge(im, method, ...) This works for gray scale images. Let us see an example.
z=imread('C:\Documents and Settings\Administrator\Desktop\Images\image06.jpg'); imshow(z); z1=rgb2gray(z); imshow(z1); E = edge(z1, 'sobel'); Also the canny edge detection method is supported. It is also to be noted that the SIP toolbox also supports edge detection like this.

1 comment: