Login  Register

Re: macro slice labeling

Posted by Michael Schmid on Apr 20, 2007; 3:07pm
URL: http://imagej.273.s1.nabble.com/macro-slice-labeling-tp3699706p3699710.html

Hi Tony,

from the ImageJ macro documentation at
   http://rsb.info.nih.gov/ij/developer/macro/functions.html#setMetadata

setMetadata(string)
Assigns the metadata contained in the specified string to the the  
current image or stack slice. With stacks, the first 15 characters,  
or up to the first newline, are used as the slice label. (...) See  
also: getMetadata.


Michael
________________________________________________________________

On 20 Apr 2007, at 15:42, Tony Collins wrote:

> Is there a macro function to label stack slices along the lines of the
> "stack.setSliceLabel(label, slice)" plugin function?
>
> Tony