MAN page from RedHat Other XITE-3.3-3.i386.rpm
STDIFF
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
stdiff - local statistical differencing
SYNTAX
#include <
xite/stdiff.h>
void stdiff( IBAND input,
IBAND output, int deltax,
int deltay, double alpha, double beta,
double m0, double s0 );
DESCRIPTION
Local Pixel Value Mapping.
r(x,y) = u(x,y) + s(x,y)
u(x,y) = alpha * m0 + (1-alpha) * bm(x,y)
s(x,y) = (b(x,y)-bm(x,y)) * (beta*s0 / (s0+bs(x,y)))
r(x,y) = result image
u(x,y) = mean component
s(x,y) = st. dev component
m0 = The mean to force locally
alpha = fraction m0 <--> local mean
b(b,y) = pixel value in (x,y)
bm(x,y) = local mean
bs(x,y) = local st. dev
s0 = new st. dev
beta = parameter to control s0 <--> local st.dev
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.