SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from RedHat Other XITE-3.3-3.i386.rpm

AVERAGE

Section: C Library Functions (3)
Updated: 16 Mar 1998
Index

 

NAME

average - computes the average of several bands in aninput image

 

SYNTAX


 #include <xite/arithmetic.h>


 int average( IMAGE inimg, ID_BAND outband,
    int Scale );

 

DESCRIPTION

Computes the average image of two or several bands of animage. Grey levels of the output average image will bemultiplied by a Scale (default Scale is 1.0).


 (inimg[1] + inimg[2] +........+ inimg[n]) / n * Scale

The output image will be of pixeltype double.

 

RESTRICTIONS

Input image should not have pixels of type "complex".

 

RETURN VALUE


 0 => OK
 1 => Unknown pixeltype of input band

 

AUTHOR

Yogesan, BLAB, Ifi, UiO

 

ID

$Id: average.c,v 1.31 1997/05/27 14:47:19 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
RESTRICTIONS
RETURN VALUE
AUTHOR
ID

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector