added image intensity check to skip color correction if it's too low