<?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="_proj__tool_8cpp">
<title>/Users/bernard/b20/bsoft/radon/proj_tool.cpp File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/radon/proj_tool.cpp</primary></indexterm>
<programlisting>#include &quot;proj_tool.h&quot;
#include &quot;radon_util.h&quot;
#include &quot;utilities.h&quot;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para><link linkend="_struct_l_u_table">LUTable</link> * <link linkend="_proj__tool_8cpp_1a8bd65a6e239780a4a7eaef7585fbc6cc">create_table</link> (int ncol, int sizeT)</para>
</listitem>
            <listitem><para>int <link linkend="_proj__tool_8cpp_1a8952022472a20e7cc096cb45761aa99b">kill_table</link> (<link linkend="_struct_l_u_table">LUTable</link> *lut)</para>
</listitem>
            <listitem><para>int <link linkend="_proj__tool_8cpp_1a0f3ef492f13846855fcdfe966fe63a6d">write_line</link> (<link linkend="_class_bimage">Bimage</link> *p, <link linkend="_class_bimage">Bimage</link> *prec, int angolo, float csi, float eta, <link linkend="_class_bimage">Bimage</link> *pmask, <link linkend="_struct_l_u_table">LUTable</link> *lut, float *priga)</para>
</listitem>
            <listitem><para>int <link linkend="_proj__tool_8cpp_1a087dd460705ca0c1dd1c735e7793ed77">weigh_radon_transf</link> (<link linkend="_class_bimage">Bimage</link> *p, <link linkend="_class_bimage">Bimage</link> *pmask)</para>

<para>Weighs a radon transform with a mask. </para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Variables    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_proj__tool_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453">verbose</link></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="_proj__tool_8cpp_1a8bd65a6e239780a4a7eaef7585fbc6cc"/>    <section>
    <title>create_table()</title>
<indexterm><primary>create_table</primary><secondary>proj_tool.cpp</secondary></indexterm>
<indexterm><primary>proj_tool.cpp</primary><secondary>create_table</secondary></indexterm>
<para><computeroutput><link linkend="_struct_l_u_table">LUTable</link>* create_table (int ncol, int sizeT)</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>ncol</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>sizeT</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 25 of file proj_tool.cpp.</para>
    </section><anchor xml:id="_proj__tool_8cpp_1a8952022472a20e7cc096cb45761aa99b"/>    <section>
    <title>kill_table()</title>
<indexterm><primary>kill_table</primary><secondary>proj_tool.cpp</secondary></indexterm>
<indexterm><primary>proj_tool.cpp</primary><secondary>kill_table</secondary></indexterm>
<para><computeroutput>int kill_table (<link linkend="_struct_l_u_table">LUTable</link> * lut)</computeroutput></para><para>
Definition at line 139 of file proj_tool.cpp.</para>
    </section><anchor xml:id="_proj__tool_8cpp_1a087dd460705ca0c1dd1c735e7793ed77"/>    <section>
    <title>weigh_radon_transf()</title>
<indexterm><primary>weigh_radon_transf</primary><secondary>proj_tool.cpp</secondary></indexterm>
<indexterm><primary>proj_tool.cpp</primary><secondary>weigh_radon_transf</secondary></indexterm>
<para><computeroutput>int weigh_radon_transf (<link linkend="_class_bimage">Bimage</link> * p, <link linkend="_class_bimage">Bimage</link> * pmask)</computeroutput></para><para>

<para>Weighs a radon transform with a mask. </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>radon transform. </para>
</entry>
                            </row>
                            <row>
                                <entry>*pmask</entry>
                                <entry>
<para>mask calculated for the radon transform. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0 <literallayout><computeroutput>The mask is searched for the minimum value to assess completeness.
Each value in the mask above a threshold is inverted (the weight to be applied).
Values below the threshold is set to zero.
The threshold is set to 0.9.
</computeroutput></literallayout> </para>
</formalpara>
</para>
<para>
Definition at line 289 of file proj_tool.cpp.</para>
    </section><anchor xml:id="_proj__tool_8cpp_1a0f3ef492f13846855fcdfe966fe63a6d"/>    <section>
    <title>write_line()</title>
<indexterm><primary>write_line</primary><secondary>proj_tool.cpp</secondary></indexterm>
<indexterm><primary>proj_tool.cpp</primary><secondary>write_line</secondary></indexterm>
<para><computeroutput>int write_line (<link linkend="_class_bimage">Bimage</link> * p, <link linkend="_class_bimage">Bimage</link> * prec, int angolo, float csi, float eta, <link linkend="_class_bimage">Bimage</link> * pmask, <link linkend="_struct_l_u_table">LUTable</link> * lut, float * priga)</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>*prec</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>angolo</entry>
                                <entry>
<para>angle index </para>
</entry>
                            </row>
                            <row>
                                <entry>csi</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>eta</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>*pmask</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>*lut</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>*priga</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 177 of file proj_tool.cpp.</para>
</section>
</section>
<section>
<title>Variable Documentation</title>
<anchor xml:id="_proj__tool_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453"/>    <section>
    <title>verbose</title>
<indexterm><primary>verbose</primary><secondary>proj_tool.cpp</secondary></indexterm>
<indexterm><primary>proj_tool.cpp</primary><secondary>verbose</secondary></indexterm>
<para><computeroutput>int verbose</computeroutput></para></section>
</section>
</section>
