Table of Contents

Class GrayworldWB

Namespace
OpenCvSharp.XPhoto
Assembly
OpenCvSharp.dll

Gray-world white balance algorithm.

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

Properties

SaturationThreshold

Maximum saturation for a pixel to be included in the gray-world assumption.

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

DisposeManaged()

Releases managed resources

protected override void DisposeManaged()