area

Name

       area

Author

     Dr. Stephan D. Pass
             Stardent Computer Ltd.
             Guildford, Surrey, UK
             +44-483-505-388
SOURCE FILE: area.c

Type

       mapper

Inputs

      "Slice input" field 2D uniform scalar byte

Outputs

     "Area output" field 1D uniform scalar int

Parameters

  Name      Type      Default       Min       Max
             Slice NO.  Int      0             0         512

Description

  "area" = cross section area evaluator.
  This module takes an input 2d scalar field, and assumes it
  has a "doughnut" or "O" shape in it. The simple
  evaluation algorithm searches for the interior space of the "O",
  and computes the cross section area of the region.
  The result (a scalar) is passed in a 1-D ouput array.
  The module will "accumulate", and pass the history along with
  the current value.
  The parameter input controls the current slice, ZERO will reset things.
  The design was to work with "tubes" with variable cross section.
  Typical input would come from 3D scalar field --> ortho slice,
  while typical output would go to the "graph viewer".
  This module was written to show how to compute the transverse
  cross sectional area of an blood vessel in a medical imaging application.
 
  Revision:  October 1990  Original     (sdp)
             6 March 1991  AVS3 cleanup (ianc)
 

Examples


  see area.net, using an example data file "oh.fld" for input.
  Set the slice number to zero to start, then increment, watching
  the plot history grow.