table of contents
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- PLUGINS: 1d/spacialkernel
- PLUGINS: 1d/splinebc
- PLUGINS: 1d/splinekernel
- PLUGINS: 3dimage/combiner
- PLUGINS: 3dimage/cost
- PLUGINS: 3dimage/filter
- PLUGINS: 3dimage/fullcost
- PLUGINS: 3dimage/io
- PLUGINS: 3dimage/maskedcost
- PLUGINS: 3dimage/shape
- PLUGINS: 3dimage/transform
- PLUGINS: 3dtransform/io
- PLUGINS: 3dtransform/splinepenalty
- PLUGINS: minimizer/singlecost
- EXAMPLE
- AUTHOR(s)
- COPYRIGHT
mia-3dnonrigidreg-alt(1) | General Commands Manual | mia-3dnonrigidreg-alt(1) |
NAME¶
mia-3dnonrigidreg-alt - Non-linear registration of 3D images.
SYNOPSIS¶
mia-3dnonrigidreg-alt -o <out-transform> [options] <PLUGINS:3dimage/fullcost>
DESCRIPTION¶
mia-3dnonrigidreg-alt This program runs a non-rigid registration based on the given cost criteria and a given transformation model. Other than mia-3dnonrigidreg it doesn't support specific command line parameters to provide the images. Instead the images are specified dirctly when defining the cost function. Hence, image registrations can be executed that optimize the aligmnet of more than one image pair at the same time. Note, however, that all input images must be of the same dimension (in pixels)
OPTIONS¶
- -o --out-transform=(output, required); io
- output transformation
For supported file types see PLUGINS:3dtransform/io - -l --levels=3
- multi-resolution levels
- -O --optimizer=gsl:opt=gd,step=0.1
- Optimizer used for minimization
For supported plugins see PLUGINS:minimizer/singlecost - -f --transForm=spline:rate=10
- transformation type
For supported plugins see PLUGINS:3dimage/transform
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/cost¶
- lncc
- local normalized cross correlation with masking support., supported parameters are:
- mi
- Spline parzen based mutual information., supported parameters are:
- ncc
- normalized cross correlation.
- ngf
- This function evaluates the image similarity based on normalized gradient fields. Given normalized gradient fields $ _S$ of the src image and $ _R$ of the ref image various evaluators are implemented., supported parameters are:
- ssd
- 3D image cost: sum of squared differences, supported parameters are:
- ssd-automask
- 3D image cost: sum of squared differences, with automasking based on given thresholds, supported parameters are:
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/fullcost¶
- image
- Generalized image similarity cost function that also handles multi-resolution processing. The actual similarity measure is given es extra parameter., supported parameters are:
- labelimage
- Similarity cost function that maps labels of two images and handles label-preserving multi-resolution processing., supported parameters are:
- maskedimage
- Generalized masked image similarity cost function that also handles multi-resolution processing. The provided masks should be densly filled regions in multi-resolution procesing because otherwise the mask information may get lost when downscaling the image. The mask may be pre-filtered - after pre-filtering the masks must be of bit-type.The reference mask and the transformed mask of the study image are combined by binary AND. The actual similarity measure is given es extra parameter., supported parameters are:
- taggedssd
- Evaluates the Sum of Squared Differences similarity measure by using three tagged image pairs. The cost function value is evaluated based on all image pairs, but the gradient is composed by composing its component based on the tag direction., 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/maskedcost¶
- lncc
- local normalized cross correlation with masking support., supported parameters are:
- mi
- Spline parzen based mutual information with masking., supported parameters are:
- ncc
- normalized cross correlation with masking support.
- ssd
- Sum of squared differences with masking.
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: 3dimage/transform¶
- affine
- Affine transformation (12 degrees of freedom), supported parameters are:
- axisrot
- Restricted rotation transformation (1 degrees of freedom). The transformation is restricted to the rotation around the given axis about the given rotation center, supported parameters are:
- raffine
- Restricted affine transformation (3 degrees of freedom). The transformation is restricted to the rotation around the given axis and shearing along the two axis perpendicular to the given one, supported parameters are:
- rigid
- Rigid transformation, i.e. rotation and translation (six degrees of freedom)., supported parameters are:
- rotation
- Rotation transformation (three degrees of freedom)., supported parameters are:
- rotbend
- Restricted transformation (4 degrees of freedom). The transformation is restricted to the rotation around the x and y axis and a bending along the x axis, independedn in each direction, with the bending increasing with the squared distance from the rotation axis., supported parameters are:
- spline
- Free-form transformation that can be described by a set of B-spline coefficients and an underlying B-spline kernel., supported parameters are:
- translate
- Translation (three degrees of freedom), supported parameters are:
- vf
- This plug-in implements a transformation that defines a translation for each point of the grid defining the domain of the transformation., 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
PLUGINS: 3dtransform/splinepenalty¶
- divcurl
- divcurl penalty on the transformation, supported parameters are:
PLUGINS: minimizer/singlecost¶
- gdas
- Gradient descent with automatic step size correction., supported parameters are:
- gdsq
- Gradient descent with quadratic step estimation, supported parameters are:
- gsl
- optimizer plugin based on the multimin optimizers of the GNU Scientific Library (GSL) https://www.gnu.org/software/gsl/, supported parameters are:
- nlopt
- Minimizer algorithms using the NLOPT library, for a description of the optimizers please see 'http://ab-initio.mit.edu/wiki/index.php/NLopt_Algorithms', supported parameters are:
EXAMPLE¶
Register image test.v to image ref.v by using a spline transformation with a coefficient rate of 5 and write the registered image to reg.v. Use two multiresolution levels, ssd as image cost function and divcurl weighted by 10.0 as transformation smoothness penalty. The resulting transformation is saved in reg.vf.
mia-3dnonrigidreg-alt -o reg.vf -l 2 -f spline:rate=3 image:cost=ssd,src=test.v,ref=ref.v divcurl:weight=10
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 |