- Form: WINDOW source BOX=n
-
- source
- is the image being made smaller.
- BOX
- tells VISTA what part of the old image to save.
WINDOW is used to trim (or ``crop'') an image or spectrum within a
specified ``window''. The image in the 'source' buffer is
replaced by the region enclosed within pre-defined BOX `n'.
If the specified box extends beyond the edges of the image, WINDOW will do
nothing. See BOX for defining regions of interest (boxes).
Example: Let image 7 have rows numbered 0-500 and columns numbered 0-500.
We want to chop out a 100 by 100 image, with the first row of the new image
at 100, and the first column at 200.
- BOX 1 SR=100 SC=200 NR=100 NC=100
- WIND 7 BOX=1
Also see COPY.