14 namespace visualization {
57 const Eigen::Vector3f& green,
58 const Eigen::Vector3f& blue);
64 const Eigen::Vector4f& midtones,
65 const Eigen::Vector4f& highlights,
66 const Eigen::Vector4f& ranges);
70 Eigen::Vector4f
GetRanges()
const {
return ranges_; }
73 const Eigen::Vector3f&
offset,
74 const Eigen::Vector3f& power);
75 Eigen::Vector3f
GetSlope()
const {
return slope_; }
76 Eigen::Vector3f
GetOffset()
const {
return offset_; }
77 Eigen::Vector3f
GetPower()
const {
return power_; }
79 void SetCurves(
const Eigen::Vector3f& shadow_gamma,
80 const Eigen::Vector3f& midpoint,
81 const Eigen::Vector3f& highlight_scale);
90 float temperature_ = 0.f;
92 float contrast_ = 1.f;
93 float vibrance_ = 1.f;
94 float saturation_ = 1.f;
96 Eigen::Vector3f mixer_red_ = {1.f, 0.f, 0.f};
97 Eigen::Vector3f mixer_green_ = {0.f, 1.f, 0.f};
98 Eigen::Vector3f mixer_blue_ = {0.f, 0.f, 1.f};
100 Eigen::Vector4f shadows_ = {1.f, 1.f, 1.f, 0.f};
101 Eigen::Vector4f midtones_ = {1.f, 1.f, 1.f, 0.f};
102 Eigen::Vector4f highlights_ = {1.f, 1.f, 1.f, 0.f};
103 Eigen::Vector4f ranges_ = {0.f, 0.333f, 0.55f, 1.f};
105 Eigen::Vector3f slope_ = {1.f, 1.f, 1.f};
106 Eigen::Vector3f offset_ = {0.f, 0.f, 0.f};
107 Eigen::Vector3f power_ = {1.f, 1.f, 1.f};
109 Eigen::Vector3f shadow_gamma_ = {1.f, 1.f, 1.f};
110 Eigen::Vector3f midpoint_ = {1.f, 1.f, 1.f};
111 Eigen::Vector3f highlight_scale_ = {1.f, 1.f, 1.f};
Manages.
Definition: ColorGrading.h:18
Eigen::Vector4f GetHighlights() const
Definition: ColorGrading.h:69
float GetVibrance() const
Definition: ColorGrading.h:51
Eigen::Vector4f GetMidtones() const
Definition: ColorGrading.h:68
void SetSaturation(float saturation)
Definition: ColorGrading.cpp:35
void SetSlopeOffsetPower(const Eigen::Vector3f &slope, const Eigen::Vector3f &offset, const Eigen::Vector3f &power)
Definition: ColorGrading.cpp:58
Eigen::Vector3f GetOffset() const
Definition: ColorGrading.h:76
ToneMapping GetToneMapping() const
Definition: ColorGrading.h:39
Eigen::Vector3f GetShadowGamma() const
Definition: ColorGrading.h:82
Eigen::Vector3f GetPower() const
Definition: ColorGrading.h:77
Eigen::Vector4f GetRanges() const
Definition: ColorGrading.h:70
Eigen::Vector3f GetMixerGreen() const
Definition: ColorGrading.h:60
void SetVibrance(float vibrance)
Definition: ColorGrading.cpp:33
void SetToneMapping(ToneMapping algorithm)
Definition: ColorGrading.cpp:21
void SetShadowMidtoneHighlights(const Eigen::Vector4f &shadows, const Eigen::Vector4f &midtones, const Eigen::Vector4f &highlights, const Eigen::Vector4f &ranges)
Definition: ColorGrading.cpp:47
void SetTint(float tint)
Definition: ColorGrading.cpp:29
void SetContrast(float contrast)
Definition: ColorGrading.cpp:31
ToneMapping
Definition: ColorGrading.h:23
Eigen::Vector3f GetSlope() const
Definition: ColorGrading.h:75
Eigen::Vector3f GetMixerRed() const
Definition: ColorGrading.h:59
void SetChannelMixer(const Eigen::Vector3f &red, const Eigen::Vector3f &green, const Eigen::Vector3f &blue)
Definition: ColorGrading.cpp:39
float GetSaturation() const
Definition: ColorGrading.h:54
Eigen::Vector3f GetMixerBlue() const
Definition: ColorGrading.h:61
float GetContrast() const
Definition: ColorGrading.h:48
ColorGradingParams(Quality q, ToneMapping algorithm)
Definition: ColorGrading.cpp:16
Eigen::Vector4f GetShadows() const
Definition: ColorGrading.h:67
void SetQuality(Quality q)
Definition: ColorGrading.cpp:19
void SetTemperature(float temperature)
Definition: ColorGrading.cpp:25
Quality
Quality level of color grading operations.
Definition: ColorGrading.h:21
void SetCurves(const Eigen::Vector3f &shadow_gamma, const Eigen::Vector3f &midpoint, const Eigen::Vector3f &highlight_scale)
Definition: ColorGrading.cpp:66
Quality GetQuality() const
Definition: ColorGrading.h:36
Eigen::Vector3f GetMidpoint() const
Definition: ColorGrading.h:83
float GetTemperature() const
Definition: ColorGrading.h:42
float GetTint() const
Definition: ColorGrading.h:45
Eigen::Vector3f GetHighlightScale() const
Definition: ColorGrading.h:84
Definition: PinholeCameraIntrinsic.cpp:16