Error handling for images with negative values in Image Correction methods