TEND-EVQ(1)
π TEND-EVQ(1) β like, the manual page bestie
okay so this is the page for tend-evq, one of the tend user commands, and honestly? it's a little baddie. let's get into it π
β¨ NAME β¨
tend-evq β quantize directions of diffusion
πΈ SYNOPSIS πΈ
tend evq [-c <evec index>] -a <aniso> [-ns] [-i <nin>] [-o <nout>]
π¦ DESCRIPTION π¦
So. We're quantizing directions of diffusion. Why, you ask? Because VTK literally does not do multi-dimensional colormaps, bestie. Not a thing it does. So to get the classic XYZ<->RGB coloring we all know and love, we have to quantize the directions of diffusion β usually just the principal eigenvector β and then color them. π
Here's the tea though: eigenvector directions are poorly defined in regions of low anisotropy. Like, they're just vibing in the wrong direction, no cap. So the length of the vector (pre-quantization, okay, before we touch it) gets modulated by anisotropy. Which means you have to pick some anisotropy metric. That's the whole reason -a exists. periodt.
π OPTIONS π
-c <evec index>β which eigenvector are we quantizing, bestie? Here's the rundown:"0"gets you the direction of fastest diffusion β that's the eigenvector associated with the largest eigenvalue"1"or"2"gets you the other two eigenvectors β associated with the middle and smallest eigenvalue respectively- it's an
int, and the default is"0"(main character eigenvector, obviously)
-a <aniso>β which anisotropy metric do we scale the eigenvector with? π§ important detail: all the Westin metrics come in two versions. Currently supported, and this list is the whole list:"cl1","cl2": Westin's linear"cp1","cp2": Westin's planar"ca1","ca2": Westin's linear + planar"cs1","cs2": Westin's spherical"ct1","ct2": GK's anisotropy type (cp/ca)"ra": Basser/Pierpaoli relative anisotropy/sqrt(2)"fa": Basser/Pierpaoli fractional anisotropy"vf": volume fraction = 1-(Basser/Pierpaoli volume ratio)"tr": trace
-nsβ don't attenuate the color by anisotropy π«π. By default, i.e. when you're not passing this flag, regions with low or no anisotropy come out as very dark colors or straight-up black. So if your image is giving "void" and you didn't want that... this is the flag.-i <nin>β the input diffusion tensor volume. default:"-"-o <nout>β the output image (floating point) (string), default:"-"β¨
π«Ά SEE ALSO π«Ά
little reminder bestie: this is all straight from the source, so don't come for me if your anisotropy metric choice makes your volume look like a moody indie film π
and that's the whole page, fr fr. this lil slice of the user commands manual is dated April 2021, so go forth and quantize those directions. slay π
π¦ 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