contour to geom
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
: 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