Table of Contents

Class LearningBasedWB

Namespace
OpenCvSharp.XPhoto
Assembly
OpenCvSharp.dll

More sophisticated learning-based automatic white balance algorithm.

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

Properties

HistBinNum

Defines the size of one dimension

RangeMaxVal

Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images)

SaturationThreshold

Threshold that is used to determine saturated pixels, i.e. pixels where at least one of the channels exceeds

Methods

BalanceWhite(InputArray, OutputArray)

Applies white balancing to the input image.

Create(string?)

Creates an instance of LearningBasedWB

ExtractSimpleFeatures(InputArray, OutputArray)

Implements the feature extraction part of the algorithm.