Function: roiFromMask()
ts
function roiFromMask(mask, fill?): ROIVol;Defined in: src/roi/ROI_factories.ts:265
Creates an ROI from a logical/binary volume (mask).
Parameters
mask
A LogicalNeuroVol representing the mask
fill?
number = 1
Optional value to assign to the data slot. Defaults to 1
Returns
An ROIVol containing all true voxels from the mask