|
bool | found::LabelPresent (int label, int *adjacentLabels, int size) |
| Checks if a label is present in the list of adjacent labels.
|
|
void | found::UpdateComponent (Component &component, uint64_t index, Vec2 &pixel) |
| Updates the component with the given pixel.
|
|
int | found::NWayEquivalenceAdd (const Image &image, uint64_t index, int &L, int adjacentLabels[4], int size, std::unordered_map< int, Component > &components, std::unordered_map< int, int > &equivalencies) |
| Adds a pixel to some component, creating a new component if necessary.
|
|
Components | found::ConnectedComponentsAlgorithm (const Image &image, std::function< bool(uint64_t, const Image &)> Criteria) |
| Computes the groups of components within the image.
|
|