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

Manage ROIs directly from the Signal/Image Views #91

Open
PierreRaybaut opened this issue Jul 29, 2024 · 1 comment
Open

Manage ROIs directly from the Signal/Image Views #91

PierreRaybaut opened this issue Jul 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@PierreRaybaut
Copy link
Contributor

Currently, ROI are displayed in Signal/Image Views but in read-only mode: one can only modify ROIs using the "ROI editor" (menu entry: "Computing" > "Edit Regions of Interest...").

That is safe (it avoids accidental modification or removal of ROI) but it's not intuitive nor practical.

The idea here is to be able to manage ROI directly from the Signal/Image Views by adding a new button in the View's left vertical toolbar:

  • This button would show a menu with actions related to ROI
  • Actions:
    • Add a rectangular ROI
    • Add a circular ROI
    • Menu separator
    • Remove a ROI (enabled only if there is at least one ROI: it opens a submenu showing the list of ROIs - clicking one of them will remove it from the view)
    • Remove all ROIs

Adding a ROI:

  • This would change the mouse cursor on the view (showing a "+" cursor)
  • When clicking (and holding) mouse button, the user would draw the ROI directly in the View
  • Then, after releasing mouse button, a confirmation dialog would show ROI coordinates: cancelling this dialog would cancel the operation

Moreover, this Issue also aims at allowing the user to modify the ROI directly from the Signal/Image View:

  • ROI objects would no longer be read-only: the user would be able to move/resize them
  • Releasing the mouse button after move/resize would automatically open the ROI confirmation dialog (with ROI coordinates that can be modified): cancelling this dialog would cancel the operation
@PierreRaybaut PierreRaybaut added the enhancement New feature or request label Jul 29, 2024
@PierreRaybaut
Copy link
Contributor Author

Following new features regarding ROI management introduced in V0.17, this issue is postponed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant