MAN page from Mandrake Other XITE-3.3-3.i386.rpm
SCALE
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
scale - linear scaling of pixel values
SYNTAX
scale [-scale <scale>] [-offset <offset>] <input>
<output>
DESCRIPTION
scalescales the input image band by band, accordingto the formula:
output(x,y) = scale*input(x,y) + offset
Accepts all pixel types. If the result is outsidethe domain of the actual pixel type, the nearestpossible value is returned.
OPTIONS
- -scale scale
- Default: 1.0.
- -offset offset
- Default: 0.0.
SEE ALSO
biffConvert(1)
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
EXAMPLES
scale -scale 0.5 mona.img darkmona.img
scale -scale 0.5 -offset 100 mona.img lightmona.img
scale -scale -1.0 -offset 255.0 mona.img negmona.img
ID
$Id: scale.c,v 1.36 1997/05/27 12:36:42 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- SEE ALSO
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.