Show / Hide Table of Contents

Class SimpleWB

A simple white balance algorithm that works by independently stretching each of the input image channels to the specified range. For increased robustness it ignores the top and bottom p% of pixel values.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
WhiteBalancer
SimpleWB
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 SimpleWB : WhiteBalancer, ICvPtrHolder

Properties

| Improve this Doc View Source

InputMax

Input image range maximum value.

Declaration
public float InputMax { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

InputMin

Input image range minimum value.

Declaration
public float InputMin { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

OutputMax

Output image range maximum value.

Declaration
public float OutputMax { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

OutputMin

Output image range minimum value.

Declaration
public float OutputMin { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

P

Percent of top/bottom values to ignore.

Declaration
public float P { 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 SimpleWB

Declaration
public static SimpleWB Create()
Returns
Type Description
SimpleWB
| 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