im_remosaic(3)

im_remosaic3

Rebuild a mosaic, substituting filenames

Usage

#include <vips/vips.h>

int im_remosaic( IMAGE *in, IMAGE *out,

const char *old_str, const char *new_str )

Overview

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 filenames. 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.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.