.TL Pnmstitch User Manual .SH 1 pnmstitch .LP Updated: July 2002 .br Table Of Contents .SH 2 NAME .LP pnmstitch - stitch together two panoramic (side-by-side) photographs .SH 2 SYNOPSIS .LP \fBpnmstitch\fR [ [\fIleft_filespec\fR] \fIright_filespec\fR | .br \fIleft_filespec\fR \fIright_filespec\fR \fIoutput_filespec\fR ] .br [\fB-width=\fR\fIwidth\fR] [\fB-height=\fR\fIheight\fR] [\fB-xrightpos=\fR\fIcolumn\fR] [\fB-yrightpos=\fR\fIrow\fR] [\fB-stitcher=\fR{\fBRotateSliver\fR, \fBBiLinearSliver\fR,\fBLinearSliver\fR}] [\fB-filter=\fR{\fBLineAtATime\fR,\fBHorizontalCrop\fR}] [\fB-output=\fR\fIoutput_filespec\fR] [\fB-verbose\fR] .LP All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one. You may separate an option name and its value with white space instead of an equals sign. .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBpnmstitch\fR stitches together two panoramic photographs. This means if you have photographs of the left and right side of something that is too big for a single camera frame, \fBpnmstitch\fR can join them into one wide picture. .LP \fBpnmstitch\fR works only on side-by-side images, not top and bottom (though you could certainly use \fBpnmrotate\fR in combination with \fBpnmstitch\fR to achieve this). It stitches together two images, but you can use it repeatedly to stitch together as many as you need to. .LP Your photographs must overlap in order for \fBpnmstitch\fR to work, and the overlap should be substantial. \fBpnmstitch\fR shifts and stretches the right hand image to match it up the left hand image. You probably want to crop the result with \fBpamcut\fR to make a nice rectangular image. .LP If you're just trying to join (concatenate) two images at their edges, use \fBpnmcat\fR. .LP The \fIleft_filespec\fR and \fIright_filespec\fR arguments are the specifications (names) of the PNM files containing the left hand and right hand images. If you specify only \fIright_filespec\fR, the left hand image comes from Standard Input. If you specify neither, both images come from Standard Input as a multi-image file containing first the left and then the right image. .LP \fIoutput_filespec\fR is the specification (name) of the output PNM file. The \fB-output\fR option also specifies the output file. You cannot specify both the argument and the option. If you specify neither, the output goes to Standard Output. .SH 2 OPTIONS .LP .RS .IP "\fB-width=\fIwidth\fB\fR" .IP "\fB-height=\fIheight\fB\fR" .IP "\fB-xrightpos=\fIcolumn\fB\fR" .IP "\fB-yrightpos=\fIrow\fB\fR" These are constraints on where \fBpnmstitch\fR stitches the images together. For the \fBLinearSliver\fR method, \fIcolumn\fR and \fIrow\fR tell what location in the right hand image matches up to the top right corner of the left hand image. .IP "\fB-stitcher=\fR{\fBRotateSliver\fR,\fBBiLinearSliver\fR," \fBLinearSliver\fR} The default is \fBRotateSliver\fR. .IP "\fB-filter=\fR{\fBLineAtATime\fR,\fBHorizontalCrop\fR}" No details available. .IP "\fB-output=\fR\fIoutput_filespec\fR" Name of output file. If you don't specify this option, the output image goes to Standard Output. .IP "\fB-verbose\fR" This option causes \fBpnmstitch\fR to issue messages to Standard Error about the stitching process. .RE .SH 2 SEE ALSO .LP \fBpamcut\fR, \fBpnmcat\fR, \fBpnmrotate\fR, \fBpnm\fR, .SH 2 HISTORY .LP .LP This program was added to Netpbm in Release 10.7 (August 2002). .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu SEE ALSO .IP \(bu HISTORY .LP