mia-2dmyomilles(1)

๐Ÿ“ฆ
version 2.4.7 ยท 4 versions
, in ubuntu resolute, ubuntu stonking

โœจ mia-2dmyomilles(1) โœจ โ€” General Commands Manual ๐ŸŽ€

okay bestie, welcome to the mia-2dmyomilles manual. yes, that's a whole word. iykyk. this is the general commands manual page for it, and it is long, so buckle up ๐Ÿฆ‹


๐Ÿ’– NAME

mia-2dmyomilles โ€” run a registration of a series of 2D images ๐ŸŒธ


๐Ÿฆ‹ SYNOPSIS

mia-2dmyomilles -i <in-file> -o <out-file> [options]

like... that's the whole vibe. in-file, out-file, sprinkle options on top ๐Ÿ’…


๐ŸŒˆ DESCRIPTION

mia-2dmyomilles โ€” this program is used to run a modified version of the ICA-based registration approach described in:

Milles et al. 'Fully Automated Motion Correction in First-Pass Myocardial Perfusion MR Image Sequences', Trans. Med. Imaging., 27(11), 1611-1621, 2008.

and the changes, bestie, are:

  • extraction of the quasi-periodic movement in free-breathingly acquired data sets ๐Ÿซโœจ
  • the option to run affine or rigid registration instead of only optimizing translations

so yeah, it ate and left no crumbs ๐Ÿ”ฅ


๐Ÿ’… OPTIONS

๐ŸŽ€ File-IO

  • -i, --in-file=(input, required); string โ€” the input perfusion data set. required, so no skipping ๐Ÿ™ˆ
  • -o, --out-file=(output, required); string โ€” the output perfusion data set. also required ๐Ÿ’–
  • -r, --registered= โ€” file name base for registered files
  • --save-references= โ€” save synthetic reference images to this file base
  • --save-cropped= โ€” save the cropped image set to this file
  • --save-feature= โ€” save the features images resulting from the ICA, plus some intermediate images used for the RV-LV segmentation, as PNG files, using the given file name base. It also saves the coefficients of the initial best IC mixing matrix and the final IC mixing matrix. literally saving the receipts ๐Ÿ“ธ

๐Ÿ“ Help & Info

  • -V, --verbose=warning โ€” verbosity of output; prints messages of the given level and higher priorities. The supported priorities, starting at the lowest level, are:
    • trace โ€” function call trace
    • debug โ€” debug output
    • info โ€” low level messages
    • message โ€” normal messages
    • warning โ€” warnings
    • fail โ€” report test failures
    • error โ€” report errors
    • fatal โ€” report only fatal errors
  • --copyright โ€” print copyright information ๐Ÿ“œ
  • -h, --help โ€” print this help
  • -?, --usage โ€” print a short help
  • --version โ€” print the version number and exit

โœจ ICA

  • --fastica=internal โ€” which FastICA implementation to use. For supported plugins see PLUGINS:fastica/implementation
  • -C, --components=0 โ€” ICA components. 0 = automatic estimation ๐Ÿ”ฎ
  • --normalize โ€” normalized ICs
  • --no-meanstrip โ€” don't strip the mean from the mixing curves
  • -g, --guess โ€” use initial guess for myocardial perfusion
  • -s, --segscale=1.4 โ€” segment and scale the crop box around the LV (0 = no segmentation)
  • -k, --skip=0 โ€” skip images at the beginning of the series, since they're of other modalities ๐Ÿ‘‹
  • -m, --max-ica-iter=400 โ€” maximum number of iterations in ICA
  • -E, --segmethod=features โ€” segmentation method. the options are:
    • delta-feature โ€” difference of the feature images
    • delta-peak โ€” difference of the peak enhancement images
    • features โ€” feature images

๐Ÿ”ฅ Processing

  • --threads=-1 โ€” maximum number of threads to use for processing. This number should be lower than or equal to the number of logical processor cores in the machine. -1 means automatic estimation. be nice to your CPU bestie ๐Ÿ’€

๐Ÿ‘‘ Registration

  • -c, --cost=ssd โ€” registration criterion
  • -O, --optimizer=gsl:opt=simplex,step=1.0 โ€” optimizer used for minimization. For supported plugins see PLUGINS:minimizer/singlecost
  • -f, --transForm=rigid โ€” transformation type. For supported plugins see PLUGINS:2dimage/transform
  • -l, --mg-levels=3 โ€” multi-resolution levels
  • -R, --reference=-1 โ€” the global reference all images should be aligned to. If set to a non-negative value, the images will be aligned to this reference, and the cropped output image data will be injected into the original images. Leave it at -1 if you don't care โ€” in that case all images will be registered to a mean position of the movement.
  • -P, --passes=2 โ€” registration passes

