mia-2dfluid(1)
π§ mia-2dfluid β the manual, but make it make sense
okay bestie, you found the General Commands Manual page for mia-2dfluid, and I'm about to make it actually fun to read. it's giving "non-rigid registration, but make it fluid dynamics" β¨
π NAME
mia-2dfluid β Fluid dynamic 2D registration π
π SYNOPSIS
mia-2dfluid -i <in-image> -r <ref-image> [options]
π¦ DESCRIPTION
okay so mia-2dfluid is the program you run when you want non-rigid registration based on fluid dynamics. no cap. if you want the receipts, the reference is right here:
Wollny, G. and Kruggel, F., 'Computational cost of non-rigid registration algorithms based on fluid dynamics', IEEE Transactions on Medical Imaging, 11(8), pp. 946-952, 2002.
and the tea on the matching criterion: it uses SSD as the sole registration criterion. that's it, that's the whole criterion. iconic, honestly. π«Ά
β¨ OPTIONS β¨
π File-IO
-i,--in-image=(input, required); ioβ the input (test) image that's getting registered, i.e. the glow-up candidate π For supported file types see PLUGINS:2dimage/io-r,--ref-image=(input, required); ioβ the reference image, the standard we're matching to π For supported file types see PLUGINS:2dimage/io-o,--out-transformation=(output); ioβ the output transformation comprising the registration β¨ For supported file types see PLUGINS:2dvf/io-d,--out-image=(output); ioβ the output image, deformed according to the transformation πΈ For supported file types see PLUGINS:2dimage/io
π¬ Help & Info
-V,--verbose=warningβ verbosity of output; it prints messages of the given level and higher priorities. the supported priorities, starting at the lowest level, are:traceβ Function call tracedebugβ Debug outputinfoβ Low level messagesmessageβ Normal messageswarningβ Warningsfailβ Report test failureserrorβ Report errorsfatalβ 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
βοΈ 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). π₯
π§ Registration parameters
-m,--mgstart=16β multigrid start size-e,--epsilon=0.001β optimization breaking condition--mu=1β elasticity parameter--lambda=1β elasticity parameter--elasticβ use elastic registration
π 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.
- 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: 2dvf/io
datapool
Virtual IO to and from the internal data pool
- Recognized file extensions:
.@
exr
a 2dvf io plugin for OpenEXR vfs
- Recognized file extensions:
.EXR,.exr - Supported element types: unsigned 32 bit, floating point 32 bit
vista
a 2d vector field io plugin for vista
- Recognized file extensions:
.V,.VF,.v,.vf - Supported element types: floating point 32 bit
π EXAMPLE
Register image test.v to image ref.v and write the deformation vector field regfield.v. Start registration at the smallest size above 16 pixel.
mia-2dfluid -i test.v -r ref.v -o regfield.v -s 16
π«Ά 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.
bestie. ABSOLUTELY NO WARRANTY, fr fr. read it and weep (then read the GPLv3).
and that's the whole thing, mwah π this page is from the USER COMMANDS crew, version v2.4.7, dated with mia-2dfluid(1) energy β slay, go register something πβ¨
π¦ where this page comes from
- debian bookworm: mia-tools 2.4.7-11+b1 Β· GPL-3.0-or-later
- ubuntu noble: mia-tools 2.4.7-13build4 Β· GPL-3.0-or-later
- ubuntu resolute: mia-tools 2.4.7-18 Β· GPL-3.0-or-later
- ubuntu stonking: mia-tools 2.4.7-19build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms