Blob Blame History Raw
<!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>