Woolz Image Processing  Version 1.7.5
Name
WlzGreyValue - gets a single grey value in an object.
Synopsis
WlzGreyValue [-b] [-v#] [-x#] [-y#] [-z#] [-h] [<in object>]
Options
-h Help, prints usage message.
-b Indicate background or foreground with b or f following value written, default false.
-c If getting values get and print connected values.
-v Grey value to be set, default false.
- Column position, default 0.
-y Line position.
-z Plane position.
-o Output file name.
Description
Either sets or gets a grey value within the given objects values. If the -v flag is given the objects value is set and the modified object is written to the output file, but if the flag is not set then the grey value (or multiple grey values for an object with non-scalar values) is written out in ascii form with a new line character. Only scalar values can currently be set.
Examples
WlzGreyValue -x 100 -y 100 toucan.wlz
Outputs as ascii the value of the pixel at coordinate (100,100).
File
WlzGreyValue.c
See Also
WlzIntro(1) WlzGreyValueGet(3)