It takes in offset to let users select the region to
iterate. It is useful for image analysis and processing when more control is needed than using Matlab meshgrid function. This is a part of InSPIRE
software platform. This is assuming symmetric zero-padding when that happens.
Rex Cheung (2019). InSPIRE utility to iterate each voxel and perform an operation (https://www.mathworks.com/matlabcentral/fileexchange/36311-inspire-utility-to-iterate-each-voxel-and-perform-an-operation), MATLAB Central File Exchange. Retrieved .