mio_reader(visage) VISAGE mio_reader(visage)
NAME
mio_reader - mio file interface for structured points
DESCRIPTION
The mio_reader class is used to generate 3D structured
point sets from data in mio files.
SUPERCLASS
visage_reader
INSTANCE VARIABLES
roi
is a six-element vector describing the region of
interest in the data set. Its elements are xmin,
xmax, ymin, ymax, zmin, and zmax. The x and y elements are zero offset and the z elements are one
offset. Thus, for a data set of 93 slices, each of
256x256 pixels, the maximal region of interest
would be (0,255,0,255,1,93). By default, if any
pair of elements are both zero, the length of that
axis of interest is the entire axis.
file_type
is a string denoting the type of data. This can be
the suffix of any of the mio_* file access classes,
currently "2d", "3d", "xim", "dues", "signa", or
"ipde".
MESSAGES
roi=xmin,ymin,xmax,ymax,zmin,zmax
sets the region of interest.
file_type=string
sets the file type for the data set.
free! frees the object and all dynamically allocated memory.
read! generates a data set from the files that hold the
data. A visage_data_group object is generated,
whose name is the last element of the prefix (i.e.,
"<dg>"). A visage_data_set is generated named
"<dg>_set", a structured point set is generated
named "<dg>_set_geometry", and a visage scalar is
generated named "<dg>_set_scalars".
NOTE
The data group name is converted to lowercase before generating objects. Conflicts will arise if two data sets
differ only in the case of the letters in the filenames.
EXAMPLE
/* read a subset of a mio_2d data set */
mio_reader new: reader
file_prefix=`/home/moose/u0/lorensen/cubes/ect/heart'
file_type=`2d'
roi=(10,40,10,40,2,28)
read! ;
Executing the above LYMB statements generates the following output to the terminal:
Created visage_data_group: heart
Created visage_data_set: heart_set
Created structured_point_set: heart_set_geometry
Created visage_scalar: heart_set_scalars
SEE ALSO
mio
Please send comments and suggestions toconsult@rpi.edu