<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
                   "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<!-- lifted from troff+man by doclifter -->
<refentry id='pcasysx1'>
<!--  @(#)pcasysx.1 2001/04/02 NIST -->
<!--  I Image Group -->
<!--  G. T. Candela &amp; Craig I. Watson -->

<refmeta>
<refentrytitle>PCASYSX</refentrytitle>
<manvolnum>1A</manvolnum>
<refmiscinfo class='date'>02 April 2001</refmiscinfo>
<refmiscinfo class='source'>NIST</refmiscinfo>
<refmiscinfo class='manual'>NFIS Reference Manual</refmiscinfo>
</refmeta>
<refnamediv id='name'>
<refname>pcasysx</refname>
<refpurpose>fingerprint classifier demo, graphical version</refpurpose>
</refnamediv>
<!-- body begins here -->
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
  <command>pcasysx</command>    
    <arg choice='opt'><replaceable>prsfile</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>


<refsect1 id='description'><title>DESCRIPTION</title>
<para><emphasis remap='B'>Pcasysx</emphasis>
is the graphical fingerprint classifier demo program.  It reads a
sequence of image files, each depicting one box as scanned from a
fingerprint card, and classifies each fingerprint, using a Multi-Layer
Perceptron (MLP) or Probabilistic (PNN) Neural Network, to one of six
pattern-level classes: Arch, Left loop, Right loop, Scar, Tented
arch, and Whorl. The type of classifier MLP or PNN is chosen in the
parameters file <filename>pcasys/parms/pcasys.prs</filename>.  Additional
parameters specific to pcasysx are in <emphasis remap='I'>pcasys/parms/pcasysx.prs</emphasis>.</para>

<para>Pcasysx produces screen graphics illustrating the results of the
processing phases (requires X Windows).  It optionally makes an
output file, containing a results line for each fingerprint and
a summary at the end showing the error rate and the "confusion matrix",
and it optionally writes progress messages to the standard output.</para>

<para>Pcasysx will look in the default location <emphasis remap='I'>pcasys/parms</emphasis>
for the default parameter files it needs.  There are prototype
and weights files in <emphasis remap='I'>pcasys/weights/{mlp|pnn}</emphasis> that are needed
by the MLP and PNN classifiers and images needed for the graphics
display in <emphasis remap='I'>pcasys/images</emphasis>. If NFIS was installed in a location other
than <filename>/usr/local/nfis</filename> the INSTALL_DIR in <emphasis remap='I'>include/little.h</emphasis>
will need to be changed and the code recompiled.  Also, the current
default location for the 2700 sample fingerprint images is
<emphasis remap='I'>test/pcasys/data/images</emphasis>.  If the user wants to save disk space,
these images could be left on a mounted CDROM and a link made from
the images directory on the CDROM to the image directory where
the software is installed.</para>
</refsect1>

<refsect1 id='options'><title>OPTIONS</title>
<variablelist remap='TP'>
  <varlistentry>
  <term><emphasis remap='I'>[prsfile]</emphasis></term>
  <listitem>
<para>A file containing one or more parameter values that are to override
the default values.  To find out what the parameters are, and as
examples of the format of a parameters file, consult the default
parameters files that pcasysx reads, namely <emphasis remap='I'>pcasys/parms/oas.prs</emphasis>,
<emphasis remap='I'>pcasys/parms/pcasys.prs</emphasis>, and <emphasis remap='I'>pcasys/parms/pcasysx.prs</emphasis>,
which are described in the section PARAMETER FILES. Each line, in
the parms file consists of a parameter name followed by a value; a
pound sign indicates that the rest of its line is a comment.  If
pcasysx is run with no argument, i.e. not specifying a user
parameters file, then it uses the default values of all parameters.</para>
  </listitem>
  </varlistentry>
</variablelist>
</refsect1>

<refsect1 id='parameter_files'><title>PARAMETER FILES</title>
<variablelist remap='TP'>
  <varlistentry>
  <term><emphasis remap='I'>pcasys/parms/oas.prs</emphasis></term>
  <listitem>
<para>Contains default values of the parameters that affect the making of
orientation arrays (oas): these are the parms of the segmentor
(sgmnt), the image enhancer (enhnc), the ridge-valley orientation
finder (rors), the registration program (r92a), and the
registration-implementing pixelwise orientations reaverager (rgar).
The values used for these parms when making the oas used in
optimizing the classifier should also be used when running the
finished classifier.
<emphasis remap='B'>See the </emphasis><emphasis remap='I'>mkoas</emphasis><emphasis remap='B'> man page for more information about the parameters
in this file.</emphasis></para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='I'>pcasys/parms/pcasys.prs</emphasis></term>
  <listitem>
<para>Contains default values of the parameters for <command>pcasysx</command>.
Also look at <emphasis remap='I'>pcasys.mlp</emphasis> and <emphasis remap='I'>pcasys.pnn</emphasis> for examples on
using each classifier.
<emphasis remap='B'>See the </emphasis><emphasis remap='I'>pcasys</emphasis><emphasis remap='B'> man page for more information about
the parameters in this file.</emphasis></para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='I'>pcasys/parms/pcasysx.prs</emphasis></term>
  <listitem>
<para>Contains default values of parameters, in addition to
<emphasis remap='I'>pcasys/parms/pcasys.prs</emphasis>, that are specific to <command>pcasysx</command>.</para>
  </listitem>
  </varlistentry>
</variablelist>

<!-- .RS -->
<para><emphasis remap='B'>Default settings in </emphasis><emphasis remap='I'>pcasys/parms/pcasysx.prs</emphasis></para>

<para><emphasis remap='I'>Parameters for the graphical demo, pcasysx, that control sleeping
(pausing) after displaying various intermediate results.  Value -1
is also allowed: that means wait for user to type enter key before
continuing.</emphasis></para>
<variablelist remap='TP'>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_titlepage </emphasis><literal>0</literal></term>
  <listitem>
<para>after title page</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_sgmntwork </emphasis><literal>1</literal></term>
  <listitem>
<para>intermediate results of segmentor</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_segras </emphasis><literal>0</literal></term>
  <listitem>
<para>segmented image</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_enhnc </emphasis><literal>1</literal></term>
  <listitem>
<para>enhanced image</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_core_medcore </emphasis><literal>3</literal></term>
  <listitem>
<para>ridge-orientation bars, core, standard core</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_regbars </emphasis><literal>2</literal></term>
  <listitem>
<para>registered ridge-orientation bars</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_featvec </emphasis><literal>1</literal></term>
  <listitem>
<para>bar graph of feature vector input to PNN</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_normacs </emphasis><literal>2</literal></term>
  <listitem>
<para>bar graph of normalized PNN outputs</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_foundconup </emphasis><literal>1</literal></term>
  <listitem>
<para>found a concave-upward pseudoridge (conup)</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_noconup </emphasis><literal>0</literal></term>
  <listitem>
<para>all pseudoridges, if no conup is found</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><emphasis remap='B'>sleeps_lastdisp </emphasis><literal>2</literal></term>
  <listitem>
<para>results display for the fingerprint</para>

  </listitem>
  </varlistentry>
</variablelist>

<para><emphasis remap='I'>Mouse control parameter:</emphasis></para>
<variablelist remap='TP'>
  <varlistentry>
  <term><emphasis remap='B'>warp_mouse </emphasis><emphasis remap='I'>n</emphasis></term>
  <listitem>
<para>If y (yes), then warp the mouse pointer into graphical window so
its colormap takes effect.  If n (no), no warping.</para>

  </listitem>
  </varlistentry>
</variablelist>

<para><emphasis remap='I'>PCASYS I/O parameters.</emphasis></para>
<variablelist remap='TP'>
  <varlistentry>
  <term><emphasis remap='B'>outfile </emphasis><emphasis remap='I'>pcasysx.out</emphasis></term>
  <listitem>
<para>Output file to be produced.  If no output file is wanted, set
this to /dev/null.</para>

  </listitem>
  </varlistentry>
</variablelist>
</refsect1>

<refsect1 id='examples'><title>EXAMPLE(S)</title>
<para>From <emphasis remap='I'>test/pcasys/execs/pcasys/pcasys.src</emphasis>:</para>

<!-- .RS -->
<para><emphasis remap='B'>% pcasysx</emphasis>
Runs the pcasysx demo using the default settings found in
<emphasis remap='I'> pcasys/parms/pcasysx.prs</emphasis>.</para>

<para><emphasis remap='B'>% pcasysx myprsfile</emphasis>
<!-- .br -->
Runs the pcasysx demo using parameters set in <emphasis remap='I'>myprsfile</emphasis>
to change the value of the default settings.</para>
</refsect1>

<refsect1 id='see_also'><title>SEE ALSO</title>
<para>pcasys (1A)</para>


</refsect1>

<refsect1 id='author'><title>AUTHOR</title>
<para>NIST/ITL/DIV894/Image Group</para>
</refsect1>
</refentry>

