DOC : improve documentation in images.py