Generic Algorithmic Blocks dedicated to Image Processing