UNU-TILE(1)
π unu-tile β the girlies are TILING today π
ok so real talk, this is unu-tile from the User Commands manual, and bestie, she is so much easier than she looks. let's get into it π«Ά
β¨ NAME β¨
unu-tile β tile slices of one axis into two other axes π
β¨ SYNOPSIS β¨
unu tile -a,--axis <axSplit ax0 ax1> -s,--size <fast slow> [-i,--input
<nin>] [-o,--output <nout>]
β¨ DESCRIPTION β¨
okay so here's the vibe: tile slices of one axis into two other axes. that's it, that's the whole thing π
now let me explain what "tiling an array" even means, because the way this works is lowkey kinda iconic. Tiling means you split ONE axis into a fast part and a slow part, and then you interleave those parts into other (already existing!) axes by doing two axis merges. Each merge combines an existing axis with part of the split axis. the result? you reduce the dimension by one. slay. β¨
important detail bestie, don't skip this: all three axis arguments identify axes in the input array, as is. no funny business. π§
and here's the example that makes it click β it gives you a super simple way of viewing the 128 slices along the slow axis of a 3-D volume as a 16x8 tiled array of 2-D slices, like this:
-a 2 0 1 -s 16 8
ate. π₯
- Uses
nrrdTile2D
β¨ OPTIONS β¨
-a<axSplit ax0 ax1> ,--axis<axSplit ax0 ax1> βaxSplitgets divided and merged withax0andax1. that's 3 unsigned ints, bestie, count 'em. π-s<fast slow> ,--size<fast slow> β the fast and slow axis sizes to produce as the result of splitting theaxSplitaxis. (2size_ts) π«-i<nin> ,--input<nin> β input nrrd π₯-o<nout> ,--output<nout> β output nrrd (string); default:"-"π€
not me reminding you that-iand-oare in square brackets in the synopsis, aka they're optional, while-aand-sare the whole entire point. the default output is"-", which means stdout, iykyk. π
β¨ SEE ALSO β¨
and that's the tea π this page came from August 2021, and it's UNU-TILE(1) from the User Commands manual β go forth and tile, my little main character ππ
π¦ 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