Learning some image processing techniques using python