nanshe/advanced_image_processing.py: Logging statements of indices for debugging.