Login  Register

Stack Label bug in macro

Posted by Glen MacDonald-2 on Jun 15, 2016; 6:10pm
URL: http://imagej.273.s1.nabble.com/Stack-Label-bug-in-macro-tp5016655.html

Hello,
Instructing the Image>Stacks>Label… command to print frame number on a stack, starting with ‘1’, records as this:
  run("Label...","format=0 starting 1 interval=1 x=5 y=24 font=24 text=[ Frames] range=1-1000 use”);
The Label… preview displays correctly the first slice labeled as ‘1’.

However, running this line in a macro prints ‘0’ on the first frame.  
I can work around it, but is an inconsistency.

Regards,
Glen MacDonald
Digital Microscopy Center
Box 357923
University of Washington
Seattle, WA 98195-7923  USA
(206) 616-4156
[hidden email]

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