Function hyperion::color::utils::whitebalance

source ·
pub fn whitebalance(
    c: Color16,
    src_white: Color16,
    dst_white: Color16
) -> Color16
Expand description

Transforms the given color to fix its white balance

Parameters

  • c: color to transform
  • src_white: whitepoint of the current space of c
  • dst_white: whitepoint of the destination space of c