nanshe/advanced_image_processing.py: Corrected ranges.