pxl2mask - tpcclib 0.8.0 © 2023 by Turku PET Centre
Make mask image from specified pixel(s).
Pixels can be specified as volume range definition files, or as file
containing list of pixel coordinates.
A template image (not modified) is needed to get mask dimensions.
Usage: pxl2mask [Options] templatefile maskfile pixel(s)
Options:
-h, --help
Display usage information on standard output and exit.
-v, --version
Display version and compile information on standard output and exit.
-d[n], --debug[=n], --verbose[=n]
Set the level (n) of debugging messages and listings.
-q, --quiet
Suppress displaying normal results on standard output.
-s, --silent
Suppress displaying anything except errors.
Volume range definition (vrd) file is an ASCII text file, which contains
pixel coordinates (x y z; 1..dimension) of the two opposite corners of
the extracted image volume, for example:
corner1 := 63 57 26
corner2 := 84 71 44
One or more pixel coordinates (x y z; 1..dimension) can be listed in file,
for example:
24,52,13
25,52,14
See also: pxl2tac, mask2pxl, imgmask, imgmaxp, maskdila
Keywords: image, pixel, mask