MAN page from RedHat Other XITE-3.3-3.i386.rpm
BIN_WR1
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
bin_wr1 - binarize a gray-scale band using White andRohrer
s first method.
SYNTAX
#include <
xite/binarize.h>
int bin_wr1( IBAND inband, IBAND outband,
int x_lookahead, int y_lookahead,
int bias_mode, int bias_factor,
int f_factor, int g_factor,
int intermediate_images );
DESCRIPTION
The input band
inbandis binarized using White and Rohrer`sfirst method. The
x_lookaheadand
y_lookaheadparametersgives the number of lookahead pixels used in the biasedrunning average that is used in deciding the threshold ateach pixel location. Good values for
x_lookaheadand
y_lookaheadare 8 and 1, respectively.
RESTRICTIONS
inbandand
outbandmust have pixel type unsigned byte.
SEE ALSO
binarize(1)
REFERENCES
- .I James M. White & Gene D. Rohrer
- "Image Thresholding for Optical Character Recognition andOther Applications Requiring Character Image Extraction",IBM Journal of Research and Development,vol 27, no 4, pp 400-411, July 1983.
RETURN VALUE
0 : ok
1 : Bad input pixel type
2 : Bad output pixel type
FILES
src/binarize/bin_wr1.c
AUTHOR
Řivind Due Trier
ID
$Id: bin_wr1.c,v 1.11 1997/01/14 15:46:58 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- SEE ALSO
- REFERENCES
- RETURN VALUE
- FILES
- AUTHOR
- ID
This document was created byman2html,using the manual pages.