manpagez: man pages & more
man im_remosaic(3)
Home | html | info | man
im_remosaic(3)                                                  im_remosaic(3)




NAME

       im_remosaic - rebuild a mosaic, substituting filenames


SYNOPSIS

       #include <vips/vips.h>

       int im_remosaic( IMAGE *in, IMAGE *out,
           const char *old_str, const char *new_str )



DESCRIPTION

       im_remosaic(3)  works rather as im_global_balance(). It takes apart the
       mosaiced image in and rebuilds it, substituting images.

       Unlike im_global_balance(3) images are substituted based on their file-
       names.  The  rightmost  occurence  of the string old_str is swapped for
       new_str, that file is opened, and that image substituted  for  the  old
       image.

       It's convenient for multispectral images. You can mosaic one band, then
       use that mosaic as a template for mosaicing the others automatically.



RETURN VALUE

       Functions return 0 on success and -1 on error.


SEE ALSO

       im_global_balance(3)



                                  7 Nov 2001                    im_remosaic(3)

im_remosaic 7.14.5 - Generated Mon Sep 8 20:01:54 CDT 2008
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.