danforthcenter / plantcv

Plant phenotyping with image analysis
Mozilla Public License 2.0
665 stars 265 forks source link

Flexible combined object filter #1553

Closed k034b363 closed 4 months ago

k034b363 commented 5 months ago

Is your feature request related to a problem? Please describe. After some discussion, it seems to make more sense to combine object filter functions (currently size, eccentricity, and solidity) into one flexible function that can take any suitable object feature as a target for filtering.

Describe the solution you'd like A new function based on the logic of the existing filters but that is just set up to take as input the name of a feature to filter on.

Describe alternatives you've considered A separate function for size since it has very different default parameter logic.