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

Update boundary line tools to output a labeled mask #1567

Open
nfahlgren opened this issue Jul 11, 2024 · 0 comments
Open

Update boundary line tools to output a labeled mask #1567

nfahlgren opened this issue Jul 11, 2024 · 0 comments
Labels
new feature New feature ideas and solutions
Milestone

Comments

@nfahlgren
Copy link
Member

Is your feature request related to a problem? Please describe.
The tools pcv.analyze.bound_horizontal and pcv.analyze.bound_vertical output illustrative images for debugging purposes. These are useful, especially when developing a workflow. But another useful output would be a labeled mask where the upper and lower or left and right parts of the object are labeled 1 and 2 respectively. This would allow someone to input the separate parts into other analyze functions to measure size/shape and color of the two parts (e.g. if one split roots and shoots using the line tools).

Describe the solution you'd like
It is a little complicated because to keep the function output structure the same we could just output the labeled mask instead of the illustrative image. But folks like to save the current image for debugging or figures.

@nfahlgren nfahlgren added the new feature New feature ideas and solutions label Jul 11, 2024
@nfahlgren nfahlgren added this to the PlantCV v4.x milestone Jul 11, 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