Closed jdeschamps closed 2 years ago
Following a PR (https://github.com/imglib/imglib2-algorithm/pull/91), I moved two helper methods out of imglib2-algorithm to imglib2-roi as they pertain to labelings.
The first method (getOccurringPixelSets) simply returns a Set of the occuring pixel values. The second method checks if there are intersecting labels in the ImgLabeling. I also added unit tests.
Following a PR (https://github.com/imglib/imglib2-algorithm/pull/91), I moved two helper methods out of imglib2-algorithm to imglib2-roi as they pertain to labelings.
The first method (getOccurringPixelSets) simply returns a Set of the occuring pixel values. The second method checks if there are intersecting labels in the ImgLabeling. I also added unit tests.