MAN page from Mandrake Other XITE-3.3-3.i386.rpm
STVAR
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
stvar - local variance
SYNTAX
#include <
xite/stdiff.h>
int stvar( IBAND input, IBAND output,
int deltax, int deltay, double kt, int t );
DESCRIPTION
Local variable threshold.
t(x,y) = k*s(x,y) + u(x,y)
r(x,y) = b(x,y) - t(x,y) + 128
[-t] r(x,y) = if( b(x,y) >= t(x,y)) then 255 else 0
r(x,y) = output image
u(x,y) = mean component
s(x,y) = st. dev component
b(b,y) = pixel value in (x,y)
deltaxis local area width, deltayis local area height.
RESTRICTIONS
inputand
outputmust have pixel type unsigned byte.
RETURN VALUE
0 : Ok
1 : Bad input pixel type
2 : Bad output pixel type
REFERENCE
Wayne Niblack: An introduction to Digital Image Processing
AUTHOR
Otto Milvang
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- RETURN VALUE
- REFERENCE
- AUTHOR
This document was created byman2html,using the manual pages.