Table of Contents

Class ConvertColor

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that converts pixels from one color space to another for all images in the sequence.

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

Properties

Conversion

Gets or sets the color conversion to apply to individual image pixels.

public ColorConversion Conversion { get; set; }

Property Value

ColorConversion

Methods

Process(IObservable<IplImage>)

Converts pixels from one color space to another for all images in an observable sequence.

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

Parameters

source IObservable<IplImage>

The sequence of images in the original color space.

Returns

IObservable<IplImage>

A sequence of images where every pixel is specified in the new color space.