mia-3dimagefilter(1) | General Commands Manual | mia-3dimagefilter(1) |
NAME¶
mia-3dimagefilter - Filter a 3D images.
SYNOPSIS¶
mia-3dimagefilter -i <in-file> -o <out-file> [options] <PLUGINS:3dimage/filter>
DESCRIPTION¶
mia-3dimagefilter This program is used to filter and convert gray scale 3D images.
OPTIONS¶
- -i --in-file=(input, required); io
- input image(s) to be filtered
For supported file types see PLUGINS:3dimage/io - -o --out-file=(output, required); io
- output image(s) that have been filtered
For supported file types see PLUGINS:3dimage/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).
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/splinebc¶
- mirror
- Spline interpolation boundary conditions that mirror on the boundary
- repeat
- Spline interpolation boundary conditions that repeats the value at the boundary
- zero
- Spline interpolation boundary conditions that assumes zero for values outside
PLUGINS: 1d/splinekernel¶
- bspline
- B-spline kernel creation , supported parameters are:
- omoms
- OMoms-spline kernel creation, supported parameters are:
PLUGINS: 3dimage/combiner¶
- absdiff
- Image combiner 'absdiff'
- add
- Image combiner 'add'
- div
- Image combiner 'div'
- mul
- Image combiner 'mul'
- sub
- Image combiner 'sub'
PLUGINS: 3dimage/filter¶
- 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 in the sense that the given range is kept., supported parameters are:
- dilate
- 3d image stack dilate filter, supported parameters are:
- distance
- Evaluate the 3D distance transform of an image. If the image is a binary mask, then result of the distance transform in each point corresponds to the Euclidian distance to the mask. If the input image is of a scalar pixel value, then the this scalar is interpreted as heighfield and the per pixel value adds to the distance.
- 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
- 3d image stack erode filter, supported parameters are:
- gauss
- isotropic 3D gauss filter, supported parameters are:
- gradnorm
- 3D image to gradient norm filter
- growmask
- Use an input binary mask and a reference gray scale image to do region growing by adding the neighborhood pixels of an already added pixel if the have a lower intensity that is above the given threshold., supported parameters are:
- invert
- intensity invert filter
- isovoxel
- This filter scales an image to make the voxel size isometric and its size to correspond to the given value, supported parameters are:
- kmeans
- 3D 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
- A filter to label the connected components of a binary 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:
- lvdownscale
- This is a label voting downscale filter. It adownscales a 3D image by blocks. For each block the (non-zero) label that appears most times in the block is issued as output pixel in the target image. If two labels appear the same number of times, the one with the lower absolute value wins., supported parameters are:
- mask
- Mask an image, one image is taken from the parameters list and the other from the normal filter input. Both images must be of the same dimensions and one must be binary. The attributes of the image coming through the filter pipeline are preserved. The output pixel type corresponds to the input image that is not binary., supported parameters are:
- mean
- 3D image mean filter, supported parameters are:
- median
- median 3d filter, supported parameters are:
- mlv
- Mean of Least Variance 3D image filter, supported parameters are:
- msnormalizer
- 3D image mean-sigma normalizing filter, supported parameters are:
- open
- morphological open, supported parameters are:
- reorient
- 3D image reorientation filter, supported parameters are:
- resize
- Resize an image. The original data is centered within the new sized image., supported parameters are:
- sandp
- salt and pepper 3d filter, supported parameters are:
- scale
- 3D image filter that scales to a given target size , supported parameters are:
- scharr
- The 3D Scharr 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:
- selectbig
- A filter that creats a binary mask representing the intensity with the highest pixel count.The pixel value 0 will be ignored, and if two intensities have the same pixel count, then the result is undefined. The input pixel must have an integral pixel type.
- sepconv
- 3D image intensity separaple convolution filter, 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:
- 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
- 3D morphological thinning, based on: Lee and Kashyap, 'Building Skeleton Models via 3-D Medial Surface/Axis Thinning Algorithms', Graphical Models and Image Processing, 56(6):462-478, 1994. This implementation only supports the 26 neighbourhood.
- transform
- Transform the input image with the given transformation., supported parameters are:
- variance
- 3D image variance filter, supported parameters are:
- ws
- basic watershead segmentation., supported parameters are:
PLUGINS: 3dimage/io¶
- analyze
- Analyze 7.5 image
- datapool
- Virtual IO to and from the internal data pool
- dicom
- Dicom image series as 3D
- hdf5
- HDF5 3D image IO
- inria
- INRIA image
- mhd
- MetaIO 3D image IO using the VTK implementation (experimental).
- 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.
- vff
- VFF Sun raster format
- vista
- Vista 3D
- vti
- 3D image VTK-XML in- and output (experimental).
- vtk
- 3D VTK image legacy in- and output (experimental).
PLUGINS: 3dimage/shape¶
- 18n
- 18n neighborhood 3D shape creator
- 26n
- 26n neighborhood 3D shape creator
- 6n
- 6n neighborhood 3D shape creator
- sphere
- Closed spherical shape neighborhood including the pixels within a given radius r., supported parameters are:
PLUGINS: 3dtransform/io¶
- bbs
- Binary (non-portable) serialized IO of 3D transformations
- datapool
- Virtual IO to and from the internal data pool
- vista
- Vista storage of 3D transformations
- xml
- XML serialized IO of 3D transformations
EXAMPLE¶
Run a mean-least-varaiance filter on input.v, then run a 5-class k-means classification and binarize by selecting the 4th class.
mia-3dimagefilter -i image.v -o filtered.v mlv:w=2 kmeans:c=5 binarize:min=4,max=4
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 |