<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_rw_s_u_p_r_i_m_8h">
<title>/Users/bernard/b20/bsoft/include/rwSUPRIM.h File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/include/rwSUPRIM.h</primary></indexterm>
<para>

<para>Header file for reading and writing SUPRIM files. </para>
 
</para>
<programlisting>#include &quot;rwimg.h&quot;
</programlisting><simplesect>
    <title>Classes    </title>
        <itemizedlist>
            <listitem><para>union <link linkend="_union_r_e_g">REG</link></para>
</listitem>
            <listitem><para>struct <link linkend="_struct_s_u_p_r_i_mhead">SUPRIMhead</link></para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Macros    </title>
        <itemizedlist>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1ab601f9ed9c04ca05e9a55dbeb1c27a93">F_AVG</link>   0</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a850b2f07a67b73890889e63fb8a49fda">BACKGROUND</link>   0</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a473814083f3aa6fec1e34f63ea3b47b7">ANG_SAMP</link>   1</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1ad50387787ec2317bd983475d9dacf8b6">RAD_SAMP</link>   2</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a9f1ca085be35f4d6e0d555be24452244">O_ROW_SZ</link>   3</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a08a9fd45895004710427481092bb04ae">O_COL_SZ</link>   4</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a98a5b568b60e11f66ed5cc2dc6c7f578">ROW_ORG</link>   5</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1ac7517869836a37ecfb5b6b3156964033">COL_ORG</link>   6</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a579fae7ba42f6842c039327f75c58347">MASK_RAD</link>   7</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1ac4e4e3b7e15d9cc1226f992740337e53">F_NOTE_R</link>   8</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1aad2bb37f82f82484e04434adbfcecbac">F_NOTE_I</link>   9</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a6e0f25d0669cdc97704343683ce8f4d7">SAMP_DIST</link>   10</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a74905cec20c8e102d3453aedef674698">NSLICES</link>   11</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a77bb9a6a1bc47ac25d51a1ebf8e75ea1">ENL_BP</link>   12</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a45e4cda07d352e2bfcc4ad695412e8a8">X_FMAX</link>   12</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1aaa4fb7dc71c652b12ffbc047006637ad">THE_BP</link>   13</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a31cba778f03686f8c4856ed556703876">PHI_BP</link>   14</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a67f4594f88f540d612698cba57e4ad96">FOUR_TR_CEN</link>   15</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1ab5429cf39c371f231cd4d2be04f97339">GSBAR</link>   15</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a6a316281725cdbf7175322195159f37d">X_NIMA</link>   16</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1adaf7c97837b3dec0fc45839aa7414c53">SYMP2</link>   17</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a8efe201855d897215cf0ffb1f75348d1">X_NPIX</link>   17</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1ad23c31e82b76aad5e7b170a92edc4614">X_NCLU</link>   18</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a00832dae811b62ac157befeaea545141">X_NCTR</link>   19</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a7f2ef8b3b083e095ee5209e307d6021b">X_NAME</link>   20</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a4d13541d47d09742c117037d4f022d64">X_LNAM</link>   21</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1ae5dd0aa9edd8cd2090430cb4a62b77ad">X_NTRM</link>   21</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a6108a30f0d1b35ca2cb41b3dabb1e136">X_NFAC</link>   22</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1acc490d77dcf2d1e50028bc3677fd969d">X_NTYP</link>   23</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1abf430ed64b25528d5fdf921921c99963">FRTHDIM</link>   24</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a8ffa8e026f56cafefcf7f95fcf0c11e8">X_NIMI</link>   26</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a67004daf361f37f98cd5834b9369f06c">X_UFAC</link>   27</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a4aed27a7ac90bb416a8f74b7117d1ffc">X_WALL</link>   28</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a9718c5e3b2bd9eda386ce1faee7218c2">SLICE_ORG</link>   29</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a0c7fc2e418848c4ab73044b6aa8a25bd">NUM_POLYS</link>   31</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1af2bd54d4a3772b711930a9fa597e9a79">X_FBEG</link>   32</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a873ab69b142bd6dea4c4a242ddd6274a">PSI_BP</link>   40</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1aa65bd2e34c8ca7170fa93593209f7fa9">X_TRP</link>   70</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1ad4ae495f676483bb2ff8b3402b3433b4">R_ANGX</link>   81</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1addb05a4ae883f92ffb95faa2d2e204f7">R_ANGY</link>   82</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a1ff371e6eb3edb86cc3b3ec4062dcc5b">R_ANGZ</link>   83</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1af81f4541f0d8a7a2de0959e85243ad84">R_NPROJ</link>   84</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a5259cb4da70700c6d917f9437c457637">XGLOB</link>   90</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1abf9fd2a70056b16fc23366e6c02d3dd3">YGLOB</link>   91</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a41de3880e54e2fa9646b72970a200fea">ROTGLOB</link>   92</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1aa553d40999db05f7428de3a002a323ea">XX_CELL</link>   93</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a5d89861c420f68c4e93585a2b9f9355d">XY_CELL</link>   94</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a8f2857f6d1cf4316f032441975c0d4d0">YX_CELL</link>   95</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a84216e8837f5b7dedbf6222f44e585db">YY_CELL</link>   96</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a8a8cd7703291fe67349b1d6507743acc">IR_WINID</link>   97</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a6a041d123a17ab4af3647f74ee440723">O_SLICE_SZ</link>   98</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a6536ddf58e8eb4c48d4bb2aaa5d1f122">CALIB</link>   99</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1ac7840a66c072b557a9aef5d006050bfb">NAV</link>   100</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1aea110a19342979f1bd778db547f8fc59">SUPRIMSIZE</link>   548</para>
