mia-2dmyoicapgt(1)

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

โœจ NAME โœจ

okay so bestie, meet mia-2dmyoicapgt(1) โ€” it runs a registration of a series of 2D images. No cap, it's literally the moment. ๐Ÿ’–


๐ŸŒธ SYNOPSIS ๐ŸŒธ

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

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So mia-2dmyoicapgt implements a two passs motion compensation algorithm. (Yes, "passs" with three s's, we don't question it.) First a linear registration is run based on a variation of

Gupta et al. "Fully automatic registration and segmentation of first-pass myocardial perfusion MR image sequences", Academic Radiology 17, 1375-1385

as described in

Wollny G, Kellman P, Santos A, Ledesma-Carbayo M-J, "Automatic Motion Compensation of Free Breathing acquired Myocardial Perfusion Data by using Independent Component Analysis", Medical Image Analysis, 2012,

followed by a non-linear registration based on

Chao Li and Ying Sun, "Nonrigid Registration of Myocardial Perfusion MRI Using Pseudo Ground Truth", In Proc. Medical Image Computing and Computer-Assisted Intervention MICCAI 2009, 165-172, 2009.

Note that for this nonlinear motion correction a preceding linear registration step is usually required. This version of the program may run all registrations in parallel. ๐Ÿ’…


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘


โœจ Pseudo Ground Thruth estimation โœจ

  • -A, --alpha=0.1 โ€” spacial neighborhood penalty weight ๐Ÿ’– (the little weight that keeps your neighbors in check, bestie)
  • -B, --beta=4 โ€” temporal second derivative penalty weight โณ (it's giving "second derivative but make it penalty")
  • -T, --rho-thresh=0.85 โ€” correlation threshold for neighborhood analysis ๐Ÿ“Š (the correlation cutoff for when the neighborhood gets analyzed)

๐Ÿ“ File-IO ๐Ÿ“

  • -i, --in-file=(input, required); string โ€” input perfusion data set ๐Ÿ’พ (required, bestie, you gotta feed it something)
  • -o, --out-file=(output, required); string โ€” output perfusion data set ๐Ÿ’พ (required, where the magic lands)
  • -r, --registered= โ€” File name base for the registered images. Image type and numbering scheme are taken from the input images as given in the input data set. ๐Ÿ–ผ๏ธ (the base name for your registered pics, and it steals the type and numbering from the input data set)
  • --save-cropped=(output); string โ€” save cropped set to this file, the image files will use the stem of the name as file name base โœ‚๏ธ (crop it, save it, and the stem becomes the file name base)
  • --save-feature=(output); string โ€” save segmentation feature images and initial ICA mixing matrix ๐Ÿง  (feature images plus the initial ICA mixing matrix, slay)
  • --save-refs=(output); string โ€” for each registration pass save the reference images to files with the given name base ๐Ÿ“Œ (every registration pass gets its reference images saved)
  • --save-regs=(output); string โ€” for each registration pass save intermediate registered images ๐ŸŒ€ (intermediate registered images for each pass)

๐Ÿ†˜ Help & Info ๐Ÿ†˜

  • -V, --verbose=warning โ€” verbosity of output, print messages of given level and higher priorities. Supported priorities starting at 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 โ€” FastICA implementationto be used ๐Ÿงช For supported plugins see PLUGINS:fastica/implementation
  • -C, --components=0 โ€” ICA components 0 = automatic estimation ๐Ÿ”ข (zero means automatic, iykyk)
  • --normalize โ€” normalized ICs โœจ
  • --no-meanstrip โ€” don't strip the mean from the mixing curves ๐Ÿšซ (mean stays, periodt)
  • -s, --segscale=0 โ€” segment and scale the crop box around the LV (0=no segmentation) ๐Ÿซ€ (zero means no segmentation, bestie)
  • -k, --skip=0 โ€” skip images at the beginning of the series e.g. because as they are of other modalities โญ๏ธ (skip the first few, maybe they're other modalities)
  • -m, --max-ica-iter=400 โ€” maximum number of iterations in ICA ๐Ÿ”
  • -E, --segmethod=features โ€” Segmentation method ๐Ÿงฉ
    • delta-feature โ€ difference of the feature images
    • delta-peak โ€ difference of the peak enhancement images
    • features โ€ feature images
  • -b, --min-breathing-frequency=-1 โ€” minimal mean frequency a mixing curve can have to be considered to stem from brething. A healthy rest breating rate is 12 per minute. A negative value disables the test. A value 0.0 forces the series to be identified as acquired with initial breath hold. ๐Ÿซ (breathing vibes only; negative disables, 0.0 forces initial breath hold)

โš™๏ธ 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). ๐Ÿงต (max threads, and -1 means automatic estimation)

๐Ÿ“ Registration ๐Ÿ“

  • -L, --linear-optimizer=gsl:opt=simplex,step=1.0 โ€” Optimizer used for minimization of the linear registration The string value will be used to construct a plug-in. ๐Ÿงฎ For supported plugins see PLUGINS:minimizer/singlecost
  • --linear-transform=affine โ€” linear transform to be used The string value will be used to construct a plug-in. ๐Ÿงต For supported plugins see PLUGINS:2dimage/transform
  • -O, --non-linear-optimizer=gsl:opt=gd,step=0.1 โ€” Optimizer used for minimization in the non-linear registration. The string value will be used to construct a plug-in. ๐Ÿงฎ For supported plugins see PLUGINS:minimizer/singlecost
  • -a, --start-c-rate=16 โ€” start coefficinet rate in spines, gets divided by --c-rate-divider with every pass. ๐Ÿ“‰
  • --c-rate-divider=2 โ€” Cofficient rate divider for each pass. โž—
  • -d, --start-divcurl=10000 โ€” Start divcurl weight, gets divided by --divcurl-divider with every pass. โš–๏ธ
  • --divcurl-divider=2 โ€” Divcurl weight scaling with each new pass. ๐Ÿ“
  • -R, --reference=-1 โ€” Global reference all image should be aligned to. If set to a non-negative value, the images will be aligned to this references, and the cropped output image date will be injected into the original images. Leave at -1 if you don't care. In this case all images with be registered to a mean position of the movement ๐ŸŽฏ (set -1 if you don't care, and everything aligns to a mean position; non-negative means align to this reference and inject the cropped output image date into the originals)
  • -w, --imagecost=image:weight=1,cost=ssd โ€” image cost, do not specify the src and ref parameters, these will be set by the program. The string value will be used to construct a plug-in. ๐Ÿ’ธ For supported plugins see PLUGINS:2dimage/fullcost
  • -l, --mg-levels=3 โ€” multi-resolution levels ๐Ÿชœ
  • -p, --linear-passes=3 โ€” linear registration passes (0 to disable) ๐Ÿ”
  • -P, --nonlinear-passes=3 โ€” non-linear registration passes (0 to disable) ๐Ÿ”„

