UNU-MRMAP(1)

πŸ“¦ version 1.11.0, in fedora 43, fedora 44

πŸ’– 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 πŸ’…

  • -m mmap , --map mmap β€” 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 ✨
  • -min value , --minimum value β€” 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)
  • -max value , --maximum value β€” 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)
  • -blind8 bool β€” whether to know the range of 8-bit data blindly (uchar is always [0,255], signed char is [-128,127]). explicitly setting this is useful only with rescaling (-r). (bool); default: "true"
  • -t type , --type type β€” 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" πŸ’
  • -i nin , --input nin β€” input nrrd πŸ“₯
  • -o nout , --output nout β€” output nrrd (string); default: "-" πŸ“€
side note bestie: if you're setting -min, -max, or -blind8 without -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