subcopy
[ XITE Reference Manual | XITE home ]
Name
subcopy - copy a part of an image into a new image
Syntax
subcopy [<option>...] <input> <output>
Description
Copy a part of an image input into a new image output.
The part to be copied is specified by the options.
All size options except -band should be
positive integers. Start and stop coordinates are global
coordinates, unless the -l (local) option is used.
The band specification is a list of bands or band-intervals
separated by ":". A band-interval is specified by
start-stop. Default option values give the whole image.
All pixel types are accepted.
Options
-
-xstart xstart
-
-xsize xsize
-
-xstop xstop
-
-ystart ystart
-
-ysize ysize
-
-ystop ystop
-
-band bandspec
-
-title title
-
-
-l
- Start and stop coordinates are local. Default: Global.
See also
biffcopy(1), biffmerge(1)
Author
Tor Lønnestad, BLAB, ifi, UiO
Examples
subcopy -xstart 200 -xsize 60 -ystart 200 -ysize 30 \\
mona.img smile.img
subcopy -xstart 100 -band 1:3:5-7 tm.img part.img
Id
$Id: subcopy.c,v 1.29 1997/03/18 11:59:35 svein Exp $