<?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="_bnad_8cpp">
<title>/Users/bernard/b20/bsoft/src/bnad.cpp File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/src/bnad.cpp</primary></indexterm>
<para>

<para>Image denoising by nonlinear anisotropic diffusion: Coherence and edge enhancing diffusion. </para>
 
</para>
<programlisting>#include &quot;rwimg.h&quot;
#include &quot;utilities.h&quot;
#include &quot;options.h&quot;
#include &quot;timer.h&quot;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bnad_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627">main</link> (int argc, char **argv)</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Variables    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bnad_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453">verbose</link></para>
</listitem>
            <listitem><para>const char * <link linkend="_bnad_8cpp_1a4de0ad4c7190962494815c0fa7f948df">use</link> []</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Image denoising by nonlinear anisotropic diffusion: Coherence and edge enhancing diffusion. </para>

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

<para>Achilleas Frangakis </para>

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

<para>Created: 20020803 </para>

<para>Modified: 20161210 (BH) </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bnad_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627"/>    <section>
    <title>main()</title>
<indexterm><primary>main</primary><secondary>bnad.cpp</secondary></indexterm>
<indexterm><primary>bnad.cpp</primary><secondary>main</secondary></indexterm>
<para><computeroutput>int main (int argc, char ** argv)</computeroutput></para><para>
Definition at line 48 of file bnad.cpp.</para>
</section>
</section>
<section>
<title>Variable Documentation</title>
<anchor xml:id="_bnad_8cpp_1a4de0ad4c7190962494815c0fa7f948df"/>    <section>
    <title>use</title>
<indexterm><primary>use</primary><secondary>bnad.cpp</secondary></indexterm>
<indexterm><primary>bnad.cpp</primary><secondary>use</secondary></indexterm>
<para><computeroutput>const char* use[]</computeroutput></para><emphasis role="strong">Initial value:</emphasis><programlisting>=&#32;{
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Usage:&#32;bnad&#32;[options]&#32;input.img&#32;output.img&quot;</emphasis>,
<emphasis role="stringliteral">&quot;------------------------------------------&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Denoises&#32;by&#32;nonlinear&#32;anisotropic&#32;diffusion:&#32;Coherence&#32;and&#32;edge&#32;enhancing&#32;diffusion.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;The&#32;default&#32;is&#32;edge&#32;enhancing&#32;diffusion.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Coherence&#32;enhancing&#32;diffusion&#32;is&#32;used&#32;if&#32;the&#32;coherence&#32;parameter&#32;is&#32;specified.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Diffusion&#32;is&#32;faster&#32;for&#32;higher&#32;lambda&#32;(1e-6&#32;to&#32;10&#32;have&#32;been&#32;tested).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Actions:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-lambda&#32;0.3&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Lambda:&#32;edge&#32;enhancing&#32;diffusion&#32;(default&#32;0.1).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-coherence&#32;0.002&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Coherence:&#32;coherence&#32;enhancing&#32;diffusion&#32;(default&#32;0.001).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-sigma&#32;2.5&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Initial&#32;gaussian&#32;smoothing&#32;coefficient&#32;(default&#32;no&#32;smoothing).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Parameters:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-verbose&#32;7&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Verbosity&#32;of&#32;output.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-datatype&#32;u&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Force&#32;writing&#32;of&#32;a&#32;new&#32;data&#32;type.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-iterations&#32;80&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Iterations&#32;(default&#32;1).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-slabsize&#32;20&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Slab&#32;size&#32;for&#32;piece-wise&#32;processing&#32;(default&#32;z&#32;size).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-output&#32;5&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Number&#32;of&#32;iterations&#32;between&#32;writing&#32;output&#32;maps&#32;(default&#32;100).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Parameters&#32;for&#32;coherence&#32;enhancing&#32;diffusion:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-alpha&#32;0.001&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Alpha&#32;(default&#32;0.001).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-rho&#32;4&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Gaussian&#32;smoothing&#32;of&#32;structure&#32;tensor&#32;(default&#32;6).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
NULL
}
</programlisting><para>
Definition at line 20 of file bnad.cpp.</para>
    </section><anchor xml:id="_bnad_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453"/>    <section>
    <title>verbose</title>
<indexterm><primary>verbose</primary><secondary>bnad.cpp</secondary></indexterm>
<indexterm><primary>bnad.cpp</primary><secondary>verbose</secondary></indexterm>
<para><computeroutput>int verbose</computeroutput></para></section>
</section>
</section>
