Main Page   File List   Globals  

vselect.c File Reference

vselect - select objects from an input file. More...


Detailed Description

vselect - select objects from an input file.

Description
vselect copies selected objects from an input file to an output file.
Command line options specify which objects are to be copied. Objects may be selected by type (e.g., all images), by name, by the value of some attribute (neg. values must precede with a double dash), or by position within the input file.
Usage
vselect
Parameters:
-in  input image
-out  output image
-object  Select the ith object. Objects in the input file are numbered consecutively from 0.
-name  Select an object by its name.
-type  Select an object by its type.
-attr  Select any object having an attribute with the specified name and value.
Examples

To select the first object from a file:
vselect -object 0 -in image.v -out result.v

To select all attributes named ``history'' from a file:
vselect -name history -in image.v -out result.v

To select everything but images from a file:
vselect -type image -not -in image.v -out result.v

To select images with ubyte pixels from a file of images:
vselect -attr repn ubyte -in image.v -out result.v

To select images with modality "MR MPIL_DN02_REL" from a file of images:
vselect -attr modality "MR MPIL_DN02_REL" -in image.v -out result.v

Known bugs
none.
Author:
Arthur Pope, UBC Laboratory for Computational Intelligence

Generated on Tue Nov 23 09:50:52 2004 for VIA - Volumetric Image Analysis by doxygen1.2.15