MAN page from Mandrake Other XITE-3.3-3.i386.rpm
POWER
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
power, fftPower - take the power of each pixel value
SYNTAX
power [-s <scale>] [-real] <input> <output>
fftPower <input> <output>
DESCRIPTION
powersquares the absolute value of the input image bandby band, according to the formula:
output(x,y) = |input(x,y)| * |input(x,y)| * scale
Accepts all pixel types. Both bands must have the same pixeltype, except that if inputis complex, then outputmay beeither complex or real, and if inputis double complex, thenoutputmay be either double complex or double.
If the result is outside the domain of the actual pixel type,the result is rounded.
Output image will have the same pixel type as input.
poweris identical to squarefor non-complex images.
fftPoweris retained for compatibility with previous XITEversions. It is a script which invokes powerwith option-real.
OPTIONS
- -s scale
- Default: 1.0
- -real
- For each complex input-band, let the resulting output bandbe real. For each double complex input-band, let theresulting output band be double.
SEE ALSO
power(3),
square(1),
squareRoot(1),
phase(1),
absValue(1),
imag(1),
real(1),
multiply(1),
divide(1),
scale(1),
biffConvert(1)
AUTHOR
Tor Lønnestad, BLAB, ifi, UiO
EXAMPLES
power mona.img sqmona.img
power -scale 0.05 mona.img sqmona.img
ID
$Id: power.c,v 1.8 1997/04/23 20:47:02 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- SEE ALSO
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.