masklbl - tpcclib 0.8.0 © 2023 by Turku PET Centre

Region labelling (1) for mask image in ECAT 6.3 or 7.x, NIfTI-1, or
Analyze 7.5 format.
All pixels with value < 0.1 are considered as background pixels; other
pixels are considered as foreground pixels, and tagged with values 2, 3, ...
Notice that mask image file will be overwritten by labelled mask file.
 
Usage: masklbl [Options] maskfile
 
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.
 
References:
1. Burger W and Burge MJ: Principles of Digital Image Processing - Core
   Algorithms, Springer, 2009, DOI 10.1007/978-1-84800-195-4.
 
See also: masksize, imgthrs, maskinv, maskconj, imgmask
 
Keywords: image, mask, ROI