ROI Editing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ROI Editing

J. Daniel Fenn
I feel like this should be obvious, but I must be blind.  How do I edit
an ROI once it is created?

For example.  If I make a selection mask, and add it as an ROI after
doing an image threshold.  There are parts of the selection I would like
to manually edit out.  I can't figure out how to do that, and I clearly
can't come up with a good search phrase to find an answer.

Can someone give me a push in the right direction?

I kind of want to circle an area of the selection and "subtract" it away
from the original selection.  Kind of like one would do in photoshop
selections.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ROI Editing

Jan Eglinger
Hi Daniel,

On 25.07.2014, 5:00 PM, J. Daniel Fenn wrote:
 > I feel like this should be obvious, but I must be blind.  How do I
 > edit an ROI once it is created?

you have three options to edit the selection:

  - Use the *Selection Brush Tool* [1] that you activate via the
right-click menu on the Oval selection tool. You can add to your
selection with *Shift*, and subtract from it by pressing *Alt*.

  - When editing the mask (i.e. the binary, black-and-white image), you
can use the Brush Tool [2] with black or white color and then create the
selection using 'Edit > Selection > Create Selection'.

  - Store your selection in the ROI manager (by pressing 't')[3]. Then
create a new selection with what you want to subtract, store it, select
both ROIs in the manager and use 'More >> XOR' in the ROI manager
window. (This however only works if the part you want to subtract is
entirely within your original selection. I just listed this option for
completeness.)

Hope this helps,
Jan


[1]:
http://imagej.nih.gov/ij/docs/guide/146-19.html#sub:Brush-Selection-Tool
[2]:
http://imagej.nih.gov/ij/docs/guide/146-19.html#sub:Brush
[3]:
http://imagej.nih.gov/ij/docs/guide/146-30.html#sub:ROI-Manager...


On 25.07.2014, 5:00 PM, J. Daniel Fenn wrote:

> I feel like this should be obvious, but I must be blind.  How do I edit
> an ROI once it is created?
>
> For example.  If I make a selection mask, and add it as an ROI after
> doing an image threshold.  There are parts of the selection I would like
> to manually edit out.  I can't figure out how to do that, and I clearly
> can't come up with a good search phrase to find an answer.
>
> Can someone give me a push in the right direction?
>
> I kind of want to circle an area of the selection and "subtract" it away
> from the original selection.  Kind of like one would do in photoshop
> selections.
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ROI Editing

Michael Schmid
Hi Daniel,

Two more ways to modify ROIs:

(1) Using the area roi tools (rectangle, oval, polygon, freehand), press ALT to subtract from the existing ROI, SHIFT to add to the existing ROI.
This is the same as in Photoshop.

This is handy e.g. for removing everything above a certain line from the ROI, just ALT-drag a rectangle over the region that you want to deselect.

(2) For advanced operations Edit>Selection>Create Mask, edit the mask (image calculator, image processing operations, painting, ...), then Edit>Selection>Create Selection.
Now select the original image and press shift-E (Edit>Selection>Restore Selection) to transfer the ROI. Or use the ROI Manager to transfer the ROI.

Michael
________________________________________________________________
On Jul 25, 2014, at 17:45, Jan Eglinger wrote:

> Hi Daniel,
>
> On 25.07.2014, 5:00 PM, J. Daniel Fenn wrote:
> > I feel like this should be obvious, but I must be blind.  How do I
> > edit an ROI once it is created?
>
> you have three options to edit the selection:
>
> - Use the *Selection Brush Tool* [1] that you activate via the right-click menu on the Oval selection tool. You can add to your selection with *Shift*, and subtract from it by pressing *Alt*.
>
> - When editing the mask (i.e. the binary, black-and-white image), you can use the Brush Tool [2] with black or white color and then create the selection using 'Edit > Selection > Create Selection'.
>
> - Store your selection in the ROI manager (by pressing 't')[3]. Then create a new selection with what you want to subtract, store it, select both ROIs in the manager and use 'More >> XOR' in the ROI manager window. (This however only works if the part you want to subtract is entirely within your original selection. I just listed this option for completeness.)
>
> Hope this helps,
> Jan
>
>
> [1]:
> http://imagej.nih.gov/ij/docs/guide/146-19.html#sub:Brush-Selection-Tool
> [2]:
> http://imagej.nih.gov/ij/docs/guide/146-19.html#sub:Brush
> [3]:
> http://imagej.nih.gov/ij/docs/guide/146-30.html#sub:ROI-Manager...
>
>
> On 25.07.2014, 5:00 PM, J. Daniel Fenn wrote:
>> I feel like this should be obvious, but I must be blind.  How do I edit
>> an ROI once it is created?
>>
>> For example.  If I make a selection mask, and add it as an ROI after
>> doing an image threshold.  There are parts of the selection I would like
>> to manually edit out.  I can't figure out how to do that, and I clearly
>> can't come up with a good search phrase to find an answer.
>>
>> Can someone give me a push in the right direction?
>>
>> I kind of want to circle an area of the selection and "subtract" it away
>> from the original selection.  Kind of like one would do in photoshop
>> selections.
>>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ROI Editing

J. Daniel Fenn
In reply to this post by Jan Eglinger
Perfect.  That is EXACTLY what I needed.  Thanks so much!



On 07/25/2014 11:45 AM, Jan Eglinger wrote:

> Hi Daniel,
>
> On 25.07.2014, 5:00 PM, J. Daniel Fenn wrote:
> > I feel like this should be obvious, but I must be blind.  How do I
> > edit an ROI once it is created?
>
> you have three options to edit the selection:
>
>  - Use the *Selection Brush Tool* [1] that you activate via the
> right-click menu on the Oval selection tool. You can add to your
> selection with *Shift*, and subtract from it by pressing *Alt*.
>
>  - When editing the mask (i.e. the binary, black-and-white image), you
> can use the Brush Tool [2] with black or white color and then create
> the selection using 'Edit > Selection > Create Selection'.
>
>  - Store your selection in the ROI manager (by pressing 't')[3]. Then
> create a new selection with what you want to subtract, store it,
> select both ROIs in the manager and use 'More >> XOR' in the ROI
> manager window. (This however only works if the part you want to
> subtract is entirely within your original selection. I just listed
> this option for completeness.)
>
> Hope this helps,
> Jan
>
>
> [1]:
> http://imagej.nih.gov/ij/docs/guide/146-19.html#sub:Brush-Selection-Tool
> [2]:
> http://imagej.nih.gov/ij/docs/guide/146-19.html#sub:Brush
> [3]:
> http://imagej.nih.gov/ij/docs/guide/146-30.html#sub:ROI-Manager...
>
>
> On 25.07.2014, 5:00 PM, J. Daniel Fenn wrote:
>> I feel like this should be obvious, but I must be blind.  How do I edit
>> an ROI once it is created?
>>
>> For example.  If I make a selection mask, and add it as an ROI after
>> doing an image threshold.  There are parts of the selection I would like
>> to manually edit out.  I can't figure out how to do that, and I clearly
>> can't come up with a good search phrase to find an answer.
>>
>> Can someone give me a push in the right direction?
>>
>> I kind of want to circle an area of the selection and "subtract" it away
>> from the original selection.  Kind of like one would do in photoshop
>> selections.
>>
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html