function [M1,M2,M3] = image_sum(data)
%三个方向的积分图
[size_x,size_y,size_z]=size(data);
M1=sum(data,1);
M1 = reshape(M1,size_y,size_z);
M2=sum(data,2);
M2 = reshape(M2,size_x,size_z);
M3=sum(data,3);
M3 = reshape(M3,size_x,size_y);
end
本文为原创文章,转载请注明出处!