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

<para>Program to seperate a multi-image file into individual image files. </para>
 
</para>
<programlisting>#include &quot;rwimg.h&quot;
#include &quot;Bstring.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="_bsplit_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627">main</link> (int argc, char **argv)</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Variables    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bsplit_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453">verbose</link></para>
</listitem>
            <listitem><para>const char * <link linkend="_bsplit_8cpp_1a4de0ad4c7190962494815c0fa7f948df">use</link> []</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Program to seperate a multi-image file into individual image files. </para>

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

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

<para>Created: 20001026 </para>

<para>Modified: 20110804 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bsplit_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627"/>    <section>
    <title>main()</title>
<indexterm><primary>main</primary><secondary>bsplit.cpp</secondary></indexterm>
<indexterm><primary>bsplit.cpp</primary><secondary>main</secondary></indexterm>
<para><computeroutput>int main (int argc, char ** argv)</computeroutput></para><para>
Definition at line 42 of file bsplit.cpp.</para>
</section>
</section>
<section>
<title>Variable Documentation</title>
<anchor xml:id="_bsplit_8cpp_1a4de0ad4c7190962494815c0fa7f948df"/>    <section>
    <title>use</title>
<indexterm><primary>use</primary><secondary>bsplit.cpp</secondary></indexterm>
<indexterm><primary>bsplit.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;bsplit&#32;[options]&#32;input.img&#32;output.img&quot;</emphasis>,
<emphasis role="stringliteral">&quot;--------------------------------------------&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Splits&#32;multi-image&#32;files&#32;of&#32;the&#32;following&#32;formats:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Digital&#32;Instruments&#32;(di),&#32;Imagic&#32;(img),&#32;Image&#32;Magick&#32;(miff),&#32;PIF&#32;(pif)&quot;</emphasis>,&#32;
<emphasis role="stringliteral">&quot;SPIDER&#32;(spi),&#32;TIFF&#32;(tif),&#32;RAW&#32;(raw).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Files&#32;of&#32;single&#32;image&#32;3D&#32;image&#32;formats&#32;can&#32;be&#32;split&#32;with&#32;the&#32;-images&#32;option.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
<emphasis role="stringliteral">&quot;Actions:&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-images&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Interpret&#32;slices&#32;of&#32;a&#32;single&#32;3D&#32;image&#32;as&#32;2D&#32;images.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-invert&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Invert&#32;density&#32;in&#32;the&#32;image.&quot;</emphasis>,<emphasis role="stringliteral">&quot;-reslice&#32;-z+xy&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Reslice&#32;=&#32;switch&#32;axes&#32;(default&#32;xyz).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-select&#32;1,5-13,122&#32;&#32;&#32;&#32;&#32;&#32;&#32;Sub-images&#32;to&#32;select&#32;(first&#32;image&#32;=&#32;0,&#32;default&#32;all).&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;-first&#32;5&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Number&#32;given&#32;to&#32;the&#32;first&#32;file&#32;(default&#32;0).&quot;</emphasis>,
<emphasis role="stringliteral">&quot;-digits&#32;3&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;Number&#32;of&#32;digits&#32;inserted&#32;before&#32;the&#32;last&#32;period&#32;in&#32;the&#32;output&#32;file&#32;name.&quot;</emphasis>,
<emphasis role="stringliteral">&quot;&#32;&quot;</emphasis>,
NULL
}
</programlisting><para>
Definition at line 19 of file bsplit.cpp.</para>
    </section><anchor xml:id="_bsplit_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453"/>    <section>
    <title>verbose</title>
<indexterm><primary>verbose</primary><secondary>bsplit.cpp</secondary></indexterm>
<indexterm><primary>bsplit.cpp</primary><secondary>verbose</secondary></indexterm>
<para><computeroutput>int verbose</computeroutput></para></section>
</section>
</section>
