test interpolation near image edge