IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
GainFeature.cs
Go to the documentation of this file.
3
5
54public class GainFeature : IFeature
55{
56 private readonly GainModule _module;
57
64 public GainFeature(GainModule module)
65 {
66 _module = module;
67 }
68
79 public float Master
80 {
81 get => _module.Master;
82 set => _module.Master = value;
83 }
84
95 public float Red
96 {
97 get => _module.Red;
98 set => _module.Red = value;
99 }
100
111 public float Green
112 {
113 get => _module.Green;
114 set => _module.Green = value;
115 }
116
127 public float Blue
128 {
129 get => _module.Blue;
130 set => _module.Blue = value;
131 }
132
140 public IntervalF Range => _module.Range;
141
143 public bool IsEnabled
144 {
145 get => _module.IsEnabled;
146 set => _module.IsEnabled = value;
147 }
148
156 public void ResetToDefault()
157 {
158 _module.ResetToDefault();
159 }
160}
Represents an interval with floating-point boundaries.
Definition Interval.cs:157
Represents a range with signed integer boundaries.
Definition Range.cs:139
Range(int minimum, int maximum, int increment)
Initializes a new instance of the Range class with specified minimum, maximum, and increment values.
Definition Range.cs:147
The GainFeature applies gain to the image.
float Blue
The current blue gain value.
bool IsEnabled
Enables or disables the feature.
void ResetToDefault()
Resets the gain values to their defaults.
float Green
The current green gain value.
float Red
The current red gain value.
GainFeature(GainModule module)
Creates a GainFeature for an existing gain module.
float Master
The current master gain value.
Image pipeline module for applying gain to the image.
Definition GainModule.cs:21
Abstract base class for all image processing pipeline features.
Definition IFeature.cs:64