A class representing a spatially windowed, vector-valued volumetric region of interest (ROI) in a brain image.
coordsA matrix containing the 3D coordinates of the voxels within the ROI. Each row represents a voxel coordinate as (x, y, z).
.DataA matrix containing the data values associated with each voxel in the ROI. Each row corresponds to a unique vector value, and the number of rows should match the number of rows in the coords matrix.
parent_indexAn integer representing the 1D index of the center voxel in the parent space.
center_indexAn integer representing the location in the coordinate matrix of the center voxel in the window.
An object of class ROIVecWindow is considered valid if:
- The coords slot is a matrix with 3 columns.
- The .Data slot is a matrix.
- The number of rows in the .Data matrix is equal to the number of rows in the coords matrix.