1IM_BANDJOIN(3) Library Functions Manual IM_BANDJOIN(3)
2
3
4
6 im_bandjoin, im_gbandjoin - join two or more images
7
9 #include <vips/vips.h>
10
11 int im_bandjoin(im1, im2, imout)
12 IMAGE *im1, *im2, *imout;
13
14 int im_gbandjoin(imarray, imout, no)
15 IMAGE *imarray[], *imout;
16 int no;
17
19 These function perform a band-wise join of two or more images. Input
20 images should be of the same type and should have the same sizes.
21
22 im_bandjoin() performs a band-wise join of two images. If the two
23 images have n and m bands respectively, then the output image will have
24 n+m bands, with the first n coming from the first image and the last m
25 from the second.
26
27 im_gbandjoin() performs a generalised band-wise join of no images.
28 Input images can have any number of bands; for instance if imarray[0]
29 has j bands, imarray[1] has k bands, ...., imarray[no-1] has z bands,
30 output has j+k+...+z bands.
31
33 The functions returns 0 on success and -1 on error.
34
36 im_lrjoin(3), im_lrmerge(3), im_insert(3).
37
39 J. Cupitt, N. Dessipris
40
42 J. Cupitt, N. Dessipris - 25/04/1991
43
44
45
46 28 June 1990 IM_BANDJOIN(3)