๐Ÿงš PLUGINS: 1d/splinebc

mirror

Spline interpolation boundary conditions that mirror on the boundary ๐Ÿชž

(no parameters)

repeat

Spline interpolation boundary conditions that repeat the value at the boundary ๐Ÿ”

(no parameters)

zero

Spline interpolation boundary conditions that assume zero for values outside โญ•

(no parameters)


๐ŸŒธ PLUGINS: 1d/splinekernel

bspline

B-spline kernel creation. supported parameters are:

  • d = 3; int in [0, 5] โ€” spline degree.

omoms

OMoms-spline kernel creation. supported parameters are:

  • d = 3; int in [3, 3] โ€” spline degree.

๐Ÿฆ‹ PLUGINS: 2dimage/transform

affine

Affine transformation (six degrees of freedom). supported parameters are:

  • imgboundary = mirror; factory โ€” image interpolation boundary conditions. For supported plug-ins see PLUGINS:1d/splinebc
  • imgkernel = [bspline:d=3]; factory โ€” image interpolator kernel. For supported plug-ins see PLUGINS:1d/splinekernel

rigid

Rigid transformations (i.e. rotation and translation, three degrees of freedom). supported parameters are:

  • imgboundary = mirror; factory โ€” image interpolation boundary conditions. For supported plug-ins see PLUGINS:1d/splinebc
  • imgkernel = [bspline:d=3]; factory โ€” image interpolator kernel. For supported plug-ins see PLUGINS:1d/splinekernel
  • rot-center = [[0,0]]; 2dfvector โ€” relative rotation center, i.e. <0.5,0.5> corresponds to the center of the support rectangle.

rotation

Rotation transformations (i.e. rotation about a given center, one degree of freedom). supported parameters are:

  • imgboundary = mirror; factory โ€” image interpolation boundary conditions. For supported plug-ins see PLUGINS:1d/splinebc
  • imgkernel = [bspline:d=3]; factory โ€” image interpolator kernel. For supported plug-ins see PLUGINS:1d/splinekernel
  • rot-center = [[0,0]]; 2dfvector โ€” relative rotation center, i.e. <0.5,0.5> corresponds to the center of the support rectangle.

spline

A free-form transformation that can be described by a set of B-spline coefficients and an underlying B-spline kernel. supported parameters are:

  • anisorate = [[0,0]]; 2dfvector โ€” anisotropic coefficient rate in pixels; nonpositive values will be overwritten by the rate value.
  • imgboundary = mirror; factory โ€” image interpolation boundary conditions. For supported plug-ins see PLUGINS:1d/splinebc
  • imgkernel = [bspline:d=3]; factory โ€” image interpolator kernel. For supported plug-ins see PLUGINS:1d/splinekernel
  • kernel = [bspline:d=3]; factory โ€” transformation spline kernel. For supported plug-ins see PLUGINS:1d/splinekernel
  • penalty = ; factory โ€” transformation penalty term. For supported plug-ins see PLUGINS:2dtransform/splinepenalty
  • rate = 10; float in [1, inf) โ€” isotropic coefficient rate in pixels.

translate

Translation only (two degrees of freedom). supported parameters are:

  • imgboundary = mirror; factory โ€” image interpolation boundary conditions. For supported plug-ins see PLUGINS:1d/splinebc
  • imgkernel = [bspline:d=3]; factory โ€” image interpolator kernel. For supported plug-ins see PLUGINS:1d/splinekernel

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:

  • imgboundary = mirror; factory โ€” image interpolation boundary conditions. For supported plug-ins see PLUGINS:1d/splinebc
  • imgkernel = [bspline:d=3]; factory โ€” image interpolator kernel. For supported plug-ins see PLUGINS:1d/splinekernel

๐ŸŽ€ PLUGINS: 2dtransform/splinepenalty

divcurl

divcurl penalty on the transformation. supported parameters are:

  • curl = 1; float in [0, inf) โ€” penalty weight on curl.
  • div = 1; float in [0, inf) โ€” penalty weight on divergence.
  • norm = 0; bool โ€” set to 1 if the penalty should be normalized with respect to the image size.
  • weight = 1; float in (0, inf) โ€” weight of penalty energy.

๐Ÿ’œ PLUGINS: fastica/implementation

internal

This is the MIA implementation of the FastICA algorithm ๐Ÿง โœจ

(no parameters)

itpp

This is the IT++ implementation of the FastICA algorithm.

(no parameters)

gdas โ€” gradient descent with automatic step size correction ๐Ÿƒโ€โ™€๏ธ

