1Pnmstitch User Manual(0) Pnmstitch User Manual(0)
2
3
4
6 pnmstitch - stitch together two panoramic (side-by-side) photographs
7
8
10 pnmstitch [ [left_filespec] right_filespec | left_filespec right_file‐
11 spec output_filespec ] [-width=width] [-height=height] [-xrightpos=col‐
12 umn] [-yrightpos=row] [-stitcher={RotateSliver, BiLinearSliver,Lin‐
13 earSliver}] [-filter={LineAtATime,HorizontalCrop}] [-output=out‐
14 put_filespec] [-verbose]
15
16 All options can be abbreviated to their shortest unique prefix. You
17 may use two hyphens instead of one. You may separate an option name
18 and its value with white space instead of an equals sign.
19
20
22 This program is part of Netpbm(1).
23
24 pnmstitch stitches together two panoramic photographs. This means if
25 you have photographs of the left and right side of something that is
26 too big for a single camera frame, pnmstitch can join them into one
27 wide picture.
28
29 pnmstitch works only on side-by-side images, not top and bottom (though
30 you could certainly use pamflip in combination with pnmstitch to
31 achieve this). It stitches together two images, but you can use it
32 repeatedly to stitch together as many as you need to.
33
34 Your photographs must overlap in order for pnmstitch to work, and the
35 overlap should be substantial. pnmstitch shifts and stretches the
36 right hand image to match it up the left hand image. You probably want
37 to crop the result with pamcut to make a nice rectangular image.
38
39 If you're just trying to join (concatenate) two images at their edges,
40 use pnmcat.
41
42 The left_filespec and right_filespec arguments are the specifications
43 (names) of the PNM files containing the left hand and right hand
44 images. If you specify only right_filespec, the left hand image comes
45 from Standard Input. If you specify neither, both images come from
46 Standard Input as a multi-image file containing first the left and then
47 the right image.
48
49 output_filespec is the specification (name) of the output PNM file.
50 The -output option also specifies the output file. You cannot specify
51 both the argument and the option. If you specify neither, the output
52 goes to Standard Output.
53
54
55
57 In addition to the options common to all programs based on libnetpbm
58 (most notably -quiet, see
59 Common Options ⟨index.html#commonoptions⟩ ), pnmstitch recognizes the
60 following command line options:
61
62
63
64 -width=width
65
66 -height=height
67
68 -xrightpos=column
69
70 -yrightpos=row
71 These are constraints on where pnmstitch stitches the images
72 together. For the LinearSliver method, column and row tell what
73 location in the right hand image matches up to the top right
74 corner of the left hand image.
75
76
77 -stitcher={RotateSliver,BiLinearSliver,
78 LinearSliver} The default is RotateSliver.
79
80
81 -filter={LineAtATime,HorizontalCrop}
82 No details available.
83
84
85 -output=output_filespec
86 Name of output file. If you don't specify this option, the out‐
87 put image goes to Standard Output.
88
89
90 -verbose
91 This option causes pnmstitch to issue messages to Standard Error
92 about the stitching process.
93
94
95
96
98 pamcut(1), pnmcat(1), pamflip(1), pnm(1),
99
100
102 This program was added to Netpbm in Release 10.7 (August 2002).
103
105 This manual page was generated by the Netpbm tool 'makeman' from HTML
106 source. The master documentation is at
107
108 http://netpbm.sourceforge.net/doc/pnmstitch.html
109
110netpbm documentation July 2002 Pnmstitch User Manual(0)