UNU-CCFIND(1)
π UNU-CCFIND(1) β bestie's guide to finding connected components π
okay so this is unu ccfind, a User Commands page from the unu fam, and it is literally the girlboss of finding connected components. CCs? connected components? yeah. we're finding them. no cap. πβ¨
β¨ NAME β¨
unu-ccfind β find connected components (CCs) π¦
πΈ SYNOPSIS πΈ
unu ccfind [-v,--values <filename>] [-t,--type <type>] -c,--connect
<connectivity> [-i,--input <nin>] [-o,--output <nout>]
like, that's the whole vibe right there. one required-ish thing (-c), the rest is optional slay. π
π DESCRIPTION π
Find connected components (CCs). that's the mission. that's the whole point. π
this works on 1-byte and 2-byte integral values, and also on 4-byte ints. so like, it's flexible. it's giving range. π
- Uses
nrrdCCFind
π«Ά lowkey important: that bullet is the entire implementation note, so don't come for me if you wanted more, bestie, that's literally all it says.
π¦ OPTIONS π¦
-v <filename>,--values <filename>β hand over a filename here and it saves out the values associated with each connected component. then later you can use it withunu-ccmerge(1) -d. by default tho? no record of the original CC values is kept. so if you don't ask, you don't get. π (it's a string, fyi)-t <type>,--type <type>β the type to use for the output, where the CC ID values get stored. if you don't use this option, the default is the smallest ofuchar,ushort, orintthat can represent all the CC ID values. so the default is doing the math for you and picking the tiniest icon that fits. using this option lets you specify the integral type yourself. main character energy, your choice. π-c <connectivity>,--connect <connectivity>β what kind of connectivity to use: 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. it's an unsigned int, so like, numbers only please. π-o <nout>,--output <nout>β output nrrd (string); default:"-"πΈ
ngl, -i,--input <nin> shows up in the synopsis and thenβ¦ doesn't get its own bullet down here. that's just how the page is, bestie. i'm not gonna make up facts about it. π€·ββοΈ
π₯ SEE ALSO π₯
like, go read the whole friend group. they're all connected. pun intended. π§
and that's the page, periodt. π this lil masterpiece is from August 2021, and yeah, it lives under the UNU-CCFIND(1) name in section 1. 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