Lanczos Image Resampling Benchmark
This software abstracts a simple computational kernel from SWarp, an astrometric image resampling code. The input is a grayscale PGM image file (8-bit or 16-bit integer) and the output is a higher-resolution grayscale image file (8-bit or 16-bit integer, or 32-bit floating point). The user selects a scaling factor to be applied and a convolution kernel type to be used during resampling (using 1, 16, 36, 64 input pixels to generate each output pixel). The resampling is performed using the OpenGL API and can run on a PC with GPU (graphics processing unit) hardware.