/usr/share/octave/site/m/vlfeat/toolbox/slic/vl_slic.m is in octave-vlfeat 0.9.17+dfsg0-6+b1.
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 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | % VL_SLIC SLIC superpixels
% SEGMENTS = VL_SLIC(IM, REGIONSIZE, REGULARIZER) extracts the SLIC
% superpixes [1] from image IM. REGIONSIZE is the starting size of
% the superpixels and REGULARIZER is the trades-off appearance for
% spatial regularity when clustering (a larger value results in more
% spatial regularization). SEGMENTS is a UINT32 array containing the
% superpixel identifier for each image pixel.
%
% The image IM is a SINGLE array with two or three dimensions. The
% third dimension is arbitrary, but it is usually three for RGB or
% LAB images.
%
% VL_SLIC() accepts the following options:
%
% Verbose::
% Be verbose.
%
% MinRegionSize:: (1/6 of REGIONSIZE)^2
% The minimum size (in pixel area) of the extracted
% superpixels.
%
% Example::
% If IM contains an RGB images, the SLIC superpixels can be
% extracted as:
%
% REFERENCES::
% [1] R. Achanta, A. Shaji, K. Smith, A. Lucchi, P. Fua, and
% S. Susstrunk. SLIC superpixels. Technical report, EPFL, 2010.
%
% See also:: http://www.vlfeat.org/doc/api/slic.html, VL_HELP().
|