movement.roi#

Description

Utilities for representing and analysing regions of interest.

Classes

BaseRegionOfInterest

Abstract base class for regions of interest (RoIs).

LineOfInterest

Representation of boundaries or other lines of interest.

PolygonOfInterest

Representation of a two-dimensional region in the x-y plane.

Functions

compute_region_occupancy

Return a condition array indicating if points were inside regions.