<?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="_pocs__tool_8cpp">
<title>/Users/bernard/b20/bsoft/radon/pocs_tool.cpp File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/radon/pocs_tool.cpp</primary></indexterm>
<programlisting>#include &quot;pocs_tool.h&quot;
#include &quot;fft_tool.h&quot;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_pocs__tool_8cpp_1a52292083a4b13c5a9126fd59f08aeb25">filter_sin_mask</link> (<link linkend="_class_bimage">Bimage</link> *p, int n_cicli, float r_max, <link linkend="_class_bimage">Bimage</link> *pmask, int piano, int tipo, int first)</para>
</listitem>
            <listitem><para>int <link linkend="_pocs__tool_8cpp_1a0fde14581f76540453b34590801f231f">restore_with_mask</link> (<link linkend="_class_bimage">Bimage</link> *p, <link linkend="_class_bimage">Bimage</link> *pcopia, <link linkend="_class_bimage">Bimage</link> *pmask, int linea, int tipo)</para>
</listitem>
            <listitem><para>int <link linkend="_pocs__tool_8cpp_1a5500ab9a271e5f566dbd043da8bcadf5">copy_sin</link> (<link linkend="_class_bimage">Bimage</link> *p)</para>

<para>Copy the second half of a sinogram from the first one. </para>
</listitem>
            <listitem><para>int <link linkend="_pocs__tool_8cpp_1a348f533c02f82a56a4f956b6d349d3e8">copy_phi</link> (<link linkend="_class_bimage">Bimage</link> *pelab, <link linkend="_class_bimage">Bimage</link> *p, int i)</para>
</listitem>
            <listitem><para>int <link linkend="_pocs__tool_8cpp_1aaa5284c7ee3d7cbf1ef89227547d5f25">filter_bessel</link> (<link linkend="_class_bimage">Bimage</link> *p, int r, int first)</para>
</listitem>
            <listitem><para>int <link linkend="_pocs__tool_8cpp_1a18b745919647c6f6e29352167366bdea">filter_X_mask</link> (<link linkend="_class_bimage">Bimage</link> *p, <link linkend="_class_bimage">Bimage</link> *pmask, int n_cicli, float r_maxx, int passata)</para>
</listitem>
            <listitem><para>int <link linkend="_pocs__tool_8cpp_1a629d4af2fb3f16a283287cbd54680fbf">support_f</link> (<link linkend="_class_bimage">Bimage</link> *p, float rmax)</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

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

<para>P.L. Bellon, F. Cantele and S. Lanzavecchia Dip. Chimica Strutturale e Stereochimica Inorganica Via Venezian 21, 20133 Milano, Italy</para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 7 04 2003 </para>

<para>Modified: 07 07 2005 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_pocs__tool_8cpp_1a348f533c02f82a56a4f956b6d349d3e8"/>    <section>
    <title>copy_phi()</title>
<indexterm><primary>copy_phi</primary><secondary>pocs_tool.cpp</secondary></indexterm>
<indexterm><primary>pocs_tool.cpp</primary><secondary>copy_phi</secondary></indexterm>
<para><computeroutput>int copy_phi (<link linkend="_class_bimage">Bimage</link> * pelab, <link linkend="_class_bimage">Bimage</link> * p, int i)</computeroutput></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>*pelab</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>*p</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>i</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0 </para>
</formalpara>
</para>
<para>
Definition at line 211 of file pocs_tool.cpp.</para>
    </section><anchor xml:id="_pocs__tool_8cpp_1a5500ab9a271e5f566dbd043da8bcadf5"/>    <section>
    <title>copy_sin()</title>
<indexterm><primary>copy_sin</primary><secondary>pocs_tool.cpp</secondary></indexterm>
<indexterm><primary>pocs_tool.cpp</primary><secondary>copy_sin</secondary></indexterm>
<para><computeroutput>int copy_sin (<link linkend="_class_bimage">Bimage</link> * p)</computeroutput></para><para>

<para>Copy the second half of a sinogram from the first one. </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>sinogram </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0 </para>
</formalpara>
</para>
<para>
Definition at line 179 of file pocs_tool.cpp.</para>
    </section><anchor xml:id="_pocs__tool_8cpp_1aaa5284c7ee3d7cbf1ef89227547d5f25"/>    <section>
    <title>filter_bessel()</title>
<indexterm><primary>filter_bessel</primary><secondary>pocs_tool.cpp</secondary></indexterm>
<indexterm><primary>pocs_tool.cpp</primary><secondary>filter_bessel</secondary></indexterm>
<para><computeroutput>int filter_bessel (<link linkend="_class_bimage">Bimage</link> * p, int r, int first)</computeroutput></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></para>
</entry>
                            </row>
                            <row>
                                <entry>r</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>first</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0 </para>
