Missing labels for imported multi-points

I have some difficulty with showing labels for imported points. I am using following macro loading points from a CSV and place them to the image but those points are without a label (number).
When I open Edit - Options - Point Tool... the option Label points is checked. Just unselect and select the Label points option makes these labels suddenly appear.
I think that I did not observe this issue a couple years back (probably using ImageJ1 in that time)

Hi @Borda !

I don’t know if there’s a more elegant way of bringing up the labeling, but you can accomplish that by adding these lines right after the makeSelection call in your code:

run("Point Tool...", " "); // elegant solution needed :)
run("Point Tool...", "label");


1 Like