
Public Member Functions | |
| SaturationFeature (ColorMatrixTransformationModule module) | |
| Creates a SaturationFeature using an existing color matrix transformation module. | |
| void | ResetToDefault () |
| Resets the saturation value to its default. | |
Properties | |
| float | Value [get, set] |
| The current saturation value. | |
| IntervalF | Range [get] |
| Gets the valid range for the saturation value. | |
| bool | IsEnabled [get, set] |
| Enables or disables the feature. | |
Adjusts the saturation of an image by modifying a 3x3 Types.ColorCorrectionMatrix.
This feature modifies the image's color saturation by scaling the chrominance components of the color correction matrix. A higher saturation makes colors more vivid, while a lower value results in more muted tones.
|
inline |
Creates a SaturationFeature using an existing color matrix transformation module.
| module | Reference to the underlying ColorMatrixTransformationModule. |
|
inline |
|
getset |
Enables or disables the feature.
Implements IFeature.
Gets the valid range for the saturation value.
The returned interval specifies the minimum and maximum values that can be passed to Value.
|
getset |
The current saturation value.
A floating-point value representing the saturation value. A value of 1.0 means no change, values greater than 1.0 increase saturation, and values less than 1.0 decrease saturation. Valid values are within the Range