</listitem>
            <listitem><para>#define <link linkend="_rw_s_u_p_r_i_m_8h_1a6f41e93c17a8a079a6e8776bef15eb8d">MAXREG</link>   128</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_rw_s_u_p_r_i_m_8h_1a8f3eb6cf1ff98a08c8374e299b3ae969">readSUPRIM</link> (<link linkend="_class_bimage">Bimage</link> *p, int readdata)</para>

<para>Reading a SUPRIM map image file format. A 3D image format used in electron microscopy. Header size: 36 bytes basic fields 512 bytes additional fields called &quot;registers&quot; up to 1024 bytes of &quot;trace&quot; records File format extensions: .spm, .sup Byte order determination: Version and third dimension values must be less than 256*256. Data types: 1 = byte, 2 = float, 3 = complex float, 4 = run-length-encoded float, 5 = short, 6 = <link linkend="_class_r_g_b">RGB</link>, 7 = int, 8 = double. <link linkend="_class_transform">Transform</link> type: Standard. </para>
</listitem>
            <listitem><para>int <link linkend="_rw_s_u_p_r_i_m_8h_1a1f239a6a549d639c3398bc56fde6b0ac">writeSUPRIM</link> (<link linkend="_class_bimage">Bimage</link> *p)</para>

<para>Writing a SUPRIM map image file format. A 3D image format used in electron microscopy. </para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Header file for reading and writing SUPRIM files. </para>

<para><formalpara><title>Author: </title>

<para>Bernard Heymann </para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 19990930 </para>

<para>Modified: 20050705 <literallayout><computeroutput>Format: 3D image file format for the SUPRIM package
</computeroutput></literallayout> </para>
</formalpara>
</para>
</section>
<section>
<title>Macro Definition Documentation</title>
<anchor xml:id="_rw_s_u_p_r_i_m_8h_1a473814083f3aa6fec1e34f63ea3b47b7"/>    <section>
    <title>ANG_SAMP</title>
<indexterm><primary>ANG_SAMP</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>ANG_SAMP</secondary></indexterm>
<para><computeroutput>#define ANG_SAMP   1</computeroutput></para><para>
Definition at line 17 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a850b2f07a67b73890889e63fb8a49fda"/>    <section>
    <title>BACKGROUND</title>
<indexterm><primary>BACKGROUND</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>BACKGROUND</secondary></indexterm>
<para><computeroutput>#define BACKGROUND   0</computeroutput></para><para>
Definition at line 16 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a6536ddf58e8eb4c48d4bb2aaa5d1f122"/>    <section>
    <title>CALIB</title>
<indexterm><primary>CALIB</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>CALIB</secondary></indexterm>
<para><computeroutput>#define CALIB   99</computeroutput></para><para>
Definition at line 66 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1ac7517869836a37ecfb5b6b3156964033"/>    <section>
    <title>COL_ORG</title>
<indexterm><primary>COL_ORG</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>COL_ORG</secondary></indexterm>
<para><computeroutput>#define COL_ORG   6</computeroutput></para><para>
Definition at line 22 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a77bb9a6a1bc47ac25d51a1ebf8e75ea1"/>    <section>
    <title>ENL_BP</title>
