Closed gselzer closed 2 years ago
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/how-do-i-calculate-the-convex-hull-of-a-labelregion-with-imglib2/57291/4
This is not actually an issue with Ops; it is instead an issue with my understanding of that LabelRegion
. See the forum.image.sc
issue linked above for more details.
Commit https://github.com/imagej/imagej-ops/commit/58281380d4f63937957a55192f715c4680f085e7 shows how a
Polygon2D
created from aLabelRegion
reports different sizes from different Ops. Since theLabelRegion
is computed as a rectangle, these two Ops should return the same value.As noted on forum.image.sc, at least one of these answers differs from the return of
LabelRegion.size()
.