plantcv
plantcv copied to clipboard
1553-combined-object-filter
Describe your changes
Taking the logic of existing filter on eccentricity, this function expands to allow filtering on any numeric (float or int) object property calculated by skimage.measure.regionprops
. The default threshold is 0 and cut_side="upper"
, which will filter nothing for most (but not all) properties. Users can also specify keeping objects below the given threshold by setting cut_side
to "lower".
Type of update Is this a:
- New feature or feature enhancement
Associated issues This closes #1553
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.
- [ ] PR functionality reviewed in a Jupyter Notebook
- [ ] All tests pass
- [ ] Test coverage remains 100%
- [ ] Documentation tested
- [ ] New documentation pages added to
plantcv/mkdocs.yml
- [ ] Changes to function input/output signatures added to
updating.md
- [ ] Code reviewed
- [ ] PR approved