next up previous contents
Next: MINC specific convenience functions Up: The MINC format Previous: Pixel values and real   Contents

General convenience functions

MINC provides a number of convenience functions that have nothing to do with medical imaging, but that make the use of NetCDF files a little easier. One of the drawbacks of the NetCDF format is that data can come in any form (byte, short, int, float, double) and the calling program must handle the general case. Rather than restrict this, MINC provides functions to convert types.

The first set of convenience functions are for type conversion. A list follows :

Next we have some functions for handling coordinate vectors :

Finally, there are functions for dealing with variables as groups of attributes, making it easier to modify a file while keeping ancillary information :


next up previous contents
Next: MINC specific convenience functions Up: The MINC format Previous: Pixel values and real   Contents
Robert VINCENT 2004-05-28