Use of makePoint(x,y) with shift modifier in a macro ?
Posted by lechristophe on Jul 24, 2008; 1:15pm
URL: http://imagej.273.s1.nabble.com/Use-of-makePoint-x-y-with-shift-modifier-in-a-macro-tp3695525.html
Dear all,
The latest ImageJ 1.41h added the makePoint(x,y) macro function to add
a point selection (note : this is reported as addPoint(x,y) in the
changelog but it is an error, I think). I would like to add a point to
an ensemble of points trough a macro, but the shift key modifier does
not seem to work with makePoint. If you try this :
newImage("test", "8-bit Black", 128, 128, 1);
makePoint(10,10);
setKeyDown("shift");
makePoint(100,100);
You only get a one-point ROI, not a two point-ROI. Would it be
possible to get the possibility to add a point to an already existing
multi-point ROI trough a macro ?
Thanks a lot,
Christophe Leterrier