Table of Contents

Class Crop

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that crops a rectangular subregion of each image in the sequence, without copying.

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

Properties

RegionOfInterest

Gets or sets a rectangle specifying the region of interest inside the image.

public Rect RegionOfInterest { get; set; }

Property Value

Rect

Methods

Process(IObservable<IplImage>)

Crops a subregion of each image in an observable sequence.

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

Parameters

source IObservable<IplImage>

The sequence of images to crop.

Returns

IObservable<IplImage>

A sequence of IplImage objects where each new image contains the extracted subregion of the original image.