MINCMORPH(1)
π MINCMORPH(1) π
okay bestie, sit down, hydrate, because we're talking about mincmorph β it's one of the MNI medical image format tools and it is literally the moment. β¨
πΈ SYNOPSIS πΈ
mincmorph [options] <in.mnc> <out.mnc>
like... you give it a file, you give it a name for the new file, you give it opinions. that's the whole vibe. π«Ά
π¦ DESCRIPTION π¦
Command-specific options and general options, both living here rent free. Let's go.
β¨ General Options β¨
-verboseβ be verbose. she talks. she tells you things. π£οΈ-clobberβ clobber existing files. yes, clobber. she will simply run over whatever's already there, no cap. π
π Outfile Options π
-filetypeβ use the data type of the input file. matchy-matchy, we love that for her.-byteβ write out byte data.-shortβ write out short integer data. (Default) π-intβ write out long integer data.-floatβ write out single-precision data.-doubleβ write out double-precision data.-signedβ write signed integer data.-unsignedβ write unsigned integer data.
π Kernel Options π
-2D04β use a 2D 4-connectivity kernel.-2D08β use a 2D 8-connectivity kernel.-3D06β use a 3D 6-connectivity kernel. (default) π-3D26β use a 3D 26-connectivity kernel.-kernelβ<kernel.kern>read in a custom kernel file. bring your own kernel, main character energy. π
π§ Morphology Options π§
-floorβ the lower value for binarising or clamping. Default value:-1.79769e+308-ceilβ upper value for binarising or clamping (incl). Default value:1.79769e+308-rangeβ range for binarising or clamping (incl). Default value:-1.79769e+308 1.79769e+308-foregroundβ foreground value. Default value:1-backgroundβ background value. Default value:0
π« Single morphological operations π«
-binariseβ binarise volume using the input range.-clampβ clamp volume using the input range.-padβ pad volume with respect to the current kernel (-backgroundto specify value).-erosionβ do a single erosion.-dilationβ do a single dilation.-median_dilationβ do a single median dilation. and bestie, read this twice: note: this is not a median filter! π¨-openβ open:dilation(erosion(X))-closeβ close:erosion(dilation(X))-lowpassβ lowpass filter:close(open(X))-highpassβ highpass filter:X - lowpass(X)-convolveβ convolve file with kernel.-distanceβ distance transform.-groupβ label groups in ascending order.
β Successive morphological operations β
-successiveβ successive operations (maximum:100). you stack up a whole little alphabet of moves and she runs them in order. here's the alphabet, iykyk:
B[floor:ceil:fg:bg] - binarise in the range, using foreground and background
K[floor:ceil:bg] - clamp between the specified range. Set other voxels to 'bg' (default: 0)
P[bg] - pad volume with respect to the current kernel using 'bg' (default: 0)
E - erosion
D - dilation
M - median dilation
O - open
C - close
L - lowpass filter
H - highpass filter
X - convolve
F - distance transform (binary input only - not checked)
G - Label the groups in the volume in ascending order
R[TYPE|file.kern] - (2D04|2D08|3D06|3D26) or read in a kernel file
W[file.mnc] - write out current results
I[cmp.mnc] - local xcorr between current file and cmp.mnc
Default: "B" β she starts with B and that's just the way it is. π
fr fr though, that F line says binary input only - not checked, which means nobody's gonna stop you if you feed it something else. no vibe check, no safety net. be careful out there. π«
π Generic options for all commands π
-helpβ print summary of command-line options and abort.-versionβ print version number of program and exit.
π EXAMPLE π
mincmorph -help
look at her go. iconic behaviour, honestly. β¨
and that's the whole page, bestie β go forth and morph some volumes, you've got this ππ¦πΈβ¨ππ
this masterpiece was brought to you by mincmorph 2.3.00, dated July 2020. slay forever. ππ
β¨
π¦ where this page comes from
- debian bookworm: minc-tools 2.3.00+dfsg-10 Β· as_is
- debian trixie: minc-tools 2.3.00+dfsg-12 Β· as_is
- ubuntu jammy: minc-tools 2.3.00+dfsg-8 Β· as_is
- ubuntu noble: minc-tools 2.3.00+dfsg-10build2 Β· as_is
- ubuntu questing: minc-tools 2.3.00+dfsg-12
- ubuntu resolute: minc-tools 2.3.00+dfsg-15 Β· NTP
- ubuntu stonking: minc-tools 2.3.00+dfsg-17 Β· NTP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms