UNU-CCADJ(1)

πŸ“¦ version 1.11.0, in fedora 43, fedora 44

πŸ’– 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 is unsigned 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