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

Interactive Region of Interest Tool(s) #815

Closed
HaleySchuhl opened this issue Aug 13, 2021 · 0 comments
Closed

Interactive Region of Interest Tool(s) #815

HaleySchuhl opened this issue Aug 13, 2021 · 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.
It is either time intensive or imprecise to use the pcv.roi.custom function currently since you need to provide a list of vertices, and the length of this list can be long depending on the complexity of the ROI getting created.

Describe the solution you'd like
We wish to utilize interactive point and click capabilities within Jupyter to streamline this process. Matplotlib pyplot has event handling that we can use to allow users to spit out the list of vertices that would be needed to run pcv.roi.custom. This is useful for those that are analyzing data within Jupyter at a lower throughput (going image by image as is often the case with hyperspectral image workflows) but will also hopefully make the process of customizing parameters in workflows that are going to be ran in parallel.

Describe alternatives you've considered
I've tried to think about ways that it would be possible to have the point collection be built into the custom ROI function. It would be possible to know when points have been finished being appended since we could close a plot or use another event for signifying when to move on to the ROI portion of the function. This would not be particularly helpful for using in parallel though.

Additional context
Add any other context, sample data, or code relevant to the feature request here.

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
None yet
Development

No branches or pull requests

1 participant