roiManager Questions

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

roiManager Questions

Ofra Golani
Hi,

We have 2 roiManager questions:

1)      We want to create a mask from several selected rois . How do we do this ?

2)      We have Rois in several different colors in the roiManager, and we want to select only rois of a certain color.

How can we get the color of a selected roi in a macro.

We are looking for something like getStrokeColor


Thanks,
Ofra & Anat


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

Re: roiManager Questions

Stoyan Pavlov
Hi,
I can answer your first question.. It is rather easy: Once you select the
ROIs you need, in the RoIManager select More>OR(Combine) and a new
selection of the selected ROIs will be created. Then you only have to run
Edit>Selection>Convert to Mask
 and the software will create a new mask window from the selection.
I don't know the answer to the second question but there is surely someone
who does.
Stoyan Pavlov

---
Dr. Stoyan P. Pavlov, MD, PhD
Departament of Anatomy, Histology and Embryology
Medical University "Prof. Dr. Paraskev Stoyanov", Varna
Prof. Marin Drinov Str.55
9002 Varna
 Bulgaria
Tel: +359 (0) 52 - 677 - 052
e-mail: [hidden email]

Zentrum für Anatomie
Uniklinik Köln
[hidden email]
Tel: +49221/478-5730





2013/10/30 Ofra Golani <[hidden email]>

> Hi,
>
> We have 2 roiManager questions:
>
> 1)      We want to create a mask from several selected rois . How do we do
> this ?
>
> 2)      We have Rois in several different colors in the roiManager, and we
> want to select only rois of a certain color.
>
> How can we get the color of a selected roi in a macro.
>
> We are looking for something like getStrokeColor
>
>
> Thanks,
> Ofra & Anat
>
>
> --
> 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: roiManager Questions

Jerome Mutterer-3
In reply to this post by Ofra Golani
Here's the answer to the second question:

*getInfo("selection.color")*
Returns the color of the current selection. Requires 1.47a.
Sincerely,

Jerome.



On 30 October 2013 15:05, Ofra Golani <[hidden email]> wrote:

> Hi,
>
> We have 2 roiManager questions:
>
> 1)      We want to create a mask from several selected rois . How do we do
> this ?
>
> 2)      We have Rois in several different colors in the roiManager, and we
> want to select only rois of a certain color.
>
> How can we get the color of a selected roi in a macro.
>
> We are looking for something like getStrokeColor
>
>
> Thanks,
> Ofra & Anat
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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