Merge pull request #12176 from Filoppi/patch-22 Make AutoHDR work with color luminance instead of average