ScanImage organizes Rois and Scanfields in a hierarchy. The root of this hiearchy is a RoiGroup object. Each RoiGroup object can contain multiple Rois, and each Roi can contain multiple scanfields.
Create a RoiGroup and add Rois
Each Roi, RoiGroup and Scanfield object has a unique identifier 'uuid', which is a human readable string. For performance reasons, a 64-bit integer value 'uuiduint64' is derived from 'uuid', which can be used to identify the object in the roigroup.
Manipulate RoiGroup using uuiduint64
Scanfield, z = 0
Scanfield, z = 0.2
Scanfield, z = 0.3
Scanfield, z = 0.1
Scanfield, z = 0.5
Scanfield, z = 0.4
Scanfield, z = 1
Each Roi can contain one or more Scanfields. A Scanfield is a 2D cross-section of the 3D Roi at a particular z level. ScanImage currently has multiple types of scanfields.
RotatedRectangle - defines an imaging area
StimulusField - defines a stimulus path
IntegrationField - defines a region, where image data is integrated for online analysis