Table of Contents

Class Smooth

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that applies a smoothing operator to each image in the sequence.

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

Properties

Sigma1

Gets or sets the standard deviation for the first dimension in the case of Gaussian smoothing.

[Precision(2, 0.1)]
[Range(0, 2147483647)]
public double Sigma1 { get; set; }

Property Value

double

Sigma2

Gets or sets the standard deviation for the second dimension in the case of Gaussian smoothing.

[Precision(2, 0.1)]
[Range(0, 2147483647)]
public double Sigma2 { get; set; }

Property Value

double

Size1

Gets or sets the aperture width of the smoothing kernel.

[Precision(0, 2)]
[Range(1, 2147483647)]
[TypeConverter(typeof(Smooth.SmoothKernelSizeConverter))]
public int Size1 { get; set; }

Property Value

int

Size2

Gets or sets the aperture height of the smoothing kernel.

[Precision(0, 2)]
[Range(1, 2147483647)]
[TypeConverter(typeof(Smooth.SmoothKernelSizeConverter))]
public int Size2 { get; set; }

Property Value

int

SmoothType

Gets or sets a value specifying the smoothing method to be applied.

public SmoothMethod SmoothType { get; set; }

Property Value

SmoothMethod

Methods

Process(IObservable<IplImage>)

Applies a smoothing operator to each image in an observable sequence.

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

Parameters

source IObservable<IplImage>

The sequence of images to smooth.

Returns

IObservable<IplImage>

The sequence of smoothed images.