Table of Contents

Class ColorBalance

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that applies an independent scale to the color channels of every image in the sequence.

public class ColorBalance : Transform<IplImage, IplImage>
Inheritance
ColorBalance
Inherited Members

Properties

Scale

Gets or sets the scale factor applied to every color channel of the image.

[Precision(2, 0.01)]
[Range(0, 2147483647)]
[TypeConverter(typeof(BgraScalarConverter))]
public Scalar Scale { get; set; }

Property Value

Scalar

Methods

Process(IObservable<IplImage>)

Applies an independent scale to the color channels of every image in an observable sequence.

public override IObservable<IplImage> Process(IObservable<IplImage> source)

Parameters

source IObservable<IplImage>

A sequence of multi-channel images.

Returns

IObservable<IplImage>

A sequence of IplImage objects where every channel has been multiplied by the corresponding scale factor.