// compute the interpolation indexes
for (unsigned int n = 0; n< ImageDimension; n++) {
if (splineOrder & 1) { // Use this index calculation for odd splineOrder
// compute the interpolation indexes
for (unsigned int n = 0; n< ImageDimension; n++) {
if (splineOrder & 1) { // Use this index calculation for odd splineOrder