A Norwegian oil company needed to fix 1 million images of seabed, taken with artificial light, to be able to create a geological orthophoto. Due to light absorption in the water, all images were bright in center and dark at the sides. The poor quality of these images stopped us from machine analysis, so we used NVIDIA CUDA to create a routine that automatically analyzed all images one by one and fixed the inconsistent lighting. Afterwards, the images could be analysed with machine learning. The routine analysed every image separately and repaired them automatically.