1Spottopgm User Manual(0) Spottopgm User Manual(0)
2
3
4
6 spottopgm - convert SPOT satellite images to a PGM image
7
8
10 spottopgm [-1|-2|-3] [Firstcol Firstline Lastcol Lastline] inputfile
11
12
14 -1
15
16 -2
17
18 -3 Extract the given color from the SPOT image. The colors are
19 infrared, visible light, and ultraviolet, although I don't know
20 which corresponds to which number. If the image is in color,
21 spottopgm announces this on Standard Error. The default color
22 is 1.
23
24
25
26
27
29 Firstcol Firstline Lastcol Lastline
30 Extract the specified rectangle from the SPOT image. Most SPOT
31 images are 3000 lines long and 3000 or more columns wide. Unfor‐
32 tunately, the SPOT format only gives the width and not the
33 length. The width is printed on standard error. The default
34 rectangle is the width of the input image by 3000 lines.
35
36
37
38
40 This program is part of Netpbm(1).
41
42 spottopgm converts the named inputfile to PGM format, defaulting to the
43 first color and the whole SPOT image unless you specify otherwise with
44 the options.
45
46
48 spottopgm doesn't determine the length of the input file; this would
49 involve two passes over the input file. It defaults to 3000 lines
50 instead.
51
52 spottopgm could extract a three-color image (as a PPM), but I didn't
53 feel like making the program more complicated than it is now. Besides,
54 there is no one-to-one correspondence between red, green, blue and
55 infrared, visible and ultraviolet.
56
57 I've had only a limited number of SPOT images to play with, and there‐
58 fore wouldn't guarantee that this will work on any other images.
59
60
62 Warren Toomey wkt@csadfa.cs.adfa.oz.au
63
64
66 pgm(1)
67
69 This manual page was generated by the Netpbm tool 'makeman' from HTML
70 source. The master documentation is at
71
72 http://netpbm.sourceforge.net/doc/spottopgm.html
73
74netpbm documentation 22 July 2004 Spottopgm User Manual(0)