Debian Codegraph @

userguide/pnmstitch.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
2 <html><head><title>Pnmstitch User Manual</title></head>
3 <body>
4 <h1>pnmstitch</h1>
5 Updated: July 2002
6 <br>
7 <a href="#index">Table Of Contents</a>
8
9 <h2>NAME</h2>
10 pnmstitch - stitch together two panoramic (side-by-side) photographs
11
12 <h2 id="synopsis">SYNOPSIS</h2>
13
14 <b>pnmstitch</b>
15 [
16 [<i>left_filespec</i>] <i>right_filespec</i> |
17 <br>
18 <i>left_filespec</i> <i>right_filespec</i> <i>output_filespec</i>
19 ]
20 <br>
21 [<b>-width=</b><i>width</i>]
22 [<b>-height=</b><i>height</i>]
23 [<b>-xrightpos=</b><i>column</i>]
24 [<b>-yrightpos=</b><i>row</i>]
25 [<b>-stitcher=</b>{<b>RotateSliver</b>,
26 <b>BiLinearSliver</b>,<b>LinearSliver</b>}]
27 [<b>-filter=</b>{<b>LineAtATime</b>,<b>HorizontalCrop</b>}]
28 [<b>-output=</b><i>output_filespec</i>]
29 [<b>-verbose</b>]
30
31 <p>All options can be abbreviated to their shortest unique prefix.
32 You may use two hyphens instead of one. You may separate an option
33 name and its value with white space instead of an equals sign.
34
35 <h2 id="description">DESCRIPTION</h2>
36
37 <p>This program is part of <a href="index.html">Netpbm</a>.
38
39 <p><b>pnmstitch</b> stitches together two panoramic photographs. This
40 means if you have photographs of the left and right side of something
41 that is too big for a single camera frame, <b>pnmstitch</b> can join them
42 into one wide picture.
43
44 <p><b>pnmstitch</b> works only on side-by-side images, not top and bottom
45 (though you could certainly use <b>pamflip</b> in combination with
46 <b>pnmstitch</b> to achieve this). It stitches together two images, but
47 you can use it repeatedly to stitch together as many as you need to.
48
49 <p>Your photographs must overlap in order for <b>pnmstitch</b> to
50 work, and the overlap should be substantial. <b>pnmstitch</b> shifts
51 and stretches the right hand image to match it up the left hand image.
52 You probably want to crop the result with <b>pamcut</b> to make a nice
53 rectangular image.
54
55 <p>If you're just trying to join (concatenate) two images at their edges, use
56 <b>pamcat</b>.
57
58 <p>The <i>left_filespec</i> and <i>right_filespec</i> arguments are the
59 specifications (names) of the PNM files containing the left hand and
60 right hand images. If you specify only <i>right_filespec</i>, the
61 left hand image comes from Standard Input. If you specify neither, both
62 images come from Standard Input as a multi-image file containing first the
63 left and then the right image.
64
65 <p><i>output_filespec</i> is the specification (name) of the output PNM file.
66 The <b>-output</b> option also specifies the output file. You cannot specify
67 both the argument and the option. If you specify neither, the output goes to
68 Standard Output.
69
70
71 <h2 id="options">OPTIONS</h2>
72
73 <p>In addition to the options common to all programs based on libnetpbm
74 (most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
75 Common Options</a>), <b>pnmstitch</b> recognizes the following
76 command line options:
77
78 <dl compact>
79 <dt><b>-width=<i>width</i></b>
80 <dt><b>-height=<i>height</i></b>
81 <dt><b>-xrightpos=<i>column</i></b>
82 <dt><b>-yrightpos=<i>row</i></b>
83 <dd>
84 These are constraints on where <b>pnmstitch</b> stitches the images together.
85 For the <b>LinearSliver</b> method, <i>column</i> and <i>row</i> tell what
86 location in the right hand image matches up to the top right corner of the
87 left hand image.
88
89 <dt><b>-stitcher=</b>{<b>RotateSliver</b>,<b>BiLinearSliver</b>,
90 <b>LinearSliver</b>}
91
92 <dd>The default is <b>RotateSliver</b>.
93
94 <dt><b>-filter=</b>{<b>LineAtATime</b>,<b>HorizontalCrop</b>}
95
96 <dd>No details available.
97
98 <dt><b>-output=</b><i>output_filespec</i>
99
100 <dd>Name of output file. If you don't specify this option, the output image
101 goes to Standard Output.
102
103 <dt><b>-verbose</b>
104
105 <dd>This option causes <b>pnmstitch</b> to issue messages to Standard Error
106 about the stitching process.
107
108 </dl>
109
110 <h2 id="seealso">SEE ALSO</h2>
111
112 <b><a href="pamcut.html">pamcut</a></b>,
113 <b><a href="pamcat.html">pamcat</a></b>,
114 <b><a href="pamflip.html">pamflip</a></b>,
115 <b><a href="pnm.html">pnm</a></b>,
116
117 <h2 id="history">HISTORY</h2>
118
119 <p>This program was added to Netpbm in Release 10.7 (August 2002).
120
121 <hr>
122 <h2 id="index">Table Of Contents</h2>
123 <ul>
124 <li><a href="#synopsis">SYNOPSIS</a>
125 <li><a href="#description">DESCRIPTION</a>
126 <li><a href="#options">OPTIONS</a>
127 <li><a href="#seealso">SEE ALSO</a>
128 <li><a href="#history">HISTORY</a>
129 </ul>
130 </body>
131 </html>