I'm trying to convert an "interpolation" function into C++ code.
Please check out the JPG posted at:
Based on the info shown in the JPG above, the basic structure (ForLoops) should be:
for (i = 0; i < numberOfRows; i++)
for (j = 0; j < numberOfColumns; j++)
for (p = 0; p < Fm; p++)
for (q = 0; q < Fn; q++)
How do I need to index arithmetic to get to the proper image values for the original and the interpolated image?