Code to create all the downsample volumes of an input volume
Some parameters can be passed by console to the program in the following way:
$ program <volume_path> <width> <height> <depth> <bits>
where <volume_path>
is the path of the file containing the volume; <width>
, <height>
, and <depth>
the dimensions of the volume; and <bits>
the number of bits of the volume (8 or 16).