AbstractSparseNeuroVec-class: AbstractSparseNeuroVec Class

AbstractSparseNeuroVec-classR Documentation

AbstractSparseNeuroVec Class

Description

An abstract base class for sparse four-dimensional brain image representations. This class provides the foundation for efficient storage and manipulation of large, sparse neuroimaging data.

Details

The AbstractSparseNeuroVec class serves as a template for implementing various sparse representations of 4D brain images. It combines the spatial properties of NeuroVec with the efficiency of sparse data structures.

Slots

mask

An object of class LogicalNeuroVol defining the sparse domain of the brain image. This mask indicates which voxels contain non-zero data.

map

An object of class IndexLookupVol used to map between spatial coordinates and index/row coordinates in the sparse representation.

Subclasses

Concrete implementations of this abstract class should provide specific data storage mechanisms and methods for efficient access and manipulation of sparse 4D brain image data.

See Also

NeuroVec-class for the parent class. LogicalNeuroVol-class for the mask representation. IndexLookupVol-class for the spatial-to-index mapping.

Examples

## Not run: 
# This is an abstract class and should not be instantiated directly.
# Instead, use one of its concrete subclasses, such as SparseNeuroVec.

## End(Not run)


bbuchsbaum/neuroim2 documentation built on Jan. 2, 2025, 3:38 p.m.