Table of Contents

Class Sobel

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that calculates the first, second, third or mixed image derivatives from the sequence using an extended Sobel operator.

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

Properties

ApertureSize

Gets or sets the size of the extended Sobel kernel.

[Range(1, 7)]
[Precision(0, 2)]
[TypeConverter(typeof(OddKernelSizeConverter))]
public int ApertureSize { get; set; }

Property Value

int

XOrder

Gets or sets the order of the horizontal derivative.

[Range(0, 6)]
public int XOrder { get; set; }

Property Value

int

YOrder

Gets or sets the order of the vertical derivative.

[Range(0, 6)]
public int YOrder { get; set; }

Property Value

int

Methods

Process(IObservable<IplImage>)

Calculates the first, second, third or mixed image derivatives from an observable sequence using an extended Sobel operator.

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

Parameters

source IObservable<IplImage>

The sequence of images for which to calculate the image derivatives.

Returns

IObservable<IplImage>

A sequence of IplImage objects representing the image derivatives of the original elements in the source sequence.