As an example of the EMMA functions presented thus far, we will explore sample code for both masking and summing/integrating images from a dynamic study. The MINC file used in this example will be one of the H215O CBF studies from /usr/local/matlab/toolbox/emma/examples; there is also a corresponding BNC (blood netCDF) file, which is necessary to get the plasma activity data. To make accessing these files easier, you may want to create symbolic links to them in a directory of your own:
cd <your-work-directory> ln -s /local/matlab/toolbox/emma/examples/yates_19445.* .That way, the file
/local/matlab/toolbox/emma/examples/yates_19445.mnc
can be
accessed as simply yates_19445.mnc
(as long as you are in your
work directory). In the remainder of this section, it will be assumed
that these symbolic links exist in the current directory.