MIVIEW(1)
π MIVIEW(1) β User Commands π
β¨ NAME β¨
miview β Viewer for medical image files π
πΈ SYNOPSIS πΈ
miview [ options ] <image-file>
π DESCRIPTION π
okay bestie, miview is literally the Viewer for medical image files π«Ά
File formats are automatically identified by their file extension. iykyk β it just knows from the extension, no cap β¨
This program is part of odin 2.0.5 with configuration using_gcc debug gui(:5) standalone dl posix_threads libz gsl nifti vtk dicom png ismrmrd gdb. periodt π
π«Ά Global options: π«Ά
-blowupβ Enlarge display size by this factor (0=automatic) (default=0) β¨-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 graphic files and exit, use the given filename postfix to specify the format πΈ-legendβ Export legend to this file, use the given filename postfix to specify the format π·οΈ-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.60) π²-mapuppβ Upper windowing boundary for overlay map (default=0.0) π-noscaleβ Disable scale in 2D/3D display π«-recβ Record clicked coordinates and values into this file π±οΈ-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 single 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 threshold for correlation (default=0.050) π-davgβ Smooth the design function using a moving average filter of widthN(TR) (default=0) γ°οΈ-designβ Load fMRI design from this file (comma or space separated) π-fmaskβ fMRI mask file π-fmriβ Load fMRI data from this file π§¬-hrfβ Convolve design function by hemodynamic response function prior to correlation (seeGlover NeuroImage 9, 416-429) π§-neighbβ Minimum next neighbours with significant activation (default=1) π―-scourseβ Dump relative fMRI signal change time course to this file π-smapβ Dump map of relative fMRI signal change to this file πΊοΈ-zmapβ Dump z-score map to this file π-zscoreβ z-Score threshold for correlation (default=0.0) π
π ROIs options (Use -rois to activate) π
-roisβ Activate ROIs mode π
π File read options π
-aaβ azimuthal rotation angle [deg] (default=0.0) π-ahβ height rotation angle [deg] (default=0.0) βοΈ-aiβ inplane rotation angle [deg] (default=0.0) π-dateβ Date of scan [yyyymmdd] (default=20211015) π-fpβ FOV in phase direction [mm] (default=220.0) π-frβ FOV in read direction [mm] (default=220.0) π-fsβ FOV in slice direction [mm] (default=5.0) π-nrβ Number of consecutive measurements (default=1) π’-nxβ Number of points in read direction (default=1) β‘οΈ-nyβ Number of points in phase direction (default=1) β¬οΈ-nzβ Number of points in slice direction (default=1) β¬οΈ-pbirthβ Patients date of birth [yyyymmdd] (default=00000000) π-pidβ Unique patient identifier (default=Unknown) π-pnameβ Full patient name (default=Unknown) π-psexβ Patients sex (options=M F O, default=O) β§οΈ-psizeβ Patients size/height [mm] (default=2000.0) π-pweightβ Patients weight [kg] (default=50.0) βοΈ-rcnameβ Name of receive coil (default=Unknown) π‘-scientβ Scientist Name (default=Unknown) π§βπ¬-sdβ Inter-slice distance (from center to center) [mm] (default=10.0) π-serdβ Series Description (default=Unknown) π-sernoβ Series Number (default=1) π’-stβ Slice thickness [mm] (default=5.0) π-studβ Study Description (default=Unknown) π-tcnameβ Name of transmit coil (default=Unknown) π‘-teβ Time-to-echo of the sequence [ms] (default=80.0) β±οΈ-timeβ Time of scan [hhmmss] (default=104558) π-trβ Time between consecutive excitations [ms] (default=1000.0) β±οΈ-cplxβ Treat data as complex and extract the given component (options=none abs pha real imag, default=none) π-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') π-fmapβ For reduced memory usage, keep filemapping after reading (raw) data, but writing into the array will result in a crash π-framesplitβ Force splitting frames with different acquisition times into separate protocol-data pairs βοΈ-ldrβ If multiple LDR (labeled data record) arrays are present, select this ποΈ-rdialectβ Read data using given dialect of the format (default is no dialect) π£οΈ-rfβ Read format, use it to override file extension (options=autodetect 3db analyze asc coi dat dcm double float gz h5 hdr idx ima interfile jdx mag mhd nii ph png pos pro reg s16bit s32bit s8bit smp u16bit u32bit u8bit vtk xml xpro, default=autodetect) π-skipβ Skip this amount of bytes before reading the raw data (default=0) βοΈ
π₯ Filters π₯
-align <filename,In-plane blowup factor (default=0)>β Align data to the geometry (voxel locations) of an external file π§-automask <skip leftmost slots (default=0),dump histogram,dump histogram fit>β Create binary mask using automatic histogram-based threshold ποΈ-clusterβ Create clusters of non-zero adjacent/next-neighbours voxels, sorted by size π«§-convolve <convolution kernel (default=noFunction) (Gauss NoFilter Triangle Hann Hamming CosSq Blackman BlackmanNuttall Exp ),full-width-at-half-maximum of kernel [mm] (default=0.0)>β Convolution in spatial dimensions π-detrend <Number of low frequency components to be removed (default=5),Zero mean of resulting timecourse (default=No)>β Remove slow drift over time π-dilate <radius of kernel [mm] (default=0.0)>β dilate image using spherical kernel as structuring element π«§-edit <string in the format (timerange,slicerange,phaserange,readrange),value (default=0.0)>β Edit voxel values with range specified as single position, or'all', or explicit range, optionally with increment (e.g.1-10:3) βοΈ-erode <radius of kernel [mm] (default=0.0)>β erode image using spherical kernel as structuring element π³οΈ-genmask <lower threshold (default=0.0),upper threshold (default=0.0)>β Create binary mask including all voxels with value in given range π-invβ Invert image values, i.e. lowest to highest and vice versa π-isotrop <voxelsize [mm] (default=0.0)>β make image voxels isotrop through interpolation (image geometry will not change), set to zero for minimum extent π§-lowpass <Cut-off frequency [Hz] (default=0.0)>β Lowpass filtering π΅-max <Maximum value (default=0.0)>β Clip all values above maximum value β¬οΈ-maxip <direction (time slice phase read none )>β Perform maximum intensity projection over given direction π¦-mergeβ Merge datasets into a single dataset by expanding the time dimension π§¬-min <Minimum value (default=0.0)>β Clip all values below minimum value β¬οΈ-minip <direction (time slice phase read none )>β Perform minimum intensity projection over given direction π-noNaN <Replacement value (default=0.0)>β Replaces every NaN by the given value π«-nonzeromaskβ Create binary mask including all voxels with non-zero value π-pflipβ Flip data in phase direction π-prange <single position, or 'all', or explicit range, optionally with increment (e.g. 1-10:3)>β Select range in phase direction π―-proj <direction (time slice phase read none )>β Perform mean projection over given direction π-quantilmask <quantil (default=0.0)>β Create binary mask including all voxels above the given fractional threshold π-resample <new size (default=0)>β Temporal resize of image data β³-resize <slice-size (default=0),phase-size (default=0),read-size (default=0)>β Spatial resize of image data π-reslice <requested orientation (default=coronal) (sagittal coronal axial )>β reslices the image to a given orientation πͺ-rflipβ Flip data in read direction π-rot <angle [deg] (default=0.0),kernel size [pixel] (default=1.41421)>β In-plane rotation π-rrange <single position, or 'all', or explicit range, optionally with increment (e.g. 1-10:3)>β Select range in read direction π―-scale <Slope (default=1.0),Offset (default=0.0)>β Rescale image values π-sflipβ Flip data in slice direction π-shift <readDirection shift [pixel] (default=0.0),phaseDirection shift [pixel] (default=0.0),sliceDirection shift [pixel] (default=0.0)>β Shift data spatially βοΈ-slicetime <space-separated list of slice indices in order of acquisition>β Correct for different acquisition time points of slices β±οΈ-spheremask <Position string in the format (slicepos,phasepos,readpos),radius [mm] (default=0.0)>β Create binary spherical mask βͺ-splice <dimension of the data to be spliced (time slice phase read none )>β splices the image in the given direction βοΈ-srange <single position, or 'all', or explicit range, optionally with increment (e.g. 1-10:3)>β Select range in slice direction π―-sum <direction (time slice phase read none )>β Perform sum projection over given direction β-swapdim <[rps][-],[rps][-],[rps][-]>β swap/reflect/transpose dimensions by specifying a direction triple with optional reflection sign appended π-tile <columns (default=0)>β Combine slices into a square 2D image π§©-trange <single position, or 'all', or explicit range, optionally with increment (e.g. 1-10:3)>β Select range in time direction π―-tshift <time shift [frames] (default=0.0)>β Shift data in time β±οΈ-typemax <Datatype>β Clip all values above maximum of a specific datatype β¬οΈ-typemin <Datatype>β Clip all values below minimum of a specific datatype β¬οΈ-usemask <filename>β Create 1D dataset including all values within binary mask from file π
π Supported file extensions(formats) π
3dbβ (Iris3D binary data) πΎanalyzeβ (NIFTI/ANALYZE, dialects:fsl) π§ascβ (ASCII, dialects:tcourse) πcoiβ (JCAMP-DX data sets) π§ͺdatβ (Matlab ascii 2D data matrix) πdcmβ (DICOM, dialects:siemens) π₯doubleβ (double raw data) π’floatβ (float raw data) π’gzβ (GNU-Zip container for other formats) ποΈh5β (ISMRMRD Image) πΌοΈhdrβ Interfile format, and the dialect it speaks is neurostat. yes bestie, there are twohdrentries in this list and they are not the same thing, keep reading πhdrβ NIFTI/ANALYZE format, dialect: fsl. same three letters, whole different vibe, iconic behaviour honestly πidxβ the 3D-indices of all the non-zeroes, written out in ASCII, dialect: addval β¨imaβ DICOM format, dialect: siemens π©»interfileβ Interfile, dialect: neurostat. the long-form name, no abbreviations here, she's classy πjdxβ an ODIN Image built on JCAMP-DX, aka the Joint Committee on Atomic and Molecular Physical Data. say that five times fast, i dare you πmagβ DICOM, dialect: siemens πΈmhdβ MetaImage, that's the whole thing, simple queen, no dialects needed πniiβ NIFTI/ANALYZE, dialect: fsl π¦phβ DICOM, dialect: siemens βpngβ Portable Network Graphics. yes girl, the samepngyou're thinking of πΌοΈposβ the x-y positions of all the non-zeroes, in ASCII. little coordinate queen, no 3D here, just the flat truth β¨proβ ODIN protocols based on JCAMP-DX (Joint Committee on Atomic and Molecular Physical Data) πregβ Ansoft HFSS 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 πvtkβ Visualization Toolkit, specifically vtkStructuredPoints π§xmlβ an ODIN Image based on XML (Extensible Markup Language) π§xproβ ODIN protocols based on XML (Extensible Markup Language) π§
and that's the whole format roster bestie, every single one, no skips, no cuts π if you were looking for the exact list of what miview can read, this is it β screenshot it, tattoo it, whatever works for you π«Ά
ngl some of these names are lowkey cursed (s8bitnext tos16bitnext tos32bit? the way that's just the same thing three times with different numbers π) but that's the data, fr fr, and we don't argue with the data π
and the page signs off as miview version 2.0.5, dated October 2021 β that's the source and the version right there, so if you're on something older or newer, that's a you problem, not a me problem πΈ anyway ily, go read some medical images, slay πβ¨π
π¦ where this page comes from
- debian bookworm: mitools 2.0.5-3+b1 Β· GPL-2.0-or-later
- debian trixie: mitools 2.0.5-7+b1 Β· GPL-2.0-or-later
- ubuntu jammy: mitools 2.0.5-2 Β· GPL-2.0-or-later
- ubuntu noble: mitools 2.0.5-5build4 Β· GPL-2.0-or-later
- ubuntu questing: mitools 2.0.5-7build1
- ubuntu resolute: mitools 2.0.5-8build2 Β· GPL-2.0-or-later
- ubuntu stonking: mitools 2.0.5-10build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms