nanshe/advanced_image_processing.py: Skip handing of border cases.