<indexterm><primary>ENL_BP</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>ENL_BP</secondary></indexterm>
<para><computeroutput>#define ENL_BP   12</computeroutput></para><para>
Definition at line 28 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1ab601f9ed9c04ca05e9a55dbeb1c27a93"/>    <section>
    <title>F_AVG</title>
<indexterm><primary>F_AVG</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>F_AVG</secondary></indexterm>
<para><computeroutput>#define F_AVG   0</computeroutput></para><para>
Definition at line 15 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1aad2bb37f82f82484e04434adbfcecbac"/>    <section>
    <title>F_NOTE_I</title>
<indexterm><primary>F_NOTE_I</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>F_NOTE_I</secondary></indexterm>
<para><computeroutput>#define F_NOTE_I   9</computeroutput></para><para>
Definition at line 25 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1ac4e4e3b7e15d9cc1226f992740337e53"/>    <section>
    <title>F_NOTE_R</title>
<indexterm><primary>F_NOTE_R</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>F_NOTE_R</secondary></indexterm>
<para><computeroutput>#define F_NOTE_R   8</computeroutput></para><para>
Definition at line 24 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a67f4594f88f540d612698cba57e4ad96"/>    <section>
    <title>FOUR_TR_CEN</title>
<indexterm><primary>FOUR_TR_CEN</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>FOUR_TR_CEN</secondary></indexterm>
<para><computeroutput>#define FOUR_TR_CEN   15</computeroutput></para><para>
Definition at line 32 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1abf430ed64b25528d5fdf921921c99963"/>    <section>
    <title>FRTHDIM</title>
<indexterm><primary>FRTHDIM</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>FRTHDIM</secondary></indexterm>
<para><computeroutput>#define FRTHDIM   24</computeroutput></para><para>
Definition at line 44 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1ab5429cf39c371f231cd4d2be04f97339"/>    <section>
    <title>GSBAR</title>
<indexterm><primary>GSBAR</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>GSBAR</secondary></indexterm>
<para><computeroutput>#define GSBAR   15</computeroutput></para><para>
Definition at line 33 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a8a8cd7703291fe67349b1d6507743acc"/>    <section>
    <title>IR_WINID</title>
<indexterm><primary>IR_WINID</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>IR_WINID</secondary></indexterm>
<para><computeroutput>#define IR_WINID   97</computeroutput></para><para>
Definition at line 64 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a579fae7ba42f6842c039327f75c58347"/>    <section>
    <title>MASK_RAD</title>
<indexterm><primary>MASK_RAD</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>MASK_RAD</secondary></indexterm>
<para><computeroutput>#define MASK_RAD   7</computeroutput></para><para>
Definition at line 23 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a6f41e93c17a8a079a6e8776bef15eb8d"/>    <section>
    <title>MAXREG</title>
<indexterm><primary>MAXREG</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>MAXREG</secondary></indexterm>
<para><computeroutput>#define MAXREG   128</computeroutput></para><para>
Definition at line 71 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1ac7840a66c072b557a9aef5d006050bfb"/>    <section>
    <title>NAV</title>
<indexterm><primary>NAV</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>NAV</secondary></indexterm>
<para><computeroutput>#define NAV   100</computeroutput></para><para>
Definition at line 67 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a74905cec20c8e102d3453aedef674698"/>    <section>
    <title>NSLICES</title>
<indexterm><primary>NSLICES</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>NSLICES</secondary></indexterm>
<para><computeroutput>#define NSLICES   11</computeroutput></para><para>
Definition at line 27 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a0c7fc2e418848c4ab73044b6aa8a25bd"/>    <section>
    <title>NUM_POLYS</title>
<indexterm><primary>NUM_POLYS</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>NUM_POLYS</secondary></indexterm>
<para><computeroutput>#define NUM_POLYS   31</computeroutput></para><para>
Definition at line 49 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a08a9fd45895004710427481092bb04ae"/>    <section>
    <title>O_COL_SZ</title>
<indexterm><primary>O_COL_SZ</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>O_COL_SZ</secondary></indexterm>
<para><computeroutput>#define O_COL_SZ   4</computeroutput></para><para>
Definition at line 20 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a9f1ca085be35f4d6e0d555be24452244"/>    <section>
    <title>O_ROW_SZ</title>
