I need to make the VOI.mat files become text. I need to move the registration files into the patient directories. I need to modify the 'f.m' and associated *.m files to fit the new I/O format where a single .mat file is read every iteration.
The VOIs are written as 'VOI.txt' in the patient directories. After loading a 'VOI.txt', you may need to do a number-to-character conversion. E.g. in MATLAB, do char(VOI) to get the VOI string.