IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
DigitalBlackFeature.cs
Go to the documentation of this file.
3
5
50{
51 private readonly ToneCurveCorrectionModule _module;
52
60 {
61 _module = module;
62 }
63
75 public float Value
76 {
77 get => _module.DigitalBlack;
78 set => _module.DigitalBlack = value;
79 }
80
87 public IntervalF Range => _module.DigitalBlackRange;
88
90 public bool IsEnabled
91 {
92 get => _module.IsDigitalBlackEnabled;
93 set => _module.IsDigitalBlackEnabled = value;
94 }
95
103 public void ResetToDefault()
104 {
105 _module.DigitalBlack = ToneCurveCorrectionModule.DefaultDigitalBlack;
106 }
107}
Represents an interval with floating-point boundaries.
Definition Interval.cs:157
Represents a range with signed integer boundaries.
Definition Range.cs:139
Digital black applies digital black correction to an image.
float Value
Sets the digital black correction value.
void ResetToDefault()
Resets the digital black value to its default.
DigitalBlackFeature(ToneCurveCorrectionModule module)
Creates a DigitalBlackFeature for an existing tone curve correction module.
Tone curve correction is an image pipeline module that applies digital black correction and inverse g...
Abstract base class for all image processing pipeline features.
Definition IFeature.cs:64