.TL
Spottopgm User Manual
.SH 1
spottopgm
.LP
Updated: 22 July 2004
.br
Table Of Contents
.SH 2
NAME
.LP
spottopgm - convert SPOT satellite images to a PGM image
.SH 2
SYNTAX
.LP
\fBspottopgm\fR
[\fB-1\fR|\fB-2\fR|\fB-3\fR]
[\fIFirstcol\fR \fIFirstline\fR \fILastcol\fR \fILastline\fR]
\fIinputfile\fR
.SH 2
OPTIONS
.LP
.RS
.IP "\fB-1\fR"
.IP "\fB-2\fR"
.IP "\fB-3\fR"
Extract the given color from the SPOT image. The colors are
infrared, visible light, and ultraviolet, although I don't know which
corresponds to which number. If the image is in color,
\fBspottopgm\fR announces this on Standard Error. The default color
is 1.
.RE
.SH 2
PARAMETERS
.LP
.RS
.IP "\fIFirstcol Firstline Lastcol Lastline\fR"
Extract the specified rectangle from the SPOT image. Most SPOT
images are 3000 lines long and 3000 or more columns
wide. Unfortunately, the SPOT format only gives the width and not the
length. The width is printed on standard error. The default
rectangle is the width of the input image by 3000 lines.
.RE
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
\fBspottopgm\fR converts the named \fBinputfile\fR to PGM format,
defaulting to the first color and the whole SPOT image unless
you specify otherwise with the options.
.SH 2
LIMITATIONS
.LP
.LP
\fBspottopgm\fR doesn't determine the length of the input file;
this would involve two passes over the input file. It defaults to
3000 lines instead.
.LP
\fBspottopgm\fR could extract a three-color image (as a PPM), but
I didn't feel like making the program more complicated than it is now.
Besides, there is no one-to-one correspondence between red, green,
blue and infrared, visible and ultraviolet.
.LP
I've had only a limited number of SPOT images to play with, and
therefore wouldn't guarantee that this will work on any other images.
.SH 2
AUTHOR
.LP
Warren Toomey wkt@csadfa.cs.adfa.oz.au
.SH 2
SEE ALSO
.LP
.LP
\fBpgm\fR
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNTAX
.IP \(bu
OPTIONS
.IP \(bu
DESCRIPTION
.IP \(bu
LIMITATIONS
.IP \(bu
AUTHOR
.IP \(bu
SEE ALSO
.LP
|