UNU-PROJECT(1)

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

πŸ’– UNU-PROJECT(1) πŸ’–

okay so bestie, welcome to unu-project β€” it lives in the User Commands section of the manual and it's literally the girl who squishes your scanlines down into scalars along some axis. no cap.


✨ NAME ✨

unu-project β€” collapse scanlines to scalars along some axis 🫢


🌸 SYNOPSIS 🌸

unu project -a,--axis <axis> -m,--measure <measr> [-t,--type <type>]
[-i,--input <nin>] [-o,--output <nout>]

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: you take scanlines and you collapse them to scalars along some axis. the whole vibe is that a scanline gets reduced down to a single scalar by "measuring" all the values in that scanline with some measure. that's it, that's the whole job πŸ’…

the output nrrd has dimension one less than the input β€” except when the input is itself 1-D, in which case, yeah, it stays. and the output type? it depends on the measure in a non-trivial way 😭 or you can just set it explicitly with the -t option and stop worrying about it.

  • Uses nrrdProject

πŸŽ€ OPTIONS πŸŽ€

  • -a <axis>, --axis <axis> β€” the axis to project along (unsigned int). that's the one you're squishing down, bestie.
  • -m <measr>, --measure <measr> β€” how to "measure" a scanline, i.e. summarize all its values with a single scalar. the possibilities include:
    • "min", "max", "mean", "median", "mode", "variance", "skew": (self-explanatory) ✨
    • "intc", "slope", "error": intercept, slope, and error from line fitting πŸ”₯
    • "stdv": standard deviation
    • "cov": coefficient of variation
    • "product", "sum": product or sum of all values
    • "L1", "L2", "NL2", "RMS", "Linf": different norms πŸ‘‘
    • "histo-min", "histo-max", "histo-mean", "histo-median", "histo-mode", "histo-product", "histo-l2", "histo-sum", "histo-variance", "histo-sd": same measures, but for situations where we're given not the original values, but a histogram of them 🌈
  • -t <type>, --type <type> β€” the type to use for output. by default (aka not using this option at all), the output type is determined auto-magically 🧚 no further notes, it just does its little thing.
  • -i <nin>, --input <nin> β€” input nrrd
  • -o <nout>, --output <nout> β€” output nrrd (string); default: "-"

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, fr fr. go forth and project, main character 🌟

August 2021 energy, from the User Commands manual, page UNU-PROJECT(1) β€” mwah, ilysm, go read unu(1) next πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from