UNU-MRMAP(1)
π UNU-MRMAP π
okay bestie, welcome to unu-mrmap (that's the unu mrmap command, section 1 of the manual, for the record β¨). it maps an nrrd through a whole entire nrrd of regular univariate maps, and honestly? it eats. let's get into it π«Ά
β¨ NAME β¨
unu-mrmap β map nrrd through whole nrrd of regular univariate maps π
πΈ SYNOPSIS πΈ
unu mrmap -m,--map <mmap ...> [-r,--rescale] [-min,--minimum <value>]
[-max,--maximum <value>] [-blind8 <bool>] [-t,--type <type>] [-i,--input
<nin>] [-o,--output <nout>]
π¦ DESCRIPTION π¦
so what this does is map an nrrd through a whole nrrd of regular univariate maps β one map per sample in the input, no cap. the mmap nrrd has the same dimensional constraints as the mlut nrrd does over in unu-mlut(1) (go look, i'll wait π). and this whole thing is basically a glow-up of the lerp in unu-3op(1): it lets you lerp through multiple nrrds instead of just two. main character energy fr fr π
- Uses
nrrdApplyMulti1DRegMap
π OPTIONS π
-mmmap ,--mapmmap β one nrrd of regular maps to map the input nrrd through, or, a list of nrrds that contain the individual entries of the map at each voxel, which get joined together. (1 or more nrrds, so bring friends π)-r,--rescaleβ rescale the input values from the input range over to the map domain. and the map domain is either explicitly defined by the axis min,max along axis 0 or 1, or, it's implicitly defined as zero to the length of that axis minus one. lowkey elegant β¨-minvalue ,--minimumvalue β low end of the input range. defaults to the lowest value found in the input nrrd. explicitly setting this is useful only with rescaling (-r). (double)-maxvalue ,--maximumvalue β high end of the input range. defaults to the highest value found in the input nrrd. explicitly setting this is useful only with rescaling (-r). (double)-blind8bool β whether to know the range of 8-bit data blindly (ucharis always[0,255], signed char is[-128,127]). explicitly setting this is useful only with rescaling (-r). (bool); default:"true"-ttype ,--typetype β specify the type ("int","float", etc.) of the output nrrd. by default (aka when you don't use this option), the output type is the map's type. it's giving "i am what i am" π-inin ,--inputnin β input nrrd π₯-onout ,--outputnout β output nrrd (string); default:"-"π€
side note bestie: if you're setting-min,-max, or-blind8without-r, you're kinda wasting your time β the manual is very clear that those are only useful with rescaling. not me warning you twice π
π SEE ALSO π
unu(1), unu-rmap(1), unu-mlut(1), unu-3op(1)
go read those too, they're all iconic in their own way π§
and that's the whole page, bestie!! this one's from August 2021 and it lives in the User Commands corner of the manual under the name UNU-MRMAP(1). thanks for reading, ily, go map something gorgeous πππ¦β¨
π¦ where this page comes from
- fedora 43: teem 1.11.0-83.fc43 Β· LGPL-2.1-or-later WITH LicenseRef-Fedora-Temporary-Simple-Library-exception
- fedora 43: teem 1.11.0-86.fc43 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- fedora 44: teem 1.11.0-87.fc44 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms