table of contents
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- PLUGINS: 1d/splinebc
- PLUGINS: 1d/splinekernel
- PLUGINS: 2dimage/cost
- PLUGINS: 2dimage/fullcost
- PLUGINS: 2dimage/io
- PLUGINS: 2dimage/maskedcost
- PLUGINS: 2dimage/transform
- PLUGINS: 2dtransform/io
- PLUGINS: 2dtransform/splinepenalty
- PLUGINS: minimizer/singlecost
- EXAMPLE
- AUTHOR(s)
- COPYRIGHT
mia-2dmultiimageregistration(1) | General Commands Manual | mia-2dmultiimageregistration(1) |
NAME¶
mia-2dmultiimageregistration - Non-linear registration of 2D images.
SYNOPSIS¶
mia-2dmultiimageregistration -o <out-transform> [options] <PLUGINS:2dimage/fullcost>
DESCRIPTION¶
mia-2dmultiimageregistration This program runs a non-rigid registration based on the given cost criteria and a given transformation model. Other than mia-2dnonrigidreg 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:2dtransform/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,penalty=divcurl
- transformation type
For supported plugins see PLUGINS:2dimage/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/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: 2dimage/cost¶
- lncc
- local normalized cross correlation with masking support., supported parameters are:
- lsd
- Least-Squares Distance measure
- 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. Various evaluation kernels are available., supported parameters are:
- ssd
- 2D imaga cost: sum of squared differences, supported parameters are:
- ssd-automask
- 2D image cost: sum of squared differences, with automasking based on given thresholds, supported parameters are:
PLUGINS: 2dimage/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 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:
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/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: 2dimage/transform¶
- affine
- Affine transformation (six degrees of freedom)., supported parameters are:
- rigid
- Rigid transformations (i.e. rotation and translation, three degrees of freedom)., supported parameters are:
- rotation
- Rotation transformations (i.e. rotation about a given center, one degree of freedom)., 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 only (two 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: 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: 2dtransform/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-2dmultiimageregistration -o reg.vf -l 2
-f spline:rate=3,penalty=divcurl
image:cost=ssd,src=test.v,ref=ref.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 |