function integralHist = integralHistSuperpixels(N)
%comment to be written

N = int16(N);
total_segms = max(max(N));
[height width] = size(N);

integralHist = zeros(height+1,width+1,total_segms);

for sid = 1:total_segms
       
    superpixelMap = not(N - sid);    
    integralHist(:,:,sid) = computeIntegralImage(superpixelMap);
end


end
Cloud-CV
github-repos/MATLAB/Cloud-CV-object-proposals/object-proposals-597a89520bc1b0b261420d7627b8c36439a24c7a/objectness-release-v2.2/integralHistSuperpixels.m
object-proposals
github-repos/MATLAB/Cloud-CV-object-proposals
597a89520bc1b0b261420d7627b8c36439a24c7a