Table of Contents

Class CropCenter

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that crops rectangular regions with fixed size around the specified center for each image in the sequence.

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

Properties

FillValue

Gets or sets a Scalar specifying the value to which all pixels that fall outside image boundaries will be set to.

Size

Gets or sets a value specifying the size of the region of interest to crop from the image.

Methods

Process(IObservable<IplImage>)

Crops a rectangular region with fixed size around the center of each image in an observable sequence.

Process(IObservable<Tuple<IplImage, ConnectedComponentCollection>>)

Crops a collection of rectangular regions with fixed size around the center of each connected component for each image in an observable sequence.

Process(IObservable<Tuple<IplImage, ConnectedComponent>>)

Crops a rectangular region with fixed size around the center of the specified connected component for each image in an observable sequence.

Process(IObservable<Tuple<IplImage, Point2f>>)

Crops a rectangular region with fixed size around the specified center for each image in an observable sequence.

Process(IObservable<Tuple<IplImage, Point>>)

Crops a rectangular region with fixed size around the specified center for each image in an observable sequence.