Table of Contents

Class RoiActivity

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that calculates activation intensity inside specified regions of interest for each image in the sequence.

public class RoiActivity : Transform<IplImage, RegionActivityCollection>
Inheritance
RoiActivity
Inherited Members

Properties

Operation

Gets or sets a value specifying the reduction operation used to calculate activation intensity.

public ReduceOperation Operation { get; set; }

Property Value

ReduceOperation

Regions

Gets or sets the polygonal regions of interest for which to calculate activation intensity.

public Point[][] Regions { get; set; }

Property Value

Point[][]

Methods

Process(IObservable<IplImage>)

Calculates activation intensity inside specified regions of interest for each image in an observable sequence.

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

Parameters

source IObservable<IplImage>

The sequence of images for which to calculate region of interest activation.

Returns

IObservable<RegionActivityCollection>

A sequence of RegionActivityCollection containing the activation intensity inside the specified regions of interest for each image in the source sequence.