absDiff

[ XITE Reference Manual | XITE home ]

Name

absDiff - absolute difference between two images

Syntax

absDiff <inimage1> <inimage2> <outimage>

Description

absDiff calulates the absolute value of the grey level difference between two input images, and assigns the result to the output image.

If the result is outside the pixeltype range, the result is truncated.

See also

absDiff(3), signDiff(1), addw(1), multiply(1), divide(1)

Restrictions

Accepts all pixel types, as long as corresponding pairs of bands have the same pixel type.

Author

Tor L|nnestad, BLAB, ifi, UiO

Examples

 absDiff mona1.img mona2.img monaDiff.img

Id

$Id: absDiff.c,v 1.30 1997/05/27 14:47:53 svein Exp $