IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
ColorCorrectionFeature.cs
Go to the documentation of this file.
3
5
66{
67 private readonly ColorMatrixTransformationModule _module;
68
76 {
77 _module = module;
78 }
79
84 {
85 get => _module.Matrix;
86 set => _module.Matrix = value;
87 }
88
90 public bool IsEnabled
91 {
92 get => _module.IsColorCorrectionEnabled;
93 set => _module.IsColorCorrectionEnabled = value;
94 }
95
103 public void ResetToDefault()
104 {
105 _module.Matrix = ColorMatrixTransformationModule.DefaultColorCorrectionMatrix;
106 }
107}
Color correction applies a 3x3 Types.ColorCorrectionMatrix to the image.
void ResetToDefault()
Resets the color correction matrix to the default.
ColorCorrectionMatrix Matrix
The current Types.ColorCorrectionMatrix.
ColorCorrectionFeature(ColorMatrixTransformationModule module)
Creates a ColorCorrectionFeature for 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