Nick Oosterhof wrote:
> bob cox wrote:
>
> > My two bits on a multi-ROI format [...]
>
> thanks for your half-a-nibble, very valuable! [...] I will go ahead and attempt to implement something [...]
On second thought, I may make one change: besides storing header information about NVOX and NROI, I will also store the maximum number of voxels over all ROIs. This way memory space for data in the searchlight ROI has to be allocated only once, while we don't have to traverse the whole list of ROIs to find this maximum number of voxels. A program that generates the mask file can keep track of the maximum ROI size, seek back and write this value after all ROIs have been written.
best,
Nick