Re: Some questions about the ROI manager
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
URL: http://imagej.273.s1.nabble.com/Some-questions-about-the-ROI-manager-tp5015946p5015950.html
On Mar 18, 2016, at 11:23 PM, Stein Rørvik <
[hidden email]> wrote:
>
> In the ROI Manager there are some useful options like setting the font size and apply label name under the menu choice "More -> Labels...".
> But I cannot find out how to set or change these options via a macro; the macro recorder does not record anything here.
Run the "Labels…” command from the Image>Overlay menu and it will be recorded. Here is example that was created using the recorder:
run("Blobs (25K)");
makeOval(44, 27, 89, 98);
roiManager("Add");
makeOval(128, 119, 99, 98);
roiManager("Add");
run("Labels...", "color=red font=24 show draw");
roiManager("Show All with labels");
> Also, is there some way I can show the ROI Manager (from the menus and from a macro) if no ROIs have yet been added to it?
> It automatically appears when the first ROI is added, but how to get to it before that?
You can show the ROI Manager by pressing “t” (Edit>Selection>Add to Manager). This works when no images are open or the current image does not have an ROI. In a macro, use run("Add to Manager”).
-wayne
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html