summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-leap-15-6/man1/pnmstitch.1
blob: 2f88e884273385e9abd8db3e2d152599aa68e9fc (plain)
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
121
122
123
124
125
126
127
128
129
130
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pnmstitch User Manual" 0 "July 2002" "netpbm documentation"

.SH NAME
pnmstitch - stitch together two panoramic (side-by-side) photographs

.UN synopsis
.SH SYNOPSIS

\fBpnmstitch\fP
[
[\fIleft_filespec\fP] \fIright_filespec\fP |
\fIleft_filespec\fP \fIright_filespec\fP \fIoutput_filespec\fP
]
[\fB-width=\fP\fIwidth\fP]
[\fB-height=\fP\fIheight\fP]
[\fB-xrightpos=\fP\fIcolumn\fP]
[\fB-yrightpos=\fP\fIrow\fP]
[\fB-stitcher=\fP{\fBRotateSliver\fP,
\fBBiLinearSliver\fP,\fBLinearSliver\fP}]
[\fB-filter=\fP{\fBLineAtATime\fP,\fBHorizontalCrop\fP}]
[\fB-output=\fP\fIoutput_filespec\fP]
[\fB-verbose\fP]
.PP
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.

.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpnmstitch\fP 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\fP can join them
into one wide picture.
.PP
\fBpnmstitch\fP works only on side-by-side images, not top and bottom
(though you could certainly use \fBpamflip\fP in combination with
\fBpnmstitch\fP to achieve this).  It stitches together two images, but
you can use it repeatedly to stitch together as many as you need to.
.PP
Your photographs must overlap in order for \fBpnmstitch\fP to
work, and the overlap should be substantial.  \fBpnmstitch\fP shifts
and stretches the right hand image to match it up the left hand image.
You probably want to crop the result with \fBpamcut\fP to make a nice
rectangular image.
.PP
If you're just trying to join (concatenate) two images at their edges, use
\fBpnmcat\fP.
.PP
The \fIleft_filespec\fP and \fIright_filespec\fP arguments are the
specifications (names) of the PNM files containing the left hand and
right hand images.  If you specify only \fIright_filespec\fP, 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.
.PP
\fIoutput_filespec\fP is the specification (name) of the output PNM file.
The \fB-output\fP 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.


.UN options
.SH OPTIONS


.TP
\fB-width=\fIwidth\fP\fP
.TP
\fB-height=\fIheight\fP\fP
.TP
\fB-xrightpos=\fIcolumn\fP\fP
.TP
\fB-yrightpos=\fIrow\fP\fP
These are constraints on where \fBpnmstitch\fP stitches the images together.
For the \fBLinearSliver\fP method, \fIcolumn\fP and \fIrow\fP tell what
location in the right hand image matches up to the top right corner of the
left hand image.
     
.TP
\fB-stitcher=\fP{\fBRotateSliver\fP,\fBBiLinearSliver\fP,
\fBLinearSliver\fP}
The default is \fBRotateSliver\fP.

.TP
\fB-filter=\fP{\fBLineAtATime\fP,\fBHorizontalCrop\fP}
No details available.
     
.TP
\fB-output=\fP\fIoutput_filespec\fP
Name of output file.  If you don't specify this option, the output image
goes to Standard Output.

.TP
\fB-verbose\fP
This option causes \fBpnmstitch\fP to issue messages to Standard Error
about the stitching process.
     


.UN seealso
.SH SEE ALSO
.BR "pamcut" (1)\c
\&,
.BR "pnmcat" (1)\c
\&,
.BR "pamflip" (1)\c
\&,
.BR "pnm" (5)\c
\&,

.UN history
.SH HISTORY
.PP
This program was added to Netpbm in Release 10.7 (August 2002).
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pnmstitch.html
.PP