/usr/share/octave/site/m/vlfeat/toolbox/imop/vl_imsmooth.m is in octave-vlfeat 0.9.17+dfsg0-6build1.
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 31 | % VL_IMSMOOTH Smooth image
% J = VL_IMSMOOTH(I,SIGMA) convolves the image I by an isotropic
% Gaussian kernel of standard deviation SIGMA. I must be an array
% of doubles. IF the array is three dimensional, the third dimension
% is assumed to span different channels (e.g. R,G,B). In this case,
% each channel is convolved independently.
%
% VL_IMSMOOTH() accepts the following options:
%
% Kernel::
% Selects between GAUSSIAN and TRIANGULAR kernels. The triangular
% kernel support has 2*SIGMA-1 sampels. Kernels have unit mass.
%
% Padding::
% Selects between ZERO or CONTINUITY padding method to handle the
% image boundaries. ZERO extends the input image with zeroes
% around the border, and CONTINUITY extends the image with
% constant pixels.
%
% Step::
% Sets the subsampling step. A subsampling step of STEP pixels
% causes J(1:STEPS:end, 1:STEPS:end, :) to be computed. This is
% useful to downsample the image.
%
% See also: VL_HELP().
% Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
% All rights reserved.
%
% This file is part of the VLFeat library and is made available under
% the terms of the BSD license (see the COPYING file).
|