These functions are useful for joining many small images together to make onelarge image. They can cope with unstable contrast and arbitrary sub-imagelayout, but will not do any geometric correction. Geometric errors should beremoved before using these functions.
The mosaicing functions can be grouped into layers:
The lowest level operation isvips_merge()
which joins two imagestogether left-right or up-down with a smooth seam.
Next,vips_mosaic()
uses search functions plus the two low-level mergeoperations to join two images given just an approximate overlap as a start point.
vips_mosaic1()
is a first-order analogue of the basic mosaicfunctions: it takes two approximate tie-points and uses them to rotate andscale the right-hand or bottom image before starting to join.
Finally,vips_globalbalance()
can be used to remove contrastdifferences in a mosaic which has been assembled with these functions. Ittakes the mosaic apart, measures image contrast differences along the seams,finds a set of correction factors which will minimise these differences, andreassembles the mosaic.vips_remosaic()
uses the same techniques, butwill reassemble the image from a different set of source images.