RF: using 'linear' instead of 'lin' and 'nearest' instead of 'nn' to select the interpolation type. Updated the input test images to have only one channel and dynamic range starting from 0 (this change required changing the tests' oracles).