UNU-CONVERT(1)
π UNU-CONVERT(1) π
okay bestie, gather round, because unu-convert is literally the glow-up station for your nrrd files. it's a user command, it lives in section 1 of the manual, and it is about to change your data's whole type. no cap.
β¨ NAME β¨
unu-convert β convert to another type (as if by cast, w/ optional clamp)
πΈ SYNOPSIS πΈ
unu convert -t,--type <type> [-i,--input <nin>] [-clamp] [-o,--output
<nout>]
π¦ DESCRIPTION π¦
so here's the vibe: unu convert converts to another type, as if by cast, w/ optional clamp. π
and the tea is β by default this does not transform, scale, or intelligently quantize values. it just copies them from one type to another. that replicates exactly what you'd get in C when you assign from a variable of one type to another, or when you cast to a different type. like, it's giving raw cast energy, no fancy glow-up, no remix. π₯
but β and this is the main character moment β clamping values to the representable range of the output type is possible with -clamp. π
see also unu-quantize(1), unu-2op(1) x, and unu-3op(1) clamp if you want the other tools in this friend group.
- Uses
nrrdConvertornrrdClampConvert
π OPTIONS π
-t <type>,--type <type>β the type you're converting to. this is the whole point, bestie, it's required, don't skip it. β¨-i <nin>,--input <nin>β the input nrrd. your raw material. π-clampβ clamp input values to the representable range of values of the output type, to avoid wrap-around problems. okay so this one matters: without it you can get wrap-around weirdness, and with it you get safely squished-into-range values. it's giving seatbelt. π«Ά-o <nout>,--output <nout>β output nrrd (string); default:"-". yeah default is"-", which is the classic "just send it somewhere sensible" move. π
π SEE ALSO π
unu(1), unu-2op(1), unu-3op(1), unu-quantize(1)
and that's the whole page, babe π this little icon was living in the User Commands section, source/version vibes from May 2021, and yeah, it's literally titled UNU-CONVERT(1). periodt. π§π
π¦ 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