preprocessing: add function to detect if inverting the image is necessary for better results
preprocessing: add function to detect if inverting the image is necessary for better results

mariusherzog/ImageRegistration