33 namespace visualization {
76 const Eigen::Vector3f& green,
77 const Eigen::Vector3f& blue);
83 const Eigen::Vector4f& midtones,
84 const Eigen::Vector4f& highlights,
85 const Eigen::Vector4f& ranges);
89 Eigen::Vector4f
GetRanges()
const {
return ranges_; }
92 const Eigen::Vector3f&
offset,
93 const Eigen::Vector3f& power);
94 Eigen::Vector3f
GetSlope()
const {
return slope_; }
95 Eigen::Vector3f
GetOffset()
const {
return offset_; }
96 Eigen::Vector3f
GetPower()
const {
return power_; }
98 void SetCurves(
const Eigen::Vector3f& shadow_gamma,
99 const Eigen::Vector3f& midpoint,
100 const Eigen::Vector3f& highlight_scale);
109 float temperature_ = 0.f;
111 float contrast_ = 1.f;
112 float vibrance_ = 1.f;
113 float saturation_ = 1.f;
115 Eigen::Vector3f mixer_red_ = {1.f, 0.f, 0.f};
116 Eigen::Vector3f mixer_green_ = {0.f, 1.f, 0.f};
117 Eigen::Vector3f mixer_blue_ = {0.f, 0.f, 1.f};
119 Eigen::Vector4f shadows_ = {1.f, 1.f, 1.f, 0.f};
120 Eigen::Vector4f midtones_ = {1.f, 1.f, 1.f, 0.f};
121 Eigen::Vector4f highlights_ = {1.f, 1.f, 1.f, 0.f};
122 Eigen::Vector4f ranges_ = {0.f, 0.333f, 0.55f, 1.f};
124 Eigen::Vector3f slope_ = {1.f, 1.f, 1.f};
125 Eigen::Vector3f offset_ = {0.f, 0.f, 0.f};
126 Eigen::Vector3f power_ = {1.f, 1.f, 1.f};
128 Eigen::Vector3f shadow_gamma_ = {1.f, 1.f, 1.f};
129 Eigen::Vector3f midpoint_ = {1.f, 1.f, 1.f};
130 Eigen::Vector3f highlight_scale_ = {1.f, 1.f, 1.f};
ToneMapping GetToneMapping() const
Definition: ColorGrading.h:58
Eigen::Vector3f GetOffset() const
Definition: ColorGrading.h:95
Eigen::Vector4f GetShadows() const
Definition: ColorGrading.h:86
void SetQuality(Quality q)
Definition: ColorGrading.cpp:38
float GetSaturation() const
Definition: ColorGrading.h:73
Quality GetQuality() const
Definition: ColorGrading.h:55
Eigen::Vector3f GetSlope() const
Definition: ColorGrading.h:94
int offset
Definition: FilePCD.cpp:64
void SetCurves(const Eigen::Vector3f &shadow_gamma, const Eigen::Vector3f &midpoint, const Eigen::Vector3f &highlight_scale)
Definition: ColorGrading.cpp:85
void SetShadowMidtoneHighlights(const Eigen::Vector4f &shadows, const Eigen::Vector4f &midtones, const Eigen::Vector4f &highlights, const Eigen::Vector4f &ranges)
Definition: ColorGrading.cpp:66
ToneMapping
Definition: ColorGrading.h:42
Eigen::Vector3f GetPower() const
Definition: ColorGrading.h:96
Quality
Quality level of color grading operations.
Definition: ColorGrading.h:40
float GetTemperature() const
Definition: ColorGrading.h:61
float GetTint() const
Definition: ColorGrading.h:64
void SetTint(float tint)
Definition: ColorGrading.cpp:48
void SetContrast(float contrast)
Definition: ColorGrading.cpp:50
Eigen::Vector4f GetRanges() const
Definition: ColorGrading.h:89
float GetVibrance() const
Definition: ColorGrading.h:70
Eigen::Vector3f GetMixerRed() const
Definition: ColorGrading.h:78
void SetVibrance(float vibrance)
Definition: ColorGrading.cpp:52
Eigen::Vector3f GetHighlightScale() const
Definition: ColorGrading.h:103
void SetSaturation(float saturation)
Definition: ColorGrading.cpp:54
Eigen::Vector3f GetMixerBlue() const
Definition: ColorGrading.h:80
Eigen::Vector3f GetMidpoint() const
Definition: ColorGrading.h:102
Definition: PinholeCameraIntrinsic.cpp:35
Eigen::Vector4f GetHighlights() const
Definition: ColorGrading.h:88
Manages.
Definition: ColorGrading.h:37
Eigen::Vector3f GetMixerGreen() const
Definition: ColorGrading.h:79
ColorGradingParams(Quality q, ToneMapping algorithm)
Definition: ColorGrading.cpp:35
float GetContrast() const
Definition: ColorGrading.h:67
Eigen::Vector3f GetShadowGamma() const
Definition: ColorGrading.h:101
void SetTemperature(float temperature)
Definition: ColorGrading.cpp:44
void SetChannelMixer(const Eigen::Vector3f &red, const Eigen::Vector3f &green, const Eigen::Vector3f &blue)
Definition: ColorGrading.cpp:58
void SetSlopeOffsetPower(const Eigen::Vector3f &slope, const Eigen::Vector3f &offset, const Eigen::Vector3f &power)
Definition: ColorGrading.cpp:77
void SetToneMapping(ToneMapping algorithm)
Definition: ColorGrading.cpp:40
Eigen::Vector4f GetMidtones() const
Definition: ColorGrading.h:87