Labelling of objects - font size

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

Labelling of objects - font size

mdhiggins
Hello,

I want to label objects. I use Analyse/Analyse particles and select show: outlines.
I see an image with the outlines labelled, but the numbers are tiny.
I can't find a control to make the labels bigger.

Thanks  Michael

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

Re: Labelling of objects - font size

Michael Schmid
On Mon, May 25, 2015 20:39, Michael Higgins wrote:

> I want to label objects. I use Analyse/Analyse particles and select show:
> outlines.
> I see an image with the outlines labelled, but the numbers are tiny.
> I can't find a control to make the labels bigger.

Hi Michael,

if you write a program or script in Java or Javascript, you can use the
public method setFontSize of the ParticleAnaliyzer.
To get this working, you have to create a new ParticleAnalyzer with its
constructor (specify PartileAnalyzer.SHOW_OUTLINES as options), then call
its setFontSize and analyze methods. Unfortunately, this not as easy as a
simple 'run("Analyze Particles..", options) command.

Michael

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

Re: Labelling of objects - font size

Krs5
In reply to this post by mdhiggins
Dear Michael,

You could use 'Bare Outlines' (alternatively, create an empty image of the same size as your original) and select 'Add to Manager' in Analyse Particles. In the ROI Manager you can use 'Show All' and 'Labels'. Under 'More>> Labels' you can change the way the numbers are displayed. The color of the selection can be changed in the ROI Manager under 'Properties'.

Best wishes

Kees

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Michael Higgins
Sent: 25 May 2015 19:40
To: [hidden email]
Subject: Labelling of objects - font size

Hello,

I want to label objects. I use Analyse/Analyse particles and select show: outlines.
I see an image with the outlines labelled, but the numbers are tiny.
I can't find a control to make the labels bigger.

Thanks  Michael

--
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: Labelling of objects - font size

mdhiggins
In reply to this post by mdhiggins
Thanks for the advice. I now see what I want, but I can't work out how to print it, except by screen capture - which seems like cheating.
Cheers  Michael

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

Re: Labelling of objects - font size

Gabriel Landini
The morphology collection at:
http://www.mecourse.com/landinig/software/software.html
includes a macro: NumberParticles8.txt that numbers regions and you can change
the font size easily in the code.
Cheers

Gabriel

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

Re: Labelling of objects - font size

Rasband, Wayne (NIH/NIMH) [E]
In reply to this post by mdhiggins
> On May 25, 2015, at 2:39 PM, Michael Higgins <[hidden email]> wrote:
>
> Hello,
>
> I want to label objects. I use Analyse/Analyse particles and select show: outlines.
> I see an image with the outlines labelled, but the numbers are tiny.
> I can't find a control to make the labels bigger.

Use the Show: Overlay Outlines option and you will be able to change the font size in the Image>Overlay>Labels dialog. Here is a macro example:

  run("Blobs (25K)");
  setAutoThreshold("Default");
  run("Analyze Particles...", "size=450 show=[Overlay Outlines]");
  resetThreshold();
  run("Labels...", "color=white font=14 show draw");
  run("Set... ", "zoom=200");

-wayne

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