Python/Cython port of Lire image processing algorithms
