This is the command cmtk-vol2csv that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
vol2csv - Compute regional volumes and write to CSV file.
vol2csv RegionsImage DensityImages
This tool computes the volumes of regions in a label image. It optionally accepts density
maps (e.g., for different tissues) and computes and prints the per-region content for
each. Also, the tool can accept an optional 'pixel volume' map to account for local pixel
volume variations, e.g., due to spatial distortion.
Global Toolkit Options (these are shared by all CMTK tools)
Write list of basic command line options to standard output.
Write complete list of basic and advanced command line options to standard output.
Write list of command line options to standard output in MediaWiki markup.
Write man page source in 'nroff' markup to standard output.
Write toolkit version to standard output.
Write the current command line to standard output.
Set verbosity level.
Increment verbosity level by 1 (deprecated; supported for backward compatibility).
Set maximum number of parallel threads (for POSIX threads and OpenMP).
Optional normalization factor for density images. Typically, the values in the
density images should be in the range 0..1, but often such images are scaled to
different ranges to accomodate storage as integers. If, for example, densities are
stored as values 0..255, set this paramater to 255. [Default: 1]
If provided, this text file contains names for all labels in the regions image. These
names are then used to label the rows of the CSV output. [Default: NONE]
If provided, this global scale factor is applied to all pixel volumes to compensate
for deviations between world and image scale. [Default: 1]
If provided, this volume contains scale factors for the volume of each pixel. This is
typically the Jacobian determinant map of a spatial unwarping deformation. [Default:
This option can be used to provide labels for the density maps, which are used as
column labels in the output. Labels must be separated by commas and must not contain
any unescaped spaces. [Default: NONE]
--output <string>, -o <string>
If provided, program output is written to this file. If not provided, output is
written to the STDOUT stream. [Default: NONE]
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R.
Maurer, Daniel B. Russakoff, and Yaroslav Halchenko
Use cmtk-vol2csv online using onworks.net services