Login  Register

Re: Bug in 1.37j ?

Posted by Michael Schmid on Feb 20, 2007; 1:12pm
URL: http://imagej.273.s1.nabble.com/Bug-in-1-37j-tp3700284p3700291.html

Hi group,

for each image, the directory where it came from is stored in
the properties of the ImagePlus (that's where the information
displayed by "Show Info..." comes from.

When making a stack out of single images, the information of the
source file cannot be kept because there is no single source
file. The images of a stack could also come from different
directories.

So one should not expect that the directory information is kept,
it could be misleading in case of images from different
directories combined into a single stack.


Michael
________________________________________________________________

On 20 Feb 2007, at 13:10, Gabriel Landini wrote:

> On Tuesday 20 February 2007 12:02:49 Christophe Leterrier wrote:
>> I reformulate my first email with greater details.
>>
>>
>> 1) Open an image (.tif file) (you can close other opened images to
>> reduce the parameters).
>>
>> 2) Run the following macro :
>
> Yes, this works fine.
>
>> 3) Close the image, open a stack by opening two images from the same
>> folder and do a "Images to Stack" command (or "Import > Image  
>> Sequence"
>> command, or "Import > Selected As Stack" command, or any command that
>> generate a stack).
>
>> 4) Run the test macro on the active stack. It will display a blank
>> string, not the path from where the images were open. I can assure  
>> you
>> that it retrieved the path from stacks with previous ImageJ versions.
>
> Yes, you are right. It happens in linux too.
> After opening each image, the macro still remembers the "image"  
> directory, but
> as soon as the are transformed into a stack, the macro does not report
> anything.
>
> Hopefully Wayne will see this thread.
>
> Cheers,
>
> Gabriel