Woolz Image Processing  Version 1.8.3
Name
WlzScalarScale - scales the grey values of an object.
Synopsis
WlzScalarScale  [-a #] [-m #] [-g #] [-h] [-o<output file>] [<input file>]
Options
-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.
Description
WlzScalarScale scales the grey values of an object using a linear scaling with \(v_{out} = m v_{in} + a.\)
Examples
WlzScalarScale -a 256 -s 2 -g s -o out.wlz in.wlz
Creates 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.
File
WlzScalarScale.c
See Also
WlzIntro(1) WlzScalarMulAdd(3)