ImageJ Feature - Import -> Image Sequence

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageJ Feature - Import -> Image Sequence

Daniel Kalthoff
Dear Community,

I am using the Image Sequence import quite a lot and it's very convenient that the labels of the imported stack reflect the filenames.
However, if the single images are stacks themselves and contain label information it is lost.

I checked the FolderOpener code and think two lines of code would solve my problem:

> String label2 = label; // this one's already there
> if (inputStack.getSliceLabel(slice) != null) label2 += ";" + inputStack.getSliceLabel(slice);

If this is of general interest could this be implemented into a coming version?

Thanks and best regards,

Daniel
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ Feature - Import -> Image Sequence

dscho
Hi Daniel,

On Thu, 14 Jul 2011, Daniel Kalthoff wrote:

> I am using the Image Sequence import quite a lot and it's very
> convenient that the labels of the imported stack reflect the filenames.
> However, if the single images are stacks themselves and contain label
> information it is lost.
>
> I checked the FolderOpener code and think two lines of code would solve
> my problem:
>
> > String label2 = label; // this one's already there
> > if (inputStack.getSliceLabel(slice) != null) label2 += ";" + inputStack.getSliceLabel(slice);
>
> If this is of general interest could this be implemented into a coming
> version?

I think there is value in that, but I'd like to have it guarded by a
checkbox that is off by default, for backwards-compatibility.

Ciao,
Johannes