UNU-PROJECT(1)
π 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
- 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