aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/imutil/doc/imstack.hlp
blob: e3eeccd98eb5202b17861ae1a9c808b783ab02d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.help imstack Apr92 images.imutil
.ih
NAME
imstack -- stack images into an image of higher dimension
.ih
USAGE	
imstack images output
.ih
PARAMETERS
.ls images
List of images to be stacked.
.le
.ls output
Name of output image created.
.le
.ls title = "*"
Title of output image.  If "*" then the title defaults to that of
the first input image.
.le
.ls pixtype = "*"
Pixel datatype of output image.  If "*" then the pixel datatype defaults to
that of the first input image.
.le
.ih
DESCRIPTION

The input \fIimages\fR are stacked to form an \fIoutput\fR image having one
higher dimension than the input images, and a length of that dimension equal
to the number of input images.  The input images must all be of the same
dimension and size.

The output image inherits the world coordinate system (WCS) of the first
input image. If the dimension of the input image WCS is greater than or
equal to the dimension of the output image, the input WCS is copied to the
output image WCS without modification. Otherwise the input image WCS
dimension is incremented by 1 and copied to the output image WCS, the input
WCS coordinate transformations for each input image axis are copied to the
output image WCS without modification, and the new output image axis is
assigned a WCS type of 'linear' and the identity transformation.

.ih
EXAMPLES

1. Stack a set of four two dimensional images:

	cl> imstack image* image.3d

2. To stack a section of images:

	cl> imstack image*[1:10,1:10] newimage
.ih
BUGS
.ih
SEE ALSO
imslice
.endhelp