.TH mia\-3dsegment\-local\-cmeans 1 "v2.4.7" "USER COMMANDS" .SH NAME mia\-3dsegment\-local\-cmeans \- Run a c\-means segmentation of a 3D image. .SH SYNOPSIS .B mia\-3dsegment\-local\-cmeans \-i [options] .SH DESCRIPTION .B mia\-3dsegment\-local\-cmeans This program runs the segmentation of a 3D image by applying a localized c-means approach that helps to overcome intensity inhomogeneities in the image. The approach evaluates a global c-means clustering, and then separates the image into overlapping regions where more c-means iterations are run only including the locally present classes, i.e. the classes that relatively contain more pixels than a given threshold. This program implements algorithm described in: .RS .UR https://doi.org/10.7717/peerj.4374 Dunmore CJ, Wollny G, Skinner MM. (2018) MIA-Clustering: a novel method for segmentation of paleontological material. PeerJ 6:e4374. .UE .RE .SH OPTIONS .SS File-IO .RS .IP "\-i \-\-in-file=(required, input); io" image to be segmented For supported file types see PLUGINS:3dimage/io .IP "\-o \-\-out-file=(output); io" class label image based on merging local labels For supported file types see PLUGINS:3dimage/io .IP "\-G \-\-out-global-crisp=(output); io" class label image based on global segmentation For supported file types see PLUGINS:3dimage/io .IP "\-C \-\-class-prob=(output); io" class probability image file, filetype must support floating point multi\-frame images For supported file types see PLUGINS:3dimage/io .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 Parameters .RS .IP "\-g \-\-grid-spacing=15; int in [3, inf)" Spacing of the grid used to modulate the intensity inhomogeneities .IP "\-c \-\-cmeans=kmeans:nc=3" c\-means initializer For supported plugins see PLUGINS:1d/cmeans .IP "\-e \-\-c-means-epsilon=0.0001; float in (0, inf)" c\-means breaking condition for update tolerance .IP "\-t \-\-relative-cluster-threshold=0.02; double in [0, 1)" threshhold to ignore classes when initializing the local cmeans from the global one. .IP "\-B \-\-ignore-background" Don't take background probablities into account when desiding whether classes are to be ignored .IP "\-L \-\-label-threshold=0; float in [0, 1]" for values <= 0.5: create segmentation based on highest class probability, labels start at 0. For values >0.5: create labels only for voxels with a class probability higher than the given value, labels start at 1 and voxels without an according class probability are set to 0; this output is suitable for the seeded watershed filter. .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: 1d/cmeans .TP 10 .B even C-Means initializer that sets the initial class centers as evenly distributed over [0,1], supported parameters are: .P .RS 14 .I nc =(required, ulong) .RS 2 Number of classes to use for the fuzzy\-cmeans classification. .RE .RE .TP 10 .B kmeans C-Means initializer that sets the initial class centers by using a k-means classification, supported parameters are: .P .RS 14 .I nc =(required, ulong) .RS 2 Number of classes to use for the fuzzy\-cmeans classification. .RE .RE .TP 10 .B predefined C-Means initializer that sets pre-defined values for the initial class centers, supported parameters are: .P .RS 14 .I cc =(required, vdouble) .RS 2 Initial class centers fuzzy\-cmeans classification (normalized to range [0,1]). .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 Run the segmentation on image test.png using three classes, local regions of 40 pixels (grid width 20 pixels), and a class ignore threshold of 0.01. .HP mia\-3dsegment\-local\-cmeans \-i test.png \-o label.png \-n 3 \-g 20 \-t 0.01 .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'.