Show / Hide Table of Contents

Class GrayworldWB

Gray-world white balance algorithm.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
WhiteBalancer
GrayworldWB
Implements
ICvPtrHolder
Inherited Members
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Empty
Algorithm.Save(String)
Algorithm.GetDefaultName()
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp.XPhoto
Assembly: OpenCvSharp.dll
Syntax
public class GrayworldWB : WhiteBalancer, ICvPtrHolder

Properties

| Improve this Doc View Source

SaturationThreshold

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 Source

BalanceWhite(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
WhiteBalancer.BalanceWhite(InputArray, OutputArray)
| Improve this Doc View Source

Create()

Creates an instance of GrayworldWB

Declaration
public static GrayworldWB Create()
Returns
Type Description
GrayworldWB
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX