gfx_image_colorprofile.h File Reference

Classes

class  ColorProfileInterface
 
class  ColorProfileConvertInterface
 

Namespaces

 maxon
 
 maxon::ColorProfiles
 

Enumerations

enum class  COLORPROFILEINFO {
  DESCRIPTION ,
  MANUFACTURER ,
  MODEL ,
  COPYRIGHT ,
  NAME ,
  OCIO_CONFIG_PATH
}
 
enum class  COLORCONVERSIONINTENT {
  PERCEPTUAL ,
  RELATIVE_COLORIMETRIC ,
  SATURATION ,
  ABSOLUTE_COLORIMETRIC
}
 
enum class  COLORCONVERSIONFLAGS {
  NONE ,
  BLACKPOINTCOMPENSATION ,
  INVERSE_DIRECTION
}
 

Functions

enum maxon::COLORPROFILEINFO MAXON_ENUM_LIST (COLORPROFILEINFO)
 
enum maxon::COLORCONVERSIONINTENT MAXON_ENUM_LIST (COLORCONVERSIONINTENT)
 
enum maxon::COLORCONVERSIONFLAGS MAXON_ENUM_FLAGS (COLORCONVERSIONFLAGS)
 
template<typename T >
SRGBtoLinear (const T &v)
 
template<typename T >
LinearToSRGB (const T &v)
 
 MAXON_REGISTRY (ColorProfile, ColorProfiles, "net.maxon.image.registry.colorprofiles")
 
 MAXON_DECLARATION (ColorProfile, NONE, "net.maxon.image.colorprofile.none", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 
 MAXON_DECLARATION (ColorProfile, SRGB, "net.maxon.image.colorprofile.srgb", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 
 MAXON_DECLARATION (ColorProfile, SGREY, "net.maxon.image.colorprofile.sgrey", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 
 MAXON_DECLARATION (ColorProfile, CMYKdefault, "net.maxon.image.colorprofile.cmykdefault", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 
 MAXON_DECLARATION (ColorProfile, YUVdefault, "net.maxon.image.colorprofile.yuvdefault", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 
 MAXON_DECLARATION (ColorProfile, LINEAR_RGB, "net.maxon.image.colorprofile.linear_rgb", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 
 MAXON_DECLARATION (ColorProfile, LINEAR_GREY, "net.maxon.image.colorprofile.linear_grey", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 

Variables

 DESCRIPTION
 
 MANUFACTURER
 
 MODEL
 
 COPYRIGHT
 
 NAME
 
 OCIO_CONFIG_PATH
 
 PERCEPTUAL
 
 RELATIVE_COLORIMETRIC
 
 SATURATION
 
 ABSOLUTE_COLORIMETRIC
 
 NONE
 
 BLACKPOINTCOMPENSATION
 
 INVERSE_DIRECTION
 

Variable Documentation

◆ DESCRIPTION

DESCRIPTION

Description of the color profile.

◆ MANUFACTURER

MANUFACTURER

Manufacturer of the color profile.

◆ MODEL

MODEL

Model of the color profile.

◆ COPYRIGHT

COPYRIGHT

Copyright information of the color profile.

◆ NAME

NAME

Name of the color profile.

◆ OCIO_CONFIG_PATH

OCIO_CONFIG_PATH

Full path to the OCIO config file (empty if this is not an OCIO colorspace)

◆ PERCEPTUAL

PERCEPTUAL

Hue hopefully maintained (but not required), lightness and saturation sacrificed to maintain the perceived color. White point changed to result in neutral grays. Intended for images.

◆ RELATIVE_COLORIMETRIC

RELATIVE_COLORIMETRIC

Within and outside gamut; same as Absolute Colorimetric. White point changed to result in neutral grays.

◆ SATURATION

SATURATION

Hue and saturation maintained with lightnesssacrificed to maintain saturation. White point changed to result in neutral grays. Intended for business graphics (make it colorful charts, graphs, overheads, ...)

◆ ABSOLUTE_COLORIMETRIC

ABSOLUTE_COLORIMETRIC

Within the destination device gamut; hue, lightness and saturation are maintained. Outside the gamut; hue and lightness are maintained, saturation is sacrificed. White point for source and destination; unchanged. Intended for spot colors (Pantone, TruMatch, logo colors, ...)

◆ NONE

NONE

◆ BLACKPOINTCOMPENSATION

BLACKPOINTCOMPENSATION

Black Point Compensation (BPC) controls whether to adjust for differences in black points when converting colors between color spaces. When Black Point Compensation is enabled, color transforms map white to white and luminance of black to luminance of black. The black point compensation feature does work better in conjunction with relative colorimetric intent. Perceptual intent should make no difference, although it may affect some (wrong) profiles.

◆ INVERSE_DIRECTION

INVERSE_DIRECTION