Machine Learning for image processing