Skip to content.
CCB > CCBSIGS > ShapeToolLibraryProgram > ContourVolume

Note: this project is on hold

ContourVolume

Overview

ContourVolume is a port, to Java, of the -volume option of the C program UcfMeasure. It calculates the interior volume enclosed by a set of contours. Currently, contours may be saved in either Ucf or Minc Contour file formats.

Assumptions

The program assumes that the input file contains a series of contours. These contours are expected to lay in, or nearly in a plane. The plane of each adjacent contour must be nearly parallel, within a tolerance that may be altered by the user via a command line parameters.

The volume of the shape outlined by the contours is calcualted by either a trapezoid or conical frustrum approximation.