NAME: contour to geom AUTHOR INFO: Anonymous, Stardent Computer, 617-964-1000 SOURCE FILE: contour2.c TYPE: mapper INPUTS: field scalar byte OUTPUTS: geom (disjoint lines) PARAMETERS: Name Type Default Min Max threshold int 128 0 255 DESCRIPTION: CONTOUR TO GEOM finds and creates contour lines of similar value in a scalar byte field. The parameter "threshold" controls the level of contour being found. It differs from the CONTOUR module found in the user_modules/filters directory in that it produces disjoint lines which can be rendered with the geometry viewer. It can also handle 3D data sets and irregular grids. EXAMPLE 1: This network finds a contour on the red channel of the mandrill image: (this network is on-line as image_contour.net) READ IMAGE | EXTRACT SCALAR (set to 1) | CONTOUR TO GEOM | RENDER MANAGER EXAMPLE 2: This network finds the magnitude of the vector.fld vector field and contours it: (this network is on-line as volume_contour.net) READ FIELD ______________|____________ | | VECTOR MAG | | | FIELD TO BYTE | | | CONTOUR TO GEOM | |_________________________| | RENDER MANAGER SEE ALSO: EXTRACT SCALAR, CONTOUR