<indexterm><primary>O_ROW_SZ</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>O_ROW_SZ</secondary></indexterm>
<para><computeroutput>#define O_ROW_SZ   3</computeroutput></para><para>
Definition at line 19 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a6a041d123a17ab4af3647f74ee440723"/>    <section>
    <title>O_SLICE_SZ</title>
<indexterm><primary>O_SLICE_SZ</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>O_SLICE_SZ</secondary></indexterm>
<para><computeroutput>#define O_SLICE_SZ   98</computeroutput></para><para>
Definition at line 65 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a31cba778f03686f8c4856ed556703876"/>    <section>
    <title>PHI_BP</title>
<indexterm><primary>PHI_BP</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>PHI_BP</secondary></indexterm>
<para><computeroutput>#define PHI_BP   14</computeroutput></para><para>
Definition at line 31 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a873ab69b142bd6dea4c4a242ddd6274a"/>    <section>
    <title>PSI_BP</title>
<indexterm><primary>PSI_BP</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>PSI_BP</secondary></indexterm>
<para><computeroutput>#define PSI_BP   40</computeroutput></para><para>
Definition at line 51 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1ad4ae495f676483bb2ff8b3402b3433b4"/>    <section>
    <title>R_ANGX</title>
<indexterm><primary>R_ANGX</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>R_ANGX</secondary></indexterm>
<para><computeroutput>#define R_ANGX   81</computeroutput></para><para>
Definition at line 53 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1addb05a4ae883f92ffb95faa2d2e204f7"/>    <section>
    <title>R_ANGY</title>
<indexterm><primary>R_ANGY</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>R_ANGY</secondary></indexterm>
<para><computeroutput>#define R_ANGY   82</computeroutput></para><para>
Definition at line 54 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a1ff371e6eb3edb86cc3b3ec4062dcc5b"/>    <section>
    <title>R_ANGZ</title>
<indexterm><primary>R_ANGZ</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>R_ANGZ</secondary></indexterm>
<para><computeroutput>#define R_ANGZ   83</computeroutput></para><para>
Definition at line 55 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1af81f4541f0d8a7a2de0959e85243ad84"/>    <section>
    <title>R_NPROJ</title>
<indexterm><primary>R_NPROJ</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>R_NPROJ</secondary></indexterm>
<para><computeroutput>#define R_NPROJ   84</computeroutput></para><para>
Definition at line 56 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1ad50387787ec2317bd983475d9dacf8b6"/>    <section>
    <title>RAD_SAMP</title>
<indexterm><primary>RAD_SAMP</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>RAD_SAMP</secondary></indexterm>
<para><computeroutput>#define RAD_SAMP   2</computeroutput></para><para>
Definition at line 18 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a41de3880e54e2fa9646b72970a200fea"/>    <section>
    <title>ROTGLOB</title>
<indexterm><primary>ROTGLOB</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>ROTGLOB</secondary></indexterm>
<para><computeroutput>#define ROTGLOB   92</computeroutput></para><para>
Definition at line 59 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a98a5b568b60e11f66ed5cc2dc6c7f578"/>    <section>
    <title>ROW_ORG</title>
<indexterm><primary>ROW_ORG</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>ROW_ORG</secondary></indexterm>
<para><computeroutput>#define ROW_ORG   5</computeroutput></para><para>
Definition at line 21 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a6e0f25d0669cdc97704343683ce8f4d7"/>    <section>
    <title>SAMP_DIST</title>
<indexterm><primary>SAMP_DIST</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>SAMP_DIST</secondary></indexterm>
<para><computeroutput>#define SAMP_DIST   10</computeroutput></para><para>
Definition at line 26 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a9718c5e3b2bd9eda386ce1faee7218c2"/>    <section>
    <title>SLICE_ORG</title>
<indexterm><primary>SLICE_ORG</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>SLICE_ORG</secondary></indexterm>
<para><computeroutput>#define SLICE_ORG   29</computeroutput></para><para>
Definition at line 48 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1aea110a19342979f1bd778db547f8fc59"/>    <section>
    <title>SUPRIMSIZE</title>
<indexterm><primary>SUPRIMSIZE</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>SUPRIMSIZE</secondary></indexterm>
<para><computeroutput>#define SUPRIMSIZE   548</computeroutput></para><para>
Definition at line 69 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1adaf7c97837b3dec0fc45839aa7414c53"/>    <section>
    <title>SYMP2</title>
