Table of Contents

Class GrayworldWB

Namespace
OpenCvSharp.XPhoto
Assembly
OpenCvSharp.dll

Gray-world white balance algorithm.

public class GrayworldWB : WhiteBalancer, IDisposable
Inheritance
GrayworldWB
Implements
Inherited Members

Properties

SaturationThreshold

Maximum saturation

public float SaturationThreshold { get; set; }

Property Value

float

Methods

BalanceWhite(InputArray, OutputArray)

Applies white balancing to the input image.

public override void BalanceWhite(InputArray src, OutputArray dst)

Parameters

src InputArray

Input image

dst OutputArray

White balancing result

Create()

Creates an instance of GrayworldWB

public static GrayworldWB Create()

Returns

GrayworldWB