Home
last modified time | relevance | path

Searched refs:linear_luminosity (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/gil/example/
Dharris.cpp41 auto linear_luminosity = 0.2126 * red_intensity in to_grayscale() local
47 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()
Dhessian.cpp39 auto linear_luminosity = 0.2126 * red_intensity in to_grayscale() local
45 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()