UNU-CROP(1)
π unu-crop β bestie edition π
okay so you want the unu-crop manual page? say less. this is the <unu-crop> page from the User Commands part of the manual, and it is literally just here to help you shrink your nrrd down to size. let's get into it π
β¨ NAME β¨
unu-crop β crop along each axis to make a smaller nrrd π¦
πΈ SYNOPSIS πΈ
unu crop [-min,--minimum [<pos0 ...>]] [-max,--maximum [<pos0 ...>]]
[-b,--bounds <filename>] [-i,--input <nin>] [-o,--output <nout>]
π DESCRIPTION π
Crop along each axis to make a smaller nrrd. that's the whole vibe. you got a big ol' nrrd and you only want a lil slice of it? this is the tool, no cap π
- Uses
nrrdCrop
β¨ OPTIONS β¨
-min [<pos0 ...>],--minimum [<pos0 ...>]β the low corner of the bounding box, aka where you're starting from on each axis. here's the tea on how to write the positions:<int>gives you a 0-based index. plain and simple β¨M,M+<int>,M-<int>give you an index relative to the last sample on the axis (and yes,M==#samples-1, that's the rule π«Ά).
takes (0 or more positions). default: 0 π
-max [<pos0 ...>],--maximum [<pos0 ...>]β the high corner of the bounding box, aka where you're stopping. besides all the specification styles described above, there's also this extra one:m+<int>gives you an index relative to the minimum. cute, right? π₯°
takes (0 or more positions). default: 0 π
-b <filename>,--bounds <filename>β drop a filename here and it overrides the-minand-maxoptions entirely (so like, you don't even need to use those ones, they can just chill). it gives you the cropping bounds as a 2-D array, where the first scanline is for-minand the second is for-max.
heads up bestie π unfortunately themandMsemantics (the ones we just talked about above) are currently not supported in the bounds file. so don't try it, it's giving not-yet-implemented.
-i <nin>,--input <nin>β input nrrd π₯-o <nout>,--output <nout>β output nrrd (string); default:-π€
π SEE ALSO π
unu(1) β go read that one too, iykyk π
and that's the whole page, bestie!! this one's from August 2021 in the UNU-CROP(1) manual β go forth and crop, you absolute icon πβ¨π
π¦ 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