/usr/share/octave/site/m/vlfeat/toolbox/misc/vl_inthist.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 | % VL_INTHIST Calculate Integral Histogram
% INTHIST = VL_INTHIST(LABELS) computes the integral histogram for
% the label map(s) LABELS.
%
% LABELS is a [M,N,L] UINT32 array containing L label maps (one for
% each MxN layer). Each label map associates to each of the MxN
% pixels one of K labels (a value of 0 denotes no association) with
% unitary mass.
%
% INTHIST is the [M,N,K] integral histogram obtained by integrating
% the label maps (an integral histogram is just an array of K
% integral images, one for each of the K labels). All layers of
% labels are accumulated to the same integral histogram.
%
% The total number of labels K is obtained as the maximum value of
% LABELS. VL_INTHIST(..., 'NUMLABELS', K) specifies the number of
% labels explicitly.
%
% VL_INTHIST(..., 'MASS', MASSES) specifies a mass MASSES for each
% entry of LABELS. MASSES can be either of class UINT32 or DOUBLE,
% and the class of INTHIST varies accordingly.
%
% See also: VL_IMINTEGRAL(), VL_SAMPLEINTHIST(), VL_HELP().
% Authors: Andrea Vedaldi
|