</formalpara>
</para>
<para>
Definition at line 236 of file pocs_tool.cpp.</para>
    </section><anchor xml:id="_pocs__tool_8cpp_1a52292083a4b13c5a9126fd59f08aeb25"/>    <section>
    <title>filter_sin_mask()</title>
<indexterm><primary>filter_sin_mask</primary><secondary>pocs_tool.cpp</secondary></indexterm>
<indexterm><primary>pocs_tool.cpp</primary><secondary>filter_sin_mask</secondary></indexterm>
<para><computeroutput>int filter_sin_mask (<link linkend="_class_bimage">Bimage</link> * p, int n_cicli, float r_max, <link linkend="_class_bimage">Bimage</link> * pmask, int piano, int tipo, int first)</computeroutput></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>Radon transform </para>
</entry>
                            </row>
                            <row>
                                <entry>n_cicli</entry>
                                <entry>
<para>number of cicles to do </para>
</entry>
                            </row>
                            <row>
                                <entry>r_max</entry>
                                <entry>
<para>maximun ray of the object </para>
</entry>
                            </row>
                            <row>
                                <entry>*pmask</entry>
                                <entry>
<para>mask </para>
</entry>
                            </row>
                            <row>
                                <entry>piano</entry>
                                <entry>
<para>number of plane processed </para>
</entry>
                            </row>
                            <row>
                                <entry>tipo</entry>
                                <entry>
<para>can be 0 or 1 </para>
</entry>
                            </row>
                            <row>
                                <entry>first</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0 </para>
</formalpara>
</para>
<para>
Definition at line 33 of file pocs_tool.cpp.</para>
    </section><anchor xml:id="_pocs__tool_8cpp_1a18b745919647c6f6e29352167366bdea"/>    <section>
    <title>filter_X_mask()</title>
<indexterm><primary>filter_X_mask</primary><secondary>pocs_tool.cpp</secondary></indexterm>
<indexterm><primary>pocs_tool.cpp</primary><secondary>filter_X_mask</secondary></indexterm>
<para><computeroutput>int filter_X_mask (<link linkend="_class_bimage">Bimage</link> * p, <link linkend="_class_bimage">Bimage</link> * pmask, int n_cicli, float r_maxx, int passata)</computeroutput></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>Radon transform </para>
</entry>
                            </row>
                            <row>
                                <entry>*pmask</entry>
                                <entry>
<para>mask </para>
</entry>
                            </row>
                            <row>
                                <entry>n_cicli</entry>
                                <entry>
<para>number of cicles to do </para>
</entry>
                            </row>
                            <row>
                                <entry>r_maxx</entry>
                                <entry>
<para>maximun ray of the object </para>
</entry>
                            </row>
                            <row>
                                <entry>passata</entry>
                                <entry>
<para>can be 0 or 1 </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0 </para>
</formalpara>
</para>
<para>
Definition at line 67 of file pocs_tool.cpp.</para>
    </section><anchor xml:id="_pocs__tool_8cpp_1a0fde14581f76540453b34590801f231f"/>    <section>
    <title>restore_with_mask()</title>
<indexterm><primary>restore_with_mask</primary><secondary>pocs_tool.cpp</secondary></indexterm>
<indexterm><primary>pocs_tool.cpp</primary><secondary>restore_with_mask</secondary></indexterm>
<para><computeroutput>int restore_with_mask (<link linkend="_class_bimage">Bimage</link> * p, <link linkend="_class_bimage">Bimage</link> * pcopia, <link linkend="_class_bimage">Bimage</link> * pmask, int linea, int tipo)</computeroutput></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>Radon transform </para>
</entry>
                            </row>
                            <row>
                                <entry>*pcopia</entry>
                                <entry>
<para>temporary array </para>
</entry>
                            </row>
                            <row>
                                <entry>*pmask</entry>
                                <entry>
<para>mask </para>
</entry>
                            </row>
                            <row>
                                <entry>linea</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>tipo</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0 </para>
</formalpara>
</para>
<para>
Definition at line 116 of file pocs_tool.cpp.</para>
    </section><anchor xml:id="_pocs__tool_8cpp_1a629d4af2fb3f16a283287cbd54680fbf"/>    <section>
    <title>support_f()</title>
<indexterm><primary>support_f</primary><secondary>pocs_tool.cpp</secondary></indexterm>
<indexterm><primary>pocs_tool.cpp</primary><secondary>support_f</secondary></indexterm>
<para><computeroutput>int support_f (<link linkend="_class_bimage">Bimage</link> * p, float rmax)</computeroutput></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></para>
</entry>
                            </row>
                            <row>
                                <entry>rmax</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0 </para>
</formalpara>
</para>
<para>
Definition at line 290 of file pocs_tool.cpp.</para>
</section>
</section>
</section>
