Cumulative sum

Cumulative sum

is there any function which returns the cumulative sum along different dimensions of an array, like cumsum in Matlab?

Thanks,

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
vladimir-dudnik (Intel)'s picture

Hi,

what functionality do you mean, is it for 1D or 2D signals?

Vladimir

vladimir-dudnik (Intel)'s picture

Hi,

for example Blur (FilterBox) uses kernel with all "ones", soyou can multiply result by mask square (sizeX * sizeY) to get only Sum.

Vladimir

Login to leave a comment.