Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > ce1f17e7ec5e62f35dbe9f064c5f74d7 > files > 727

libtpcimgio-devel-1.5.10-4.fc15.i686.rpm

<!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>imgfile.c 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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;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&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">imgfile.c File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;unistd.h&gt;</code><br/>
<code>#include &lt;math.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;time.h&gt;</code><br/>
<code>#include &quot;petc99.h&quot;</code><br/>
<code>#include &quot;swap.h&quot;</code><br/>
<code>#include &quot;halflife.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="substitutions_8h_source.html">substitutions.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="img_8h_source.html">include/img.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="ecat63_8h_source.html">include/ecat63.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="ecat7_8h_source.html">include/ecat7.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="analyze_8h_source.html">include/analyze.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="imgmax_8h_source.html">include/imgmax.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="imgdecay_8h_source.html">include/imgdecay.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="sif_8h_source.html">include/sif.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="imgfile_8h_source.html">include/imgfile.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for imgfile.c:</div>
<div class="dyncontent">
<div class="center"><img src="imgfile_8c__incl.png" border="0" usemap="#imgfile_8c" alt=""/></div>
<map name="imgfile_8c" id="imgfile_8c">
<area shape="rect" id="node21" href="substitutions_8h.html" title="substitutions.h" alt="" coords="821,83,928,112"/><area shape="rect" id="node23" href="img_8h.html" title="include/img.h" alt="" coords="1121,237,1220,267"/><area shape="rect" id="node27" href="ecat63_8h.html" title="include/ecat63.h" alt="" coords="1408,160,1525,189"/><area shape="rect" id="node29" href="ecat7_8h.html" title="include/ecat7.h" alt="" coords="1316,237,1425,267"/><area shape="rect" id="node31" href="analyze_8h.html" title="include/analyze.h" alt="" coords="1549,160,1672,189"/><area shape="rect" id="node33" href="imgmax_8h.html" title="include/imgmax.h" alt="" coords="1160,83,1283,112"/><area shape="rect" id="node36" href="imgdecay_8h.html" title="include/imgdecay.h" alt="" coords="952,83,1085,112"/><area shape="rect" id="node39" href="sif_8h.html" title="include/sif.h" alt="" coords="328,83,419,112"/><area shape="rect" id="node51" href="imgfile_8h.html" title="include/imgfile.h" alt="" coords="1311,83,1425,112"/><area shape="rect" id="node57" href="imgunit_8h.html" title="imgunit.h" alt="" coords="1259,160,1333,189"/></map>
</div>
</div>
<p><a href="imgfile_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="imgfile_8c.html#a25e72562a72da715d4557ed9728ff6e1">imgRead</a> (const char *fname, <a class="el" href="structIMG.html">IMG</a> *img)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="imgfile_8c.html#ad8d06e4d0a57aa2db0b30488a0ce9543">imgWrite</a> (const char *fname, <a class="el" href="structIMG.html">IMG</a> *img)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="imgfile_8c.html#a49e0047cd36a54c4ac9d03c9ecddd3ff">imgReadHeader</a> (const char *fname, <a class="el" href="structIMG.html">IMG</a> *img)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="imgfile_8c.html#a69be4754eaa1168f635b38e6dc6dc1cd">imgReadFrame</a> (const char *fname, int frame_to_read, <a class="el" href="structIMG.html">IMG</a> *img, int frame_index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="imgfile_8c.html#a4886494cd98580ed8e6a0406be28eedf">imgWriteFrame</a> (const char *fname, int frame_to_write, <a class="el" href="structIMG.html">IMG</a> *img, int frame_index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="imgfile_8c.html#abe83b47e7d8d600d579c581b6e7209bd">imgFormatFromFName</a> (<a class="el" href="structIMG.html">IMG</a> *img, const char *fname)</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="abe83b47e7d8d600d579c581b6e7209bd"></a><!-- doxytag: member="imgfile.c::imgFormatFromFName" ref="abe83b47e7d8d600d579c581b6e7209bd" args="(IMG *img, const char *fname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void imgFormatFromFName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> *&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determine <a class="el" href="structIMG.html">IMG</a> _fileFormat from filename extension, if not already defined. Default if ECAT 7 image volume, if nothing else can be guessed.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>target image struture where fileformat is saved, should have IMG_UNKNOWN as file type </td></tr>
    <tr><td class="paramname">fname</td><td>name of file that is detemined </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="imgfile_8c_source.html#l00547">547</a> of file <a class="el" href="imgfile_8c_source.html">imgfile.c</a>.</p>

<p>References <a class="el" href="img_8h_source.html#l00229">IMG::_fileFormat</a>, <a class="el" href="img_8h_source.html#l00089">IMG_ANA</a>, <a class="el" href="img_8h_source.html#l00085">IMG_E63</a>, <a class="el" href="img_8h_source.html#l00086">IMG_E7</a>, <a class="el" href="img_8h_source.html#l00088">IMG_POLARMAP</a>, and <a class="el" href="img_8h_source.html#l00084">IMG_UNKNOWN</a>.</p>

<p>Referenced by <a class="el" href="imgfile_8c_source.html#l00277">imgWrite()</a>, <a class="el" href="imgfile_8c_source.html#l00493">imgWriteFrame()</a>, and <a class="el" href="libtpcimgio_8c_source.html#l00415">test_modules()</a>.</p>

</div>
</div>
<a class="anchor" id="a25e72562a72da715d4557ed9728ff6e1"></a><!-- doxytag: member="imgfile.c::imgRead" ref="a25e72562a72da715d4557ed9728ff6e1" args="(const char *fname, IMG *img)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int imgRead </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> *&#160;</td>
          <td class="paramname"><em>img</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Read an image or sinogram file in ECAT 6.3, ECAT 7.x or Analyze 7.5 format.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fname</td><td>input filename </td></tr>
    <tr><td class="paramname">img</td><td>pointer to initialized <a class="el" href="structIMG.html">IMG</a> structure </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 if ok, 1 invalid input, 2 image status is not 'initialized', 4 unrecognized format, 5 unsupported Ecat7 type, sets IMG-&gt;statmsg in case of error </dd></dl>

<p>Definition at line <a class="el" href="imgfile_8c_source.html#l00190">190</a> of file <a class="el" href="imgfile_8c_source.html">imgfile.c</a>.</p>

<p>References <a class="el" href="analyze_8c_source.html#l00075">anaExists()</a>, <a class="el" href="ecat63_8h_source.html#l00050">ecat63errmsg</a>, <a class="el" href="img__e63_8c_source.html#l00077">ecat63ReadAllToImg()</a>, <a class="el" href="ecat63r_8c_source.html#l00050">ecat63ReadMainheader()</a>, <a class="el" href="ecat7p_8c_source.html#l00479">ecat7filetype()</a>, <a class="el" href="ecat7r_8c_source.html#l00078">ecat7ReadMainheader()</a>, <a class="el" href="ecat7_8h_source.html#l00053">ECAT7V_MAGICNR</a>, <a class="el" href="ecat63_8h_source.html#l00078">ecat63_mainheader::file_type</a>, <a class="el" href="ecat7_8h_source.html#l00113">ecat7_mainheader::file_type</a>, <a class="el" href="img_8h_source.html#l00072">IMG_STATUS_INITIALIZED</a>, <a class="el" href="img_8h_source.html#l00128">IMG_TEST</a>, <a class="el" href="img__e7_8c_source.html#l00984">imgEcat7Supported()</a>, <a class="el" href="img__ana_8c_source.html#l00083">imgReadAnalyze()</a>, <a class="el" href="img__e7_8c_source.html#l00083">imgReadEcat7()</a>, <a class="el" href="img_8c_source.html#l00384">imgStatus()</a>, <a class="el" href="ecat7_8h_source.html#l00105">ecat7_mainheader::magic_number</a>, <a class="el" href="img_8h_source.html#l00166">IMG::statmsg</a>, <a class="el" href="img_8h_source.html#l00164">IMG::status</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_FAULT</a>, <a class="el" href="img_8h_source.html#l00119">STATUS_MISSINGMATRIX</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_NOFILE</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_OK</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_UNKNOWNFORMAT</a>, and <a class="el" href="img_8h_source.html#l00119">STATUS_UNSUPPORTED</a>.</p>

