mia-2dsegment-fuzzyw(1) | General Commands Manual | mia-2dsegment-fuzzyw(1) |
NAME¶
mia-2dsegment-fuzzyw - Run a fuzzy c-means segmentation of a 2D image.
SYNOPSIS¶
mia-2dsegment-fuzzyw -i <in-file> [options]
DESCRIPTION¶
mia-2dsegment-fuzzyw This program is a implementation of a fuzzy c-means segmentation algorithm
OPTIONS¶
File I/O¶
- -i --in-file=(input, required); io
- image to be segmented
For supported file types see PLUGINS:2dimage/io - -c --cls-file=(output); io
- class probability images, the image type must support multiple images and
floating point values
For supported file types see PLUGINS:2dimage/io - -o --out-file=(output); io
- B-field corrected image
For supported file types see PLUGINS:2dimage/io - -g --gain-log-file=(output); io
- Logarithmic gain field, the image type must support floating point values
For supported file types see PLUGINS:2dimage/io
Help & Info¶
- -V --verbose=warning
- verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are:
- --copyright
- print copyright information
- -h --help
- print this help
- -? --usage
- print a short help
- --version
- print the version number and exit
Processing¶
- --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).
Segmentation parameters¶
- -n --no-of-classes=3
- number of classes to segment
- -C --class-centres=
- initial class centers
- -N --neighborhood=shmean:shape=8n
- neighborhood filter for B-field correction
For supported plugins see PLUGINS:2dimage/filter - -a --alpha=0.7
- weight of neighborhood filter for B-field correction
- -p --fuzziness=2
-
parameter describing the fuzzyness of mattar distinction - -e --epsilon=0.01
- Stopping criterion for class center estimation.
PLUGINS: 1d/spacialkernel¶
- cdiff
- Central difference filter kernel, mirror boundary conditions are used.
- gauss
- spacial Gauss filter kernel, supported parameters are:
- scharr
- This plugin provides the 1D folding kernel for the Scharr gradient filter
PLUGINS: 1d/splinekernel¶
- bspline
- B-spline kernel creation , supported parameters are:
- omoms
- OMoms-spline kernel creation, supported parameters are:
PLUGINS: 2dimage/combiner¶
- absdiff
- Image combiner 'absdiff'
- add
- Image combiner 'add'
- div
- Image combiner 'div'
- mul
- Image combiner 'mul'
- sub
- Image combiner 'sub'
PLUGINS: 2dimage/filter¶
- adaptmed
- 2D image adaptive median filter, supported parameters are:
- admean
- An adaptive mean filter that works like a normal mean filter, if the intensity variation within the filter mask is lower then the intensity variation in the whole image, that the uses a special formula if the local variation is higher then the image intensity variation., supported parameters are:
- aniso
- 2D Anisotropic image filter, supported parameters are:
- bandpass
- intensity bandpass filter, supported parameters are:
- binarize
- image binarize filter, supported parameters are:
- close
- morphological close, supported parameters are:
- combiner
- Combine two images with the given combiner operator. if 'reverse' is set to false, the first operator is the image passed through the filter pipeline, and the second image is loaded from the file given with the 'image' parameter the moment the filter is run., supported parameters are:
- convert
- image pixel format conversion filter, supported parameters are:
- crop
- Crop a region of an image, the region is always clamped to the original image size., supported parameters are:
- dilate
- 2d image stack dilate filter, supported parameters are:
- distance
- 2D image distance filter, evaluates the distance map for a binary mask.
- downscale
- Downscale the input image by using a given block size to define the downscale factor. Prior to scaling the image is filtered by a smoothing filter to eliminate high frequency data and avoid aliasing artifacts., supported parameters are:
- erode
- 2d image stack erode filter, supported parameters are:
- gauss
- isotropic 2D gauss filter, supported parameters are:
- gradnorm
- 2D image to gradient norm filter, supported parameters are:
- invert
- intensity invert filter
- kmeans
- 2D image k-means filter. In the output image the pixel value represents the class membership and the class centers are stored as attribute in the image., supported parameters are:
- label
- Label connected components in a binary 2D image., supported parameters are:
- labelmap
- Image filter to remap label id's. Only applicable to images with integer valued intensities/labels., supported parameters are:
- labelscale
- A filter that only creates output voxels that are already created in the input image. Scaling is done by using a voting algorithms that selects the target pixel value based on the highest pixel count of a certain label in the corresponding source region. If the region comprises two labels with the same count, the one with the lower number wins., supported parameters are:
- load
- Load the input image from a file and use it to replace the current image in the pipeline., supported parameters are:
- mask
- 2D masking, one of the two input images must by of type bit., supported parameters are:
- maxflow
- This filter implements the uses the max-flow min-cut algorithmfor image segmentation, supported parameters are:
- mean
- 2D image mean filter, supported parameters are:
- meanvar
- Filter that evaluates simultaniously the pixel wise mean and the variance of an image in a given window. Pixel intensities below the given threshold will be ignored and at their loctions the output mean and variation are set to zero. The mean intensity image is directly passed as float image to the pipeline, the variation image is saved to a file given with the varfile parameter., supported parameters are:
- median
- 2D image median filter, supported parameters are:
- medianmad
- Filter that evaluates simultaniously the pixel wise median and the median absolute deviation (MAD) of an image in a given window. Pixel intensities below the given threshold will be ignored and at their loctions the output median and MAD are set to zero. The median intensity image is directly passed to the pipeline, the variation image is saved to a file given with the varfile parameter. Both output images have the same pixel type like the input image., supported parameters are:
- mlv
- Mean of Least Variance 2D image filter, supported parameters are:
- ngfnorm
- 2D image to normalized-gradiend-field-norm filter
- noise
- 2D image noise filter: add additive or modulated noise to an image, supported parameters are:
- open
- morphological open, supported parameters are:
- pruning
- Morphological pruning. Pruning until convergence will erase all pixels but closed loops., supported parameters are:
- regiongrow
- Region growing startin from a seed until only along increasing gradients, supported parameters are:
- sandp
- salt and pepper 3d filter, supported parameters are:
- scale
- 2D image downscale filter, supported parameters are:
- selectbig
- 2D label select biggest component filter
- sepconv
- 2D image intensity separaple convolution filter, supported parameters are:
- shmean
- 2D image filter that evaluates the mean over a given neighborhood shape, supported parameters are:
- sobel
- The 2D Sobel filter for gradient evaluation. Note that the output pixel type of the filtered image is the same as the input pixel type, so converting the input beforehand to a floating point valued image is recommendable., supported parameters are:
- sort-label
- This plug-in sorts the labels of a gray-scale image so that the lowest label value corresponts to the lable with themost pixels. The background (0) is not touched
- sws
- seeded watershead. The algorithm extracts exactly so many reagions as initial labels are given in the seed image., supported parameters are:
- tee
- Save the input image to a file and also pass it through to the next filter, supported parameters are:
- thinning
- Morphological thinning. Thinning until convergence will result in a 8-connected skeleton, supported parameters are:
- thresh
- This filter sets all pixels of an image to zero that fall below a certain threshold and whose neighbours in a given neighborhood shape also fall below a this threshold, supported parameters are:
- tmean
- 2D image thresholded tmean filter: The output pixel value is zero if the input pixel value is below the given threshold, otherwise the pixels in the evaluation windows are only considered if the input pixel intensity is above the threshold., supported parameters are:
- transform
- Transform the input image with the given transformation., supported parameters are:
- ws
- basic watershead segmentation., supported parameters are:
PLUGINS: 2dimage/io¶
- 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.
- datapool
- Virtual IO to and from the internal data pool
- dicom
- 2D image io for DICOM
- exr
- a 2dimage io plugin for OpenEXR images
- jpg
- a 2dimage io plugin for jpeg gray scale images
- png
- a 2dimage io plugin for png images
- raw
- RAW 2D-image output support
- tif
- TIFF 2D-image input/output support
- vista
- a 2dimage io plugin for vista images
PLUGINS: 2dimage/shape¶
- 1n
- A shape that only contains the central point
- 4n
- 4n neighborhood 2D shape
- 8n
- 8n neighborhood 2D shape
- rectangle
- rectangle shape mask creator, supported parameters are:
- sphere
- Closed spherical neighborhood shape of radius r., supported parameters are:
- square
- square shape mask creator, supported parameters are:
PLUGINS: 2dtransform/io¶
- bbs
- Binary (non-portable) serialized IO of 2D transformations
- datapool
- Virtual IO to and from the internal data pool
- vista
- Vista storage of 2D transformations
- xml
- XML serialized IO of 2D transformations
PLUGINS: generator/noise¶
- gauss
- This noise generator creates random values that are distributed according to a Gaussien distribution by using the Box-Muller transformation., supported parameters are:
- uniform
- Uniform noise generator using C stdlib rand(), supported parameters are:
EXAMPLE¶
Run a 5-class segmentation over inpt image input.v and store the class probability images in cls.v.
mia-2dsegment-fuzzyw -i input.v -a 5 -o cls.v
AUTHOR(s)¶
Gert Wollny
COPYRIGHT¶
This software is Copyright (c) 1999‐2015 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'.
v2.4.7 | USER COMMANDS |