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 This program is part of Netpbm(1).
15
16 spottopgm converts the named inputfile to PGM format, defaulting to the
17 first color and the whole SPOT image unless you specify otherwise with
18 the options.
19
20
22 In addition to the options common to all programs based on libnetpbm
23 (most notably -quiet, see
24 Common Options ⟨index.html#commonoptions⟩ ), spottopgm recognizes the
25 following command line options:
26
27
28
29 -1
30
31 -2
32
33 -3 Extract the given color from the SPOT image. The colors are
34 infrared, visible light, and ultraviolet, although I don't know
35 which corresponds to which number. If the image is in color,
36 spottopgm announces this on Standard Error. The default color
37 is 1.
38
39
40
41
43 Firstcol Firstline Lastcol Lastline
44 Extract the specified rectangle from the SPOT image. Most SPOT
45 images are 3000 lines long and 3000 or more columns wide. Unfor‐
46 tunately, the SPOT format only gives the width and not the
47 length. The width is printed on standard error. The default
48 rectangle is the width of the input image by 3000 lines.
49
50
51
52
54 spottopgm doesn't determine the length of the input file; this would
55 involve two passes over the input file. It defaults to 3000 lines
56 instead.
57
58 spottopgm could extract a three-color image (as a PPM), but I didn't
59 feel like making the program more complicated than it is now. Besides,
60 there is no one-to-one correspondence between red, green, blue and
61 infrared, visible and ultraviolet.
62
63 I've had only a limited number of SPOT images to play with, and there‐
64 fore wouldn't guarantee that this will work on any other images.
65
66
68 Warren Toomey wkt@csadfa.cs.adfa.oz.au
69
70
72 pgm(1)
73
75 This manual page was generated by the Netpbm tool 'makeman' from HTML
76 source. The master documentation is at
77
78 http://netpbm.sourceforge.net/doc/spottopgm.html
79
80netpbm documentation 22 July 2004 Spottopgm User Manual(0)