Skip to content
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

Prune by location (rather than by size) #1624

Open
HaleySchuhl opened this issue Nov 4, 2024 · 0 comments
Open

Prune by location (rather than by size) #1624

HaleySchuhl opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels
new feature New feature ideas and solutions
Milestone

Comments

@HaleySchuhl
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The pcv.morphology.prune function currently works by checking the length of each secondary segment (primary segments are not currently eligible for pruning since they are responsible for keeping the skeleton as a fully connected line graph).

Describe the solution you'd like
Filter on y-axis (or x-axis) and remove segments completely below OR partially below a user-defined threshold.

Additional context
Helpful for tillering plants. Helps to drop non-biologically relevant segments from consideration.

The lower portion of a plant will often display leaf occlusion/overlap artifacts, while the top part of the plant continues to be unhindered from trait extraction. Consider only recently emerged leaves at the top of the image.

@HaleySchuhl HaleySchuhl added the new feature New feature ideas and solutions label Nov 4, 2024
@HaleySchuhl HaleySchuhl added this to the PlantCV v4.6 milestone Nov 4, 2024
@HaleySchuhl HaleySchuhl self-assigned this Nov 4, 2024
@github-project-automation github-project-automation bot moved this to New Issues in PlantCV4 Nov 4, 2024
@HaleySchuhl HaleySchuhl modified the milestones: PlantCV v4.6, PlantCV v5.0 Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature ideas and solutions
Projects
Status: New Issues
Development

No branches or pull requests

1 participant