๐Ÿ”Œ PLUGINS: 1d/splinebc ๐Ÿ”Œ

  • mirror โ€” Spline interpolation boundary conditions that mirror on the boundary ๐Ÿชž
    • (no parameters)
  • repeat โ€” Spline interpolation boundary conditions that repeats the value at the boundary ๐Ÿ”
    • (no parameters)
  • zero โ€” Spline interpolation boundary conditions that assumes zero for values outside 0๏ธโƒฃ
    • (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/cost ๐Ÿ”Œ

  • lncc โ€” local normalized cross correlation with masking support., supported parameters are: ๐Ÿ”
    • w = 5; uint in [1, 256] โ€” half width of the window used for evaluating the localized cross correlation.
  • lsd โ€” Least-Squares Distance measure ๐Ÿ“
    • (no parameters)
  • mi โ€” Spline parzen based mutual information., supported parameters are: ๐Ÿ“Š
    • cut = 0; float in [0, 40] โ€” Percentage of pixels to cut at high and low intensities to remove outliers.
    • mbins = 64; uint in [1, 256] โ€” Number of histogram bins used for the moving image.
    • mkernel = [bspline:d=3]; factory โ€” Spline kernel for moving image parzen hinstogram. For supported plug-ins see PLUGINS:1d/splinekernel
    • rbins = 64; uint in [1, 256] โ€” Number of histogram bins used for the reference image.
    • rkernel = [bspline:d=0]; factory โ€” Spline kernel for reference image parzen hinstogram. For supported plug-ins see PLUGINS:1d/splinekernel
  • ncc โ€” normalized cross correlation. ๐Ÿ”—
    • (no parameters)
  • ngf โ€” This function evaluates the image similarity based on normalized gradient fields. Various evaluation kernels are available., supported parameters are: ๐Ÿง 
    • eval = ds; dict โ€” plugin subtype. Supported values are:
      • sq โ€ square of difference
      • ds โ€ square of scaled difference
      • dot โ€ scalar product kernel
      • cross โ€ cross product kernel
  • ssd โ€” 2D imaga cost: sum of squared differences, supported parameters are: ๐Ÿงฎ
    • autothresh = 0; float in [0, 1000] โ€” Use automatic masking of the moving image by only takeing intensity values into accound that are larger than the given threshold.
    • norm = 0; bool โ€” Set whether the metric should be normalized by the number of image pixels.
  • ssd-automask โ€” 2D image cost: sum of squared differences, with automasking based on given thresholds, supported parameters are: ๐ŸŽญ
    • rthresh = 0; double โ€” Threshold intensity value for reference image.
    • sthresh = 0; double โ€” Threshold intensity value for source image.

โœจ PLUGINS: 2dimage/fullcost โœจ

image ๐Ÿ‘‘

Generalized image similarity cost function that also does multi-resolution processing, bestie โ€” the actual similarity measure gets handed in as an extra parameter. Here's what you can pass:

  • cost = ssd; factory โ€” the cost function kernel. For supported plug-ins see PLUGINS:2dimage/cost ๐Ÿ’–
  • debug = 0; bool โ€” save the intermediate results so you can snoop on them for debugging ๐Ÿ•ต๏ธโ™€๏ธ
  • ref =(input, io) โ€” the reference image. For supported file types see PLUGINS:2dimage/io
  • src =(input, io) โ€” the study image. For supported file types see PLUGINS:2dimage/io
  • weight = 1; float โ€” the weight of the cost function โš–๏ธ

labelimage ๐Ÿท๏ธ

Similarity cost function that maps the labels of two images, and it handles label-preserving multi-resolution processing too. Parameters, go:

  • debug = 0; int in [0, 1] โ€” write the distance transforms out to a 3D image ๐Ÿ‘€
  • maxlabel = 256; int in [2, 32000] โ€” the maximum number of labels to consider
  • ref =(input, io) โ€” the reference image. For supported file types see PLUGINS:2dimage/io
  • src =(input, io) โ€” the study image. For supported file types see PLUGINS:2dimage/io
  • weight = 1; float โ€” the weight of the cost function โš–๏ธ

maskedimage ๐ŸŽญ

Generalized masked image similarity cost function, and yes, it also handles multi-resolution processing. Heads up though: the masks you feed it should be densely filled regions when you're doing multi-resolution processing, because otherwise the mask info can literally get lost when the image gets downscaled ๐Ÿ˜ญ. The reference mask and the transformed mask of the study image get combined with a binary AND. The actual similarity measure comes in as an extra parameter, and here's the menu:

  • cost = ssd; factory โ€” the cost function kernel. For supported plug-ins see PLUGINS:2dimage/maskedcost
  • ref =(input, io) โ€” the reference image. For supported file types see PLUGINS:2dimage/io
  • ref-mask =(input, io) โ€” the reference image mask (binary). For supported file types see PLUGINS:2dimage/io
  • src =(input, io) โ€” the study image. For supported file types see PLUGINS:2dimage/io
  • src-mask =(input, io) โ€” the study image mask (binary). For supported file types see PLUGINS:2dimage/io
  • weight = 1; float โ€” the weight of the cost function โš–๏ธ

๐ŸŒˆ PLUGINS: 2dimage/io ๐ŸŒˆ

bmp ๐Ÿ–ผ๏ธ

BMP 2D-image input/output support, periodt. This plug-in reads and writes binary images and 8-bit gray scale images, and it gives you read-only support for 4-bit gray scale images. The color table gets straight-up ignored and the pixel values are taken as literal gray scale values ๐Ÿ’…

  • Recognized file extensions: .BMP, .bmp
  • Supported element types:
    • binary data, unsigned 8 bit

datapool ๐Ÿ—„๏ธ

Virtual IO to and from the internal data pool โœจ

  • Recognized file extensions: .@

dicom ๐Ÿฅ

2D image io for DICOM

  • Recognized file extensions: .DCM, .dcm
  • Supported element types:
    • signed 16 bit, unsigned 16 bit

exr ๐ŸŽž๏ธ

a 2dimage io plugin for OpenEXR images

  • Recognized file extensions: .EXR, .exr
  • Supported element types:
    • unsigned 32 bit, floating point 32 bit

jpg ๐Ÿ“ธ

a 2dimage io plugin for jpeg gray scale images

  • Recognized file extensions: .JPEG, .JPG, .jpeg, .jpg
  • Supported element types:
    • unsigned 8 bit

png ๐Ÿฆ‹

a 2dimage io plugin for png images

  • Recognized file extensions: .PNG, .png
  • Supported element types:
    • binary data, unsigned 8 bit, unsigned 16 bit

raw ๐Ÿงฑ

RAW 2D-image output support

  • Recognized file extensions: .RAW, .raw
  • Supported element types:
    • binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit

tif ๐Ÿ–จ๏ธ

TIFF 2D-image input/output support

  • Recognized file extensions: .TIF, .TIFF, .tif, .tiff
  • Supported element types:
    • binary data, unsigned 8 bit, unsigned 16 bit, unsigned 32 bit

vista ๐ŸŒ…

a 2dimage io plugin for vista images

  • Recognized file extensions: .-, .V, .VISTA, .v, .vista
  • Supported element types:
    • binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit

๐Ÿ’– PLUGINS: 2dimage/maskedcost ๐Ÿ’–

lncc ๐Ÿ”

local normalized cross correlation with masking support, and it's giving parameters:

  • w = 5; uint in [1, 256] โ€” half width of the window used for evaluating the localized cross correlation

mi ๐Ÿง 

Spline parzen based mutual information with masking. The parameters:

  • cut = 0; float in [0, 40] โ€” percentage of pixels to cut at high and low intensities, so the outliers get yeeted โœ‚๏ธ
  • mbins = 64; uint in [1, 256] โ€” number of histogram bins used for the moving image
  • mkernel = [bspline:d=3]; factory โ€” spline kernel for the moving image parzen hinstogram. For supported plug-ins see PLUGINS:1d/splinekernel
  • rbins = 64; uint in [1, 256] โ€” number of histogram bins used for the reference image
  • rkernel = [bspline:d=0]; factory โ€” spline kernel for the reference image parzen hinstogram. For supported plug-ins see PLUGINS:1d/splinekernel

ncc ๐Ÿ“

normalized cross correlation with masking support.

  • (no parameters) โ€” yeah, literally none, she's simple like that ๐Ÿ™ˆ

ssd โž—

Sum of squared differences with masking.

  • (no parameters) ๐Ÿซถ

๐ŸŽ€ PLUGINS: 2dimage/transform ๐ŸŽ€

affine ๐Ÿ“

Affine transformation (six degrees of freedom), and the 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), with parameters:

  • 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), with parameters:

  • 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 ๐ŸŒŠ

