Fixed an issue when generating the original placeholder image based on the luminance, higher precision for some operations by forcing the input image type to a float32.