Woolz Image Processing
Version 1.8.3
|
WlzScalarScale [-a #] [-m #] [-g #] [-h] [-o<output file>] [<input file>]
-a | Value for addition. |
-m | Value for product. |
-g | Grey type specified using one of the characters: i, s, u, f, d, r for int, short, unsigned byte, float, double or red-green-blue-alpha. |
-o | Output object. |
-h | Help, prints usage message. |
WlzScalarScale -a 256 -s 2 -g s -o out.wlz in.wlzCreates a new object (out.wlz) with the same doamin as the input object (in.wlz) but with short grey values which vale been scaled so that the output grey values are given by: g_out = g_in * 2 + 256.