bin_man

[ XITE Reference Manual | XITE home ]

Name

bin_man - binarize a gray-scale band using a manual threshold

Syntax

 #include <xite/binarize.h>

 int bin_man( int threshold, IBAND inband,
    IBAND outband );

Description

The input band inband is binarized using threshold, the result returned in outband.

See also

binarize(1)

Return value

 0 : ok
 1 : Bad input pixel type
 2 : Bad output pixel type

Restrictions

inband and outband must have pixel type unsigned byte.

Author

Řivind Due Trier

Files

src/binarize/bin_man.c

Id

$Id: bin_man.c,v 1.16 1997/03/25 12:33:54 svein Exp $