UNU-CCADJ(1)
π unu-ccadj π
okay bestie, listen up β this is unu-ccadj, a lil member of the User Commands squad, and she is so good at what she does. no cap.
β¨ NAME β¨
unu-ccadj β form adjacency matrix of connected components π«Ά
πΈ SYNOPSIS πΈ
unu ccadj -c,--connect <connectivity> [-i,--input <nin>] [-o,--output
<nout>]
π¦ DESCRIPTION π¦
So the whole vibe here is: we're forming an adjacency matrix of connected components. And no, she doesn't work on just anything β this operates on the output of unu-ccfind(1), so make sure you've run that first or it's giving confused energy. π
The output? An unsigned char array with a 1 sitting at locations (I,J) and (J,I) whenever the CCs with ids I and J are adjacent β and which CCs count as adjacent depends on the style of adjacency you picked. you get to choose, main character behaviour honestly π
- Uses
nrrdCCAdjacency
π OPTIONS π
-c <connectivity>,--connect <connectivity>β picks what kind of connectivity we're using, aka the number of coordinates that vary in order to traverse the neighborhood of a given sample. In 2D:"1"means 4-connected,"2"means 8-connected. Type isunsigned int. β-o <nout>,--output <nout>β the output nrrd (string). default:"-"π
π SEE ALSO π
unu(1), unu-ccfind(1), unu-ccmerge(1), unu-ccsettle(1)
and that's the whole page, bestie!! this one came straight out of the User Commands collection, dated August 2021, filed under UNU-CCADJ(1) β go forth and connect those components, ily, mwah πβ¨
π¦ 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