Skip to content.
CCB > CCBSIGS > ShapeToolLibraryProgram > ContourVolumeProjectDefinitionV1x0

Contour Volume project definition

Public web page of ContourVolume

Overview

Write an application program that calculates the volume enclosed by a set of contours. Contours are expected to be roughly parallel.

Restrictions, Exclusions, Limitations

  • restriction one
  • restriction two

People Affected

Person Initials Role Notes
Bae Cheol Shin BC Application designer and programmer  
Craig Schwartz CS project supervisor  
Roger Woods RW project sponsor  

Version

1.0

Requirements

  • Java 1.5 is used to implement this reader
  • An application program that applies the FDR algorithm to the attributes of a Shape. These attributes are interpreted as a set of statistical p-values.
  • the program will be based on the ContourVolume CVS project
  • When run with multiple input files, the volume of each file will be printed on a separate line.

Command line Options

Requirements Change Procedure

  • Changes to be mutually agreed upon by __ and __.
  • Changes and their date will be entered in a 'requirements change' list.

Requirements Changes

Products

Approach

Each contour is considered to define a closed, (roughly) planar polygon. The area of each contour is found. These area are used to approximate the volume between adjacent contours by use of [[][Trapeziod]] apporximation, or the [[][Frustrum]]] approximation.

Notes

The existing code gives different volumes for curves (Ucf) file resampled using the InterpolateContour program. This should not happen. On Inirie, the program

ucfmeasure -volume file.ucf

will measure the volume. Presently, the redigitized volumes (see InterpolateContour) have very different values. this is an error.

Eventually, other calculations may be added, so that several measurements may be made for each input file. Examples of these would be area calculations, fractal dimension, and so forth. See ucfmeasure.

Currently two approximations to the volume bounded by the contours are supporte: Trapezoid and Frustrum. The Trapezoid method finds the volume of the trapezoid defined by two adjacent contour (assuming the contours are nearly flat). The frustrum uses the volume of the frustrum of a cone to approximate the volume.

Lessons Learned

(filled out after the post-project review)
  • lesson 1