Table of Contents

Class HoughCircles

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that finds circles on each grayscale image in the sequence using a Hough transform.

public class HoughCircles : Transform<IplImage, Circle[]>
Inheritance
HoughCircles
Inherited Members

Properties

AccumulatorFactor

Gets or sets the inverse ratio of the accumulator resolution to image resolution.

[Precision(0, 1)]
[Range(1, 2147483647)]
public double AccumulatorFactor { get; set; }

Property Value

double

MaxRadius

Gets or sets a value specifying the maximum circle radius.

[Precision(0, 1)]
[Range(0, 2147483647)]
public int MaxRadius { get; set; }

Property Value

int

MinDistance

Gets or sets the minimum distance between the centers of detected circles.

[Precision(0, 1)]
[Range(1, 2147483647)]
public double MinDistance { get; set; }

Property Value

double

MinRadius

Gets or sets a value specifying the minimum circle radius.

[Precision(0, 1)]
[Range(0, 2147483647)]
public int MinRadius { get; set; }

Property Value

int

Param1

Gets or sets the higher threshold of the canny edge detector.

[Precision(0, 1)]
[Range(1, 2147483647)]
public double Param1 { get; set; }

Property Value

double

Param2

Gets or sets the accumulator threshold at the center detection stage.

[Precision(0, 1)]
[Range(1, 2147483647)]
public double Param2 { get; set; }

Property Value

double

Methods

Process(IObservable<IplImage>)

Finds circles on each grayscale image in an observable sequence using a Hough transform.

public override IObservable<Circle[]> Process(IObservable<IplImage> source)

Parameters

source IObservable<IplImage>

The sequence of images on which to find Hough circles.

Returns

IObservable<Circle[]>

A sequence of Circle arrays representing the circles extracted from each image in the source sequence.