Table of Contents

Class WhiteBalancer

Namespace
OpenCvSharp.XPhoto
Assembly
OpenCvSharp.dll

The base class for auto white balance algorithms.

public abstract class WhiteBalancer : Algorithm, IDisposable
Inheritance
WhiteBalancer
Implements
Derived
Inherited Members

Constructors

WhiteBalancer(nint, nint, Action<nint>)

Constructor for the factory pattern (cv::Ptr<T>* + raw T*).

protected WhiteBalancer(nint smartPtr, nint rawPtr, Action<nint> release)

Parameters

smartPtr nint
rawPtr nint
release Action<nint>

Methods

BalanceWhite(InputArray, OutputArray)

Applies white balancing to the input image.

public abstract void BalanceWhite(InputArray src, OutputArray dst)

Parameters

src InputArray

Input image

dst OutputArray

White balancing result