kCIImageRepresentationHDRGainMapAsRGB

Static kCIImageRepresentationHDRGainMapAsRGB 

Source
pub unsafe static kCIImageRepresentationHDRGainMapAsRGB: &'static CIImageRepresentationOption
Available on crate feature CIContext only.
Expand description

An optional key and value to request the gain map channel to be color instead of monochrome.

This key affects how the gain map image is calculated from the SDR receiver and the kCIImageRepresentationHDRImage image value.

The value for this is a Boolean where:

  • True: the gain map is created as a color ratio between the HDR and SDR images.
  • False: the gain map is created as a brightness ratio between the HDR and SDR images.
  • Not specified: the default behavior False.

See also Apple’s documentation