
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.
Definition at line 25 of file SaturationFeature.cs.
|
inline |
Creates a SaturationFeature using an existing color matrix transformation module.
| module | Reference to the underlying ColorMatrixTransformationModule. |
Definition at line 35 of file SaturationFeature.cs.
|
inline |
Resets the saturation value to its default.
Implements IFeature.
Definition at line 85 of file SaturationFeature.cs.
|
getset |
Enables or disables the feature.
Implements IFeature.
Definition at line 72 of file SaturationFeature.cs.
Gets the valid range for the saturation value.
The returned interval specifies the minimum and maximum values that can be passed to Value.
Definition at line 69 of file SaturationFeature.cs.
|
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
Definition at line 57 of file SaturationFeature.cs.