This repository contains C implementation of bilinear interpolation and the Python wrapper of it
CPU with AVX2 support
$ clang -g -Wall -mavx -mavx2 _bilinear.c _print.c main.c -o bilinear
$ ./bilinear
$ clang -Wall -Ofast -mavx -mavx2 _bilinear.c benchmark.c -o benchmark
$ ./benchmark
For main
cython, numpy, scipy
For benchmark
cython, numpy, numba, scikit-image
$ python3 setup.py build_ext --inplace
$ python3 main.py
$ python3 benchmark.py