Your company here — click to reach over 10,000 unique daily visitors

unu-ccfind - Man Page

find connected components (CCs)


unu ccfind [-v,--values <filename>] [-t,--type <type>] -c,--connect <connectivity> [-i,--input <nin>] [-o,--output <nout>]


Find connected components (CCs). This works on 1-byte and 2-byte integral values, as well as 4-byte ints.


-v <filename> , --values <filename>

Giving a filename here allows you to save out the values associated with each connect component. This can be used later with unu-ccmerge(1) -d. By default, no record of the original CC values is kept. (string)

-t <type> , --type <type>

type to use for output, to store the CC ID values. By default (not using this option), the type used will be the smallest of uchar, ushort, or int, that can represent all the CC ID values. Using this option allows one to specify the integral type to be used.

-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”: 4-connected, “2”: 8-connected (unsigned int)

-o <nout> , --output <nout>

output nrrd (string); default: “-

See Also

unu(1), unu-ccadj(1), unu-ccmerge(1), unu-ccsettle(1)

Referenced By

unu(1), unu-ccadj(1), unu-ccmerge(1), unu-ccsettle(1).

August 2021