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

ROI -AND- operation when holding down shift and alt #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aschain
Copy link

@aschain aschain commented Mar 26, 2021

When drawing ROIs, shift will perform an OR operation on previous ROIs, and alt (option) will perform a NOT operation. Here, I have added an AND operation when the user holds shift and alt together. This will only keep the part of the previous ROI that is within the new ROI.

This has been useful to me, for example, when I have an accidentally large wand selection, and I only want to keep a small part of the selection.

@imagejan
Copy link
Member

imagejan commented Sep 8, 2022

@rasband what do you think about this suggestion?

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

Successfully merging this pull request may close these issues.

2 participants