-
Notifications
You must be signed in to change notification settings - Fork 20
Image quality and segmentation metrics #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jdeschamps for this work! I think some of the basic functionality should actually live in imglib2-roi
where we have already similar methods related to overlapping labels.
src/main/java/net/imglib2/algorithm/metrics/segmentation/SegmentationHelper.java
Outdated
Show resolved
Hide resolved
src/main/java/net/imglib2/algorithm/metrics/segmentation/SegmentationHelper.java
Outdated
Show resolved
Hide resolved
Right now this PR has to wait for the resolution of imglib/imglib2-roi#59 ! edit: imglib/imglib2-roi#59 has been merged |
New commits:
This PR is dependent on imglib2-roi 0.11.1-SNAPSHOT (currently 0.10.4 in the scijava-pom 30.0.0 and 0.11.0 in the scijava-pom 32.0.0-SNAPSHOT) |
@jdeschamps Releasing imglib2-roi 0.12.0 now. Edit: It is released. |
@tpietzsch Any news on this front? :D |
Make the ConfusionMatrix forget about the labels themselves, and only keep the histogram (matrix index, size). Additionally, a Map (label, matrix index) is computed to avoid indexOf calls.
@jdeschamps I rebased on current master (3dcd24c) and added a few easy simplifications. I will add more comments inline, but I think in principle this is fine as it is. Simplifications/optimizations can be made later. The only real problem I see is
Whatever you prefer. |
I am fine with the proposed relicensing! |
Awesome! Thank you Johannes! @dscho |
finally... |
A bunch of classes to compute image quality or segmentation metrics between two RAI. The results have been checked against original implementations (Cell Tracking Challenge, StarDist) or widely used librairies (scikit-image).
Image Quality:
Segmentation: