about summary refs log tree commit diff
path: root/spottopgm.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-12-25 03:06:05 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-12-25 03:06:05 +0000
commit1017cbebe5d5edd859e0fddad0a8600f509f4821 (patch)
tree78bdf336648566f7a7d55f42837357dea3dd674c /spottopgm.html
parent16f2ac126651015a376eba864a3a35f738b0b25a (diff)
downloadnetpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.tar.gz
netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.tar.xz
netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.zip
Place user guide into Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@181 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'spottopgm.html')
-rw-r--r--spottopgm.html102
1 files changed, 102 insertions, 0 deletions
diff --git a/spottopgm.html b/spottopgm.html
new file mode 100644
index 00000000..ff51fbac
--- /dev/null
+++ b/spottopgm.html
@@ -0,0 +1,102 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML><HEAD><TITLE>Spottopgm User Manual</TITLE></HEAD>
+<BODY>
+<H1>spottopgm</H1>
+Updated: 22 July 2004
+<BR>
+<A HREF="#index">Table Of Contents</A>
+
+<A NAME="lbAB">&nbsp;</A>
+<H2>NAME</H2>
+
+spottopgm - convert SPOT satellite images to a PGM image
+
+<A NAME="lbAC">&nbsp;</A>
+<H2>SYNTAX</H2>
+
+<b>spottopgm</b> 
+[<b>-1</b>|<b>-2</b>|<b>-3</b>] 
+[<i>Firstcol</i> <i>Firstline</i> <i>Lastcol</i> <i>Lastline</i>] 
+<i>inputfile</i>
+
+<A NAME="lbAD">&nbsp;</A>
+<H2>OPTIONS</H2>
+
+<DL COMPACT>
+<DT><B>-1</b>
+<DT><B>-2</b>
+<DT><B>-3</b>
+
+<DD>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,
+<b>spottopgm</b> announces this on Standard Error.  The default color
+is 1.
+
+
+</dl>
+
+<A NAME="parameters">&nbsp;</A>
+<H2>PARAMETERS</H2>
+<DL>
+
+<DT><I>Firstcol Firstline Lastcol Lastline</I>
+
+<DD>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.
+
+</DL>
+
+<A NAME="lbAE">&nbsp;</A>
+<H2>DESCRIPTION</H2>
+
+<p>This program is part of <a href="index.html">Netpbm</a>.
+
+<b>spottopgm</b> converts the named <B>inputfile</B> to PGM format,
+defaulting to the first color and the whole SPOT image unless
+you specify otherwise with the options.
+
+<A NAME="lbAG">&nbsp;</A>
+<H2>LIMITATIONS</H2>
+
+<P><B>spottopgm</B> doesn't determine the length of the input file;
+this would involve two passes over the input file.  It defaults to
+3000 lines instead.
+
+<P><B>spottopgm</b> 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.
+
+<P>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.
+
+<A NAME="lbAH">&nbsp;</A>
+<H2>AUTHOR</H2>
+
+Warren Toomey <A
+HREF="mailto:wkt@csadfa.cs.adfa.oz.au">wkt@csadfa.cs.adfa.oz.au</A>
+
+<A NAME="lbAI">&nbsp;</A>
+<H2>SEE ALSO</H2>
+
+<P><B><A HREF="pgm.html">pgm</A></B>
+
+
+<HR>
+<A NAME="index">&nbsp;</A>
+<H2>Table Of Contents</H2>
+<UL>
+<LI><A HREF="#lbAB">NAME</A>
+<LI><A HREF="#lbAC">SYNTAX</A>
+<LI><A HREF="#lbAD">OPTIONS</A>
+<LI><A HREF="#lbAE">DESCRIPTION</A>
+<LI><A HREF="#lbAG">LIMITATIONS</A>
+<LI><A HREF="#lbAH">AUTHOR</A>
+<LI><A HREF="#lbAI">SEE ALSO</A>
+</UL>
+</BODY>
+</HTML>