<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>imgunit.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="navrow1" class="tabs"> <ul class="tablist"> <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="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_a8d1f883face730575470ec1817ab013.html">include</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#enum-members">Enumerations</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">imgunit.h File Reference</div> </div> </div> <div class="contents"> <div class="textblock"><code>#include "<a class="el" href="img_8h_source.html">img.h</a>"</code><br/> <code>#include "<a class="el" href="ecat7_8h_source.html">ecat7.h</a>"</code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for imgunit.h:</div> <div class="dyncontent"> <div class="center"><img src="imgunit_8h__incl.png" border="0" usemap="#imgunit_8h" alt=""/></div> <map name="imgunit_8h" id="imgunit_8h"> <area shape="rect" id="node3" href="img_8h.html" title="img.h" alt="" coords="16,83,69,112"/><area shape="rect" id="node7" href="ecat7_8h.html" title="ecat7.h" alt="" coords="93,83,157,112"/></map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="imgunit_8h__dep__incl.png" border="0" usemap="#imgunit_8hdep" alt=""/></div> <map name="imgunit_8hdep" id="imgunit_8hdep"> <area shape="rect" id="node3" href="img_8c.html" title="img.c" alt="" coords="240,83,293,112"/><area shape="rect" id="node5" href="imgfile_8h.html" title="imgfile.h" alt="" coords="317,83,387,112"/><area shape="rect" id="node17" href="imgio_8h.html" title="imgio.h" alt="" coords="512,160,576,189"/><area shape="rect" id="node23" href="imgunit_8c.html" title="imgunit.c" alt="" coords="461,83,536,112"/><area shape="rect" id="node7" href="img__ana_8c.html" title="img_ana.c" alt="" coords="5,160,88,189"/><area shape="rect" id="node9" href="img__e63_8c.html" title="img_e63.c" alt="" coords="112,160,195,189"/><area shape="rect" id="node11" href="img__e7_8c.html" title="img_e7.c" alt="" coords="219,160,293,189"/><area shape="rect" id="node13" href="imgfile_8c.html" title="imgfile.c" alt="" coords="317,160,387,189"/><area shape="rect" id="node15" href="imgmax_8c.html" title="imgmax.c" alt="" coords="411,160,488,189"/><area shape="rect" id="node19" href="libtpcimgio_8c.html" title="libtpcimgio.c" alt="" coords="441,237,535,267"/><area shape="rect" id="node21" href="micropet_8c.html" title="micropet.c" alt="" coords="559,237,641,267"/></map> </div> </div> <p><a href="imgunit_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="enum-members"></a> Enumerations</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>   <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a9f331f5d5ae9c32bb046f1203f19b186">IMGUNIT_UNKNOWN</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7ad60d265e3743984fdfd772d4f4fefdba">IMGUNIT_CPS</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7af57377df454b4a21e6afb15bf12d9e75">IMGUNIT_COUNTS</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a537d6b7cc5e3a5d0f577d131114b9cef">IMGUNIT_KBQ_PER_ML</a>, <br/>   <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7aca160ce9de7bc96d9e46d1bd118b9bb4">IMGUNIT_SEC_KBQ_PER_ML</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a870f0f2d6087e8fb47deb18484dda9f0">IMGUNIT_PER_SEC</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7afded6246801776330768a35117bd895f">IMGUNIT_PER_MIN</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a6968bd765c2c6edac101a4b00edb7308">IMGUNIT_ML_PER_ML</a>, <br/>   <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7ae0396e6d7bdc533cdad2ff4d39a01b58">IMGUNIT_ML_PER_DL</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a26e16ef896829ad1685ac629eecb3251">IMGUNIT_ML_PER_ML_PER_MIN</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a9ce649027328bcd83f1b741d0b1e1d2f">IMGUNIT_ML_PER_DL_PER_MIN</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7aa966d1fbff58a5f7114fc8767eaa7f7b">IMGUNIT_UNITLESS</a>, <br/>   <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7ac1007d6483f6030ba2077c762c98a324">IMGUNIT_NCI_PER_ML</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7af8c170967c733a46dea5ef55353ffda1">IMGUNIT_MBQ_PER_ML</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7aa16dec8881777e60c9a21a3690a208e5">IMGUNIT_BQ_PER_ML</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7ad4386c6b7dc8c796a4dddd31754cbf56">IMGUNIT_UCI_PER_ML</a>, <br/>   <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a93b533e892e5bcdb76d31beabd825aab">IMGUNIT_UMOL_PER_MIN_PER_100G</a>, <a class="el" href="imgunit_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a14e0838f313f10547c94907543a0e1e7">IMGUNIT_MG_PER_MIN_PER_100G</a> <br/> }</td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="imgunit_8h.html#a72fe74ec5a539bc93f4d9bce45f67905">imgUnitId</a> (char *unit)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgunit_8h.html#a99853914e3480ab82c7163b0612e8b28">imgUnitFromEcat</a> (<a class="el" href="structIMG.html">IMG</a> *img, int ecat_unit)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgunit_8h.html#affce8dc83e60543c59d5b85678899db9">imgUnitFromEcat7</a> (<a class="el" href="structIMG.html">IMG</a> *img, <a class="el" href="structecat7__mainheader.html">ECAT7_mainheader</a> *h)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="imgunit_8h.html#a0d8d16b27eaefdf56d32b5c4c51f3757">imgUnitToEcat6</a> (<a class="el" href="structIMG.html">IMG</a> *img)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="imgunit_8h.html#ad0fec561f92cbdefe55280201ef73318">imgUnitToEcat7</a> (<a class="el" href="structIMG.html">IMG</a> *img, <a class="el" href="structecat7__mainheader.html">ECAT7_mainheader</a> *h)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="imgunit_8h.html#afdd2838260ccde7ed239666ca05dcf99">imgUnit</a> (int dunit)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="imgunit_8h.html#a34cc498e8938de81cdb8d22954faf647">imgSetUnit</a> (<a class="el" href="structIMG.html">IMG</a> *img, char *unit)</td></tr> </table> <hr/><h2>Enumeration Type Documentation</h2> <a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7"></a><!-- doxytag: member="imgunit.h::@1" ref="adf764cbdea00d65edcd07bb9953ad2b7" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">anonymous enum</td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7a9f331f5d5ae9c32bb046f1203f19b186"></a><!-- doxytag: member="IMGUNIT_UNKNOWN" ref="adf764cbdea00d65edcd07bb9953ad2b7a9f331f5d5ae9c32bb046f1203f19b186" args="" -->IMGUNIT_UNKNOWN</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7ad60d265e3743984fdfd772d4f4fefdba"></a><!-- doxytag: member="IMGUNIT_CPS" ref="adf764cbdea00d65edcd07bb9953ad2b7ad60d265e3743984fdfd772d4f4fefdba" args="" -->IMGUNIT_CPS</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7af57377df454b4a21e6afb15bf12d9e75"></a><!-- doxytag: member="IMGUNIT_COUNTS" ref="adf764cbdea00d65edcd07bb9953ad2b7af57377df454b4a21e6afb15bf12d9e75" args="" -->IMGUNIT_COUNTS</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7a537d6b7cc5e3a5d0f577d131114b9cef"></a><!-- doxytag: member="IMGUNIT_KBQ_PER_ML" ref="adf764cbdea00d65edcd07bb9953ad2b7a537d6b7cc5e3a5d0f577d131114b9cef" args="" -->IMGUNIT_KBQ_PER_ML</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7aca160ce9de7bc96d9e46d1bd118b9bb4"></a><!-- doxytag: member="IMGUNIT_SEC_KBQ_PER_ML" ref="adf764cbdea00d65edcd07bb9953ad2b7aca160ce9de7bc96d9e46d1bd118b9bb4" args="" -->IMGUNIT_SEC_KBQ_PER_ML</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7a870f0f2d6087e8fb47deb18484dda9f0"></a><!-- doxytag: member="IMGUNIT_PER_SEC" ref="adf764cbdea00d65edcd07bb9953ad2b7a870f0f2d6087e8fb47deb18484dda9f0" args="" -->IMGUNIT_PER_SEC</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7afded6246801776330768a35117bd895f"></a><!-- doxytag: member="IMGUNIT_PER_MIN" ref="adf764cbdea00d65edcd07bb9953ad2b7afded6246801776330768a35117bd895f" args="" -->IMGUNIT_PER_MIN</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7a6968bd765c2c6edac101a4b00edb7308"></a><!-- doxytag: member="IMGUNIT_ML_PER_ML" ref="adf764cbdea00d65edcd07bb9953ad2b7a6968bd765c2c6edac101a4b00edb7308" args="" -->IMGUNIT_ML_PER_ML</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7ae0396e6d7bdc533cdad2ff4d39a01b58"></a><!-- doxytag: member="IMGUNIT_ML_PER_DL" ref="adf764cbdea00d65edcd07bb9953ad2b7ae0396e6d7bdc533cdad2ff4d39a01b58" args="" -->IMGUNIT_ML_PER_DL</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7a26e16ef896829ad1685ac629eecb3251"></a><!-- doxytag: member="IMGUNIT_ML_PER_ML_PER_MIN" ref="adf764cbdea00d65edcd07bb9953ad2b7a26e16ef896829ad1685ac629eecb3251" args="" -->IMGUNIT_ML_PER_ML_PER_MIN</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7a9ce649027328bcd83f1b741d0b1e1d2f"></a><!-- doxytag: member="IMGUNIT_ML_PER_DL_PER_MIN" ref="adf764cbdea00d65edcd07bb9953ad2b7a9ce649027328bcd83f1b741d0b1e1d2f" args="" -->IMGUNIT_ML_PER_DL_PER_MIN</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7aa966d1fbff58a5f7114fc8767eaa7f7b"></a><!-- doxytag: member="IMGUNIT_UNITLESS" ref="adf764cbdea00d65edcd07bb9953ad2b7aa966d1fbff58a5f7114fc8767eaa7f7b" args="" -->IMGUNIT_UNITLESS</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7ac1007d6483f6030ba2077c762c98a324"></a><!-- doxytag: member="IMGUNIT_NCI_PER_ML" ref="adf764cbdea00d65edcd07bb9953ad2b7ac1007d6483f6030ba2077c762c98a324" args="" -->IMGUNIT_NCI_PER_ML</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7af8c170967c733a46dea5ef55353ffda1"></a><!-- doxytag: member="IMGUNIT_MBQ_PER_ML" ref="adf764cbdea00d65edcd07bb9953ad2b7af8c170967c733a46dea5ef55353ffda1" args="" -->IMGUNIT_MBQ_PER_ML</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7aa16dec8881777e60c9a21a3690a208e5"></a><!-- doxytag: member="IMGUNIT_BQ_PER_ML" ref="adf764cbdea00d65edcd07bb9953ad2b7aa16dec8881777e60c9a21a3690a208e5" args="" -->IMGUNIT_BQ_PER_ML</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7ad4386c6b7dc8c796a4dddd31754cbf56"></a><!-- doxytag: member="IMGUNIT_UCI_PER_ML" ref="adf764cbdea00d65edcd07bb9953ad2b7ad4386c6b7dc8c796a4dddd31754cbf56" args="" -->IMGUNIT_UCI_PER_ML</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7a93b533e892e5bcdb76d31beabd825aab"></a><!-- doxytag: member="IMGUNIT_UMOL_PER_MIN_PER_100G" ref="adf764cbdea00d65edcd07bb9953ad2b7a93b533e892e5bcdb76d31beabd825aab" args="" -->IMGUNIT_UMOL_PER_MIN_PER_100G</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="adf764cbdea00d65edcd07bb9953ad2b7a14e0838f313f10547c94907543a0e1e7"></a><!-- doxytag: member="IMGUNIT_MG_PER_MIN_PER_100G" ref="adf764cbdea00d65edcd07bb9953ad2b7a14e0838f313f10547c94907543a0e1e7" args="" -->IMGUNIT_MG_PER_MIN_PER_100G</em> </td><td> </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="imgunit_8h_source.html#l00018">18</a> of file <a class="el" href="imgunit_8h_source.html">imgunit.h</a>.</p> </div> </div> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a34cc498e8938de81cdb8d22954faf647"></a><!-- doxytag: member="imgunit.h::imgSetUnit" ref="a34cc498e8938de81cdb8d22954faf647" args="(IMG *img, char *unit)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int imgSetUnit </td> <td>(</td> <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> * </td> <td class="paramname"><em>img</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char * </td> <td class="paramname"><em>unit</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the unit in <a class="el" href="structIMG.html">IMG</a> based on specified unit string. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 if successful. </dd></dl> <p>Definition at line <a class="el" href="imgunit_8c_source.html#l00377">377</a> of file <a class="el" href="imgunit_8c_source.html">imgunit.c</a>.</p> <p>References <a class="el" href="imgunit_8c_source.html#l00091">imgUnitId()</a>, and <a class="el" href="img_8h_source.html#l00172">IMG::unit</a>.</p> <p><div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="imgunit_8h_a34cc498e8938de81cdb8d22954faf647_cgraph.png" border="0" usemap="#imgunit_8h_a34cc498e8938de81cdb8d22954faf647_cgraph" alt=""/></div> <map name="imgunit_8h_a34cc498e8938de81cdb8d22954faf647_cgraph" id="imgunit_8h_a34cc498e8938de81cdb8d22954faf647_cgraph"> <area shape="rect" id="node3" href="imgunit_8c.html#a72fe74ec5a539bc93f4d9bce45f67905" title="imgUnitId" alt="" coords="143,5,220,35"/></map> </div> </p> </div> </div> <a class="anchor" id="afdd2838260ccde7ed239666ca05dcf99"></a><!-- doxytag: member="imgunit.h::imgUnit" ref="afdd2838260ccde7ed239666ca05dcf99" args="(int dunit)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* imgUnit </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>dunit</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Return pointer to string describing the calibrated image data unit</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">dunit</td><td>index of img_unit_string[] </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>pointer to string </dd></dl> <p>Definition at line <a class="el" href="imgunit_8c_source.html#l00365">365</a> of file <a class="el" href="imgunit_8c_source.html">imgunit.c</a>.</p> <p>References <a class="el" href="imgunit_8c_source.html#l00061">img_unit_string</a>, and <a class="el" href="imgunit_8h_source.html#l00019">IMGUNIT_UNKNOWN</a>.</p> <p>Referenced by <a class="el" href="img_8c_source.html#l00414">imgInfo()</a>.</p> </div> </div> <a class="anchor" id="a99853914e3480ab82c7163b0612e8b28"></a><!-- doxytag: member="imgunit.h::imgUnitFromEcat" ref="a99853914e3480ab82c7163b0612e8b28" args="(IMG *img, int ecat_unit)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void imgUnitFromEcat </td> <td>(</td> <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> * </td> <td class="paramname"><em>img</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>ecat_unit</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Set <a class="el" href="structIMG.html">IMG</a> calibration unit based on ECAT 6.3 unit</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">img</td><td>target image structure </td></tr> <tr><td class="paramname">ecat_unit</td><td>calibration unit code number </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="imgunit_8c_source.html#l00160">160</a> of file <a class="el" href="imgunit_8c_source.html">imgunit.c</a>.</p> <p>References <a class="el" href="imgunit_8h_source.html#l00033">IMGUNIT_BQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00021">IMGUNIT_COUNTS</a>, <a class="el" href="imgunit_8h_source.html#l00020">IMGUNIT_CPS</a>, <a class="el" href="imgunit_8h_source.html#l00022">IMGUNIT_KBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00032">IMGUNIT_MBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00036">IMGUNIT_MG_PER_MIN_PER_100G</a>, <a class="el" href="imgunit_8h_source.html#l00029">IMGUNIT_ML_PER_DL_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00031">IMGUNIT_NCI_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00025">IMGUNIT_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00024">IMGUNIT_PER_SEC</a>, <a class="el" href="imgunit_8h_source.html#l00023">IMGUNIT_SEC_KBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00034">IMGUNIT_UCI_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00035">IMGUNIT_UMOL_PER_MIN_PER_100G</a>, <a class="el" href="imgunit_8h_source.html#l00030">IMGUNIT_UNITLESS</a>, <a class="el" href="imgunit_8h_source.html#l00019">IMGUNIT_UNKNOWN</a>, and <a class="el" href="img_8h_source.html#l00172">IMG::unit</a>.</p> <p>Referenced by <a class="el" href="img__e63_8c_source.html#l00077">ecat63ReadAllToImg()</a>, <a class="el" href="img__e63_8c_source.html#l00568">ecat63ReadPlaneToImg()</a>, <a class="el" href="img__e63_8c_source.html#l01157">imgGetEcat63MHeader()</a>, and <a class="el" href="img__e63_8c_source.html#l01289">imgReadEcat63Header()</a>.</p> </div> </div> <a class="anchor" id="affce8dc83e60543c59d5b85678899db9"></a><!-- doxytag: member="imgunit.h::imgUnitFromEcat7" ref="affce8dc83e60543c59d5b85678899db9" args="(IMG *img, ECAT7_mainheader *h)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void imgUnitFromEcat7 </td> <td>(</td> <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> * </td> <td class="paramname"><em>img</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structecat7__mainheader.html">ECAT7_mainheader</a> * </td> <td class="paramname"><em>h</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Set <a class="el" href="structIMG.html">IMG</a> calibration unit based on ECAT7 main header</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">img</td><td>pointer to <a class="el" href="structIMG.html">IMG</a> data where unit will be set </td></tr> <tr><td class="paramname">h</td><td>pointer to source ECAT7 main header </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="imgunit_8c_source.html#l00210">210</a> of file <a class="el" href="imgunit_8c_source.html">imgunit.c</a>.</p> <p>References <a class="el" href="ecat7_8h_source.html#l00148">ecat7_mainheader::calibration_units</a>, <a class="el" href="ecat7_8h_source.html#l00150">ecat7_mainheader::calibration_units_label</a>, <a class="el" href="ecat7_8h_source.html#l00221">ecat7_mainheader::data_units</a>, <a class="el" href="imgunit_8h_source.html#l00033">IMGUNIT_BQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00019">IMGUNIT_UNKNOWN</a>, <a class="el" href="imgunit_8c_source.html#l00091">imgUnitId()</a>, and <a class="el" href="img_8h_source.html#l00172">IMG::unit</a>.</p> <p>Referenced by <a class="el" href="img__e7_8c_source.html#l00681">imgGetEcat7MHeader()</a>.</p> <p><div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="imgunit_8h_affce8dc83e60543c59d5b85678899db9_cgraph.png" border="0" usemap="#imgunit_8h_affce8dc83e60543c59d5b85678899db9_cgraph" alt=""/></div> <map name="imgunit_8h_affce8dc83e60543c59d5b85678899db9_cgraph" id="imgunit_8h_affce8dc83e60543c59d5b85678899db9_cgraph"> <area shape="rect" id="node3" href="imgunit_8c.html#a72fe74ec5a539bc93f4d9bce45f67905" title="imgUnitId" alt="" coords="185,5,263,35"/></map> </div> </p> </div> </div> <a class="anchor" id="a72fe74ec5a539bc93f4d9bce45f67905"></a><!-- doxytag: member="imgunit.h::imgUnitId" ref="a72fe74ec5a539bc93f4d9bce45f67905" args="(char *unit)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int imgUnitId </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"><em>unit</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Identifies the specified unit string as <a class="el" href="structIMG.html">IMG</a> unit.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">unit</td><td>pointer to string </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>unit id number, -1 invalid input, -3 no match found </dd></dl> <p>Definition at line <a class="el" href="imgunit_8c_source.html#l00091">91</a> of file <a class="el" href="imgunit_8c_source.html">imgunit.c</a>.</p> <p>References <a class="el" href="imgunit_8h_source.html#l00033">IMGUNIT_BQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00021">IMGUNIT_COUNTS</a>, <a class="el" href="imgunit_8h_source.html#l00020">IMGUNIT_CPS</a>, <a class="el" href="imgunit_8h_source.html#l00022">IMGUNIT_KBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00032">IMGUNIT_MBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00036">IMGUNIT_MG_PER_MIN_PER_100G</a>, <a class="el" href="imgunit_8h_source.html#l00027">IMGUNIT_ML_PER_DL</a>, <a class="el" href="imgunit_8h_source.html#l00029">IMGUNIT_ML_PER_DL_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00026">IMGUNIT_ML_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00028">IMGUNIT_ML_PER_ML_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00031">IMGUNIT_NCI_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00025">IMGUNIT_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00024">IMGUNIT_PER_SEC</a>, <a class="el" href="imgunit_8h_source.html#l00023">IMGUNIT_SEC_KBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00034">IMGUNIT_UCI_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00035">IMGUNIT_UMOL_PER_MIN_PER_100G</a>, <a class="el" href="imgunit_8h_source.html#l00030">IMGUNIT_UNITLESS</a>, and <a class="el" href="imgunit_8h_source.html#l00019">IMGUNIT_UNKNOWN</a>.</p> <p>Referenced by <a class="el" href="imgunit_8c_source.html#l00377">imgSetUnit()</a>, and <a class="el" href="imgunit_8c_source.html#l00210">imgUnitFromEcat7()</a>.</p> </div> </div> <a class="anchor" id="a0d8d16b27eaefdf56d32b5c4c51f3757"></a><!-- doxytag: member="imgunit.h::imgUnitToEcat6" ref="a0d8d16b27eaefdf56d32b5c4c51f3757" args="(IMG *img)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int imgUnitToEcat6 </td> <td>(</td> <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> * </td> <td class="paramname"><em>img</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Return ECAT 6.3 calibration unit based on <a class="el" href="structIMG.html">IMG</a> unit</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">img</td><td>image structure </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>calibration unit code number </dd></dl> <p>Definition at line <a class="el" href="imgunit_8c_source.html#l00233">233</a> of file <a class="el" href="imgunit_8c_source.html">imgunit.c</a>.</p> <p>References <a class="el" href="imgunit_8h_source.html#l00033">IMGUNIT_BQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00021">IMGUNIT_COUNTS</a>, <a class="el" href="imgunit_8h_source.html#l00020">IMGUNIT_CPS</a>, <a class="el" href="imgunit_8h_source.html#l00022">IMGUNIT_KBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00032">IMGUNIT_MBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00036">IMGUNIT_MG_PER_MIN_PER_100G</a>, <a class="el" href="imgunit_8h_source.html#l00027">IMGUNIT_ML_PER_DL</a>, <a class="el" href="imgunit_8h_source.html#l00029">IMGUNIT_ML_PER_DL_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00026">IMGUNIT_ML_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00028">IMGUNIT_ML_PER_ML_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00031">IMGUNIT_NCI_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00025">IMGUNIT_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00024">IMGUNIT_PER_SEC</a>, <a class="el" href="imgunit_8h_source.html#l00023">IMGUNIT_SEC_KBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00034">IMGUNIT_UCI_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00035">IMGUNIT_UMOL_PER_MIN_PER_100G</a>, <a class="el" href="imgunit_8h_source.html#l00030">IMGUNIT_UNITLESS</a>, and <a class="el" href="img_8h_source.html#l00172">IMG::unit</a>.</p> <p>Referenced by <a class="el" href="img__e63_8c_source.html#l00886">ecat63AddImg()</a>, <a class="el" href="img__e63_8c_source.html#l00374">ecat63WriteAllImg()</a>, <a class="el" href="img__e63_8c_source.html#l01208">imgSetEcat63MHeader()</a>, and <a class="el" href="img__e63_8c_source.html#l01790">imgSetEcat63SHeader()</a>.</p> </div> </div> <a class="anchor" id="ad0fec561f92cbdefe55280201ef73318"></a><!-- doxytag: member="imgunit.h::imgUnitToEcat7" ref="ad0fec561f92cbdefe55280201ef73318" args="(IMG *img, ECAT7_mainheader *h)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void imgUnitToEcat7 </td> <td>(</td> <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> * </td> <td class="paramname"><em>img</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structecat7__mainheader.html">ECAT7_mainheader</a> * </td> <td class="paramname"><em>h</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Set ECAT 7 mainheader calibration units based on <a class="el" href="structIMG.html">IMG</a> unit</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">img</td><td>source image stucture </td></tr> <tr><td class="paramname">h</td><td>target Ecat7 main header </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="imgunit_8c_source.html#l00266">266</a> of file <a class="el" href="imgunit_8c_source.html">imgunit.c</a>.</p> <p>References <a class="el" href="ecat7_8h_source.html#l00148">ecat7_mainheader::calibration_units</a>, <a class="el" href="ecat7_8h_source.html#l00150">ecat7_mainheader::calibration_units_label</a>, <a class="el" href="ecat7_8h_source.html#l00221">ecat7_mainheader::data_units</a>, <a class="el" href="imgunit_8h_source.html#l00033">IMGUNIT_BQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00021">IMGUNIT_COUNTS</a>, <a class="el" href="imgunit_8h_source.html#l00020">IMGUNIT_CPS</a>, <a class="el" href="imgunit_8h_source.html#l00022">IMGUNIT_KBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00032">IMGUNIT_MBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00036">IMGUNIT_MG_PER_MIN_PER_100G</a>, <a class="el" href="imgunit_8h_source.html#l00027">IMGUNIT_ML_PER_DL</a>, <a class="el" href="imgunit_8h_source.html#l00029">IMGUNIT_ML_PER_DL_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00026">IMGUNIT_ML_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00028">IMGUNIT_ML_PER_ML_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00031">IMGUNIT_NCI_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00025">IMGUNIT_PER_MIN</a>, <a class="el" href="imgunit_8h_source.html#l00024">IMGUNIT_PER_SEC</a>, <a class="el" href="imgunit_8h_source.html#l00023">IMGUNIT_SEC_KBQ_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00034">IMGUNIT_UCI_PER_ML</a>, <a class="el" href="imgunit_8h_source.html#l00035">IMGUNIT_UMOL_PER_MIN_PER_100G</a>, <a class="el" href="imgunit_8h_source.html#l00030">IMGUNIT_UNITLESS</a>, and <a class="el" href="img_8h_source.html#l00172">IMG::unit</a>.</p> <p>Referenced by <a class="el" href="img__e7_8c_source.html#l00734">imgSetEcat7MHeader()</a>.</p> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Mon Aug 8 2011 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>