The supported parameters are:

  • ftolr = 0; double in [0, inf) โ€” stop if the relative change of the criterion is below. (yes the original sentence just ends there, period and all, we respect it ๐Ÿ’–)
  • max-step = 2; double in (0, inf) โ€” the maximal absolute step size, like the biggest leap it's allowed to take.
  • maxiter = 200; uint in [1, inf) โ€” stopping criterion: the maximum number of iterations.
  • min-step = 0.1; double in (0, inf) โ€” the minimal absolute step size, so no baby steps below this.
  • xtola = 0.01; double in [0, inf) โ€” stop if the inf-norm of the change applied to x is below this value.

gdsq โ€” gradient descent with quadratic step estimation ๐Ÿฆ‹

The supported parameters are:

  • ftolr = 0; double in [0, inf) โ€” stop if the relative change of the criterion is below.
  • gtola = 0; double in [0, inf) โ€” stop if the inf-norm of the gradient is below this value.
  • maxiter = 100; uint in [1, inf) โ€” stopping criterion: the maximum number of iterations.
  • scale = 2; double in (1, inf) โ€” fallback fixed step size scaling.
  • step = 0.1; double in (0, inf) โ€” initial step size.
  • xtola = 0; double in [0, inf) โ€” stop if the inf-norm of x-update is below this value.

gsl โ€” the GNU Scientific Library optimizer plug (GSL) ๐Ÿ‘‘

An optimizer plugin based on the multimin optimizers of the GNU Scientific Library (GSL) https://www.gnu.org/software/gsl/. The supported parameters are:

  • eps = 0.01; double in (0, inf) โ€” for gradient based optimizers: stop when |grad| < eps; for simplex: stop when simplex size < eps.
  • iter = 100; uint in [1, inf) โ€” maximum number of iterations.
  • opt = gd; dict โ€” the specific optimizer to be used. Supported values are:
    • simplex โ€” Simplex algorithm of Nelder and Mead
    • cg-fr โ€” Flecher-Reeves conjugate gradient algorithm
    • cg-pr โ€” Polak-Ribiere conjugate gradient algorithm
    • bfgs โ€” Broyden-Fletcher-Goldfarb-Shann
    • bfgs2 โ€” Broyden-Fletcher-Goldfarb-Shann (most efficient version)
    • gd โ€” Gradient descent.
  • step = 0.001; double in (0, inf) โ€” initial step size.
  • tol = 0.1; double in (0, inf) โ€” some tolerance parameter.

nlopt โ€” minimizer algorithms using the NLOPT library ๐Ÿ”ฅ

