Label points on Imager

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

Label points on Imager

Emilio Miguelanez Martin
Hello,


I was wondering if anyone could help me with a minor issue.
I want to draw points stored in a text file on a image. This is not a
problem, as I have done it using Roi roi = new PolygonRoi(x, y, height,
null, Roi.FREEROI);

The problem is that I want to label numerically these points on the image.
Any ideas?!?

Cheers,

Emilio
Reply | Threaded
Open this post in threaded view
|

Re: Label points on Imager

Fabrice Senger
You could try to add your roi's to roi-manager and then choose "more"  
and then "label".
That should work.

Cheers,

Fabrice.

Quoting Emilio Miguelanez <[hidden email]>:

> Hello,
>
>
> I was wondering if anyone could help me with a minor issue.
> I want to draw points stored in a text file on a image. This is not a
> problem, as I have done it using Roi roi = new PolygonRoi(x, y, height,
> null, Roi.FREEROI);
>
> The problem is that I want to label numerically these points on the image.
> Any ideas?!?
>
> Cheers,
>
> Emilio
>
Reply | Threaded
Open this post in threaded view
|

Re: Label points on Imager

Emilio Miguelanez Martin
In reply to this post by Emilio Miguelanez Martin
Thanks Fabrice for your input, but the ROI manager will allow me only to
label the selected ROI, and what I want is to label every single point (40
points in total) in the selected ROI, which is defined in the plugin code as

Roi roi = new PolygonRoi(x, y, height, null, Roi.FREEROI);

x,y are the coordinates
x = new float[40];
y = new float[40];


Cheers,
Emilio