Searched refs:linear_luminosity (Results 1 – 2 of 2) sorted by relevance
41 auto linear_luminosity = 0.2126 * red_intensity in to_grayscale() local47 if (linear_luminosity < 0.0031308) { in to_grayscale()48 gamma_compressed_luminosity = linear_luminosity * 12.92; in to_grayscale()50 gamma_compressed_luminosity = 1.055 * std::pow(linear_luminosity, 1 / 2.4) - 0.055; in to_grayscale()
39 auto linear_luminosity = 0.2126 * red_intensity in to_grayscale() local45 if (linear_luminosity < 0.0031308) in to_grayscale()47 gamma_compressed_luminosity = linear_luminosity * 12.92; in to_grayscale()50 gamma_compressed_luminosity = 1.055 * std::pow(linear_luminosity, 1 / 2.4) - 0.055; in to_grayscale()