Table of Contents

Class RoiActivityDetected

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that tests whether the activation intensity is above a given threshold for each specified region in the sequence.

public class RoiActivityDetected : Transform<RegionActivityCollection, bool>
Inheritance
RoiActivityDetected
Inherited Members

Properties

Index

Gets or sets the index of the region of interest to test.

public int? Index { get; set; }

Property Value

int?

Remarks

If no index is specified, the activity inside any specified region of interest will be considered.

Threshold

Gets or sets the activity detection threshold.

public double Threshold { get; set; }

Property Value

double

Methods

Process(IObservable<RegionActivityCollection>)

Tests whether the activation intensity is above a given threshold for each specified region in an observable sequence.

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

Parameters

source IObservable<RegionActivityCollection>

A sequence of RegionActivityCollection containing the regions of interest for which activation intensity was extracted.

Returns

IObservable<bool>

A sequence of bool values indicating whether the activation intensity of the specified region of interest exceeded the activation threshold.