Algorithms for RAW processing from RawTherapee
