/usr/lib/scilab-sivp/demos/canny.sce is in scilab-sivp 0.5.3+svn287-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | // ====================================================================
function demo_canny()
filename = fullpath(getSIVPpath() + 'images/lena.png');
im = imread(filename);
imc = edge(rgb2gray(im), 'canny');
imshow(imc);
endfunction
// ====================================================================
demo_canny();
clear demo_canny;
// ====================================================================
|