From 1017cbebe5d5edd859e0fddad0a8600f509f4821 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 25 Dec 2006 03:06:05 +0000 Subject: Place user guide into Subversion repository git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@181 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- spottopgm.html | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 spottopgm.html (limited to 'spottopgm.html') diff --git a/spottopgm.html b/spottopgm.html new file mode 100644 index 00000000..ff51fbac --- /dev/null +++ b/spottopgm.html @@ -0,0 +1,102 @@ + +Spottopgm User Manual + +

spottopgm

+Updated: 22 July 2004 +
+Table Of Contents + +  +

NAME

+ +spottopgm - convert SPOT satellite images to a PGM image + +  +

SYNTAX

+ +spottopgm +[-1|-2|-3] +[Firstcol Firstline Lastcol Lastline] +inputfile + +  +

OPTIONS

+ +
+
-1 +
-2 +
-3 + +
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, +spottopgm announces this on Standard Error. The default color +is 1. + + +
+ +  +

PARAMETERS

+
+ +
Firstcol Firstline Lastcol Lastline + +
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. + +
+ +  +

DESCRIPTION

+ +

This program is part of Netpbm. + +spottopgm converts the named inputfile to PGM format, +defaulting to the first color and the whole SPOT image unless +you specify otherwise with the options. + +  +

LIMITATIONS

+ +

spottopgm doesn't determine the length of the input file; +this would involve two passes over the input file. It defaults to +3000 lines instead. + +

spottopgm 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. + +

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. + +  +

AUTHOR

+ +Warren Toomey wkt@csadfa.cs.adfa.oz.au + +  +

SEE ALSO

+ +

pgm + + +


+  +

Table Of Contents

+ + + -- cgit 1.4.1