Mathematical methods for Image Processing