I have a M
xN
xD
volume and I need a l
xh
xw
sliding window that goes through all the voxels of the volume. In each sliding window I need to compute the Root Mean Square Contrast. Which is the smarter way to do it?
I would like to limit the use of for
loops because the volume is pretty big, 1024x1024x146.