Table of Contents

Class Skeletonization

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that extracts the topological skeleton of each image in the sequence.

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

Properties

DistanceType

Gets or sets the function used to compute the distance transform for each pixel.

[TypeConverter(typeof(DistanceTypeConverter))]
public DistanceType DistanceType { get; set; }

Property Value

DistanceType

LaplacianAperture

Gets or sets the size of the extended Sobel kernel used to compute derivatives.

[Range(1, 31)]
[Precision(0, 2)]
public int LaplacianAperture { get; set; }

Property Value

int

RidgeThreshold

Gets or sets the second-derivative cutoff used to isolate skeleton lines.

[Precision(2, 0.1)]
[Range(-2147483648, 0)]
public double RidgeThreshold { get; set; }

Property Value

double

Methods

Process(IObservable<IplImage>)

Extracts the topological skeleton of each image in an observable sequence.

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

Parameters

source IObservable<IplImage>

The sequence of images for which to extract the topological skeleton.

Returns

IObservable<IplImage>

A sequence of IplImage objects where each non-zero pixel belongs to the extracted topological skeleton of the original image.