1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Pgmabel User Manual</title></head>
<body>
<h1>pgmabel</h1>
Updated: June 2002
<br>
<a href="#index">Table Of Contents</a>
<h2>NAME</h2>
pgmabel - create cross section using Abel Integration for Deconvolution
<h2 id="synopsis">SYNOPSIS</h2>
<b>pgmabel</b>
[<b>-help</b>]
[<b>-axis</b> <i>axis</i>]
[<b>-factor</b> <i>factor</i>]
[<b>-pixsize</b> <i>pixsize</i>]
[<b>-left</b> | <b>-right</b>]
[<b>-verbose</b>]
[<i>filespec</i>]
<h2 id="description">DESCRIPTION</h2>
<p>This program is part of <a href="index.html">Netpbm</a>.
<p><b>pgmabel</b> reads as input a PGM image, which it assumes to be an
image of a rotational symmetric transparent object. The image must have
a vertical symmetry axis. <b>pgmabel</b> produces as output an image of
a cross-section of the image.
<b>pgmabel</b> does the calculation by performing the Abel Integration
for Deconvolution of an axial-symmetrical image by solving the system
of linear equations.
After integration, <b>pgmabel</b> weights all gray-values of one side
by the surface area of the calculated ring in square pixels divided by
4*<i>factor</i> multiplied by the size of one pixel (<i>pixsize</i>).
With the <b>-verbose</b> option, <b>pgmabel</b> prints the weighting
factors.
<p>Where the calculation generates a negative result, the output is black.
<p>The computation is unstable against periodic structures with size 2 in
the vertical direction.
<h2 id="options">OPTIONS</h2>
<p>In addition to the options common to all programs based on libnetpbm
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
Common Options</a>), <b>pgmabel</b> recognizes the following
command line options:
<p>You can abbreviate any option to its shortest unique prefix.
<dl compact>
<dt><b>-help</b>
<dd>Prints a help message.
<dt><b>-axis</b> <i>axis</i>
<dd>Position of the axis of symmetry in the image in pixels from the left
edge of the image. Default is the center of the image.
<dt><b>-factor</b> <i>factor</i>
<dd>User defined factor for enhancement of the output. Use a <i>factor</i>
less than 1 for decreasing gary values. Default is 1.0.
<dt><b>-pixsize</b> <i>pixsize</i>
<dd>The size of a pixel for getting scale invariant. Default is 0.1.
<dt><b>-left</b>
Calculate only the left side of the image. You cannot specify both
<b>left</b> and <b>right</b>.
<dt><b>-right</b>
Analogous to <b>-left</b>.
<dt><b>-verbose</b>
<dd>print information about the calculation.
</dl>
<h2 id="example">EXAMPLE</h2>
<p>Rotate a PGM image to get an image with a vertical axis of symmetry,
then calculate the cross section:
<pre>
pnmrotate 90 file.pgm | pgmabel -axis 140 >cross_section.pgm
</pre>
<h2 id="seealso">SEE ALSO</h2>
<b><a href="pnmrotate.html">pnmrotate</a></b>,
<b><a href="pgm.html">pgm</a></b>,
<h2 id="history">HISTORY</h2>
<p>This program was added to Netpbm in Release 10.3 (June 2002).
<h2 id="author">AUTHOR</h2>
<p>Volker Schmidt (lefti@voyager.boerde.de)
<p>Copyright (C) 1997-2002 German Aerospace research establishment
<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#example">EXAMPLE</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#history">HISTORY</a>
<li><a href="#author">AUTHOR</a>
</ul>
</body>
</html>
|