85 PEAK_COMMON_NO_DISCARD
bool IsEnabled()
const override;
124 m_module.SetColorCorrectionEnabled(enabled);
129 return m_module.IsColorCorrectionEnabled();
Color correction applies a 3x3 ColorCorrectionMatrix to the image.
ColorCorrectionMatrix GetMatrix() const
Retrieves the current ColorCorrectionMatrix.
ColorCorrectionFeature(detail::ColorMatrixTransformationModule &module)
Creates a ColorCorrectionFeature for an existing color matrix transformation module.
void SetMatrix(const ColorCorrectionMatrix &matrix)
Sets the ColorCorrectionMatrix.
void SetEnabled(bool enabled) override
Enables or disables the feature.
void ResetToDefault() override
Resets the ColorCorrectionMatrix to the default.
bool IsEnabled() const override
Indicates whether the feature is currently enabled.
Abstract base class for all image processing pipeline features.