13 namespace visualization {
17 : quality_(q), tonemapping_(algorithm) {}
22 tonemapping_ = algorithm;
26 temperature_ = temperature;
36 saturation_ = saturation;
40 const Eigen::Vector3f&
green,
41 const Eigen::Vector3f&
blue) {
48 const Eigen::Vector4f& shadows,
49 const Eigen::Vector4f& midtones,
50 const Eigen::Vector4f& highlights,
51 const Eigen::Vector4f& ranges) {
54 highlights_ = highlights;
59 const Eigen::Vector3f&
offset,
60 const Eigen::Vector3f& power) {
67 const Eigen::Vector3f& midpoint,
68 const Eigen::Vector3f& highlight_scale) {
69 shadow_gamma_ = shadow_gamma;
71 highlight_scale_ = highlight_scale;
void SetVibrance(float vibrance)
void SetChannelMixer(const Eigen::Vector3f &red, const Eigen::Vector3f &green, const Eigen::Vector3f &blue)
void SetSaturation(float saturation)
void SetToneMapping(ToneMapping algorithm)
void SetCurves(const Eigen::Vector3f &shadow_gamma, const Eigen::Vector3f &midpoint, const Eigen::Vector3f &highlight_scale)
void SetShadowMidtoneHighlights(const Eigen::Vector4f &shadows, const Eigen::Vector4f &midtones, const Eigen::Vector4f &highlights, const Eigen::Vector4f &ranges)
Quality
Quality level of color grading operations.
void SetSlopeOffsetPower(const Eigen::Vector3f &slope, const Eigen::Vector3f &offset, const Eigen::Vector3f &power)
ColorGradingParams(Quality q, ToneMapping algorithm)
void SetQuality(Quality q)
void SetContrast(float contrast)
void SetTemperature(float temperature)
Generic file read and write utility for python interface.
constexpr Rgb red(MAX, 0, 0)
constexpr Rgb blue(0, 0, MAX)
constexpr Rgb green(0, MAX, 0)