<?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_p_i_c_8h">
<title>/Users/bernard/b20/bsoft/include/rwPIC.h File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/include/rwPIC.h</primary></indexterm>
<para>

<para>Header file for reading and writing PIC&apos;s BP and BQ files. </para>
 
</para>
<programlisting>#include &quot;rwimg.h&quot;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_rw_p_i_c_8h_1af84741de6f907a8fed05f92d473d0525">readPIC</link> (<link linkend="_class_bimage">Bimage</link> *p, int readdata)</para>

<para>Reading a PIC image file format(s). A 2D image format used in electron microscopy. Header size: variable - determined by title or label. File format extensions: .bp, .bq Byte order determination: Title length must be less than 256. Data types: BP files = byte, BQ files = float, (Note: float is VMS G_FLOAT). </para>
</listitem>
            <listitem><para>int <link linkend="_rw_p_i_c_8h_1af90319ebe9812849e653a96feba4cf7d">writePIC</link> (<link linkend="_class_bimage">Bimage</link> *p)</para>

<para>Writing a PIC image file format(s). A 2D image format used in electron microscopy. </para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Header file for reading and writing PIC&apos;s BP and BQ files. </para>

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

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

<para>Created: 20000412 </para>

<para>Modified: 20111217 <literallayout><computeroutput>Format: 2D image file format for the PIC package
</computeroutput></literallayout> </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_rw_p_i_c_8h_1af84741de6f907a8fed05f92d473d0525"/>    <section>
    <title>readPIC()</title>
<indexterm><primary>readPIC</primary><secondary>rwPIC.h</secondary></indexterm>
<indexterm><primary>rwPIC.h</primary><secondary>readPIC</secondary></indexterm>
<para><computeroutput>int readPIC (<link linkend="_class_bimage">Bimage</link> * p, int readdata)</computeroutput></para><para>

<para>Reading a PIC image file format(s). A 2D image format used in electron microscopy. Header size: variable - determined by title or label. File format extensions: .bp, .bq Byte order determination: Title length must be less than 256. Data types: BP files = byte, BQ files = float, (Note: float is VMS G_FLOAT). </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 27 of file rwPIC.cpp.</para>
    </section><anchor xml:id="_rw_p_i_c_8h_1af90319ebe9812849e653a96feba4cf7d"/>    <section>
    <title>writePIC()</title>
<indexterm><primary>writePIC</primary><secondary>rwPIC.h</secondary></indexterm>
<indexterm><primary>rwPIC.h</primary><secondary>writePIC</secondary></indexterm>
<para><computeroutput>int writePIC (<link linkend="_class_bimage">Bimage</link> * p)</computeroutput></para><para>

<para>Writing a PIC image file format(s). A 2D 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 131 of file rwPIC.cpp.</para>
</section>
</section>
</section>
