/usr/share/octave/site/m/vlfeat/toolbox/imop/vl_imintegral.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 | % VL_IMINTEGRAL Compute integral image
% J = VL_IMINTEGRAL(I) calculates the integral image J of the image
% I. I must a matrix with DOUBLE, SINGLE, UINT32, or INT32 storage
% class. J is given by
%
% J(i,j) = sum(I(1:i,1:j)).
%
% J has the same size as I and the same storage class.
%
% Example::
% The following identity holds:
% VL_IMINTEGRAL(ONES(3)) = [ 1 2 3 ;
% 2 4 6 ;
% 3 6 9 ]
%
% 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).
|