squareRoot
[ XITE Reference Manual | XITE home ]
Name
squareRoot - take the square root of each pixel value
Syntax
squareRoot [-s <scale>] <input> <output>
Description
squareRoot takes the square root of every pixel in
the input image according to the formula:
output(x,y) = sqrt(input(x,y)) * scale
Accepts all pixel types except complex and double complex. If
the result is outside the domain of the actual pixel type, the
nearest possible value is returned. Output image will have the
same pixel type as input.
Options
-
-s scale
- Default: 1.0.
See also
squareRoot(3), square(1), absValue(1), power(1), phase(1),
real(1), imag(1), scale(1), multiply(1), divide(1),
biffConvert(1)
Author
Tor Lønnestad, BLAB, ifi, UiO
Examples
squareRoot mona.img sqrtMona.img
squareRoot -scale 10.0 mona.img sqrtMona.img
Id
$Id: squareRoot.c,v 1.34 1997/05/27 14:46:24 svein Exp $