-
Notifications
You must be signed in to change notification settings - Fork 13
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
Erode dilate contour master #218
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.
I've tested this on one of the files that Anolytics currently has to work on (a few other files as well) and it works just as expected. Hoping to get this in ASAP so I can get annotators to start using this.
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.
A few numpy-related performance suggestions.
Co-authored-by: willgraf <7930703+willgraf@users.noreply.github.com>
Co-authored-by: willgraf <7930703+willgraf@users.noreply.github.com>
Co-authored-by: willgraf <7930703+willgraf@users.noreply.github.com>
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.
Reviewed and user tested on some edge cases, very excited to have annotators start using these actions! 🎉
What
This PR is a hotfix for three additional actions in DeepCell Label: erode, dilate, and active contour. The names of these actions on the frontend are shrink, expand, and autofit, respectively. The keybinds are q (for erode), Q (for dilate), and m (for autofit), then a Space to confirm the action. They are only available in whole-label mode and require a single label to be selected.
A test instance of this PR is available here: new-actions-test.q2qqtvkafv.us-east-2.elasticbeanstalk.com
Why
These actions will allow for cleaner, faster adjustment of labels without a brush.
This PR does not include tests for the new actions, but the tests are written in branch erode-dilate-active-contour (see commit dfde2d2), as these tests use the new DummyLoader features from the file-loader branch. You can see on the linked commit that the tests are passing for these actions. We're aiming to merge in these actions without the rest of the file-loader branch so that we can start using them with Anolytics without any hiccups the file loaders might cause. I'll add these tests to the file-loader branch as soon as this is merged in.