.TH mia\-3dgetslice 1 "v2.4.7" "USER COMMANDS" .SH NAME mia\-3dgetslice \- Extract slices from a 3D image. .SH SYNOPSIS .B mia\-3dgetslice \-i \-o [options] .SH DESCRIPTION .B mia\-3dgetslice This program is used to extract 2D slices from a 3D data set and store them in separate files. Output files will be numbered according to their slice index. .SH OPTIONS .RS .IP "\-i \-\-in-file=(required, input); io" input image(s) to be filtered For supported file types see PLUGINS:3dimage/io .IP "\-o \-\-out-file=(output, required); io" output image(s). If number != 1 than this is used as a base name and should be given without extension since this will be based on the '\-\-type' option. If number=1 then this exact file name will be used. For supported file types see PLUGINS:2dimage/io .IP "\-t \-\-type=png" output file type for number != 1 .RS 10 .I Supported values are:( bmp, datapool, dicom, exr, jpg, png, raw, tif, vista, ) .RE .IP "\-s \-\-start=0" start slice number .IP "\-n \-\-number=1" number of slices (all=0) .IP " \-\-ndigits=4" minimum number of digits of the file name numbers (if n != 1) .IP "\-d \-\-dir=xy" slice direction (xy=axial, xz=coronal, yz=saggital) .RS 10 .I xy \(hy get xy (axial) slice .RE .RS 10 .I xz \(hy get xz (coronal) slice .RE .RS 10 .I yz \(hy get yz (saggital) slice .RE .RE .SS Help & Info .RS .IP "\-V \-\-verbose=warning" verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are: .RS 10 .I trace \(hy Function call trace .RE .RS 10 .I debug \(hy Debug output .RE .RS 10 .I info \(hy Low level messages .RE .RS 10 .I message \(hy Normal messages .RE .RS 10 .I warning \(hy Warnings .RE .RS 10 .I fail \(hy Report test failures .RE .RS 10 .I error \(hy Report errors .RE .RS 10 .I fatal \(hy Report only fatal errors .RE .IP " \-\-copyright" print copyright information .IP "\-h \-\-help" print this help .IP "\-? \-\-usage" print a short help .IP " \-\-version" print the version number and exit .RE .SS Processing .RS .IP " \-\-threads=\-1" Maxiumum number of threads to use for processing,This number should be lower or equal to the number of logical processor cores in the machine. (\-1: automatic estimation). .RE .SH PLUGINS: 2dimage/io .TP 10 .B bmp BMP 2D-image input/output support. The plug-in supports reading and writing of binary images and 8-bit gray scale images. read-only support is provided for 4-bit gray scale images. The color table is ignored and the pixel values are taken as literal gray scale values. .P .RS 14 Recognized file extensions: .BMP, .bmp .RE .RS 14 Supported element types: .RS 2 binary data, unsigned 8 bit .RE .RE .TP 10 .B datapool Virtual IO to and from the internal data pool .P .RS 14 Recognized file extensions: .@ .RE .TP 10 .B dicom 2D image io for DICOM .P .RS 14 Recognized file extensions: .DCM, .dcm .RE .RS 14 Supported element types: .RS 2 signed 16 bit, unsigned 16 bit .RE .RE .TP 10 .B exr a 2dimage io plugin for OpenEXR images .P .RS 14 Recognized file extensions: .EXR, .exr .RE .RS 14 Supported element types: .RS 2 unsigned 32 bit, floating point 32 bit .RE .RE .TP 10 .B jpg a 2dimage io plugin for jpeg gray scale images .P .RS 14 Recognized file extensions: .JPEG, .JPG, .jpeg, .jpg .RE .RS 14 Supported element types: .RS 2 unsigned 8 bit .RE .RE .TP 10 .B png a 2dimage io plugin for png images .P .RS 14 Recognized file extensions: .PNG, .png .RE .RS 14 Supported element types: .RS 2 binary data, unsigned 8 bit, unsigned 16 bit .RE .RE .TP 10 .B raw RAW 2D-image output support .P .RS 14 Recognized file extensions: .RAW, .raw .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B tif TIFF 2D-image input/output support .P .RS 14 Recognized file extensions: .TIF, .TIFF, .tif, .tiff .RE .RS 14 Supported element types: .RS 2 binary data, unsigned 8 bit, unsigned 16 bit, unsigned 32 bit .RE .RE .TP 10 .B vista a 2dimage io plugin for vista images .P .RS 14 Recognized file extensions: .-, .V, .VISTA, .v, .vista .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .SH PLUGINS: 3dimage/io .TP 10 .B analyze Analyze 7.5 image .P .RS 14 Recognized file extensions: .HDR, .hdr .RE .RS 14 Supported element types: .RS 2 unsigned 8 bit, signed 16 bit, signed 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B datapool Virtual IO to and from the internal data pool .P .RS 14 Recognized file extensions: .@ .RE .TP 10 .B dicom Dicom image series as 3D .P .RS 14 Recognized file extensions: .DCM, .dcm .RE .RS 14 Supported element types: .RS 2 signed 16 bit, unsigned 16 bit .RE .RE .TP 10 .B hdf5 HDF5 3D image IO .P .RS 14 Recognized file extensions: .H5, .h5 .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B inria INRIA image .P .RS 14 Recognized file extensions: .INR, .inr .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B mhd MetaIO 3D image IO using the VTK implementation (experimental). .P .RS 14 Recognized file extensions: .MHA, .MHD, .mha, .mhd .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B nifti NIFTI-1 3D image IO. The orientation is transformed in the same way like it is done with 'dicomtonifti --no-reorder' from the vtk-dicom package. .P .RS 14 Recognized file extensions: .NII, .nii .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B vff VFF Sun raster format .P .RS 14 Recognized file extensions: .VFF, .vff .RE .RS 14 Supported element types: .RS 2 unsigned 8 bit, signed 16 bit .RE .RE .TP 10 .B vista Vista 3D .P .RS 14 Recognized file extensions: .-, .V, .VISTA, .v, .vista .RE .RS 14 Supported element types: .RS 2 binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B vti 3D image VTK-XML in- and output (experimental). .P .RS 14 Recognized file extensions: .VTI, .vti .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .TP 10 .B vtk 3D VTK image legacy in- and output (experimental). .P .RS 14 Recognized file extensions: .VTK, .VTKIMAGE, .vtk, .vtkimage .RE .RS 14 Supported element types: .RS 2 signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit .RE .RE .SH EXAMPLE Store 5 coronal slices starting at slice 120 coronalXXXX.png from image.v. .HP mia\-3dgetslice \-i image.v \-o coronal \-t png \-n 5 \-s 120 .SH AUTHOR(s) Gert Wollny .SH COPYRIGHT This software is Copyright (c) 1999\(hy2015 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY and you may redistribute it under the terms of the GNU GENERAL PUBLIC LICENSE Version 3 (or later). For more information run the program with the option '\-\-copyright'.