overlap

[ XITE Reference Manual | XITE home ]

Name

overlap - calculate overlapping band areas

Syntax

 overlap <input1> <input2> <output1> <output2>

Description

For every pair of bands, input1[i] and input2[i], calculate the overlapping area when taking the xstart and ystart parameters into consideration. Create two new images containing the overlapping parts of the two input images. If any pair of bands have no overlapping area, no output band will be created for the pair.

Restrictions

Only accepts unsigned byte pixeltype.

Author

Tor Lønnestad, BLAB, Ifi, UiO

Examples

 overlap mona.img lenna.img monaOlp.img lennaOlp.img

Id

$Id: overlap.c,v 1.25 1997/01/09 16:39:34 svein Exp $