vselect
-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. |
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