-
Notifications
You must be signed in to change notification settings - Fork 0
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
30 napari draw mask #32
Conversation
napari points mask function.
added tests and napari_points_mask. Also fixed viewer.close() in napari open test.
realized that cv.circle drew pretty rough circles, so I changed it so that only squares are allowed as a shape option (thus removing the option) from all the functions
Added napari points mask docs
Here's the code health analysis summary for commits Analysis Summary
Code Coverage Report
|
missed a whitespace, deepsource is complaining about a protected class, I don't think there is a way around that since we're not going to change the napari code base.
fixing deepsource issue and adding class to get around protected class issue.
fixed docstring
reverting back to the other method of calling viewer
Tried to resolve the protected class issue by creating a subclass as Noah suggested, but the protect class deepsource issue just moved to the class, so we changed it back to the original method for simplicity, it doesn't seem like we can get around this without directly changing Napari. |
missing viewer.close() on test
…er/plantcv-annotate into 30-napari-draw-mask
remove shape param
remove shape param
remove shape param from label_classes
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.
Removed the shape
parameter in napari_label_classess
from other files.
Describe your changes
Altered the napari label points function so that only squares are accepted as a shape. This is because other shapes (circles are not drawn well with CV2) and the point of the function added in this pull request is to generate a mask of points so that data can be extracted from masks (for naive bayes for example)
Type of update
Is this a:
Associated issues
#30
Additional context
Add any other context about the problem here.
For the reviewer
See this page for instructions on how to review the pull request.
plantcv/mkdocs.yml
updating.md