histoTransf

[ XITE Reference Manual | XITE home ]

Name

histoTransf - perform general histogram transformation

Syntax

 #include <xite/histo.h>

 int histoTransf( IBAND inband, IBAND outband,
    histogram hist );

Description

Apply a histogram transformation stored in the histogram hist. Inband and outband band may be identical. If inband and outband have different sizes, the largest common rectangle is transformed.

Restrictions

inband and outband must have pixel type unsigned byte.

Return value

 0 => ok
 1 => Bad input pixel type
 2 => Bad output pixel type

Author

Tor Lønnestad, BLAB, Ifi, UiO

Id

$Id: histoTransf.c,v 1.17 1997/01/14 13:01:06 svein Exp $