teem-unu(1)
π NAME π
teem-unu β the Utah Nrrd Utilities command-line interface, bestie π
β¨ DESCRIPTION β¨
okay so teem-unu is a command-line interface to a whole lot of the functionality inside nrrd, which is a C library for raster data processing π«Ά. And nrrd is one library inside the Teem collection of libraries. More tea about Teem lives at <http://teem.sf.net> β¨
ngl, you're strongly encouraged to join the teem-users mailing list:
<http://lists.sourceforge.net/lists/listinfo/teem-users>
That's the primary forum for feedback, questions, and feature requests π¬ β like, the main character group chat of this whole ecosystem, fr fr.
The way that unu really shines is as a pre-processing tool π§ β it gets your data into whatever type, encoding, format, or dimensions are best suited for some visualization or rendering task. Also, slices and projections are lowkey the most effective ways to visually inspect what's actually in a dataset π. Especially useful commands include make, resample, crop, slice, project, histo, dhisto, quantize, and save. Full documentation for each command shows up when you type the command all by itself, e.g. unu make π
unu can process CT and MRI volume datasets, grayscale and color images, time-varying volumes of vector fields (5-D arrays), and more π₯. Currently supported formats are plain text files (2-D float arrays), NRRD, VTK structured points, and PNG and PNM images. And bestie β unu make -bs -1 can read from DICOM files π©». Also unu save can generate EPS files. Supported encodings are raw, ascii, hex, gzip, and bzip2 β
Much of the functionality of unu derives from chaining multiple invocations together with pipes (|), which minimizes the need to save out intermediate files π¦. For example, if data.raw.gz is a gzip'ed 256 x 256 x 80 volume of raw floats written from a PC, then the following will save to zsum.png a histogram equalized summation projection along the slowest axis:
unu make -i data.raw.gz -t float -s 256 256 80 -e gzip -en little
\
| unu project -a 2 -m sum \ | unu heq -b 2000 -s 1 \ | unu
quantize -b 8 -o zsum.png
a lil ask, no pressure π β if unu or nrrd repeatedly proves itself useful for your research, an acknowledgment to that effect in your publication would be greatly appreciated, such as (for LaTeX):
"Dataset processing performed with the {\tt unu} tool (or the {\tt nrrd} library), part of the {\tt Teem} toolkit available at {\tt $<$http://teem.sf.net$>$}"
πΈ Formats available: nrrd pnm png vtk text eps
πΈ Nrrd data encodings available: raw ascii hex gz bz2
π SEE ALSO π
The full documentation for teem-unu is maintained as a Texinfo manual π. If the info and teem-unu programs are properly installed at your site, the command
info teem-unu
should give you access to the complete manual β¨
and that's the whole vibe, bestie π version 1.10.0, dated December 10, 2008 β teem-unu(1), periodt π«Άπβ¨
π¦ where this page comes from
- debian bookworm: teem-apps 1.12.0~20160122-5 Β· Simple_Library_Usage_License
- debian trixie: teem-apps 1.12.0~20160122-6 Β· Simple_Library_Usage_License
- ubuntu jammy: teem-apps 1.12.0~20160122-4 Β· Simple_Library_Usage_License
- ubuntu noble: teem-apps 1.12.0~20160122-5build2 Β· Simple_Library_Usage_License
- ubuntu questing: teem-apps 1.12.0~20160122-6
- ubuntu resolute: teem-apps 1.12.0~20160122-8 Β· Simple_Library_Usage_License
- ubuntu stonking: teem-apps 1.12.0~20160122-9 Β· Simple_Library_Usage_License
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms