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 -width=width
58
59 -height=height
60
61 -xrightpos=column
62
63 -yrightpos=row
64 These are constraints on where pnmstitch stitches the images
65 together. For the LinearSliver method, column and row tell what
66 location in the right hand image matches up to the top right
67 corner of the left hand image.
68
69
70 -stitcher={RotateSliver,BiLinearSliver,
71 LinearSliver} The default is RotateSliver.
72
73
74 -filter={LineAtATime,HorizontalCrop}
75 No details available.
76
77
78 -output=output_filespec
79 Name of output file. If you don't specify this option, the out‐
80 put image goes to Standard Output.
81
82
83 -verbose
84 This option causes pnmstitch to issue messages to Standard Error
85 about the stitching process.
86
87
88
89
91 pamcut(1), pnmcat(1), pamflip(1), pnm(1),
92
93
95 This program was added to Netpbm in Release 10.7 (August 2002).
96
98 This manual page was generated by the Netpbm tool 'makeman' from HTML
99 source. The master documentation is at
100
101 http://netpbm.sourceforge.net/doc/pnmstitch.html
102
103netpbm documentation July 2002 Pnmstitch User Manual(0)