<indexterm><primary>SYMP2</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>SYMP2</secondary></indexterm>
<para><computeroutput>#define SYMP2   17</computeroutput></para><para>
Definition at line 35 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1aaa4fb7dc71c652b12ffbc047006637ad"/>    <section>
    <title>THE_BP</title>
<indexterm><primary>THE_BP</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>THE_BP</secondary></indexterm>
<para><computeroutput>#define THE_BP   13</computeroutput></para><para>
Definition at line 30 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1af2bd54d4a3772b711930a9fa597e9a79"/>    <section>
    <title>X_FBEG</title>
<indexterm><primary>X_FBEG</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_FBEG</secondary></indexterm>
<para><computeroutput>#define X_FBEG   32</computeroutput></para><para>
Definition at line 50 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a45e4cda07d352e2bfcc4ad695412e8a8"/>    <section>
    <title>X_FMAX</title>
<indexterm><primary>X_FMAX</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_FMAX</secondary></indexterm>
<para><computeroutput>#define X_FMAX   12</computeroutput></para><para>
Definition at line 29 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a4d13541d47d09742c117037d4f022d64"/>    <section>
    <title>X_LNAM</title>
<indexterm><primary>X_LNAM</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_LNAM</secondary></indexterm>
<para><computeroutput>#define X_LNAM   21</computeroutput></para><para>
Definition at line 40 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a7f2ef8b3b083e095ee5209e307d6021b"/>    <section>
    <title>X_NAME</title>
<indexterm><primary>X_NAME</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_NAME</secondary></indexterm>
<para><computeroutput>#define X_NAME   20</computeroutput></para><para>
Definition at line 39 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1ad23c31e82b76aad5e7b170a92edc4614"/>    <section>
    <title>X_NCLU</title>
<indexterm><primary>X_NCLU</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_NCLU</secondary></indexterm>
<para><computeroutput>#define X_NCLU   18</computeroutput></para><para>
Definition at line 37 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a00832dae811b62ac157befeaea545141"/>    <section>
    <title>X_NCTR</title>
<indexterm><primary>X_NCTR</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_NCTR</secondary></indexterm>
<para><computeroutput>#define X_NCTR   19</computeroutput></para><para>
Definition at line 38 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a6108a30f0d1b35ca2cb41b3dabb1e136"/>    <section>
    <title>X_NFAC</title>
<indexterm><primary>X_NFAC</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_NFAC</secondary></indexterm>
<para><computeroutput>#define X_NFAC   22</computeroutput></para><para>
Definition at line 42 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a6a316281725cdbf7175322195159f37d"/>    <section>
    <title>X_NIMA</title>
<indexterm><primary>X_NIMA</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_NIMA</secondary></indexterm>
<para><computeroutput>#define X_NIMA   16</computeroutput></para><para>
Definition at line 34 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a8ffa8e026f56cafefcf7f95fcf0c11e8"/>    <section>
    <title>X_NIMI</title>
<indexterm><primary>X_NIMI</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_NIMI</secondary></indexterm>
<para><computeroutput>#define X_NIMI   26</computeroutput></para><para>
Definition at line 45 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a8efe201855d897215cf0ffb1f75348d1"/>    <section>
    <title>X_NPIX</title>
<indexterm><primary>X_NPIX</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_NPIX</secondary></indexterm>
<para><computeroutput>#define X_NPIX   17</computeroutput></para><para>
Definition at line 36 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1ae5dd0aa9edd8cd2090430cb4a62b77ad"/>    <section>
    <title>X_NTRM</title>
<indexterm><primary>X_NTRM</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_NTRM</secondary></indexterm>
<para><computeroutput>#define X_NTRM   21</computeroutput></para><para>
Definition at line 41 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1acc490d77dcf2d1e50028bc3677fd969d"/>    <section>
    <title>X_NTYP</title>
<indexterm><primary>X_NTYP</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_NTYP</secondary></indexterm>
<para><computeroutput>#define X_NTYP   23</computeroutput></para><para>
Definition at line 43 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1aa65bd2e34c8ca7170fa93593209f7fa9"/>    <section>
    <title>X_TRP</title>
<indexterm><primary>X_TRP</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_TRP</secondary></indexterm>
<para><computeroutput>#define X_TRP   70</computeroutput></para><para>
Definition at line 52 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a67004daf361f37f98cd5834b9369f06c"/>    <section>
    <title>X_UFAC</title>
<indexterm><primary>X_UFAC</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_UFAC</secondary></indexterm>
<para><computeroutput>#define X_UFAC   27</computeroutput></para><para>
Definition at line 46 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a4aed27a7ac90bb416a8f74b7117d1ffc"/>    <section>
    <title>X_WALL</title>
