1IM_REMOSAIC(3)             Library Functions Manual             IM_REMOSAIC(3)
2
3
4

NAME

6       im_remosaic - rebuild a mosaic, substituting filenames
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_remosaic( IMAGE *in, IMAGE *out,
12           const char *old_str, const char *new_str )
13
14

DESCRIPTION

16       im_remosaic(3)  works rather as im_global_balance(). It takes apart the
17       mosaiced image in and rebuilds it, substituting images.
18
19       Unlike im_global_balance(3) images are substituted based on their file‐
20       names.  The  rightmost  occurence  of the string old_str is swapped for
21       new_str, that file is opened, and that image substituted  for  the  old
22       image.
23
24       It's convenient for multispectral images. You can mosaic one band, then
25       use that mosaic as a template for mosaicing the others automatically.
26
27

RETURN VALUE

29       Functions return 0 on success and -1 on error.
30

SEE ALSO

32       im_global_balance(3)
33
34
35
36                                  7 Nov 2001                    IM_REMOSAIC(3)
Impressum