miview: Viewer for medical image files
File formats are automatically identified by their file extension.
usage: miview [ -options ] <image-file>
global options:
-blowup: Enlarge display size by this factor (default=1)
-bright: Relative brightness of display (default=0.0)
-color: Use color map to display values
-contrast: Relative contrast of display (default=0.0)
-dump: Dump all images as bitmap(bmp) files and exit, use the given filename prefix
-low: Lower windowing boundary: This value will appear black in display
-map: Load overlay map (colored voxels superimposed on image) from this file
-maplegend: Export map legend as bitmap to this file
-maplow: Lower windowing boundary for overlay map (default=0.0)
-maprect: Relative size of rectangles which represent voxels of the overlay map (default=0.80)
-mapupp: Upper windowing boundary for overlay map (default=0.0)
-noscale: Disable scale in 2D/3D display
-upp: Upper windowing boundary: This value will appear white in display
-val: Save value of ROI/point selection to this file
-v <loglevel> or <component:loglevel> for debugging/tracing all components or a sinlge component, respectively. Possible values for loglevel are: 0(noLog), 1(errorLog), 2(warningLog), 3(infoLog), 4(significantDebug), 5(normalDebug), 6(verboseDebug).
fMRI options (Give at least -design and -fmri to activate):
-bonferr: Use Bonferroni correction
-corr: Error probability for correlation (default=1.00000e-03)
-design: Load fMRI design from this file (comma or space separated)
-fmask: fMRI mask file
-fmri: Load fMRI data from this file
-neighb: Minimum next neighbours with significant activation (default=1)
File read options:
-fx: FOV in read direction [mm] (default=220.0mm)
-fy: FOV in phase direction [mm] (default=220.0mm)
-nr: Number of consecutive measurements (default=1)
-nx: Spatial resolution in read direction (default=1)
-ny: Spatial resolution in phase direction (default=1)
-pbirth: Patients date of birth in <year><mont><day> (default=19730913)
-pid: Unique patient identifier (default=Unknown)
-pname: Full patient name (default=Unknown)
-psex: Patients sex (options=M F O , default=O)
-pweight: Patients weight [kg] (default=50.0kg)
-scient: Scientist Name (default=Unknown)
-sd: Inter-slice distance (from center to center) [mm] (default=10.0mm)
-serd: Series Description (default=Unknown)
-serno: Series Number (default=1)
-st: Slice thickness [mm] (default=5.0mm)
-stud: Study Description (default=Unknown)
-tcname: TransmitCoil Name (default=Unknown)
-te: Time-to-echo of the sequence [ms] (default=80.0ms)
-tr: Time between consecutive excitations [ms] (default=1000.0ms)
-abs: Treat data as complex and extract magnitude
-dir: Try to combine multiple files found in directory
-ds: Dataset index to extract if multiple datasets are read
-filter: Read only those datasets which protocol parameter 'key' contains the string 'value' (given in the format 'key=value')
-jdx: If multiple JDX arrays are present, select this
-pha: Treat data as complex and extract the phase
-rdialect: Read data using given dialect of the format. (default is no dialect)
-rf: Read format, use it to override file extension (options=autodetect asc coi dat dcm double float gz hdr ima img jdx mag mhd nii ph pos s16bit s32bit s8bit smp u16bit u32bit u8bit v vtk , default=autodetect)
-skip: Skip this amount of bytes before reading the raw data (default=0)
Filters:
-max <Maximum value> : Clip all values above maximum value
-min <Minumum value> : Clip all values below mininum value
-noNaN <Replacement value> : Replaces every NaN by the given value
-pflip : Flip data in phase direction
-prange <Single value or range, optionally with increment (e.g. 1-10:3)> : Select range in phase direction
-resize <slice-size,phase-size,read-size> : Resize image data
-reslice <requested orientation> : reslices the image to have a given orientation if necessary
-rflip : Flip data in read direction
-rot <Rotate by this angle> : In-plane rotation
-rrange <Single value or range, optionally with increment (e.g. 1-10:3)> : Select range in read direction
-scale <Slope,Offset> : Rescale image values
-sflip : Flip data in slice direction
-srange <Single value or range, optionally with increment (e.g. 1-10:3)> : Select range in slice direction
-trange <Single value or range, optionally with increment (e.g. 1-10:3)> : Select range in time direction
-typemax <Datatype> : Clip all values above maximum of a specific datatype
-typemin <Datatype> : Clip all values below mininum of a specific datatype
Supported file extensions(formats):
asc (ASCII)
coi (JCAMP-DX data sets)
dat (Matlab ascii 2D data matrix)
dcm (DICOM)
double (double raw data)
float (float raw data)
gz (GNU-Zip container for other formats)
hdr (ANALYZE)
ima (DICOM)
img (ANALYZE)
jdx (JCAMP-DX image format)
mag (DICOM)
mhd (MetaImage)
nii (NIFTI, dialects: fsl )
ph (DICOM)
pos (x-y positions of non-zeroes in ASCII)
s16bit (signed 16 bit raw data)
s32bit (signed 32 bit raw data)
s8bit (signed 8 bit raw data)
smp (JCAMP-DX data sets)
u16bit (unsigned 16 bit raw data)
u32bit (unsigned 32 bit raw data)
u8bit (unsigned 8 bit raw data)
v (Vista, dialects: common odin lipsia xlipsia )
vtk (Visualization Toolkit)
miview image.dcm
Display magnitude of float-type complex signal data stored in 'raw.dat':
miview -rf float -abs raw.dat
Display short (16 bit) raw data file '2dseq' of size 256x256
miview -nx 256 -ny 256 -rf short 2dseq
1.5.1