<indexterm><primary>X_WALL</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>X_WALL</secondary></indexterm>
<para><computeroutput>#define X_WALL   28</computeroutput></para><para>
Definition at line 47 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a5259cb4da70700c6d917f9437c457637"/>    <section>
    <title>XGLOB</title>
<indexterm><primary>XGLOB</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>XGLOB</secondary></indexterm>
<para><computeroutput>#define XGLOB   90</computeroutput></para><para>
Definition at line 57 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1aa553d40999db05f7428de3a002a323ea"/>    <section>
    <title>XX_CELL</title>
<indexterm><primary>XX_CELL</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>XX_CELL</secondary></indexterm>
<para><computeroutput>#define XX_CELL   93</computeroutput></para><para>
Definition at line 60 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a5d89861c420f68c4e93585a2b9f9355d"/>    <section>
    <title>XY_CELL</title>
<indexterm><primary>XY_CELL</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>XY_CELL</secondary></indexterm>
<para><computeroutput>#define XY_CELL   94</computeroutput></para><para>
Definition at line 61 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1abf9fd2a70056b16fc23366e6c02d3dd3"/>    <section>
    <title>YGLOB</title>
<indexterm><primary>YGLOB</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>YGLOB</secondary></indexterm>
<para><computeroutput>#define YGLOB   91</computeroutput></para><para>
Definition at line 58 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a8f2857f6d1cf4316f032441975c0d4d0"/>    <section>
    <title>YX_CELL</title>
<indexterm><primary>YX_CELL</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>YX_CELL</secondary></indexterm>
<para><computeroutput>#define YX_CELL   95</computeroutput></para><para>
Definition at line 62 of file rwSUPRIM.h.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a84216e8837f5b7dedbf6222f44e585db"/>    <section>
    <title>YY_CELL</title>
<indexterm><primary>YY_CELL</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>YY_CELL</secondary></indexterm>
<para><computeroutput>#define YY_CELL   96</computeroutput></para><para>
Definition at line 63 of file rwSUPRIM.h.</para>
</section>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_rw_s_u_p_r_i_m_8h_1a8f3eb6cf1ff98a08c8374e299b3ae969"/>    <section>
    <title>readSUPRIM()</title>
<indexterm><primary>readSUPRIM</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>readSUPRIM</secondary></indexterm>
<para><computeroutput>int readSUPRIM (<link linkend="_class_bimage">Bimage</link> * p, int readdata)</computeroutput></para><para>

<para>Reading a SUPRIM map image file format. A 3D image format used in electron microscopy. Header size: 36 bytes basic fields 512 bytes additional fields called &quot;registers&quot; up to 1024 bytes of &quot;trace&quot; records File format extensions: .spm, .sup Byte order determination: Version and third dimension values must be less than 256*256. Data types: 1 = byte, 2 = float, 3 = complex float, 4 = run-length-encoded float, 5 = short, 6 = <link linkend="_class_r_g_b">RGB</link>, 7 = int, 8 = double. <link linkend="_class_transform">Transform</link> type: Standard. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>*p</entry>
                                <entry>
<para>the image structure. </para>
</entry>
                            </row>
                            <row>
                                <entry>readdata</entry>
                                <entry>
<para>flag to activate reading of image data. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int error code (&lt;0 means failure). </para>
</formalpara>
</para>
<para>
Definition at line 60 of file rwSUPRIM.cpp.</para>
    </section><anchor xml:id="_rw_s_u_p_r_i_m_8h_1a1f239a6a549d639c3398bc56fde6b0ac"/>    <section>
    <title>writeSUPRIM()</title>
<indexterm><primary>writeSUPRIM</primary><secondary>rwSUPRIM.h</secondary></indexterm>
<indexterm><primary>rwSUPRIM.h</primary><secondary>writeSUPRIM</secondary></indexterm>
<para><computeroutput>int writeSUPRIM (<link linkend="_class_bimage">Bimage</link> * p)</computeroutput></para><para>

<para>Writing a SUPRIM map image file format. A 3D image format used in electron microscopy. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>*p</entry>
                                <entry>
<para>the image structure. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int error code (&lt;0 means failure). </para>
</formalpara>
</para>
<para>
Definition at line 203 of file rwSUPRIM.cpp.</para>
</section>
</section>
</section>