Bestie, for a description of the optimizers please see http://ab-initio.mit.edu/wiki/index.php/NLopt_Algorithms. The supported parameters are:

  • ftola = 0; double in [0, inf) โ€” stopping criterion: the absolute change of the objective value is below this value.
  • ftolr = 0; double in [0, inf) โ€” stopping criterion: the relative change of the objective value is below this value.
  • higher = inf; double โ€” higher boundary (equal for all parameters).
  • local-opt = none; dict โ€” local minimization algorithm that may be required for the main minimization algorithm. Supported values are:
    • gn-direct โ€” Dividing Rectangles
    • gn-direct-l โ€” Dividing Rectangles (locally biased)
    • gn-direct-l-rand โ€” Dividing Rectangles (locally biased, randomized)
    • gn-direct-noscal โ€” Dividing Rectangles (unscaled)
    • gn-direct-l-noscal โ€” Dividing Rectangles (unscaled, locally biased)
    • gn-direct-l-rand-noscale โ€” Dividing Rectangles (unscaled, locally biased, randomized)
    • gn-orig-direct โ€” Dividing Rectangles (original implementation)
    • gn-orig-direct-l โ€” Dividing Rectangles (original implementation, locally biased)
    • ld-lbfgs-nocedal โ€” None
    • ld-lbfgs โ€” Low-storage BFGS
    • ln-praxis โ€” Gradient-free Local Optimization via the Principal-Axis Method
    • ld-var1 โ€” Shifted Limited-Memory Variable-Metric, Rank 1
    • ld-var2 โ€” Shifted Limited-Memory Variable-Metric, Rank 2
    • ld-tnewton โ€” Truncated Newton
    • ld-tnewton-restart โ€” Truncated Newton with steepest-descent restarting
    • ld-tnewton-precond โ€” Preconditioned Truncated Newton
    • ld-tnewton-precond-restart โ€” Preconditioned Truncated Newton with steepest-descent restarting
    • gn-crs2-lm โ€” Controlled Random Search with Local Mutation
    • ld-mma โ€” Method of Moving Asymptotes
    • ln-cobyla โ€” Constrained Optimization BY Linear Approximation
    • ln-newuoa โ€” Derivative-free Unconstrained Optimization by Iteratively Constructed Quadratic Approximation
    • ln-newuoa-bound โ€” Derivative-free Bound-constrained Optimization by Iteratively Constructed Quadratic Approximation
    • ln-neldermead โ€” Nelder-Mead simplex algorithm
    • ln-sbplx โ€” Subplex variant of Nelder-Mead
    • ln-bobyqa โ€” Derivative-free Bound-constrained Optimization
    • gn-isres โ€” Improved Stochastic Ranking Evolution Strategy
    • none โ€” don't specify algorithm
  • lower = -inf; double โ€” lower boundary (equal for all parameters).
  • maxiter = 100; int in [1, inf) โ€” stopping criterion: the maximum number of iterations.
  • opt = ld-lbfgs; dict โ€” the main minimization algorithm. Supported values are:
    • gn-direct โ€” Dividing Rectangles
    • gn-direct-l โ€” Dividing Rectangles (locally biased)
    • gn-direct-l-rand โ€” Dividing Rectangles (locally biased, randomized)
    • gn-direct-noscal โ€” Dividing Rectangles (unscaled)
    • gn-direct-l-noscal โ€” Dividing Rectangles (unscaled, locally biased)
    • gn-direct-l-rand-noscale โ€” Dividing Rectangles (unscaled, locally biased, randomized)
    • gn-orig-direct โ€” Dividing Rectangles (original implementation)
    • gn-orig-direct-l โ€” Dividing Rectangles (original implementation, locally biased)
    • ld-lbfgs-nocedal โ€” None
    • ld-lbfgs โ€” Low-storage BFGS
    • ln-praxis โ€” Gradient-free Local Optimization via the Principal-Axis Method
    • ld-var1 โ€” Shifted Limited-Memory Variable-Metric, Rank 1
    • ld-var2 โ€” Shifted Limited-Memory Variable-Metric, Rank 2
    • ld-tnewton โ€” Truncated Newton
    • ld-tnewton-restart โ€” Truncated Newton with steepest-descent restarting
    • ld-tnewton-precond โ€” Preconditioned Truncated Newton
    • ld-tnewton-precond-restart โ€” Preconditioned Truncated Newton with steepest-descent restarting
    • gn-crs2-lm โ€” Controlled Random Search with Local Mutation
    • ld-mma โ€” Method of Moving Asymptotes
    • ln-cobyla โ€” Constrained Optimization BY Linear Approximation
    • ln-newuoa โ€” Derivative-free Unconstrained Optimization by Iteratively Constructed Quadratic Approximation
    • ln-newuoa-bound โ€” Derivative-free Bound-constrained Optimization by Iteratively Constructed Quadratic Approximation
    • ln-neldermead โ€” Nelder-Mead simplex algorithm
    • ln-sbplx โ€” Subplex variant of Nelder-Mead
    • ln-bobyqa โ€” Derivative-free Bound-constrained Optimization
    • gn-isres โ€” Improved Stochastic Ranking Evolution Strategy
    • auglag โ€” Augmented Lagrangian algorithm
    • auglag-eq โ€” Augmented Lagrangian algorithm with equality constraints only
    • g-mlsl โ€” Multi-Level Single-Linkage (require local optimization and bounds)
    • g-mlsl-lds โ€” Multi-Level Single-Linkage (low-discrepancy-sequence, require local gradient based optimization and bounds)
    • ld-slsqp โ€” Sequential Least-Squares Quadratic Programming
  • step = 0; double in [0, inf) โ€” initial step size for gradient free methods.
  • stop = -inf; double โ€” stopping criterion: function value falls below this value.
  • xtola = 0; double in [0, inf) โ€” stopping criterion: the absolute change of all x-values is below this value.
  • xtolr = 0; double in [0, inf) โ€” stopping criterion: the relative change of all x-values is below this value.

๐ŸŒˆ EXAMPLE ๐ŸŒˆ

Register the perfusion series given in segment.set by using automatic ICA estimation. Skip two images at the beginning and otherwiese use the default parameters. Store the result in registered.set.

mia-2dmyomilles   -i segment.set -o registered.set -k 2

๐Ÿ’œ AUTHOR(s) ๐Ÿ’œ

Gert Wollny


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.

fr fr, that's the whole thing. no warranty, but all the vibes. ๐Ÿ’…

That's a wrap bestie ๐ŸŽ€ this page lived in the USER COMMANDS section of the manual, version v2.4.7, filed under mia-2dmyomilles(1) โ€” go forth and register those series, you absolute icon ๐Ÿ‘‘โœจ

๐Ÿ“ฆ where this page comes from