masksize - tpcclib 0.8.0 © 2023 by Turku PET Centre

Report the number of pixels belonging to labelled regions in mask image
in ECAT 6.3 or 7.x, NIfTI-1, or Analyze 7.5 format.
Usage: masksize [Options] maskfile
     Region labels are modified so that label 1 will represent the largest,
     label 2 the second largets, and so on.
     Notice that this option will overwrite the mask file.
 -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.
See also: masklbl, imgthrs, maskconj, imgmask, mask2pxl
Keywords: image, mask, ROI