IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
SaturationFeature.cs
Go to the documentation of this file.
3
5
26{
27 private readonly ColorMatrixTransformationModule _module;
28
36 {
37 _module = module;
38 }
39
57 public float Value
58 {
59 get => _module.Saturation;
60 set => _module.Saturation = value;
61 }
62
69 public IntervalF Range => _module.SaturationRange;
70
72 public bool IsEnabled
73 {
74 get => _module.IsSaturationEnabled;
75 set => _module.IsSaturationEnabled = value;
76 }
77
85 public void ResetToDefault()
86 {
87 _module.Saturation = ColorMatrixTransformationModule.DefaultSaturation;
88 }
89}
Represents an interval with floating-point boundaries.
Definition Interval.cs:157
Represents a range with signed integer boundaries.
Definition Range.cs:139
Adjusts the saturation of an image by modifying a 3x3 Types.ColorCorrectionMatrix.
void ResetToDefault()
Resets the saturation value to its default.
SaturationFeature(ColorMatrixTransformationModule module)
Creates a SaturationFeature using an existing color matrix transformation module.
Color matrix transformation is an image pipeline module that applies a Types.ColorCorrectionMatrix to...
Abstract base class for all image processing pipeline features.
Definition IFeature.cs:64