Displays volume file with slice image by using QT and QGLviewer.
Usage: sliceViewer [input]
Allowed options are :
-h [ --help ] display this message
-i [ --input ] arg vol file (.vol, .longvol .p3d, .pgm3d and if
WITH_ITK is selected: dicom, dcm, mha, mhd).
For longvol, dicom, dcm, mha or mhd formats, the
input values are linearly scaled between 0 and 255.
--hueColorMap use hue color map to display images.
--gradHotColorMap use hot gradient color map to display images.
--gradCoolColorMap use cool gradient color map to display images.
--rescaleInputMin arg (=0) min value used to rescale the input
intensity (to avoid basic cast into 8
bits image).
--rescaleInputMax arg (=255) max value used to rescale the input
intensity (to avoid basic cast into 8 bits
image).
Example:
$ sliceViewer -i $DGtal/examples/samples/lobster.vol
- See also
- sliceViewer.cpp