Class GrayworldWB
Gray-world white balance algorithm.
Implements
Inherited Members
Namespace: OpenCvSharp.XPhoto
Assembly: OpenCvSharp.dll
Syntax
public class GrayworldWB : WhiteBalancer, ICvPtrHolder
Properties
| Improve this Doc View SourceSaturationThreshold
Maximum saturation for a pixel to be included in the gray-world assumption.
Declaration
public float SaturationThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceBalanceWhite(InputArray, OutputArray)
Applies white balancing to the input image.
Declaration
public override void BalanceWhite(InputArray src, OutputArray dst)
Parameters
Type | Name | Description |
---|---|---|
InputArray | src | Input image |
OutputArray | dst | White balancing result |
Overrides
| Improve this Doc View SourceCreate()
Creates an instance of GrayworldWB
Declaration
public static GrayworldWB Create()
Returns
Type | Description |
---|---|
GrayworldWB |
DisposeManaged()
Releases managed resources
Declaration
protected override void DisposeManaged()