Free-form transformation that can be described by a set of B-spline coefficients and an underlying B-spline kernel. Parameters:

  • 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), and the parameters:

  • 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, and the 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 ๐ŸŒ€

okay bestie so this one is all about the divcurl penalty on the transformation ๐Ÿ’ซ and here are the parameters it supports:

  • curl โ€” curl = 1; float in [0, inf), which is the penalty weight on curl. yes, curl like the vibes, but numbers. ๐ŸŒ€
  • div โ€” div = 1; float in [0, inf), the penalty weight on divergence. twin to the one above, fr fr.
  • norm โ€” norm = 0; bool. set it to 1 if the penalty should be normalized with respect to the image size ๐Ÿ“ (read the note carefully, babes, it's a bool not a float).
  • weight โ€” weight = 1; float in (0, inf), the weight of penalty energy. note the parens: it's a strictly positive range, no zero allowed, iykyk. ๐Ÿ”ฅ

โœจ PLUGINS: fastica/implementation โœจ

the FastICA algorithm said "pick your fighter" and honestly? both slay ๐Ÿ’–. here's the tea:

  • internal โ€” this is the MIA implementation of the FastICA algorithm. homegrown, iconic, no cap. ๐Ÿ‘‘

(no parameters)

  • itpp โ€” this is the IT++ implementation of the FastICA algorithm. guest star energy, still ate. ๐Ÿซถ

(no parameters)

๐Ÿ’… PLUGINS: minimizer/singlecost ๐Ÿ’…

Okay bestie, this is the other minimizer plugin family โ€” the single-cost one. Let's get into it ๐Ÿซถ

๐ŸŒธ gdas ๐ŸŒธ

Gradient descent with automatic step size correction. supported parameters are:

  • ftolr = 0; double in [0, inf) โ€” stop if the relative change of the criterion is below. ๐Ÿ›‘
  • max-step = 2; double in (0, inf) โ€” the maximal absolute step size.
  • 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.
  • 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, 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 ๐ŸŒธ

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

  • eps = 0.01; double in (0, inf) โ€” gradient based optimizers: stop when |grad| < eps, simplex: stop when simplex size < eps. ๐Ÿ“
  • iter = 100; uint in [1, inf) โ€” maximum number of iterations.
  • opt = gd; dict โ€” 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, for a description of the optimizers please see http://ab-initio.mit.edu/wiki/index.php/NLopt_Algorithms, 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 โ€” 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 โœจ

Okay so picture this ๐Ÿ’ญ โ€” you want to register the perfusion series given in segment.set by first using automatic ICA estimation to run the linear registration and then the PGT registration. You skip two images at the beginning and otherwise use the default parameters. And you store the result in registered.set. Iconic, no notes. ๐Ÿ‘‘

mia-2dmyoicapgt   -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 warranty disclaimer is not a vibe, it's a warning โ€” no warranty, periodt. ๐Ÿ’€

That's a wrap on the whole page bestie ๐Ÿฆ‹ this one was from USER COMMANDS, version v2.4.7, living in the mia-2dmyoicapgt(1) section โ€” go register something gorgeous and slay ๐Ÿ’…โœจ๐ŸŒธ

๐Ÿ“ฆ where this page comes from