IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
ChromaticAdaptionFeature.cs
Go to the documentation of this file.
4
6
40{
41 private readonly ColorMatrixTransformationModule _module;
42
50 {
51 _module = module;
52 }
53
62 {
63 get => _module.TargetColorSpace;
64 set => _module.TargetColorSpace = value;
65 }
66
74 {
75 get => _module.ChromaticAdaptionAlgorithm;
76 set => _module.ChromaticAdaptionAlgorithm = value;
77 }
78
89 public uint? ColorTemperature
90 {
91 get => _module.ColorTemperature;
92 set => _module.ColorTemperature = value;
93 }
94
98 public RangeU ColorTemperatureRange => _module.ColorTemperatureRange;
99
101 public bool IsEnabled
102 {
103 get => _module.IsChromaticAdaptionEnabled;
104 set => _module.IsChromaticAdaptionEnabled = value;
105 }
106
115 public void ResetToDefault()
116 {
117 _module.ResetChromaticAdaption();
118 }
119
124 {
125 return _module.HasColorTemperature();
126 }
127}
Represents a range with unsigned integer boundaries.
Definition Range.cs:161
Adjusts to changes in lighting conditions to maintain consistent color perception despite variations ...
bool HasColorTemperature()
Returns whether a color temperature has been set.
RangeU ColorTemperatureRange
Returns the allowed temperature range in Kelvin for the current combination of color space and algori...
void ResetToDefault()
Resets the chromatic adaption feature to its default configuration.
uint? ColorTemperature
The current color temperature of the light source. If no color temperature is explicitly set the chro...
ChromaticAdaptionFeature(ColorMatrixTransformationModule module)
Creates a ChromaticAdaptionFeature for an existing color matrix transformation module.
ChromaticAdaptionAlgorithm Algorithm
The current algorithm used for chromatic adaption.
Color matrix transformation is an image pipeline module that applies a Types.ColorCorrectionMatrix to...
ColorSpace
Color spaces supported by the chromatic adaptation feature.
Definition ColorSpace.cs:11
ChromaticAdaptionAlgorithm
Algorithm used for chromatic adaption.
Abstract base class for all image processing pipeline features.
Definition IFeature.cs:64