Posted by
Michael Elbaum on
May 30, 2016; 4:56am
URL: http://imagej.273.s1.nabble.com/Name-of-duplicated-slice-from-a-stack-tp5016521p5016548.html
Kudos, Wayne and Gabriel! I've been adding the slice label by hand all along and didn't think to ask for the change.
Michael
________________________________________
From: ImageJ Interest Group [
[hidden email]] on behalf of Rasband, Wayne (NIH/NIMH) [E] [
[hidden email]]
Sent: Monday, May 30, 2016 00:07
To:
[hidden email]
Subject: Re: Name of duplicated slice from a stack
> On May 25, 2016, at 7:46 AM, Gabriel Landini <
[hidden email]> wrote:
>
> I wonder if this would be a useful improvement.
>
> This already works:
> When converting images to stack one can use the image name to be kept as a
> slice label.
> When converting a stack to images the images take the name of the label if it
> exists.
>
> But when duplicating a single slice from a stack, the title of the resulting
> image is derived from that of the stack, not the slice label, and
> unfortunately the slice label is lost.
>
> I wonder if it would be useful to add an option to use the original slice
> label when one only duplicating a single slice.
>
> Or maybe this can be done already?
You can do this if you upgrade to the latest ImageJ daily build (1.51b19). When using Image>Duplicate, the title of the resulting image is automatically derived from the slice label. To provide backward compatibility, the recorder generates
run("Duplicate...", "use");
where ‘use' indicates that the slice label is to be used. Previous versions of ImageJ generated
run("Duplicate...", " ");
which uses the stack name plus “-n” as the suggested title of the resulting image.
-wayne
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html