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

MULTIPLY

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

 

NAME

multiply, fftMult - multiply two bands pixel by pixel

 

SYNTAX


 #include <xite/arithmetic.h>


 int multiply( IBAND band1, IBAND band2,
    IBAND output, double scale );


 #include <xite/fft.h>


 int fftMult( IC_BAND in_band1,
    IC_BAND in_band2, IC_BAND out_band );

 

DESCRIPTION

multiplycalculates, pixel by pixel, the productof band1, band2, and scale, and assigns the resultto output.


 output(x,y) = band1(x,y) * band2(x,y) * scale

Resulting values outside the domain of the actualpixel type of outputis truncated to the nearest legal value.

fftMultis retained for compatibility with previous XITEversions. It is a macro call to multiplywith scaleequalto 1.0.

 

RESTRICTIONS

All pixel types are accepted, as long as all threebands have the same pixel type. There are two exceptions:band2may be real if band1and band3are complex, andband2may be double if band1and band3are doublecomplex.

Only the largest rectangle common to all three bandsis multiplied.

 

RETURN VALUE


 Status, 0 => ok
 1 => Illegal combination of pixel types
 2 => Unknown pixel type

 

SEE ALSO

multiply(1), divide(3), absDiff(3), signDiff(3), addw(3),average(3), scale(3)

 

AUTHOR

Tor Lønnestad, BLAB, Ifi, UiO

 

MODIFIED

Svein Bøe, BLAB, Ifi, UiO (allowed combinations of complextimes real and double complex times double - this takes careof the capabilities of fftMult).

 

ID

$Id: multiply.c,v 1.35 1997/05/27 14:46:30 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
RESTRICTIONS
RETURN VALUE
SEE ALSO
AUTHOR
MODIFIED
ID

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