mean

[ XITE Reference Manual | XITE home ]

Name

mean - compute local mean

Syntax

 #include <xite/stdiff.h>

 int mean( IBAND input, IBAND output,
    int deltax, int deltay );

Description

 Local Mean over deltax deltay.
 deltax  = Local area width
 deltay  = Local area height

Restrictions

Only non-complex pixel-types.

Return value

 0 => ok
 1 => Illegal pixel-type
 2 => Different input pixel-types in 'input' and 'output'
 3 => Bad deltax value
 4 => Bad deltay value

Author

Otto Milvang

Revised

Svein Bøe, Ifi, UiO (to allow all non-complex pixel types)

Id

$Id: mean.c,v 1.29 1996/11/08 14:05:36 svein Exp $