<p>Referenced by <a class="el" href="libtpcimgio_8c_source.html#l00313">test_img_io()</a>, and <a class="el" href="libtpcimgio_8c_source.html#l00387">test_polarmap_io()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="imgfile_8c_a25e72562a72da715d4557ed9728ff6e1_cgraph.png" border="0" usemap="#imgfile_8c_a25e72562a72da715d4557ed9728ff6e1_cgraph" alt=""/></div>
<map name="imgfile_8c_a25e72562a72da715d4557ed9728ff6e1_cgraph" id="imgfile_8c_a25e72562a72da715d4557ed9728ff6e1_cgraph">
<area shape="rect" id="node3" href="analyze_8c.html#a962221ab7adb0bed2050284912d473ca" title="anaExists" alt="" coords="368,789,448,819"/><area shape="rect" id="node5" href="img__e63_8c.html#af743a62694374d314fc164f3b4ce942f" title="ecat63ReadAllToImg" alt="" coords="128,419,272,448"/><area shape="rect" id="node29" href="ecat63r_8c.html#af904c6b26259c4f280cdc18f92aeeae5" title="ecat63ReadMainheader" alt="" coords="329,685,487,715"/><area shape="rect" id="node53" href="ecat7p_8c.html#af7076f45a7f4d8c4a339e5e7d60b0f46" title="ecat7filetype" alt="" coords="152,1736,248,1765"/><area shape="rect" id="node55" href="ecat7r_8c.html#a7d6241dd7a472a4f2aaf3eb16dc03dc1" title="ecat7ReadMainheader" alt="" coords="332,1317,484,1347"/><area shape="rect" id="node57" href="img__e7_8c.html#a4b25c303088592c0518bf26df1d20aec" title="imgEcat7Supported" alt="" coords="340,1371,476,1400"/><area shape="rect" id="node59" href="img__ana_8c.html#aefc54f0812e16d43a17edcdc342be35b" title="imgReadAnalyze" alt="" coords="140,1055,260,1084"/><area shape="rect" id="node79" href="img__e7_8c.html#a7d6df1a1fa3b56a9bfdf901eb348da4c" title="imgReadEcat7" alt="" coords="147,1683,253,1712"/><area shape="rect" id="node124" href="img_8c.html#a2af7a83f855fdb5de24325614912ae5e" title="imgStatus" alt="" coords="160,1789,240,1819"/><area shape="rect" id="node7" href="ecat63ml_8c.html#a9dc9509d99d809410fc5904410562856" title="ecat63DeleteLateFrames" alt="" coords="324,48,492,77"/><area shape="rect" id="node9" href="ecat63ml_8c.html#af566384e63f743897f71d8ee41b3b292" title="mat_numdoc" alt="" coords="581,48,677,77"/><area shape="rect" id="node11" href="ecat63ml_8c.html#a2d931d7e3d4e21159731b7c480c209b9" title="ecat63EmptyMatlist" alt="" coords="560,180,699,209"/><area shape="rect" id="node13" href="ecat63ml_8c.html#a2477fe69c32ce33b443b9c0eaedae423" title="ecat63InitMatlist" alt="" coords="349,525,467,555"/><area shape="rect" id="node15" href="ecat63p_8c.html#a129d5f8c3d6135b9934cebc54d27bc47" title="ecat63PrintMainheader" alt="" coords="331,312,485,341"/><area shape="rect" id="node19" href="ecat63ml_8c.html#aabc712142bcbc9e27d79a840e80212ae" title="ecat63PrintMatlist" alt="" coords="345,101,471,131"/><area shape="rect" id="node22" href="ecat63r_8c.html#ac9c08bd1e03ddc4f4a8c83a5ea198e05" title="ecat63ReadAttnheader" alt="" coords="331,579,485,608"/><area shape="rect" id="node26" href="ecat63r_8c.html#adc36293804c18dd15771c61500841b7c" title="ecat63ReadImageheader" alt="" coords="325,365,491,395"/><area shape="rect" id="node32" href="ecat63r_8c.html#a7f3456ddf0f774026d462df66bf1210b" title="ecat63ReadMatdata" alt="" coords="339,419,477,448"/><area shape="rect" id="node35" href="ecat63ml_8c.html#a6cce9d0e541e82d56c9d162f16202179" title="ecat63ReadMatlist" alt="" coords="343,205,473,235"/><area shape="rect" id="node38" href="ecat63r_8c.html#a6a169297491f0f8a734247467cfb2b89" title="ecat63ReadNormheader" alt="" coords="327,632,489,661"/><area shape="rect" id="node41" href="ecat63r_8c.html#a811c9c52c52f1c749ee6cb0f7a51f884" title="ecat63ReadScanheader" alt="" coords="328,472,488,501"/><area shape="rect" id="node44" href="img_8c.html#a9b2670da9c7685e6d53058cdf1db1199" title="imgAllocate" alt="" coords="363,843,453,872"/><area shape="rect" id="node46" href="img_8c.html#ad124d2d496934d677156cc8779a1e567" title="imgSetStatus" alt="" coords="579,949,680,979"/><area shape="rect" id="node49" href="imgunit_8c.html#a99853914e3480ab82c7163b0612e8b28" title="imgUnitFromEcat" alt="" coords="347,259,469,288"/><area shape="rect" id="node17" href="ecat63p_8c.html#a98732743aed846f22cee299b5588cdac" title="ecat63Datatype" alt="" coords="572,312,687,341"/><area shape="rect" id="node24" href="ecat63r_8c.html#a093061b988fd4047855b40ed5ab09910" title="ecat63rFloat" alt="" coords="583,525,676,555"/><area shape="rect" id="node62" href="analyze_8c.html#a55febab802306e82d162793558f5fbce" title="anaFlipping" alt="" coords="364,949,452,979"/><area shape="rect" id="node64" href="analyze_8c.html#a5c764c78d790dabed25b1f7971717a05" title="anaPrintHeader" alt="" coords="352,1003,464,1032"/><area shape="rect" id="node66" href="analyze_8c.html#aa7bf1965dcdbff0686193675a3175a1c" title="anaReadHeader" alt="" coords="351,1107,465,1136"/><area shape="rect" id="node68" href="analyze_8c.html#abfb69549a8e8c6a4eab3c52045262d22" title="anaReadImagedata" alt="" coords="341,1160,475,1189"/><area shape="rect" id="node72" href="sif_8c.html#ad2378bec7fec69900af6f52737c89784" title="sifEmpty" alt="" coords="592,1240,667,1269"/><area shape="rect" id="node74" href="sif_8c.html#a61c0218e380da8ace65d78f82a8f9f69" title="sifInit" alt="" coords="381,896,435,925"/><area shape="rect" id="node76" href="sifio_8c.html#ae6c3f31d7cbe31ca6b74760978fd39c7" title="sifRead" alt="" coords="375,1213,441,1243"/><area shape="rect" id="node81" href="ecat7ml_8c.html#a4cf0dc3b586a1c62d177f21b5e8e2328" title="ecat7_id_to_val" alt="" coords="573,2152,685,2181"/><area shape="rect" id="node83" href="ecat7ml_8c.html#ae366d8f1a8202f053debfdbe2a8c6be7" title="ecat7CheckMatlist" alt="" coords="343,2205,473,2235"/><area shape="rect" id="node85" href="ecat7ml_8c.html#a570804c248c25f15c172568043a8f0a5" title="ecat7EmptyMatlist" alt="" coords="564,1553,695,1583"/><area shape="rect" id="node87" href="ecat7ml_8c.html#a0826a19efcf80e53e28473189d07949e" title="ecat7InitMatlist" alt="" coords="353,1475,463,1504"/><area shape="rect" id="node89" href="ecat7ml_8c.html#ad50b3297af530071a5f115c14f40c701" title="ecat7PrintMatlist" alt="" coords="348,2259,468,2288"/><area shape="rect" id="node92" href="ecat7r_8c.html#aa37d19fc4f30868ea0b062d39d9d8450" title="ecat7Read2DScanheader" alt="" coords="544,1996,715,2025"/><area shape="rect" id="node94" href="ecat7r_8c.html#a2cdc756d0ec7d7b4d22f7d6c8b73fd7b" title="ecat7Read2DScanMatrix" alt="" coords="324,2048,492,2077"/><area shape="rect" id="node97" href="ecat7r_8c.html#ac96bedc17610a5a05d95ce7742d44b5c" title="ecat7ReadImageheader" alt="" coords="549,1657,709,1687"/><area shape="rect" id="node99" href="ecat7r_8c.html#ac62693d7c451818000deb09e2f59cc68" title="ecat7ReadImageMatrix" alt="" coords="329,1683,487,1712"/><area shape="rect" id="node103" href="ecat7ml_8c.html#a0304c6b68597ab6fe00bb35a44c19dcb" title="ecat7ReadMatlist" alt="" coords="347,1579,469,1608"/><area shape="rect" id="node106" href="ecat7r_8c.html#aa07f0b9089fda6bc1f5e8ce179f62686" title="ecat7ReadPolarmapMatrix" alt="" coords="320,1787,496,1816"/><area shape="rect" id="node108" href="ecat7r_8c.html#a498d383ca08a832895af8ead01e8c756" title="ecat7ReadPolmapheader" alt="" coords="545,1761,713,1791"/><area shape="rect" id="node111" href="ecat7r_8c.html#a37414b52ef395686b6a81d6229d13143" title="ecat7ReadScanheader" alt="" coords="552,1865,707,1895"/><area shape="rect" id="node113" href="ecat7r_8c.html#aeed5aa16cd7ac3d07994e039ede3142d" title="ecat7ReadScanMatrix" alt="" coords="333,1891,483,1920"/><area shape="rect" id="node116" href="ecat7ml_8c.html#a4c5fe6841c5c02db200f5aa92d652014" title="ecat7SortMatlistByPlane" alt="" coords="325,2152,491,2181"/><area shape="rect" id="node121" href="img__e7_8c.html#a13c42900c44b97ed1b759d7ca6348ab6" title="imgGetEcat7MHeader" alt="" coords="333,1995,483,2024"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a69be4754eaa1168f635b38e6dc6dc1cd"></a><!-- doxytag: member="imgfile.c::imgReadFrame" ref="a69be4754eaa1168f635b38e6dc6dc1cd" args="(const char *fname, int frame_to_read, IMG *img, int frame_index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int imgReadFrame </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>frame_to_read</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> *&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>frame_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Read one time frame from a supported PET image or sinogram file into <a class="el" href="structIMG.html">IMG</a> data structure. This functions can be called repeatedly to read all the frames one at a time to conserve memory.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fname</td><td>name of file from which <a class="el" href="structIMG.html">IMG</a> contents will be read. Currently supported file formats are ECAT 6.3 images and sinograms, ECAT 7.x 2D and 3D images and sinograms, and Analyze 7.5 3D and 4D images. </td></tr>
    <tr><td class="paramname">frame_to_read</td><td>frame which will be read [1..frameNr] </td></tr>
    <tr><td class="paramname">img</td><td>pointer to initiated or occupied <a class="el" href="structIMG.html">IMG</a> data. If occupied, then new frame is tested to match the previous file type, dimensions, and other fundamental information contained in the <a class="el" href="structIMG.html">IMG</a>. If not occupied, then memory is allocated here. </td></tr>
    <tr><td class="paramname">frame_index</td><td><a class="el" href="structIMG.html">IMG</a> frame index (0..dimt-1) where data will be placed. If index is &gt;0, then the memory for that frame must be allocated before calling this function. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>errstatus, which is STATUS_OK (0) when call was successful, and &gt;0 in case of an error. Specifically, return value STATUS_NOMATRIX signals that frame does not exist, i.e. all frames have been read. <a class="el" href="structIMG.html#ac92254d675eb4771d22cdd4523ccb19c">IMG.statmsg</a> can be set using ERROR_STATUS. </dd></dl>

<p>Definition at line <a class="el" href="imgfile_8c_source.html#l00389">389</a> of file <a class="el" href="imgfile_8c_source.html">imgfile.c</a>.</p>

<p>References <a class="el" href="img_8h_source.html#l00229">IMG::_fileFormat</a>, <a class="el" href="img_8h_source.html#l00259">IMG::dimt</a>, <a class="el" href="img_8h_source.html#l00261">IMG::dimx</a>, <a class="el" href="img_8h_source.html#l00263">IMG::dimy</a>, <a class="el" href="img_8h_source.html#l00265">IMG::dimz</a>, <a class="el" href="img_8h_source.html#l00089">IMG_ANA</a>, <a class="el" href="img_8h_source.html#l00090">IMG_ANA_L</a>, <a class="el" href="img_8h_source.html#l00085">IMG_E63</a>, <a class="el" href="img_8h_source.html#l00086">IMG_E7</a>, <a class="el" href="img_8h_source.html#l00087">IMG_E7_2D</a>, <a class="el" href="img_8h_source.html#l00088">IMG_POLARMAP</a>, <a class="el" href="img_8h_source.html#l00072">IMG_STATUS_INITIALIZED</a>, <a class="el" href="img_8h_source.html#l00073">IMG_STATUS_OCCUPIED</a>, <a class="el" href="img_8h_source.html#l00128">IMG_TEST</a>, <a class="el" href="img_8c_source.html#l00285">imgAllocate()</a>, <a class="el" href="img_8c_source.html#l00216">imgEmpty()</a>, <a class="el" href="img_8c_source.html#l00414">imgInfo()</a>, <a class="el" href="img_8c_source.html#l00163">imgInit()</a>, <a class="el" href="img__ana_8c_source.html#l00674">imgReadAnalyzeFrame()</a>, <a class="el" href="img__e63_8c_source.html#l01464">imgReadEcat63Frame()</a>, <a class="el" href="img__e7_8c_source.html#l01051">imgReadEcat7Frame()</a>, <a class="el" href="imgfile_8c_source.html#l00329">imgReadHeader()</a>, <a class="el" href="img_8c_source.html#l00399">imgSetStatus()</a>, <a class="el" href="img_8h_source.html#l00166">IMG::statmsg</a>, <a class="el" href="img_8h_source.html#l00164">IMG::status</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_FAULT</a>, <a class="el" href="img_8h_source.html#l00122">STATUS_INVALIDHEADER</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_NOMEMORY</a>, <a class="el" href="img_8h_source.html#l00119">STATUS_UNSUPPORTED</a>, and <a class="el" href="img_8h_source.html#l00198">IMG::type</a>.</p>

<p>Referenced by <a class="el" href="imgmax_8c_source.html#l00180">imgReadMinMax()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="imgfile_8c_a69be4754eaa1168f635b38e6dc6dc1cd_cgraph.png" border="0" usemap="#imgfile_8c_a69be4754eaa1168f635b38e6dc6dc1cd_cgraph" alt=""/></div>
<map name="imgfile_8c_a69be4754eaa1168f635b38e6dc6dc1cd_cgraph" id="imgfile_8c_a69be4754eaa1168f635b38e6dc6dc1cd_cgraph">
<area shape="rect" id="node3" href="img_8c.html#a9b2670da9c7685e6d53058cdf1db1199" title="imgAllocate" alt="" coords="179,427,269,456"/><area shape="rect" id="node5" href="img_8c.html#ada573d4b40da77be4455bb9fab9a3033" title="imgEmpty" alt="" coords="372,375,452,404"/><area shape="rect" id="node7" href="img_8c.html#ad124d2d496934d677156cc8779a1e567" title="imgSetStatus" alt="" coords="580,427,681,456"/><area shape="rect" id="node11" href="img_8c.html#a32edd1b78039f6cc22b7bbe413aa3a56" title="imgInfo" alt="" coords="192,309,256,339"/><area shape="rect" id="node15" href="img_8c.html#af95041292a0f9e4a82a10b49a074a95c" title="imgInit" alt="" coords="193,480,255,509"/><area shape="rect" id="node18" href="img__ana_8c.html#a9094bdc56d1564b7ad412f0dfc114d9b" title="imgReadAnalyzeFrame" alt="" coords="333,215,491,244"/><area shape="rect" id="node43" href="img__e63_8c.html#af1d9d568d55cc463db9fb81f36b0f737" title="imgReadEcat63Frame" alt="" coords="336,797,488,827"/><area shape="rect" id="node75" href="img__e7_8c.html#a295fc06d4e06f7b6bbd094dbce7be8c7" title="imgReadEcat7Frame" alt="" coords="340,1535,484,1564"/><area shape="rect" id="node107" href="imgfile_8c.html#a49e0047cd36a54c4ac9d03c9ecddd3ff" title="imgReadHeader" alt="" coords="167,631,281,660"/><area shape="rect" id="node13" href="imgunit_8c.html#afdd2838260ccde7ed239666ca05dcf99" title="imgUnit" alt="" coords="379,268,445,297"/><area shape="rect" id="node20" href="analyze_8c.html#a6ecb9b0f8fb5f1fa4920a378d2ce0534" title="anaDatabaseExists" alt="" coords="563,373,699,403"/><area shape="rect" id="node26" href="analyze_8c.html#a55febab802306e82d162793558f5fbce" title="anaFlipping" alt="" coords="587,5,675,35"/><area shape="rect" id="node28" href="analyze_8c.html#aa7bf1965dcdbff0686193675a3175a1c" title="anaReadHeader" alt="" coords="573,269,688,299"/><area shape="rect" id="node30" href="analyze_8c.html#abfb69549a8e8c6a4eab3c52045262d22" title="anaReadImagedata" alt="" coords="564,59,697,88"/><area shape="rect" id="node33" href="sif_8c.html#ad2378bec7fec69900af6f52737c89784" title="sifEmpty" alt="" coords="1011,217,1085,247"/><area shape="rect" id="node35" href="sif_8c.html#a61c0218e380da8ace65d78f82a8f9f69" title="sifInit" alt="" coords="604,163,657,192"/><area shape="rect" id="node37" href="sifio_8c.html#ae6c3f31d7cbe31ca6b74760978fd39c7" title="sifRead" alt="" coords="597,216,664,245"/><area shape="rect" id="node22" href="analyze_8c.html#a10778c4b955173ef69cba2b85933ac61" title="anaMakeSIFName" alt="" coords="800,427,931,456"/><area shape="rect" id="node24" href="analyze_8c.html#a78fdd5d5b299585ba8546b2071154d3a" title="anaRemoveFNameExtension" alt="" coords="769,373,961,403"/><area shape="rect" id="node40" href="sif_8c.html#ac1ea54c7476aa6b3d0b1835e22798915" title="sifSetmem" alt="" coords="823,191,908,220"/><area shape="rect" id="node45" href="ecat63ml_8c.html#a2d931d7e3d4e21159731b7c480c209b9" title="ecat63EmptyMatlist" alt="" coords="796,851,935,880"/><area shape="rect" id="node47" href="ecat63ml_8c.html#a39dccd7c874d89f8a84d57d86ce0e6b1" title="ecat63GatherMatlist" alt="" coords="561,904,700,933"/><area shape="rect" id="node49" href="ecat63ml_8c.html#af566384e63f743897f71d8ee41b3b292" title="mat_numdoc" alt="" coords="817,1060,913,1089"/><area shape="rect" id="node51" href="ecat63ml_8c.html#a8955edf44cdf0be247f73cbc7dd808c1" title="ecat63GetMatrixBlockSize" alt="" coords="543,584,719,613"/><area shape="rect" id="node53" href="ecat63ml_8c.html#a2477fe69c32ce33b443b9c0eaedae423" title="ecat63InitMatlist" alt="" coords="572,637,689,667"/><area shape="rect" id="node55" href="ecat63r_8c.html#ac9c08bd1e03ddc4f4a8c83a5ea198e05" title="ecat63ReadAttnheader" alt="" coords="553,691,708,720"/><area shape="rect" id="node57" href="ecat63r_8c.html#adc36293804c18dd15771c61500841b7c" title="ecat63ReadImageheader" alt="" coords="548,744,713,773"/><area shape="rect" id="node59" href="ecat63r_8c.html#af904c6b26259c4f280cdc18f92aeeae5" title="ecat63ReadMainheader" alt="" coords="552,797,709,827"/><area shape="rect" id="node61" href="ecat63r_8c.html#a7f3456ddf0f774026d462df66bf1210b" title="ecat63ReadMatdata" alt="" coords="561,1165,700,1195"/><area shape="rect" id="node63" href="ecat63ml_8c.html#a6cce9d0e541e82d56c9d162f16202179" title="ecat63ReadMatlist" alt="" coords="565,851,696,880"/><area shape="rect" id="node66" href="ecat63r_8c.html#a6a169297491f0f8a734247467cfb2b89" title="ecat63ReadNormheader" alt="" coords="549,957,712,987"/><area shape="rect" id="node68" href="ecat63r_8c.html#a811c9c52c52f1c749ee6cb0f7a51f884" title="ecat63ReadScanheader" alt="" coords="551,531,711,560"/><area shape="rect" id="node70" href="ecat63ml_8c.html#af88528086eaae0762fa9c551f3e55d92" title="ecat63SortMatlistByFrame" alt="" coords="543,1112,719,1141"/><area shape="rect" id="node77" href="ecat7ml_8c.html#a4cf0dc3b586a1c62d177f21b5e8e2328" title="ecat7_id_to_val" alt="" coords="809,1799,921,1828"/><area shape="rect" id="node79" href="ecat7ml_8c.html#ae366d8f1a8202f053debfdbe2a8c6be7" title="ecat7CheckMatlist" alt="" coords="565,1269,696,1299"/><area shape="rect" id="node81" href="ecat7ml_8c.html#a570804c248c25f15c172568043a8f0a5" title="ecat7EmptyMatlist" alt="" coords="800,1429,931,1459"/><area shape="rect" id="node83" href="ecat7ml_8c.html#ad061c624a2cc95af6b54e6fdebdfc64d" title="ecat7GatherMatlist" alt="" coords="565,1587,696,1616"/><area shape="rect" id="node86" href="ecat7ml_8c.html#a0826a19efcf80e53e28473189d07949e" title="ecat7InitMatlist" alt="" coords="576,1323,685,1352"/><area shape="rect" id="node88" href="ecat7r_8c.html#a2cdc756d0ec7d7b4d22f7d6c8b73fd7b" title="ecat7Read2DScanMatrix" alt="" coords="547,1904,715,1933"/><area shape="rect" id="node90" href="ecat7r_8c.html#ac62693d7c451818000deb09e2f59cc68" title="ecat7ReadImageMatrix" alt="" coords="552,1640,709,1669"/><area shape="rect" id="node92" href="ecat7r_8c.html#a7d6241dd7a472a4f2aaf3eb16dc03dc1" title="ecat7ReadMainheader" alt="" coords="555,1376,707,1405"/><area shape="rect" id="node94" href="ecat7ml_8c.html#a0304c6b68597ab6fe00bb35a44c19dcb" title="ecat7ReadMatlist" alt="" coords="569,1429,692,1459"/><area shape="rect" id="node97" href="ecat7r_8c.html#aa07f0b9089fda6bc1f5e8ce179f62686" title="ecat7ReadPolarmapMatrix" alt="" coords="543,1693,719,1723"/><area shape="rect" id="node99" href="ecat7r_8c.html#aeed5aa16cd7ac3d07994e039ede3142d" title="ecat7ReadScanMatrix" alt="" coords="556,1747,705,1776"/><area shape="rect" id="node101" href="ecat7ml_8c.html#a1005274d31eb31ae483b5740dae6af1e" title="ecat7SortMatlistByFrame" alt="" coords="545,1851,716,1880"/><area shape="rect" id="node104" href="img__e7_8c.html#a4b25c303088592c0518bf26df1d20aec" title="imgEcat7Supported" alt="" coords="563,1483,699,1512"/><area shape="rect" id="node110" href="img__ana_8c.html#aca1bc7e49593e3137706287dfb9707c7" title="imgReadAnalyzeHeader" alt="" coords="331,321,493,351"/><area shape="rect" id="node118" href="img__e63_8c.html#ad2488060702b34b8ba7269131304905d" title="imgReadEcat63Header" alt="" coords="333,687,491,716"/><area shape="rect" id="node131" href="img__e7_8c.html#a80595d5fb45da4904f58fbb0d3e7e64a" title="imgReadEcat7Header" alt="" coords="337,1323,487,1352"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a49e0047cd36a54c4ac9d03c9ecddd3ff"></a><!-- doxytag: member="imgfile.c::imgReadHeader" ref="a49e0047cd36a54c4ac9d03c9ecddd3ff" args="(const char *fname, IMG *img)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int imgReadHeader </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> *&#160;</td>
          <td class="paramname"><em>img</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fill <a class="el" href="structIMG.html">IMG</a> struct header information from an image or sinogram file in ECAT 6.3, ECAT 7.x or Analyze 7.5 format. Information concerning separate frames or planes is not filled.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fname</td><td>image or sinogram filename </td></tr>
    <tr><td class="paramname">img</td><td>pointer to initialized but not allocated <a class="el" href="structIMG.html">IMG</a> structure </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>errstatus, which is STATUS_OK (0) when call was successful, and &gt;0 in case of an error. </dd></dl>

<p>Definition at line <a class="el" href="imgfile_8c_source.html#l00329">329</a> of file <a class="el" href="imgfile_8c_source.html">imgfile.c</a>.</p>

<p>References <a class="el" href="analyze_8c_source.html#l00619">anaDatabaseExists()</a>, <a class="el" href="img_8h_source.html#l00072">IMG_STATUS_INITIALIZED</a>, <a class="el" href="img_8h_source.html#l00128">IMG_TEST</a>, <a class="el" href="img__ana_8c_source.html#l00414">imgReadAnalyzeHeader()</a>, <a class="el" href="img__e63_8c_source.html#l01289">imgReadEcat63Header()</a>, <a class="el" href="img__e7_8c_source.html#l00827">imgReadEcat7Header()</a>, <a class="el" href="img_8c_source.html#l00399">imgSetStatus()</a>, <a class="el" href="img_8h_source.html#l00164">IMG::status</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_FAULT</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_OK</a>, and <a class="el" href="img_8h_source.html#l00118">STATUS_UNKNOWNFORMAT</a>.</p>

<p>Referenced by <a class="el" href="imgfile_8c_source.html#l00389">imgReadFrame()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="imgfile_8c_a49e0047cd36a54c4ac9d03c9ecddd3ff_cgraph.png" border="0" usemap="#imgfile_8c_a49e0047cd36a54c4ac9d03c9ecddd3ff_cgraph" alt=""/></div>
<map name="imgfile_8c_a49e0047cd36a54c4ac9d03c9ecddd3ff_cgraph" id="imgfile_8c_a49e0047cd36a54c4ac9d03c9ecddd3ff_cgraph">
<area shape="rect" id="node3" href="analyze_8c.html#a6ecb9b0f8fb5f1fa4920a378d2ce0534" title="anaDatabaseExists" alt="" coords="408,32,544,61"/><area shape="rect" id="node9" href="img__ana_8c.html#aca1bc7e49593e3137706287dfb9707c7" title="imgReadAnalyzeHeader" alt="" coords="171,216,333,245"/><area shape="rect" id="node16" href="img_8c.html#ad124d2d496934d677156cc8779a1e567" title="imgSetStatus" alt="" coords="665,399,767,428"/><area shape="rect" id="node29" href="img__e63_8c.html#ad2488060702b34b8ba7269131304905d" title="imgReadEcat63Header" alt="" coords="173,920,331,949"/><area shape="rect" id="node85" href="img__e7_8c.html#a80595d5fb45da4904f58fbb0d3e7e64a" title="imgReadEcat7Header" alt="" coords="177,1767,327,1796"/><area shape="rect" id="node5" href="analyze_8c.html#a10778c4b955173ef69cba2b85933ac61" title="anaMakeSIFName" alt="" coords="651,5,781,35"/><area shape="rect" id="node7" href="analyze_8c.html#a78fdd5d5b299585ba8546b2071154d3a" title="anaRemoveFNameExtension" alt="" coords="620,59,812,88"/><area shape="rect" id="node12" href="analyze_8c.html#aa7bf1965dcdbff0686193675a3175a1c" title="anaReadHeader" alt="" coords="419,85,533,115"/><area shape="rect" id="node14" href="img__ana_8c.html#a825dd53b92d0a2e0ec0e38308132be9f" title="imgGetAnalyzeHeader" alt="" coords="400,296,552,325"/><area shape="rect" id="node19" href="sif_8c.html#ad2378bec7fec69900af6f52737c89784" title="sifEmpty" alt="" coords="873,189,948,219"/><area shape="rect" id="node21" href="sif_8c.html#a61c0218e380da8ace65d78f82a8f9f69" title="sifInit" alt="" coords="449,243,503,272"/><area shape="rect" id="node23" href="sifio_8c.html#ae6c3f31d7cbe31ca6b74760978fd39c7" title="sifRead" alt="" coords="443,189,509,219"/><area shape="rect" id="node26" href="sif_8c.html#ac1ea54c7476aa6b3d0b1835e22798915" title="sifSetmem" alt="" coords="673,189,759,219"/><area shape="rect" id="node31" href="ecat63ml_8c.html#a9dc9509d99d809410fc5904410562856" title="ecat63DeleteLateFrames" alt="" coords="632,1292,800,1321"/><area shape="rect" id="node35" href="ecat63ml_8c.html#a2d931d7e3d4e21159731b7c480c209b9" title="ecat63EmptyMatlist" alt="" coords="647,684,785,713"/><area shape="rect" id="node37" href="ecat63ml_8c.html#a39dccd7c874d89f8a84d57d86ce0e6b1" title="ecat63GatherMatlist" alt="" coords="407,1395,545,1424"/><area shape="rect" id="node42" href="ecat63ml_8c.html#a8955edf44cdf0be247f73cbc7dd808c1" title="ecat63GetMatrixBlockSize" alt="" coords="388,1027,564,1056"/><area shape="rect" id="node44" href="ecat63ml_8c.html#a231a6f12df0eeec69699a0d4f3aa4c42" title="ecat63GetPlaneAndFrameNr" alt="" coords="381,763,571,792"/><area shape="rect" id="node46" href="ecat63ml_8c.html#aa2765243cddea6955fe20e0a7d453b36" title="ecat63SortMatlistByPlane" alt="" coords="629,815,803,844"/><area shape="rect" id="node50" href="ecat63ml_8c.html#a2477fe69c32ce33b443b9c0eaedae423" title="ecat63InitMatlist" alt="" coords="417,1080,535,1109"/><area shape="rect" id="node52" href="ecat63r_8c.html#ac9c08bd1e03ddc4f4a8c83a5ea198e05" title="ecat63ReadAttnheader" alt="" coords="399,867,553,896"/><area shape="rect" id="node56" href="ecat63r_8c.html#adc36293804c18dd15771c61500841b7c" title="ecat63ReadImageheader" alt="" coords="393,1133,559,1163"/><area shape="rect" id="node61" href="ecat63r_8c.html#af904c6b26259c4f280cdc18f92aeeae5" title="ecat63ReadMainheader" alt="" coords="397,920,555,949"/><area shape="rect" id="node64" href="ecat63ml_8c.html#a6cce9d0e541e82d56c9d162f16202179" title="ecat63ReadMatlist" alt="" coords="411,709,541,739"/><area shape="rect" id="node67" href="ecat63r_8c.html#a6a169297491f0f8a734247467cfb2b89" title="ecat63ReadNormheader" alt="" coords="395,973,557,1003"/><area shape="rect" id="node70" href="ecat63r_8c.html#a811c9c52c52f1c749ee6cb0f7a51f884" title="ecat63ReadScanheader" alt="" coords="396,1187,556,1216"/><area shape="rect" id="node75" href="img__e63_8c.html#a40e3f729d9bd35fdd7aaa4628071db33" title="imgEcat63Supported" alt="" coords="405,501,547,531"/><area shape="rect" id="node77" href="img__e63_8c.html#a341c3d4960e40e361078839075b096fa" title="imgGetEcat63Fileformat" alt="" coords="395,555,557,584"/><area shape="rect" id="node79" href="img__e63_8c.html#ad140be5ae9976dfa2abbbe973517451d" title="imgGetEcat63MHeader" alt="" coords="397,1291,555,1320"/><area shape="rect" id="node81" href="imgunit_8c.html#a99853914e3480ab82c7163b0612e8b28" title="imgUnitFromEcat" alt="" coords="655,1239,777,1268"/><area shape="rect" id="node33" href="ecat63ml_8c.html#af566384e63f743897f71d8ee41b3b292" title="mat_numdoc" alt="" coords="863,1053,959,1083"/><area shape="rect" id="node39" href="ecat63ml_8c.html#a7561756da60d9e38a1419da8ebf220fb" title="mat_numcod" alt="" coords="668,1396,764,1425"/><area shape="rect" id="node54" href="ecat63r_8c.html#a093061b988fd4047855b40ed5ab09910" title="ecat63rFloat" alt="" coords="669,973,763,1003"/><area shape="rect" id="node59" href="ecat63r_8c.html#a270d63adddcee5b6b719e8ee43f601a1" title="ecat63rInt" alt="" coords="676,1159,756,1188"/><area shape="rect" id="node87" href="ecat7ml_8c.html#ae366d8f1a8202f053debfdbe2a8c6be7" title="ecat7CheckMatlist" alt="" coords="411,1819,541,1848"/><area shape="rect" id="node89" href="ecat7ml_8c.html#a570804c248c25f15c172568043a8f0a5" title="ecat7EmptyMatlist" alt="" coords="651,1847,781,1876"/><area shape="rect" id="node91" href="ecat7ml_8c.html#ad061c624a2cc95af6b54e6fdebdfc64d" title="ecat7GatherMatlist" alt="" coords="411,1872,541,1901"/><area shape="rect" id="node93" href="ecat7ml_8c.html#a24438ca2c1691deba0e4101d8fadb1c8" title="ecat7GetMatrixBlockSize" alt="" coords="391,1979,561,2008"/><area shape="rect" id="node95" href="ecat7ml_8c.html#a233c8c21f8ef8975c4cf486c6137a53d" title="ecat7GetPlaneAndFrameNr" alt="" coords="385,2032,567,2061"/><area shape="rect" id="node97" href="ecat7ml_8c.html#a0826a19efcf80e53e28473189d07949e" title="ecat7InitMatlist" alt="" coords="421,2085,531,2115"/><area shape="rect" id="node99" href="ecat7r_8c.html#aa37d19fc4f30868ea0b062d39d9d8450" title="ecat7Read2DScanheader" alt="" coords="391,2139,561,2168"/><area shape="rect" id="node101" href="ecat7r_8c.html#ac96bedc17610a5a05d95ce7742d44b5c" title="ecat7ReadImageheader" alt="" coords="396,2192,556,2221"/><area shape="rect" id="node103" href="ecat7r_8c.html#a7d6241dd7a472a4f2aaf3eb16dc03dc1" title="ecat7ReadMainheader" alt="" coords="400,1448,552,1477"/><area shape="rect" id="node105" href="ecat7ml_8c.html#a0304c6b68597ab6fe00bb35a44c19dcb" title="ecat7ReadMatlist" alt="" coords="415,1925,537,1955"/><area shape="rect" id="node108" href="ecat7r_8c.html#a498d383ca08a832895af8ead01e8c756" title="ecat7ReadPolmapheader" alt="" coords="392,1501,560,1531"/><area shape="rect" id="node110" href="ecat7r_8c.html#a37414b52ef395686b6a81d6229d13143" title="ecat7ReadScanheader" alt="" coords="399,1555,553,1584"/><area shape="rect" id="node112" href="img__e7_8c.html#a4b25c303088592c0518bf26df1d20aec" title="imgEcat7Supported" alt="" coords="408,1608,544,1637"/><area shape="rect" id="node114" href="img__e7_8c.html#a99bc5e0be5b16c6a0a75454f3232634c" title="imgGetEcat7Fileformat" alt="" coords="399,1661,553,1691"/><area shape="rect" id="node116" href="img__e7_8c.html#a13c42900c44b97ed1b759d7ca6348ab6" title="imgGetEcat7MHeader" alt="" coords="401,1715,551,1744"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad8d06e4d0a57aa2db0b30488a0ce9543"></a><!-- doxytag: member="imgfile.c::imgWrite" ref="ad8d06e4d0a57aa2db0b30488a0ce9543" args="(const char *fname, IMG *img)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int imgWrite </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> *&#160;</td>
          <td class="paramname"><em>img</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write an image or sinogram file. Format depends on _fileFormat or filename extension.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fname</td><td>output filename </td></tr>
    <tr><td class="paramname">img</td><td>pointer to <a class="el" href="structIMG.html">IMG</a> data </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 if ok, 1 invalid input, 2 invalid image type or status, 5 failed to write file, sets IMG-&gt;statmsg in case of error </dd></dl>

<p>Definition at line <a class="el" href="imgfile_8c_source.html#l00277">277</a> of file <a class="el" href="imgfile_8c_source.html">imgfile.c</a>.</p>

<p>References <a class="el" href="img_8h_source.html#l00229">IMG::_fileFormat</a>, <a class="el" href="img__e63_8c_source.html#l00374">ecat63WriteAllImg()</a>, <a class="el" href="img_8h_source.html#l00089">IMG_ANA</a>, <a class="el" href="img_8h_source.html#l00090">IMG_ANA_L</a>, <a class="el" href="img_8h_source.html#l00085">IMG_E63</a>, <a class="el" href="img_8h_source.html#l00087">IMG_E7_2D</a>, <a class="el" href="img_8h_source.html#l00088">IMG_POLARMAP</a>, <a class="el" href="img_8h_source.html#l00073">IMG_STATUS_OCCUPIED</a>, <a class="el" href="img_8h_source.html#l00128">IMG_TEST</a>, <a class="el" href="img_8h_source.html#l00080">IMG_TYPE_IMAGE</a>, <a class="el" href="img_8h_source.html#l00082">IMG_TYPE_POLARMAP</a>, <a class="el" href="img_8h_source.html#l00081">IMG_TYPE_RAW</a>, <a class="el" href="img_8h_source.html#l00084">IMG_UNKNOWN</a>, <a class="el" href="imgfile_8c_source.html#l00547">imgFormatFromFName()</a>, <a class="el" href="img_8c_source.html#l00399">imgSetStatus()</a>, <a class="el" href="img__e7_8c_source.html#l00498">imgWrite2DEcat7()</a>, <a class="el" href="img__ana_8c_source.html#l00253">imgWriteAnalyze()</a>, <a class="el" href="img__e7_8c_source.html#l00380">imgWriteEcat7()</a>, <a class="el" href="img__e7_8c_source.html#l00606">imgWritePolarmap()</a>, <a class="el" href="img_8h_source.html#l00164">IMG::status</a>, <a class="el" href="img_8h_source.html#l00119">STATUS_DISKFULL</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_FAULT</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_NOMEMORY</a>, <a class="el" href="img_8h_source.html#l00119">STATUS_NOWRITEPERM</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_OK</a>, and <a class="el" href="img_8h_source.html#l00198">IMG::type</a>.</p>

<p>Referenced by <a class="el" href="micropet_8c_source.html#l00441">imgMicropetCTToEcat7()</a>, <a class="el" href="libtpcimgio_8c_source.html#l00313">test_img_io()</a>, and <a class="el" href="libtpcimgio_8c_source.html#l00387">test_polarmap_io()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="imgfile_8c_ad8d06e4d0a57aa2db0b30488a0ce9543_cgraph.png" border="0" usemap="#imgfile_8c_ad8d06e4d0a57aa2db0b30488a0ce9543_cgraph" alt=""/></div>
<map name="imgfile_8c_ad8d06e4d0a57aa2db0b30488a0ce9543_cgraph" id="imgfile_8c_ad8d06e4d0a57aa2db0b30488a0ce9543_cgraph">
<area shape="rect" id="node3" href="img__e63_8c.html#a443e0885c38b074c760a5b9a88554ce3" title="ecat63WriteAllImg" alt="" coords="143,299,271,328"/><area shape="rect" id="node49" href="imgfile_8c.html#abe83b47e7d8d600d579c581b6e7209bd" title="imgFormatFromFName" alt="" coords="128,963,285,992"/><area shape="rect" id="node51" href="img_8c.html#ad124d2d496934d677156cc8779a1e567" title="imgSetStatus" alt="" coords="371,696,472,725"/><area shape="rect" id="node53" href="img__e7_8c.html#a0e91bf23b5a578c06992c27f6e65e460" title="imgWrite2DEcat7" alt="" coords="144,803,269,832"/><area shape="rect" id="node87" href="img__ana_8c.html#a380113542ddd5040b383221f1377d86f" title="imgWriteAnalyze" alt="" coords="147,643,267,672"/><area shape="rect" id="node96" href="img__e7_8c.html#a16fee12c445b0de04d5252f28fe48ae6" title="imgWriteEcat7" alt="" coords="153,856,260,885"/><area shape="rect" id="node111" href="img__e7_8c.html#aabd4fa9a9594482278362ff653d92a5c" title="imgWritePolarmap" alt="" coords="143,909,271,939"/><area shape="rect" id="node5" href="ecat63w_8c.html#aa9545a4a59002bf59a77478977f479eb" title="ecat63Create" alt="" coords="372,325,471,355"/><area shape="rect" id="node11" href="ecat63p_8c.html#a5f3ba1102f964d98b4de5a93c3d9fd36" title="ecat63PrintImageheader" alt="" coords="340,165,503,195"/><area shape="rect" id="node17" href="ecat63p_8c.html#a129d5f8c3d6135b9934cebc54d27bc47" title="ecat63PrintMainheader" alt="" coords="344,219,499,248"/><area shape="rect" id="node21" href="ecat63p_8c.html#a67a369196200471d7954b4788de262a6" title="ecat63PrintScanheader" alt="" coords="343,272,500,301"/><area shape="rect" id="node24" href="ecat63w_8c.html#ab7e9bf33b3225d1260ad04c44ce817ab" title="ecat63WriteImage" alt="" coords="357,59,485,88"/><area shape="rect" id="node35" href="ecat63w_8c.html#a0ef3ec20d54221eb1730dd531724b378" title="ecat63WriteScan" alt="" coords="360,112,483,141"/><area shape="rect" id="node43" href="imgdecay_8c.html#a14db419685f526306032a84343eed72c" title="imgIsotope" alt="" coords="600,484,685,513"/><area shape="rect" id="node45" href="imgunit_8c.html#a0d8d16b27eaefdf56d32b5c4c51f3757" title="imgUnitToEcat6" alt="" coords="364,429,479,459"/><area shape="rect" id="node47" href="ecat63ml_8c.html#a7561756da60d9e38a1419da8ebf220fb" title="mat_numcod" alt="" coords="373,483,469,512"/><area shape="rect" id="node7" href="ecat63w_8c.html#af7389948dcb81fe5984b5ece280e9267" title="ecat63WriteMainheader" alt="" coords="564,325,721,355"/><area shape="rect" id="node9" href="ecat63w_8c.html#a52c9b0ff6e331b42fc4ba033d7c0e920" title="ecat63wFloat" alt="" coords="777,165,876,195"/><area shape="rect" id="node13" href="ecat63p_8c.html#a98732743aed846f22cee299b5588cdac" title="ecat63Datatype" alt="" coords="585,272,700,301"/><area shape="rect" id="node15" href="ecat63p_8c.html#a55610f5a3e461ebcd23a9a9496470c56" title="ecat63Unit" alt="" coords="600,219,685,248"/><area shape="rect" id="node26" href="ecat63ml_8c.html#a01664c72df6a487a1de8d1da3bbc9983" title="ecat63Matenter" alt="" coords="587,112,699,141"/><area shape="rect" id="node28" href="ecat63w_8c.html#a327a43e9f2dbfe66dcec54ff4141877c" title="ecat63WriteImageheader" alt="" coords="560,5,725,35"/><area shape="rect" id="node33" href="ecat63w_8c.html#ae12c957a9ab48147bd356f207d176cf2" title="ecat63WriteMatdata" alt="" coords="573,59,712,88"/><area shape="rect" id="node31" href="ecat63w_8c.html#ac390002ea856aed49e87dde307fb05cb" title="ecat63wInt" alt="" coords="784,59,869,88"/><area shape="rect" id="node39" href="ecat63w_8c.html#a608dc4920336f49febe13ea8b74dd0c8" title="ecat63WriteScanheader" alt="" coords="563,165,723,195"/><area shape="rect" id="node55" href="ecat7ml_8c.html#acad3263ebf24cf2e10d7c43491810481" title="ecat7_val_to_id" alt="" coords="365,909,477,939"/><area shape="rect" id="node57" href="ecat7w_8c.html#a85ec2c6c7070a4170b8807e13623b04d" title="ecat7Create" alt="" coords="375,1069,468,1099"/><area shape="rect" id="node61" href="ecat7w_8c.html#aa94815cb1caa7fe0fdb4223edafd6f57" title="ecat7Write2DScanMatrix" alt="" coords="337,803,505,832"/><area shape="rect" id="node73" href="ecat7w_8c.html#a1806f5f5cc75a6446a4d85fa29e4228b" title="ecat7WriteImageMatrix" alt="" coords="343,856,500,885"/><area shape="rect" id="node81" href="img__e7_8c.html#ae0290e8d66a3ce7013405b344cca52f5" title="imgSetEcat7MHeader" alt="" coords="347,749,496,779"/><area shape="rect" id="node59" href="ecat7w_8c.html#ae4ee4bf17962633b914d5c731ac7c321" title="ecat7WriteMainheader" alt="" coords="567,1149,719,1179"/><area shape="rect" id="node63" href="ecat7w_8c.html#a4b4f3a8d69450162cf1652b104bd90e1" title="ecat7_is_scaling_needed" alt="" coords="559,936,727,965"/><area shape="rect" id="node65" href="ecat7ml_8c.html#a8f97f2b4eb5bea323738dc3687e773b8" title="ecat7EnterMatrix" alt="" coords="583,989,703,1019"/><area shape="rect" id="node67" href="ecat7r_8c.html#a17795a6c58bfa4c1159e0fe642098678" title="ecat7pxlbytes" alt="" coords="592,829,693,859"/><area shape="rect" id="node69" href="ecat7w_8c.html#aa28a9c3060c74c1f52b280c251b8e926" title="ecat7Write2DScanheader" alt="" coords="557,723,728,752"/><area shape="rect" id="node71" href="ecat7w_8c.html#ae44380ec982c9c91f38be4889758c1e2" title="ecat7WriteMatrixdata" alt="" coords="569,883,716,912"/><area shape="rect" id="node78" href="ecat7w_8c.html#a492041a42e77c2958cdd06c17c3267e9" title="ecat7WriteImageheader" alt="" coords="563,776,723,805"/><area shape="rect" id="node84" href="imgunit_8c.html#ad0fec561f92cbdefe55280201ef73318" title="imgUnitToEcat7" alt="" coords="585,669,700,699"/><area shape="rect" id="node89" href="analyze_8c.html#a55febab802306e82d162793558f5fbce" title="anaFlipping" alt="" coords="377,536,465,565"/><area shape="rect" id="node91" href="analyze_8c.html#a3ec6f97c394c1bafffc57bd45d81c078" title="anaWriteHeader" alt="" coords="364,589,479,619"/><area shape="rect" id="node93" href="imgmax_8c.html#a97c48d1ed44d81b2d96ce1a139b99009" title="imgMinMax" alt="" coords="377,643,465,672"/><area shape="rect" id="node101" href="ecat7w_8c.html#a33c96bd0bbc96506cb27794fadd6abcf" title="ecat7WriteScanMatrix" alt="" coords="347,963,496,992"/><area shape="rect" id="node107" href="ecat7w_8c.html#a3cac31bcbcd6a0cd5f557dc20eb71184" title="ecat7WriteScanheader" alt="" coords="565,1043,720,1072"/><area shape="rect" id="node115" href="ecat7w_8c.html#a5f460170ea6c75b8af960ddf5a17d0ef" title="ecat7WritePolarmapMatrix" alt="" coords="333,1016,509,1045"/><area shape="rect" id="node124" href="img__e7_8c.html#ae81e49b5bd72ebac0112b9d8c2f1afc8" title="imgSetEcat7SHeader" alt="" coords="348,1123,495,1152"/><area shape="rect" id="node121" href="ecat7w_8c.html#a9edfe58b989a0b6e628f7be1103fec1b" title="ecat7WritePolmapheader" alt="" coords="559,1096,727,1125"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a4886494cd98580ed8e6a0406be28eedf"></a><!-- doxytag: member="imgfile.c::imgWriteFrame" ref="a4886494cd98580ed8e6a0406be28eedf" args="(const char *fname, int frame_to_write, IMG *img, int frame_index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int imgWriteFrame </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>frame_to_write</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structIMG.html">IMG</a> *&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>frame_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write one PET frame from <a class="el" href="structIMG.html">IMG</a> data struct into a supported PET image or sinogram file. This function can be called repeatedly to write all frames one at a time to conserve memory.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fname</td><td>name of file where <a class="el" href="structIMG.html">IMG</a> contents will be written. Currently supported file formats are ECAT 6.3 images and sinograms, and ECAT 7.x 2D and 3D images and sinograms. Analyze 7.5 images are NOT supported. If file exists, data is either overwritten or catenated as a new frame, depending on the following arguments. If file does not exist, it is created. </td></tr>
    <tr><td class="paramname">frame_to_write</td><td>PET frame number (1..frameNr) which will be written: If set to 0, frame data will be written to an existing or new PET file as a new frame, never overwriting existing data. If &gt;0, then frame data is written as specified frame number, overwriting any data existing with the same frame number </td></tr>
    <tr><td class="paramname">img</td><td>pointer to the <a class="el" href="structIMG.html">IMG</a> data struct </td></tr>
    <tr><td class="paramname">frame_index</td><td><a class="el" href="structIMG.html">IMG</a> frame index (0..dimt-1) which will be written. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>errstatus, which is STATUS_OK (0) when call was successful, and &gt;0 in case of an error. </dd></dl>

<p>Definition at line <a class="el" href="imgfile_8c_source.html#l00493">493</a> of file <a class="el" href="imgfile_8c_source.html">imgfile.c</a>.</p>

<p>References <a class="el" href="img_8h_source.html#l00229">IMG::_fileFormat</a>, <a class="el" href="img_8h_source.html#l00259">IMG::dimt</a>, <a class="el" href="img_8h_source.html#l00089">IMG_ANA</a>, <a class="el" href="img_8h_source.html#l00090">IMG_ANA_L</a>, <a class="el" href="img_8h_source.html#l00085">IMG_E63</a>, <a class="el" href="img_8h_source.html#l00086">IMG_E7</a>, <a class="el" href="img_8h_source.html#l00087">IMG_E7_2D</a>, <a class="el" href="img_8h_source.html#l00088">IMG_POLARMAP</a>, <a class="el" href="img_8h_source.html#l00073">IMG_STATUS_OCCUPIED</a>, <a class="el" href="img_8h_source.html#l00128">IMG_TEST</a>, <a class="el" href="imgfile_8c_source.html#l00547">imgFormatFromFName()</a>, <a class="el" href="img_8c_source.html#l00399">imgSetStatus()</a>, <a class="el" href="img__e63_8c_source.html#l01656">imgWriteEcat63Frame()</a>, <a class="el" href="img__e7_8c_source.html#l01222">imgWriteEcat7Frame()</a>, <a class="el" href="img_8h_source.html#l00164">IMG::status</a>, <a class="el" href="img_8h_source.html#l00118">STATUS_FAULT</a>, and <a class="el" href="img_8h_source.html#l00119">STATUS_UNSUPPORTED</a>.</p>

<p>Referenced by <a class="el" href="micropet_8c_source.html#l00332">imgMicropetPETToEcat7()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="imgfile_8c_a4886494cd98580ed8e6a0406be28eedf_cgraph.png" border="0" usemap="#imgfile_8c_a4886494cd98580ed8e6a0406be28eedf_cgraph" alt=""/></div>
<map name="imgfile_8c_a4886494cd98580ed8e6a0406be28eedf_cgraph" id="imgfile_8c_a4886494cd98580ed8e6a0406be28eedf_cgraph">
<area shape="rect" id="node3" href="imgfile_8c.html#abe83b47e7d8d600d579c581b6e7209bd" title="imgFormatFromFName" alt="" coords="165,457,323,487"/><area shape="rect" id="node5" href="img_8c.html#ad124d2d496934d677156cc8779a1e567" title="imgSetStatus" alt="" coords="639,1224,740,1253"/><area shape="rect" id="node7" href="img__e63_8c.html#a754e860541649ecc46986ba3d318e435" title="imgWriteEcat63Frame" alt="" coords="168,511,320,540"/><area shape="rect" id="node95" href="img__e7_8c.html#aa4cebb077c1ca5e7fb6291e4f76f100c" title="imgWriteEcat7Frame" alt="" coords="172,1352,316,1381"/><area shape="rect" id="node9" href="ecat63w_8c.html#aa9545a4a59002bf59a77478977f479eb" title="ecat63Create" alt="" coords="409,432,508,461"/><area shape="rect" id="node11" href="ecat63w_8c.html#af7389948dcb81fe5984b5ece280e9267" title="ecat63WriteMainheader" alt="" coords="611,432,768,461"/><area shape="rect" id="node15" href="ecat63p_8c.html#a129d5f8c3d6135b9934cebc54d27bc47" title="ecat63PrintMainheader" alt="" coords="381,119,536,148"/><area shape="rect" id="node21" href="ecat63r_8c.html#af904c6b26259c4f280cdc18f92aeeae5" title="ecat63ReadMainheader" alt="" coords="611,536,768,565"/><area shape="rect" id="node25" href="ecat63w_8c.html#a904b20e0e7304bc40e2e562f73e1b6ae" title="ecat63WriteImageMatrix" alt="" coords="377,232,540,261"/><area shape="rect" id="node39" href="ecat63w_8c.html#a35a5f197ce098dfc1d91166962af59d2" title="ecat63WriteScanMatrix" alt="" coords="380,299,537,328"/><area shape="rect" id="node48" href="img_8c.html#ada573d4b40da77be4455bb9fab9a3033" title="imgEmpty" alt="" coords="419,1067,499,1096"/><area shape="rect" id="node51" href="img_8c.html#af95041292a0f9e4a82a10b49a074a95c" title="imgInit" alt="" coords="428,1013,489,1043"/><area shape="rect" id="node54" href="img__e63_8c.html#ad2488060702b34b8ba7269131304905d" title="imgReadEcat63Header" alt="" coords="380,829,537,859"/><area shape="rect" id="node62" href="ecat63ml_8c.html#a7561756da60d9e38a1419da8ebf220fb" title="mat_numcod" alt="" coords="871,537,967,567"/><area shape="rect" id="node90" href="img__e63_8c.html#aea4f0eef296e7375e00c5695cfa2ecb3" title="imgSetEcat63MHeader" alt="" coords="380,883,537,912"/><area shape="rect" id="node92" href="img__e63_8c.html#a5f01000b02cbb409121b4db0451d2303" title="imgSetEcat63SHeader" alt="" coords="381,65,536,95"/><area shape="rect" id="node13" href="ecat63w_8c.html#a52c9b0ff6e331b42fc4ba033d7c0e920" title="ecat63wFloat" alt="" coords="869,379,968,408"/><area shape="rect" id="node17" href="ecat63p_8c.html#a98732743aed846f22cee299b5588cdac" title="ecat63Datatype" alt="" coords="632,5,747,35"/><area shape="rect" id="node19" href="ecat63p_8c.html#a55610f5a3e461ebcd23a9a9496470c56" title="ecat63Unit" alt="" coords="647,59,732,88"/><area shape="rect" id="node23" href="ecat63r_8c.html#a093061b988fd4047855b40ed5ab09910" title="ecat63rFloat" alt="" coords="872,749,965,779"/><area shape="rect" id="node27" href="ecat63w_8c.html#a6c63b8a6ad8bc0b86257b3d00441c1c7" title="ecat63_is_scaling_needed" alt="" coords="603,325,776,355"/><area shape="rect" id="node29" href="ecat63ml_8c.html#a01664c72df6a487a1de8d1da3bbc9983" title="ecat63Matenter" alt="" coords="633,165,745,195"/><area shape="rect" id="node31" href="ecat63r_8c.html#af68deed580dda9af0e046697323d616d" title="ecat63pxlbytes" alt="" coords="635,219,744,248"/><area shape="rect" id="node33" href="ecat63w_8c.html#a327a43e9f2dbfe66dcec54ff4141877c" title="ecat63WriteImageheader" alt="" coords="607,112,772,141"/><area shape="rect" id="node36" href="ecat63w_8c.html#ae12c957a9ab48147bd356f207d176cf2" title="ecat63WriteMatdata" alt="" coords="620,272,759,301"/><area shape="rect" id="node45" href="ecat63w_8c.html#a608dc4920336f49febe13ea8b74dd0c8" title="ecat63WriteScanheader" alt="" coords="609,379,769,408"/><area shape="rect" id="node56" href="ecat63ml_8c.html#a9dc9509d99d809410fc5904410562856" title="ecat63DeleteLateFrames" alt="" coords="605,960,773,989"/><area shape="rect" id="node58" href="ecat63ml_8c.html#a2d931d7e3d4e21159731b7c480c209b9" title="ecat63EmptyMatlist" alt="" coords="849,961,988,991"/><area shape="rect" id="node60" href="ecat63ml_8c.html#a39dccd7c874d89f8a84d57d86ce0e6b1" title="ecat63GatherMatlist" alt="" coords="620,589,759,619"/><area shape="rect" id="node64" href="ecat63ml_8c.html#a8955edf44cdf0be247f73cbc7dd808c1" title="ecat63GetMatrixBlockSize" alt="" coords="601,1067,777,1096"/><area shape="rect" id="node66" href="ecat63ml_8c.html#a231a6f12df0eeec69699a0d4f3aa4c42" title="ecat63GetPlaneAndFrameNr" alt="" coords="595,1120,784,1149"/><area shape="rect" id="node68" href="ecat63ml_8c.html#aa2765243cddea6955fe20e0a7d453b36" title="ecat63SortMatlistByPlane" alt="" coords="832,1145,1005,1175"/><area shape="rect" id="node70" href="ecat63ml_8c.html#a2477fe69c32ce33b443b9c0eaedae423" title="ecat63InitMatlist" alt="" coords="631,696,748,725"/><area shape="rect" id="node72" href="ecat63r_8c.html#ac9c08bd1e03ddc4f4a8c83a5ea198e05" title="ecat63ReadAttnheader" alt="" coords="612,643,767,672"/><area shape="rect" id="node75" href="ecat63r_8c.html#adc36293804c18dd15771c61500841b7c" title="ecat63ReadImageheader" alt="" coords="607,749,772,779"/><area shape="rect" id="node79" href="ecat63ml_8c.html#a6cce9d0e541e82d56c9d162f16202179" title="ecat63ReadMatlist" alt="" coords="624,1013,755,1043"/><area shape="rect" id="node82" href="ecat63r_8c.html#a6a169297491f0f8a734247467cfb2b89" title="ecat63ReadNormheader" alt="" coords="608,803,771,832"/><area shape="rect" id="node85" href="ecat63r_8c.html#a811c9c52c52f1c749ee6cb0f7a51f884" title="ecat63ReadScanheader" alt="" coords="609,856,769,885"/><area shape="rect" id="node97" href="ecat7ml_8c.html#acad3263ebf24cf2e10d7c43491810481" title="ecat7_val_to_id" alt="" coords="403,1171,515,1200"/><area shape="rect" id="node99" href="ecat7w_8c.html#a85ec2c6c7070a4170b8807e13623b04d" title="ecat7Create" alt="" coords="412,1699,505,1728"/><area shape="rect" id="node101" href="ecat7w_8c.html#ae4ee4bf17962633b914d5c731ac7c321" title="ecat7WriteMainheader" alt="" coords="613,1515,765,1544"/><area shape="rect" id="node103" href="ecat7r_8c.html#a7d6241dd7a472a4f2aaf3eb16dc03dc1" title="ecat7ReadMainheader" alt="" coords="613,1277,765,1307"/><area shape="rect" id="node105" href="ecat7w_8c.html#aa94815cb1caa7fe0fdb4223edafd6f57" title="ecat7Write2DScanMatrix" alt="" coords="375,1379,543,1408"/><area shape="rect" id="node107" href="ecat7w_8c.html#a1806f5f5cc75a6446a4d85fa29e4228b" title="ecat7WriteImageMatrix" alt="" coords="380,1432,537,1461"/><area shape="rect" id="node110" href="ecat7w_8c.html#a5f460170ea6c75b8af960ddf5a17d0ef" title="ecat7WritePolarmapMatrix" alt="" coords="371,1485,547,1515"/><area shape="rect" id="node112" href="ecat7w_8c.html#a33c96bd0bbc96506cb27794fadd6abcf" title="ecat7WriteScanMatrix" alt="" coords="384,1539,533,1568"/><area shape="rect" id="node116" href="img__e7_8c.html#a80595d5fb45da4904f58fbb0d3e7e64a" title="imgReadEcat7Header" alt="" coords="384,1224,533,1253"/><area shape="rect" id="node120" href="img__e7_8c.html#ae0290e8d66a3ce7013405b344cca52f5" title="imgSetEcat7MHeader" alt="" coords="384,1592,533,1621"/><area shape="rect" id="node122" href="img__e7_8c.html#ae81e49b5bd72ebac0112b9d8c2f1afc8" title="imgSetEcat7SHeader" alt="" coords="385,1645,532,1675"/></map>
</div>
</p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Aug 8 2011 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>