<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: dox/IO/vtkMINC.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <h1>dox/IO/vtkMINC.h</h1><a href="a03152.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span> <a name="l00002"></a>00002 <span class="comment"></span> <a name="l00003"></a>00003 <span class="comment"> Program: Visualization Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: vtkMINC.h,v $</span> <a name="l00005"></a>00005 <span class="comment"></span> <a name="l00006"></a>00006 <span class="comment"> Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span> <a name="l00007"></a>00007 <span class="comment"> All rights reserved.</span> <a name="l00008"></a>00008 <span class="comment"> See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span> <a name="l00009"></a>00009 <span class="comment"></span> <a name="l00010"></a>00010 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even</span> <a name="l00011"></a>00011 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span> <a name="l00012"></a>00012 <span class="comment"> PURPOSE. See the above copyright notice for more information.</span> <a name="l00013"></a>00013 <span class="comment"></span> <a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span> <a name="l00015"></a>00015 <span class="comment">/*=========================================================================</span> <a name="l00016"></a>00016 <span class="comment"></span> <a name="l00017"></a>00017 <span class="comment">Copyright (c) 2006 Atamai, Inc.</span> <a name="l00018"></a>00018 <span class="comment"></span> <a name="l00019"></a>00019 <span class="comment">Use, modification and redistribution of the software, in source or</span> <a name="l00020"></a>00020 <span class="comment">binary forms, are permitted provided that the following terms and</span> <a name="l00021"></a>00021 <span class="comment">conditions are met:</span> <a name="l00022"></a>00022 <span class="comment"></span> <a name="l00023"></a>00023 <span class="comment">1) Redistribution of the source code, in verbatim or modified</span> <a name="l00024"></a>00024 <span class="comment"> form, must retain the above copyright notice, this license,</span> <a name="l00025"></a>00025 <span class="comment"> the following disclaimer, and any notices that refer to this</span> <a name="l00026"></a>00026 <span class="comment"> license and/or the following disclaimer.</span> <a name="l00027"></a>00027 <span class="comment"></span> <a name="l00028"></a>00028 <span class="comment">2) Redistribution in binary form must include the above copyright</span> <a name="l00029"></a>00029 <span class="comment"> notice, a copy of this license and the following disclaimer</span> <a name="l00030"></a>00030 <span class="comment"> in the documentation or with other materials provided with the</span> <a name="l00031"></a>00031 <span class="comment"> distribution.</span> <a name="l00032"></a>00032 <span class="comment"></span> <a name="l00033"></a>00033 <span class="comment">3) Modified copies of the source code must be clearly marked as such,</span> <a name="l00034"></a>00034 <span class="comment"> and must not be misrepresented as verbatim copies of the source code.</span> <a name="l00035"></a>00035 <span class="comment"></span> <a name="l00036"></a>00036 <span class="comment">THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS"</span> <a name="l00037"></a>00037 <span class="comment">WITHOUT EXPRESSED OR IMPLIED WARRANTY INCLUDING, BUT NOT LIMITED TO,</span> <a name="l00038"></a>00038 <span class="comment">THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span> <a name="l00039"></a>00039 <span class="comment">PURPOSE. IN NO EVENT SHALL ANY COPYRIGHT HOLDER OR OTHER PARTY WHO MAY</span> <a name="l00040"></a>00040 <span class="comment">MODIFY AND/OR REDISTRIBUTE THE SOFTWARE UNDER THE TERMS OF THIS LICENSE</span> <a name="l00041"></a>00041 <span class="comment">BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES</span> <a name="l00042"></a>00042 <span class="comment">(INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA OR DATA BECOMING INACCURATE</span> <a name="l00043"></a>00043 <span class="comment">OR LOSS OF PROFIT OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF</span> <a name="l00044"></a>00044 <span class="comment">THE USE OR INABILITY TO USE THE SOFTWARE, EVEN IF ADVISED OF THE</span> <a name="l00045"></a>00045 <span class="comment">POSSIBILITY OF SUCH DAMAGES.</span> <a name="l00046"></a>00046 <span class="comment"></span> <a name="l00047"></a>00047 <span class="comment">=========================================================================*/</span> <a name="l00048"></a>00048 <a name="l00049"></a>00049 <span class="comment">/* </span> <a name="l00050"></a>00050 <span class="comment"> This file has been modified from the original "minc.h" that was</span> <a name="l00051"></a>00051 <span class="comment"> distributed with minc version 1.4. All of the prototype</span> <a name="l00052"></a>00052 <span class="comment"> declarations have been removed. This modification was made in</span> <a name="l00053"></a>00053 <span class="comment"> support of the use of this file with the vtkMINCReader</span> <a name="l00054"></a>00054 <span class="comment"> and vtkMINCWriter.</span> <a name="l00055"></a>00055 <span class="comment"></span> <a name="l00056"></a>00056 <span class="comment"> David Gobbi, Atamai Inc..</span> <a name="l00057"></a>00057 <span class="comment">*/</span> <a name="l00058"></a>00058 <a name="l00059"></a>00059 <span class="preprocessor">#ifndef vtkMINC_h</span> <a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#define vtkMINC_h</span> <a name="l00061"></a>00061 <span class="preprocessor"></span> <a name="l00062"></a>00062 <span class="comment">/* Added since the file moved to VTK */</span> <a name="l00063"></a><a class="code" href="a03152.html#6010cd35133748b8ff8d91467199963e">00063</a> <span class="preprocessor">#define MIident "ident"</span> <a name="l00064"></a>00064 <span class="preprocessor"></span> <a name="l00065"></a>00065 <span class="comment">/* Internally, attributes are stored as named arrays where</span> <a name="l00066"></a>00066 <span class="comment"> * the format of the name is "/minc/variable/attribute" rather</span> <a name="l00067"></a>00067 <span class="comment"> * than the typical NetCDF format "variable:attribute".</span> <a name="l00068"></a>00068 <span class="comment"> */</span> <a name="l00069"></a><a class="code" href="a03152.html#f50625d14958afcb8314cfe95c195b44">00069</a> <span class="preprocessor">#define MI_GRPNAME "/minc"</span> <a name="l00070"></a><a class="code" href="a03152.html#a9ad694123587dd22c65003adeb7af0d">00070</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_GRP_SEP "/"</span> <a name="l00071"></a><a class="code" href="a03152.html#b849054e5ed3316ea43a2952fd2e81f0">00071</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_ATT_SEP "/"</span> <a name="l00072"></a>00072 <span class="preprocessor"></span> <a name="l00073"></a>00073 <span class="comment">/* ----------------------------- MNI Header -----------------------------------</span> <a name="l00074"></a>00074 <span class="comment">@NAME : minc.h</span> <a name="l00075"></a>00075 <span class="comment">@DESCRIPTION: Header file for minc (Medical Image NetCDF) file format </span> <a name="l00076"></a>00076 <span class="comment"> standard.</span> <a name="l00077"></a>00077 <span class="comment">@METHOD : Includes name definitions for NetCDF dimensions, attributes</span> <a name="l00078"></a>00078 <span class="comment"> and variables for the following :</span> <a name="l00079"></a>00079 <span class="comment"> NetCDF standard attributes</span> <a name="l00080"></a>00080 <span class="comment"> MI general variable attributes</span> <a name="l00081"></a>00081 <span class="comment"> MI dimensions and associated variables</span> <a name="l00082"></a>00082 <span class="comment"> MI dimension variable attributes</span> <a name="l00083"></a>00083 <span class="comment"> MI root variable</span> <a name="l00084"></a>00084 <span class="comment"> MI image variable</span> <a name="l00085"></a>00085 <span class="comment"> MI patient variable</span> <a name="l00086"></a>00086 <span class="comment"> MI study variable</span> <a name="l00087"></a>00087 <span class="comment"> MI acquisition variable</span> <a name="l00088"></a>00088 <span class="comment">@CREATED : July 24, 1992. (Peter Neelin, Montreal Neurological Institute)</span> <a name="l00089"></a>00089 <span class="comment">@MODIFIED : </span> <a name="l00090"></a>00090 <span class="comment"> * $Log: vtkMINC.h,v $</span> <a name="l00091"></a>00091 <span class="comment"> * Revision 1.2 2006-09-03 21:42:30 dgobbi</span> <a name="l00092"></a>00092 <span class="comment"> * ENH: Add option to rescale real-valued data to VTK_FLOAT. Change ImageOrientation method to DirectionCosines to be more MINC-like, since ImageOrientation is not VTK-standard.</span> <a name="l00093"></a>00093 <span class="comment"> *</span> <a name="l00094"></a>00094 <span class="comment"> * Revision 1.1 2006/09/03 01:01:21 dgobbi</span> <a name="l00095"></a>00095 <span class="comment"> * ENH: move the MINC attributes into a separate file to make it easy to copy from the reader to the writer</span> <a name="l00096"></a>00096 <span class="comment"> *</span> <a name="l00097"></a>00097 <span class="comment"> * Revision 1.1 2006/08/30 16:03:22 dgobbi</span> <a name="l00098"></a>00098 <span class="comment"> * ENH: Add a vtkMINC.h that contains all the MINC constants. Make the MINCReader and MINCWriter use it.</span> <a name="l00099"></a>00099 <span class="comment"> *</span> <a name="l00100"></a>00100 <span class="comment"> * Revision 6.11.2.2 2004/09/28 20:23:40 bert</span> <a name="l00101"></a>00101 <span class="comment"> * Minor portability fixes for Windows</span> <a name="l00102"></a>00102 <span class="comment"> *</span> <a name="l00103"></a>00103 <span class="comment"> * Revision 6.11.2.1 2004/08/11 21:03:06 bert</span> <a name="l00104"></a>00104 <span class="comment"> * Fix MI_MAX_IMGDIMS at 100 to avoid netCDF 3.5.1 problem</span> <a name="l00105"></a>00105 <span class="comment"> *</span> <a name="l00106"></a>00106 <span class="comment"> * Revision 6.11 2004/04/15 21:13:21 bert</span> <a name="l00107"></a>00107 <span class="comment"> * Add C++ linkage specifier</span> <a name="l00108"></a>00108 <span class="comment"> *</span> <a name="l00109"></a>00109 <span class="comment"> * Revision 6.10 2004/02/02 18:22:34 bert</span> <a name="l00110"></a>00110 <span class="comment"> * Added miget_version() and miappend_history()</span> <a name="l00111"></a>00111 <span class="comment"> *</span> <a name="l00112"></a>00112 <span class="comment"> * Revision 6.9 2003/03/17 16:03:28 bert</span> <a name="l00113"></a>00113 <span class="comment"> * Added declaration of micreate_tempfile()</span> <a name="l00114"></a>00114 <span class="comment"> *</span> <a name="l00115"></a>00115 <span class="comment"> * Revision 6.8 2001/11/13 14:15:17 neelin</span> <a name="l00116"></a>00116 <span class="comment"> * Added functions miget_image_range and mivar_exists</span> <a name="l00117"></a>00117 <span class="comment"> *</span> <a name="l00118"></a>00118 <span class="comment"> * Revision 6.7 2001/08/20 13:19:14 neelin</span> <a name="l00119"></a>00119 <span class="comment"> * Added function miattget_with_sign to allow the caller to specify the sign</span> <a name="l00120"></a>00120 <span class="comment"> * of the input attribute since this information is ambiguous. This is</span> <a name="l00121"></a>00121 <span class="comment"> * necessary for the valid_range attribute which should have the same sign</span> <a name="l00122"></a>00122 <span class="comment"> * as the image data. Modified miget_valid_range to make use of this function.</span> <a name="l00123"></a>00123 <span class="comment"> *</span> <a name="l00124"></a>00124 <span class="comment"> * Revision 6.6 2001/08/16 16:41:31 neelin</span> <a name="l00125"></a>00125 <span class="comment"> * Added library functions to handle reading of datatype, sign and valid range,</span> <a name="l00126"></a>00126 <span class="comment"> * plus writing of valid range and setting of default ranges. These functions</span> <a name="l00127"></a>00127 <span class="comment"> * properly handle differences between valid_range type and image type. Such</span> <a name="l00128"></a>00128 <span class="comment"> * difference can cause valid data to appear as invalid when double to float</span> <a name="l00129"></a>00129 <span class="comment"> * conversion causes rounding in the wrong direction (out of range).</span> <a name="l00130"></a>00130 <span class="comment"> * Modified voxel_loop, volume_io and programs to use these functions.</span> <a name="l00131"></a>00131 <span class="comment"> *</span> <a name="l00132"></a>00132 <span class="comment"> * Revision 6.5 2001/08/16 13:32:18 neelin</span> <a name="l00133"></a>00133 <span class="comment"> * Partial fix for valid_range of different type from image (problems</span> <a name="l00134"></a>00134 <span class="comment"> * arising from double to float conversion/rounding). NOT COMPLETE.</span> <a name="l00135"></a>00135 <span class="comment"> *</span> <a name="l00136"></a>00136 <span class="comment"> * Revision 6.4 2001/04/24 13:38:40 neelin</span> <a name="l00137"></a>00137 <span class="comment"> * Replaced NC_NAT with MI_ORIGINAL_TYPE.</span> <a name="l00138"></a>00138 <span class="comment"> *</span> <a name="l00139"></a>00139 <span class="comment"> * Revision 6.3 2001/04/17 18:40:13 neelin</span> <a name="l00140"></a>00140 <span class="comment"> * Modifications to work with NetCDF 3.x</span> <a name="l00141"></a>00141 <span class="comment"> * In particular, changed NC_LONG to NC_INT (and corresponding longs to ints).</span> <a name="l00142"></a>00142 <span class="comment"> * Changed NC_UNSPECIFIED to NC_NAT.</span> <a name="l00143"></a>00143 <span class="comment"> * A few fixes to the configure script.</span> <a name="l00144"></a>00144 <span class="comment"> *</span> <a name="l00145"></a>00145 <span class="comment"> * Revision 6.2 2001/04/10 22:05:30 neelin</span> <a name="l00146"></a>00146 <span class="comment"> * Start of modifications to get minc working with netcdf 3.5.</span> <a name="l00147"></a>00147 <span class="comment"> *</span> <a name="l00148"></a>00148 <span class="comment"> * Revision 6.1 1999/10/19 14:45:08 neelin</span> <a name="l00149"></a>00149 <span class="comment"> * Fixed Log subsitutions for CVS</span> <a name="l00150"></a>00150 <span class="comment"> *</span> <a name="l00151"></a>00151 <span class="comment"> * Revision 6.0 1997/09/12 13:24:54 neelin</span> <a name="l00152"></a>00152 <span class="comment"> * Release of minc version 0.6</span> <a name="l00153"></a>00153 <span class="comment"> *</span> <a name="l00154"></a>00154 <span class="comment"> * Revision 5.0 1997/08/21 13:25:53 neelin</span> <a name="l00155"></a>00155 <span class="comment"> * Release of minc version 0.5</span> <a name="l00156"></a>00156 <span class="comment"> *</span> <a name="l00157"></a>00157 <span class="comment"> * Revision 4.0 1997/05/07 20:07:52 neelin</span> <a name="l00158"></a>00158 <span class="comment"> * Release of minc version 0.4</span> <a name="l00159"></a>00159 <span class="comment"> *</span> <a name="l00160"></a>00160 <span class="comment"> * Revision 3.1 1995/06/12 17:37:05 neelin</span> <a name="l00161"></a>00161 <span class="comment"> * Added MI_LABEL modality.</span> <a name="l00162"></a>00162 <span class="comment"> *</span> <a name="l00163"></a>00163 <span class="comment"> * Revision 3.0 1995/05/15 19:33:12 neelin</span> <a name="l00164"></a>00164 <span class="comment"> * Release of minc version 0.3</span> <a name="l00165"></a>00165 <span class="comment"> *</span> <a name="l00166"></a>00166 <span class="comment"> * Revision 2.4 1995/01/24 08:34:30 neelin</span> <a name="l00167"></a>00167 <span class="comment"> * Added optional tempfile argument to miexpand_file.</span> <a name="l00168"></a>00168 <span class="comment"> *</span> <a name="l00169"></a>00169 <span class="comment"> * Revision 2.3 95/01/23 08:28:31 neelin</span> <a name="l00170"></a>00170 <span class="comment"> * Changed name of midecompress_file to miexpand_file.</span> <a name="l00171"></a>00171 <span class="comment"> * </span> <a name="l00172"></a>00172 <span class="comment"> * Revision 2.2 95/01/20 15:21:16 neelin</span> <a name="l00173"></a>00173 <span class="comment"> * Added midecompress_file with ability to decompress only the header of a file.</span> <a name="l00174"></a>00174 <span class="comment"> * </span> <a name="l00175"></a>00175 <span class="comment"> * Revision 2.1 94/11/25 15:32:32 neelin</span> <a name="l00176"></a>00176 <span class="comment"> * Added #undef for public if it wasn't previously defined so that C++</span> <a name="l00177"></a>00177 <span class="comment"> * code won't get upset.</span> <a name="l00178"></a>00178 <span class="comment"> * </span> <a name="l00179"></a>00179 <span class="comment"> * Revision 2.0 94/09/28 10:38:00 neelin</span> <a name="l00180"></a>00180 <span class="comment"> * Release of minc version 0.2</span> <a name="l00181"></a>00181 <span class="comment"> * </span> <a name="l00182"></a>00182 <span class="comment"> * Revision 1.29 94/09/28 10:37:24 neelin</span> <a name="l00183"></a>00183 <span class="comment"> * Pre-release</span> <a name="l00184"></a>00184 <span class="comment"> * </span> <a name="l00185"></a>00185 <span class="comment"> * Revision 1.28 93/11/03 13:08:37 neelin</span> <a name="l00186"></a>00186 <span class="comment"> * Added prototypes for miopen, miclose, micreate.</span> <a name="l00187"></a>00187 <span class="comment"> * </span> <a name="l00188"></a>00188 <span class="comment"> * Revision 1.27 93/11/03 12:29:11 neelin</span> <a name="l00189"></a>00189 <span class="comment"> * Added error code for failure to uncompress a file.</span> <a name="l00190"></a>00190 <span class="comment"> * </span> <a name="l00191"></a>00191 <span class="comment"> * Revision 1.26 93/08/11 12:06:34 neelin</span> <a name="l00192"></a>00192 <span class="comment"> * Added RCS logging in source.</span> <a name="l00193"></a>00193 <span class="comment"> * </span> <a name="l00194"></a>00194 <span class="comment"> July 15, 1993 (P.N.)</span> <a name="l00195"></a>00195 <span class="comment"> - added MI_ICV_DO_FILLVALUE and MI_FILLVALUE</span> <a name="l00196"></a>00196 <span class="comment">@COPYRIGHT :</span> <a name="l00197"></a>00197 <span class="comment"> Copyright 1993 Peter Neelin, McConnell Brain Imaging Centre, </span> <a name="l00198"></a>00198 <span class="comment"> Montreal Neurological Institute, McGill University.</span> <a name="l00199"></a>00199 <span class="comment"> Permission to use, copy, modify, and distribute this</span> <a name="l00200"></a>00200 <span class="comment"> software and its documentation for any purpose and without</span> <a name="l00201"></a>00201 <span class="comment"> fee is hereby granted, provided that the above copyright</span> <a name="l00202"></a>00202 <span class="comment"> notice appear in all copies. The author and McGill University</span> <a name="l00203"></a>00203 <span class="comment"> make no representations about the suitability of this</span> <a name="l00204"></a>00204 <span class="comment"> software for any purpose. It is provided "as is" without</span> <a name="l00205"></a>00205 <span class="comment"> express or implied warranty.</span> <a name="l00206"></a>00206 <span class="comment">@RCSID : $Header: /cvsroot/VTK/VTK/IO/vtkMINC.h,v 1.2 2006-09-03 21:42:30 dgobbi Exp $ MINC (MNI)</span> <a name="l00207"></a>00207 <span class="comment">---------------------------------------------------------------------------- */</span> <a name="l00208"></a>00208 <a name="l00209"></a>00209 <span class="comment">/* Some useful constants */</span> <a name="l00210"></a><a class="code" href="a03152.html#beb972ceec4f3037c7cd879795e5c14e">00210</a> <span class="preprocessor">#define MI_EMPTY_STRING ""</span> <a name="l00211"></a>00211 <span class="preprocessor"></span><span class="comment">/* Error flags */</span> <a name="l00212"></a><a class="code" href="a03152.html#44cd429187bae6f9f5079354f40d801a">00212</a> <span class="preprocessor">#define MI_ERROR (-1)</span> <a name="l00213"></a><a class="code" href="a03152.html#e9322980de2a3eeec16ceb84b9925456">00213</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_NOERROR 0</span> <a name="l00214"></a>00214 <span class="preprocessor"></span><span class="comment">/* Maximum length of standard attributes */</span> <a name="l00215"></a><a class="code" href="a03152.html#25a6ef4d5dd64def5c1af296d9cef6d8">00215</a> <span class="preprocessor">#define MI_MAX_ATTSTR_LEN 64</span> <a name="l00216"></a>00216 <span class="preprocessor"></span><span class="comment">/* Number of spatial dimensions */</span> <a name="l00217"></a><a class="code" href="a03152.html#3afcd174ec3540f23a2ce932b0dab44e">00217</a> <span class="preprocessor">#define MI_NUM_SPACE_DIMS 3</span> <a name="l00218"></a>00218 <span class="preprocessor"></span><span class="comment">/* Maximum number of image dimensions for image conversion */</span> <a name="l00219"></a>00219 <a name="l00220"></a>00220 <span class="comment">/* Bert 10-Aug-2004 - MI_MAX_IMGDIMS used to be defined to be MAX_VAR_DIMS,</span> <a name="l00221"></a>00221 <span class="comment"> * a constant defined in netcdf.h. For many years MAX_VAR_DIMS was 100,</span> <a name="l00222"></a>00222 <span class="comment"> * but in netCDF 3.5.1 the value was changed to 512.</span> <a name="l00223"></a>00223 <span class="comment"> * Unfortunately, the definitions of MI_ICV_DIM_SIZE, MI_ICV_DIM_STEP,</span> <a name="l00224"></a>00224 <span class="comment"> * and MI_ICV_DIM_START assume that MI_MAX_IMGDIMS is less than or</span> <a name="l00225"></a>00225 <span class="comment"> * equal to 100. To avoid changing the MINC API, we have to define</span> <a name="l00226"></a>00226 <span class="comment"> * MI_MAX_IMGDIMS to 100 here. Otherwise the miicv_inqdbl() function</span> <a name="l00227"></a>00227 <span class="comment"> * will return bogus values for these ICV properties.</span> <a name="l00228"></a>00228 <span class="comment"> */</span> <a name="l00229"></a><a class="code" href="a03152.html#a2f6c35a750747853ccda7c472850a85">00229</a> <span class="preprocessor">#define MI_MAX_IMGDIMS 100</span> <a name="l00230"></a>00230 <span class="preprocessor"></span> <a name="l00231"></a>00231 <span class="comment">/* NetCDF standard attributes */</span> <a name="l00232"></a><a class="code" href="a03152.html#188ce8f18824af831192b671256877e8">00232</a> <span class="preprocessor">#define MIunits "units"</span> <a name="l00233"></a><a class="code" href="a03152.html#055db5f93c7d09cceb14ab64eaa73d66">00233</a> <span class="preprocessor"></span><span class="preprocessor">#define MIlong_name "long_name"</span> <a name="l00234"></a><a class="code" href="a03152.html#06cf4baa872950bb81731837b46f7f03">00234</a> <span class="preprocessor"></span><span class="preprocessor">#define MIvalid_range "valid_range"</span> <a name="l00235"></a><a class="code" href="a03152.html#7d8061a6503c8fc8aa5697bfbd56ef5f">00235</a> <span class="preprocessor"></span><span class="preprocessor">#define MIvalid_max "valid_max"</span> <a name="l00236"></a><a class="code" href="a03152.html#9b7cbd24c22659750eea2c742c2a7bbd">00236</a> <span class="preprocessor"></span><span class="preprocessor">#define MIvalid_min "valid_min"</span> <a name="l00237"></a><a class="code" href="a03152.html#73c4a4eadbdeab875bf4a0b390781938">00237</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_FillValue "_FillValue"</span> <a name="l00238"></a><a class="code" href="a03152.html#799daae69bb6a9db4e5aa27226fa2f3a">00238</a> <span class="preprocessor"></span><span class="preprocessor">#define MItitle "title"</span> <a name="l00239"></a><a class="code" href="a03152.html#d69a9320ea2d1453e39b52fe5ec47c33">00239</a> <span class="preprocessor"></span><span class="preprocessor">#define MIhistory "history"</span> <a name="l00240"></a>00240 <span class="preprocessor"></span> <a name="l00241"></a>00241 <span class="comment">/* General variable attributes */</span> <a name="l00242"></a><a class="code" href="a03152.html#0e14b3553ab9d4cd2c6a89e1ec983050">00242</a> <span class="preprocessor">#define MIvartype "vartype"</span> <a name="l00243"></a><a class="code" href="a03152.html#b626584ecd65e01f910a6494e0d3ee82">00243</a> <span class="preprocessor"></span><span class="preprocessor">#define MIvarid "varid"</span> <a name="l00244"></a><a class="code" href="a03152.html#04b82d6a1fd93d863672f1ce34cb0e2d">00244</a> <span class="preprocessor"></span><span class="preprocessor">#define MIsigntype "signtype"</span> <a name="l00245"></a><a class="code" href="a03152.html#36b46e0c3a88ce4d4fb8ab389069d1af">00245</a> <span class="preprocessor"></span><span class="preprocessor">#define MIparent "parent"</span> <a name="l00246"></a><a class="code" href="a03152.html#2995dbd4401c3613215139695834702c">00246</a> <span class="preprocessor"></span><span class="preprocessor">#define MIchildren "children"</span> <a name="l00247"></a><a class="code" href="a03152.html#da245378d220301bf943fd7abf65d4e3">00247</a> <span class="preprocessor"></span><span class="preprocessor">#define MIcomments "comments"</span> <a name="l00248"></a><a class="code" href="a03152.html#d8d0c25f5afb8287ed66da6a7444fc0f">00248</a> <span class="preprocessor"></span><span class="preprocessor">#define MIversion "version"</span> <a name="l00249"></a>00249 <span class="preprocessor"></span> <a name="l00250"></a>00250 <span class="comment">/* General attribute constants */</span> <a name="l00251"></a>00251 <span class="comment">/* Prefix for identifying a variable attribute pointer */</span> <a name="l00252"></a><a class="code" href="a03152.html#9f993c58a99a73fb248c3d26b7a078ee">00252</a> <span class="preprocessor">#define MI_VARATT_POINTER_PREFIX "--->"</span> <a name="l00253"></a>00253 <span class="preprocessor"></span><span class="comment">/* Separator for elements of MIchildren */</span> <a name="l00254"></a><a class="code" href="a03152.html#e1564e1f26b2bfd0a437ff4ba82af6ac">00254</a> <span class="preprocessor">#define MI_CHILD_SEPARATOR "\n"</span> <a name="l00255"></a>00255 <span class="preprocessor"></span><span class="comment">/* MIvartype values */</span> <a name="l00256"></a><a class="code" href="a03152.html#1c011c28e1211859468a789e43c6a358">00256</a> <span class="preprocessor">#define MI_GROUP "group________"</span> <a name="l00257"></a><a class="code" href="a03152.html#1c653856325c1ea2b31bc39ffa17d8ea">00257</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_DIMENSION "dimension____"</span> <a name="l00258"></a><a class="code" href="a03152.html#e56a9fc51fdd89a662ef9ff881774d66">00258</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_DIM_WIDTH "dim-width____"</span> <a name="l00259"></a><a class="code" href="a03152.html#eda06e9eb30b1a68a2e816961a19ab78">00259</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_VARATT "var_attribute"</span> <a name="l00260"></a>00260 <span class="preprocessor"></span><span class="comment">/* MIvarid value */</span> <a name="l00261"></a><a class="code" href="a03152.html#a3f319d1d7f92b3fcb6b1e6485160687">00261</a> <span class="preprocessor">#define MI_STDVAR "MINC standard variable"</span> <a name="l00262"></a>00262 <span class="preprocessor"></span><span class="comment">/* MIsigntype values */</span> <a name="l00263"></a><a class="code" href="a03152.html#67017a864d57e9dfa06449865bd5ab16">00263</a> <span class="preprocessor">#define MI_SIGNED "signed__"</span> <a name="l00264"></a><a class="code" href="a03152.html#4d2f61e7025875c7105e2849ff9fbfda">00264</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_UNSIGNED "unsigned"</span> <a name="l00265"></a>00265 <span class="preprocessor"></span><span class="comment">/* MIversion value */</span> <a name="l00266"></a><a class="code" href="a03152.html#1a7553c352f5f950e913b1508a223a6c">00266</a> <span class="preprocessor">#define MI_VERSION_1_0 "MINC Version 1.0"</span> <a name="l00267"></a><a class="code" href="a03152.html#0067380639102e7f04fe68799a53c06a">00267</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_CURRENT_VERSION MI_VERSION_1_0</span> <a name="l00268"></a>00268 <span class="preprocessor"></span><span class="comment">/* Generally useful values for boolean attributes */</span> <a name="l00269"></a><a class="code" href="a03152.html#a9ab8fca39247fc2b63b1a3681f35240">00269</a> <span class="preprocessor">#define MI_TRUE "true_"</span> <a name="l00270"></a><a class="code" href="a03152.html#691390554af8c5140886db31da0584de">00270</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_FALSE "false"</span> <a name="l00271"></a>00271 <span class="preprocessor"></span> <a name="l00272"></a>00272 <span class="comment">/* Dimension names and names of associated variables */</span> <a name="l00273"></a><a class="code" href="a03152.html#bdaee8fdaad41e51db81661d105fde12">00273</a> <span class="preprocessor">#define MIxspace "xspace"</span> <a name="l00274"></a><a class="code" href="a03152.html#0a7293d7d6adfd26a83a44292c08730b">00274</a> <span class="preprocessor"></span><span class="preprocessor">#define MIyspace "yspace"</span> <a name="l00275"></a><a class="code" href="a03152.html#663a87948e0f888a6c8c3df9583282c6">00275</a> <span class="preprocessor"></span><span class="preprocessor">#define MIzspace "zspace"</span> <a name="l00276"></a><a class="code" href="a03152.html#96d2adc94eb6d944060aae1c947667dd">00276</a> <span class="preprocessor"></span><span class="preprocessor">#define MItime "time"</span> <a name="l00277"></a><a class="code" href="a03152.html#cbe3624a543646261d9f7f677cc8f330">00277</a> <span class="preprocessor"></span><span class="preprocessor">#define MItfrequency "tfrequency"</span> <a name="l00278"></a><a class="code" href="a03152.html#50c291ab3b55c6f78ad205c943db8f7d">00278</a> <span class="preprocessor"></span><span class="preprocessor">#define MIxfrequency "xfrequency"</span> <a name="l00279"></a><a class="code" href="a03152.html#8cff3c92b1737fd221d4a5bfdee9dede">00279</a> <span class="preprocessor"></span><span class="preprocessor">#define MIyfrequency "yfrequency"</span> <a name="l00280"></a><a class="code" href="a03152.html#d8b08857615143d5856fb9ed8836a49b">00280</a> <span class="preprocessor"></span><span class="preprocessor">#define MIzfrequency "zfrequency"</span> <a name="l00281"></a><a class="code" href="a03152.html#600d0aba7381009a70caa3441ab10757">00281</a> <span class="preprocessor"></span><span class="preprocessor">#define MIvector_dimension "vector_dimension"</span> <a name="l00282"></a><a class="code" href="a03152.html#b75223466fd84dc60750f328b840a278">00282</a> <span class="preprocessor"></span><span class="preprocessor">#define MIxspace_width "xspace-width"</span> <a name="l00283"></a><a class="code" href="a03152.html#b0e369e2f4775fe6e21a5c13db1d6326">00283</a> <span class="preprocessor"></span><span class="preprocessor">#define MIyspace_width "yspace-width"</span> <a name="l00284"></a><a class="code" href="a03152.html#2752c47cd88a5831e6b4c16be7ea1b64">00284</a> <span class="preprocessor"></span><span class="preprocessor">#define MIzspace_width "zspace-width"</span> <a name="l00285"></a><a class="code" href="a03152.html#fedd76a9e5edac3ebe2d6a33f8d3d195">00285</a> <span class="preprocessor"></span><span class="preprocessor">#define MItime_width "time-width"</span> <a name="l00286"></a><a class="code" href="a03152.html#e33a1f5a229c7f330af9591275b80bea">00286</a> <span class="preprocessor"></span><span class="preprocessor">#define MItfrequency_width "tfrequency-width"</span> <a name="l00287"></a><a class="code" href="a03152.html#f3a299fc7155c31f0fd3f31af48909bc">00287</a> <span class="preprocessor"></span><span class="preprocessor">#define MIxfrequency_width "xfrequency-width"</span> <a name="l00288"></a><a class="code" href="a03152.html#b5f7dca8250fe2e3f472b0cd2a372b83">00288</a> <span class="preprocessor"></span><span class="preprocessor">#define MIyfrequency_width "yfrequency-width"</span> <a name="l00289"></a><a class="code" href="a03152.html#b474795910427edc3611f9f08c3c8c78">00289</a> <span class="preprocessor"></span><span class="preprocessor">#define MIzfrequency_width "zfrequency-width"</span> <a name="l00290"></a>00290 <span class="preprocessor"></span> <a name="l00291"></a>00291 <span class="comment">/* Dimension variable attribute names */</span> <a name="l00292"></a>00292 <span class="comment">/* For dimension variables (MIspacing is also for dimension width vars) */</span> <a name="l00293"></a><a class="code" href="a03152.html#46ee00ece5baa02856acb18e1d4bae03">00293</a> <span class="preprocessor">#define MIspacing "spacing"</span> <a name="l00294"></a><a class="code" href="a03152.html#6d7e4a9dd0355d4c46c994574678797d">00294</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstep "step"</span> <a name="l00295"></a><a class="code" href="a03152.html#b6b86d8b5986b0efa6b5adb3f6fa533c">00295</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstart "start"</span> <a name="l00296"></a><a class="code" href="a03152.html#1721f1cc316e1fcbc4a2d56750e5365f">00296</a> <span class="preprocessor"></span><span class="preprocessor">#define MIspacetype "spacetype"</span> <a name="l00297"></a><a class="code" href="a03152.html#bfae9be2cd7e959c983e81d3d3b8fccc">00297</a> <span class="preprocessor"></span><span class="preprocessor">#define MIalignment "alignment"</span> <a name="l00298"></a><a class="code" href="a03152.html#8b582533298c6d5ca58df0c5ec88cac0">00298</a> <span class="preprocessor"></span><span class="preprocessor">#define MIdirection_cosines "direction_cosines"</span> <a name="l00299"></a>00299 <span class="preprocessor"></span><span class="comment">/* For dimension width variables */</span> <a name="l00300"></a><a class="code" href="a03152.html#62612d66eff9bdb5ef80c333bfbc0340">00300</a> <span class="preprocessor">#define MIwidth "width"</span> <a name="l00301"></a><a class="code" href="a03152.html#6ce3832f0258619ec9de4dc6badd00fd">00301</a> <span class="preprocessor"></span><span class="preprocessor">#define MIfiltertype "filtertype"</span> <a name="l00302"></a>00302 <span class="preprocessor"></span> <a name="l00303"></a>00303 <span class="comment">/* Dimension attribute constants */</span> <a name="l00304"></a>00304 <span class="comment">/* MIgridtype values */</span> <a name="l00305"></a><a class="code" href="a03152.html#1980915fea3b9d5325fc750d2550ecc0">00305</a> <span class="preprocessor">#define MI_REGULAR "regular__"</span> <a name="l00306"></a><a class="code" href="a03152.html#5b594a222068bf86514fc06dd38c3277">00306</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_IRREGULAR "irregular"</span> <a name="l00307"></a>00307 <span class="preprocessor"></span><span class="comment">/* MIspacetype values */</span> <a name="l00308"></a><a class="code" href="a03152.html#c1d5297bb7726d59c2d81c98229221f4">00308</a> <span class="preprocessor">#define MI_NATIVE "native____"</span> <a name="l00309"></a><a class="code" href="a03152.html#5e9dedd304c4e234c249fae99259eb68">00309</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_TALAIRACH "talairach_"</span> <a name="l00310"></a><a class="code" href="a03152.html#74a5e4a4dc5b883d727ee75c9055d8c4">00310</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_CALLOSAL "callosal__"</span> <a name="l00311"></a>00311 <span class="preprocessor"></span><span class="comment">/* MIalignment values */</span> <a name="l00312"></a><a class="code" href="a03152.html#707b34ce228c6c73c0af8178acf90282">00312</a> <span class="preprocessor">#define MI_START "start_"</span> <a name="l00313"></a><a class="code" href="a03152.html#f0d1c4a292b997d223293fdb34bf3731">00313</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_CENTRE "centre"</span> <a name="l00314"></a><a class="code" href="a03152.html#765552d4de2e62d1464ebe7933a03d48">00314</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_END "end___"</span> <a name="l00315"></a><a class="code" href="a03152.html#db3cf7cf5830108e1c0faa76a8e86ce1">00315</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_CENTER MI_CENTRE</span> <a name="l00316"></a>00316 <span class="preprocessor"></span><span class="comment">/* MIfiltertype values */</span> <a name="l00317"></a><a class="code" href="a03152.html#4665bbccb80fb943c3595e1cd0bf9d08">00317</a> <span class="preprocessor">#define MI_SQUARE "square____"</span> <a name="l00318"></a><a class="code" href="a03152.html#d9745ae80083c978635f6ef717f661ba">00318</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_GAUSSIAN "gaussian__"</span> <a name="l00319"></a><a class="code" href="a03152.html#fec23585fc6d0d5706d7115b5e973b23">00319</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_TRIANGULAR "triangular"</span> <a name="l00320"></a>00320 <span class="preprocessor"></span> <a name="l00321"></a>00321 <span class="comment">/* The root variable */</span> <a name="l00322"></a><a class="code" href="a03152.html#213acb1093e6f88954cad42f516d9508">00322</a> <span class="preprocessor">#define MIrootvariable "rootvariable"</span> <a name="l00323"></a>00323 <span class="preprocessor"></span> <a name="l00324"></a>00324 <span class="comment">/* The image variable and its attributes */</span> <a name="l00325"></a><a class="code" href="a03152.html#d278d8b314f18ac5ebf1a291d8f7fa0b">00325</a> <span class="preprocessor">#define MIimage "image"</span> <a name="l00326"></a><a class="code" href="a03152.html#f47f9555834205f226ade07c0cf32383">00326</a> <span class="preprocessor"></span><span class="preprocessor">#define MIimagemax "image-max"</span> <a name="l00327"></a><a class="code" href="a03152.html#b14b7449bda7087099e4270a2895a6b0">00327</a> <span class="preprocessor"></span><span class="preprocessor">#define MIimagemin "image-min"</span> <a name="l00328"></a><a class="code" href="a03152.html#1b7ef14136794aeb369b7a1c09d7c103">00328</a> <span class="preprocessor"></span><span class="preprocessor">#define MIcomplete "complete"</span> <a name="l00329"></a>00329 <span class="preprocessor"></span> <a name="l00330"></a>00330 <span class="comment">/* The patient variable and its attributes */</span> <a name="l00331"></a><a class="code" href="a03152.html#9befbd12e48ac18c459ea1ad0158231d">00331</a> <span class="preprocessor">#define MIpatient "patient"</span> <a name="l00332"></a><a class="code" href="a03152.html#8ed672fc3e09f29cadaf021574e23e28">00332</a> <span class="preprocessor"></span><span class="preprocessor">#define MIfull_name "full_name"</span> <a name="l00333"></a><a class="code" href="a03152.html#9d10283f5d56ce0ef8007e848c134354">00333</a> <span class="preprocessor"></span><span class="preprocessor">#define MIother_names "other_names"</span> <a name="l00334"></a><a class="code" href="a03152.html#468ff60c2fca292bdaf9e2078a13e578">00334</a> <span class="preprocessor"></span><span class="preprocessor">#define MIidentification "identification"</span> <a name="l00335"></a><a class="code" href="a03152.html#289b6364e622fa55cae42fb6d32bf4e4">00335</a> <span class="preprocessor"></span><span class="preprocessor">#define MIother_ids "other_ids"</span> <a name="l00336"></a><a class="code" href="a03152.html#391cc5fd2e01082da0421223f12e5a1c">00336</a> <span class="preprocessor"></span><span class="preprocessor">#define MIbirthdate "birthdate"</span> <a name="l00337"></a><a class="code" href="a03152.html#ba3376974d7fef6f5a5abf0945803b9d">00337</a> <span class="preprocessor"></span><span class="preprocessor">#define MIsex "sex"</span> <a name="l00338"></a><a class="code" href="a03152.html#ae0538fb3f28942ff81a44742ff1bad5">00338</a> <span class="preprocessor"></span><span class="preprocessor">#define MIage "age"</span> <a name="l00339"></a><a class="code" href="a03152.html#e43b95f08026e4a2b86fe82aa3015ecc">00339</a> <span class="preprocessor"></span><span class="preprocessor">#define MIweight "weight"</span> <a name="l00340"></a><a class="code" href="a03152.html#6c31da760cbdd4b8a8a121ea145aaaac">00340</a> <span class="preprocessor"></span><span class="preprocessor">#define MIsize "size"</span> <a name="l00341"></a><a class="code" href="a03152.html#0e2f1ab99abfbb73730664bd4b544f48">00341</a> <span class="preprocessor"></span><span class="preprocessor">#define MIaddress "address"</span> <a name="l00342"></a><a class="code" href="a03152.html#e8cb202709d4a01ea407c562d3346136">00342</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinsurance_id "insurance_id"</span> <a name="l00343"></a>00343 <span class="preprocessor"></span> <a name="l00344"></a>00344 <span class="comment">/* Patient attribute constants */</span> <a name="l00345"></a><a class="code" href="a03152.html#2cda227ce68f745fcdd02856a5e42093">00345</a> <span class="preprocessor">#define MI_MALE "male__"</span> <a name="l00346"></a><a class="code" href="a03152.html#71d80ea47304f36bdfd5ece3a4209706">00346</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_FEMALE "female"</span> <a name="l00347"></a><a class="code" href="a03152.html#9fa806a3ac2485f3b302448e2f21170e">00347</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_OTHER "other_"</span> <a name="l00348"></a>00348 <span class="preprocessor"></span> <a name="l00349"></a>00349 <span class="comment">/* The study variable and its attributes */</span> <a name="l00350"></a><a class="code" href="a03152.html#78c9bbc8a88bb8805e969ddee979df6c">00350</a> <span class="preprocessor">#define MIstudy "study"</span> <a name="l00351"></a><a class="code" href="a03152.html#dd7e55f6a385858fcdd8088bb00f2caa">00351</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstart_time "start_time"</span> <a name="l00352"></a><a class="code" href="a03152.html#404b93d83923f4443c5ecdd5b2645417">00352</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstart_year "start_year"</span> <a name="l00353"></a><a class="code" href="a03152.html#e63e3de2e1f27dae265c23b768a944d8">00353</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstart_month "start_month"</span> <a name="l00354"></a><a class="code" href="a03152.html#2bcaffe6aa885987ee89d423923a26ce">00354</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstart_day "start_day"</span> <a name="l00355"></a><a class="code" href="a03152.html#a352ede47c5340097289f93d9605a065">00355</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstart_hour "start_hour"</span> <a name="l00356"></a><a class="code" href="a03152.html#5458bcf07a1bdc998655f6a22cca62f0">00356</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstart_minute "start_minute"</span> <a name="l00357"></a><a class="code" href="a03152.html#baad0341bf25b55dbb4766763f4e3267">00357</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstart_seconds "start_seconds"</span> <a name="l00358"></a><a class="code" href="a03152.html#f1be759156ed003d2c5a2e08cb563c5e">00358</a> <span class="preprocessor"></span><span class="preprocessor">#define MImodality "modality"</span> <a name="l00359"></a><a class="code" href="a03152.html#cac37180539fd817ec74f382a7077b04">00359</a> <span class="preprocessor"></span><span class="preprocessor">#define MImanufacturer "manufacturer"</span> <a name="l00360"></a><a class="code" href="a03152.html#421b69e2c4e90b208ee58a511cd807de">00360</a> <span class="preprocessor"></span><span class="preprocessor">#define MIdevice_model "device_model"</span> <a name="l00361"></a><a class="code" href="a03152.html#05f2ca678486e069ba65ae5251724efd">00361</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinstitution "institution"</span> <a name="l00362"></a><a class="code" href="a03152.html#eef6fe44fc6cdb2856be632ac8a59104">00362</a> <span class="preprocessor"></span><span class="preprocessor">#define MIdepartment "department"</span> <a name="l00363"></a><a class="code" href="a03152.html#5ac34e9900c3bed622669fb915449339">00363</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstation_id "station_id"</span> <a name="l00364"></a><a class="code" href="a03152.html#c177a406f51e7d47029ce4571cc6169f">00364</a> <span class="preprocessor"></span><span class="preprocessor">#define MIreferring_physician "referring_physician"</span> <a name="l00365"></a><a class="code" href="a03152.html#b59653b2b5fd82890b6571e9c96b5107">00365</a> <span class="preprocessor"></span><span class="preprocessor">#define MIattending_physician "attending_physician"</span> <a name="l00366"></a><a class="code" href="a03152.html#faa16119dc8373a6bb113f2d11d4acdd">00366</a> <span class="preprocessor"></span><span class="preprocessor">#define MIradiologist "radiologist"</span> <a name="l00367"></a><a class="code" href="a03152.html#417654f14d7c88630f9ff09adfd58451">00367</a> <span class="preprocessor"></span><span class="preprocessor">#define MIoperator "operator"</span> <a name="l00368"></a><a class="code" href="a03152.html#c62984a89a140008b49903898ac24c08">00368</a> <span class="preprocessor"></span><span class="preprocessor">#define MIadmitting_diagnosis "admitting_diagnosis"</span> <a name="l00369"></a><a class="code" href="a03152.html#a0905b0adeb1f026f32d106e224d6415">00369</a> <span class="preprocessor"></span><span class="preprocessor">#define MIprocedure "procedure"</span> <a name="l00370"></a><a class="code" href="a03152.html#5576a56cbbd5e0614fa270916ee7db58">00370</a> <span class="preprocessor"></span><span class="preprocessor">#define MIstudy_id "study_id"</span> <a name="l00371"></a>00371 <span class="preprocessor"></span> <a name="l00372"></a>00372 <span class="comment">/* Study attribute constants */</span> <a name="l00373"></a><a class="code" href="a03152.html#fa01a683d05ea064cea640bc9180d550">00373</a> <span class="preprocessor">#define MI_PET "PET__"</span> <a name="l00374"></a><a class="code" href="a03152.html#6d5d16842bca9a74e621654b1a3ef3fc">00374</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_SPECT "SPECT"</span> <a name="l00375"></a><a class="code" href="a03152.html#57f18647c2343ffee28df49f4007ffc3">00375</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_GAMMA "GAMMA"</span> <a name="l00376"></a><a class="code" href="a03152.html#feb870effd0bcc68b967be7d52beafe3">00376</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_MRI "MRI__"</span> <a name="l00377"></a><a class="code" href="a03152.html#c668e61ab835a11f390ea309d625e021">00377</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_MRS "MRS__"</span> <a name="l00378"></a><a class="code" href="a03152.html#28198afa64fd73d843b766ba5958c668">00378</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_MRA "MRA__"</span> <a name="l00379"></a><a class="code" href="a03152.html#d7a10d43dcea2a1c4240431916e864b9">00379</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_CT "CT___"</span> <a name="l00380"></a><a class="code" href="a03152.html#5fa288b308c29948384deeab44d92ecb">00380</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_DSA "DSA__"</span> <a name="l00381"></a><a class="code" href="a03152.html#7dfeeae9299bb7df58720dc002c81921">00381</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_DR "DR___"</span> <a name="l00382"></a><a class="code" href="a03152.html#ad37a831ab87551f1cff66def3f76f91">00382</a> <span class="preprocessor"></span><span class="preprocessor">#define MI_LABEL "label"</span> <a name="l00383"></a>00383 <span class="preprocessor"></span> <a name="l00384"></a>00384 <span class="comment">/* The acquisition variable and its attributes */</span> <a name="l00385"></a><a class="code" href="a03152.html#3ea62d03c5463d1a5bc90a63842ab744">00385</a> <span class="preprocessor">#define MIacquisition "acquisition"</span> <a name="l00386"></a><a class="code" href="a03152.html#ea2a4d5d6735919f1ea076e99c7e2295">00386</a> <span class="preprocessor"></span><span class="preprocessor">#define MIprotocol "protocol"</span> <a name="l00387"></a><a class="code" href="a03152.html#b114f38c06b940ce5b2e3816761c3bac">00387</a> <span class="preprocessor"></span><span class="preprocessor">#define MIscanning_sequence "scanning_sequence"</span> <a name="l00388"></a><a class="code" href="a03152.html#03bb180f949dcb301c8214a15d2db3a0">00388</a> <span class="preprocessor"></span><span class="preprocessor">#define MIrepetition_time "repetition_time"</span> <a name="l00389"></a><a class="code" href="a03152.html#5cb4cfb706107e492a330170005e8316">00389</a> <span class="preprocessor"></span><span class="preprocessor">#define MIecho_time "echo_time"</span> <a name="l00390"></a><a class="code" href="a03152.html#f8e981bb7b68714e135044e2b8fe4443">00390</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinversion_time "inversion_time"</span> <a name="l00391"></a><a class="code" href="a03152.html#8f05c900f9381a352c620f7cdaf9292f">00391</a> <span class="preprocessor"></span><span class="preprocessor">#define MInum_averages "num_averages"</span> <a name="l00392"></a><a class="code" href="a03152.html#85223ed62afbc0bc5a931225d675f757">00392</a> <span class="preprocessor"></span><span class="preprocessor">#define MIimaging_frequency "imaging_frequency"</span> <a name="l00393"></a><a class="code" href="a03152.html#181a4d1daceb05ceffdedfcc4d685e88">00393</a> <span class="preprocessor"></span><span class="preprocessor">#define MIimaged_nucleus "imaged_nucleus"</span> <a name="l00394"></a><a class="code" href="a03152.html#f6401492eb47b650c0b61ccb11203a69">00394</a> <span class="preprocessor"></span><span class="preprocessor">#define MIradionuclide "radionuclide"</span> <a name="l00395"></a><a class="code" href="a03152.html#e667940faadfaa6db5117470d231e369">00395</a> <span class="preprocessor"></span><span class="preprocessor">#define MIcontrast_agent "contrast_agent"</span> <a name="l00396"></a><a class="code" href="a03152.html#8d6206f67681e3f74cb7c899c879257a">00396</a> <span class="preprocessor"></span><span class="preprocessor">#define MIradionuclide_halflife "radionuclide_halflife"</span> <a name="l00397"></a><a class="code" href="a03152.html#c56f0e69e9a6cf9287a0ad4fd1fe3bea">00397</a> <span class="preprocessor"></span><span class="preprocessor">#define MItracer "tracer"</span> <a name="l00398"></a><a class="code" href="a03152.html#9a17a3075b7b58397376041f389edb85">00398</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_time "injection_time"</span> <a name="l00399"></a><a class="code" href="a03152.html#ba8e817cf69830dc38e126a55567041b">00399</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_year "injection_year"</span> <a name="l00400"></a><a class="code" href="a03152.html#8aabb6589ba96a83174a86ec9c10a9dc">00400</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_month "injection_month"</span> <a name="l00401"></a><a class="code" href="a03152.html#d6d41dbbc397a5623ba1a2cd9173435c">00401</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_day "injection_day"</span> <a name="l00402"></a><a class="code" href="a03152.html#e307f36b392dac89929c2fb0da07d98a">00402</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_hour "injection_hour"</span> <a name="l00403"></a><a class="code" href="a03152.html#521bc875f6aaeeff2963d6b05e644f86">00403</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_minute "injection_minute"</span> <a name="l00404"></a><a class="code" href="a03152.html#e277f1aca7e88cf9bf89018270dd2735">00404</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_seconds "injection_seconds"</span> <a name="l00405"></a><a class="code" href="a03152.html#05a8dfab71fa9bc1259230e59c49c0c3">00405</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_length "injection_length"</span> <a name="l00406"></a><a class="code" href="a03152.html#78a95443b16cedfbc34032f81ec2e851">00406</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_dose "injection_dose"</span> <a name="l00407"></a><a class="code" href="a03152.html#7db7f2ed241c42cba332f505783c055f">00407</a> <span class="preprocessor"></span><span class="preprocessor">#define MIdose_units "dose_units"</span> <a name="l00408"></a><a class="code" href="a03152.html#cde8897613ad0f919644da0ec4a0317f">00408</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_volume "injection_volume"</span> <a name="l00409"></a><a class="code" href="a03152.html#891ece531bab5038cf1252c6b18a1212">00409</a> <span class="preprocessor"></span><span class="preprocessor">#define MIinjection_route "injection_route"</span> <a name="l00410"></a>00410 <span class="preprocessor"></span> <a name="l00411"></a>00411 <span class="comment">/* End ifndef vtkMINC_h */</span> <a name="l00412"></a>00412 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:40 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>