UNU-DICE(1)
β¨ UNU-DICE(1) β¨
okay so bestie, this is a page from the User Commands manual, and it's about unu-dice π
πΈ NAME πΈ
unu-dice β save all slices along one axis into separate files
π SYNOPSIS π
unu dice -a,--axis <axis> [-i,--input <nin>] [-s,--start <start>]
[-ff,--format <form>] [-l,--limit <max#>] [-o,--output <above below>]
π« DESCRIPTION π«
So what this does is: it saves all the slices along one axis into separate files. That's the whole vibe. π¦
It calls unu-slice(1) for each position along the axis you picked, and it saves out a different file for each sample along that axis. One slice, one file, no cap. π
- Uses repeated calls to
nrrdSliceandnrrdSave
π OPTIONS π
-a <axis>,--axis <axis>β the axis you wanna slice along (unsigned int). Pick wisely, queen, this is the main character of the whole command. β¨-i <nin>,--input <nin>β the input nrrd π«Ά-s <start>,--start <start>β the integer value you start numbering with (unsigned int); default:"0"π-ff <form>,--format <form>β aprintf(3)-style format used to generate all the filenames. Use this when you wanna override how many characters get used to represent the slice position, or the file format of the output β for example-ff %03d.ppmgets you000.ppm,001.ppm, etc. π₯ By default (i.e. if you don't use this option), slices get saved in NRRD format (or PNM or PNG where possible) with the shortest possible filenames. (string)-l <max#>,--limit <max#>β a sanity check on how many slice files should get saved out, so you don't accidentally dice the wrong axis or the wrong array π (we've all been there). You can raise this value if you need to. (unsigned int); default:"9999"-o <prefix>,--output <prefix>β the output filename prefix (this excludes the info you set via-ff), basically so you can set the path of the output files β so be sure to end it with/. (string) π
π¦ SEE ALSO π¦
and that's the whole page, bestie β written up under User Commands and dated August 2021, mwah π no notes, iconic behavior fr fr π
π¦ 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