Open Next on sample images is still behaving wrong

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

Open Next on sample images is still behaving wrong

Stein Rørvik
Thanks for the fix, which works as advertised.

I found that there is still a related bug appearing when using the Open Next on dissimilar image types.

Try this:

- Cache the sample images if you did not already do so.

- Open "Organ of Corti"

- Use "Open Next"

- The "Particles" image opens correctly

- Use "Open Next" again

- The "T1 Head" stack is opened wrongly as a 4-channel stack, same as "Organ of Corti"
Apparently the multi-channel type got stuck.

Similarly, if you start with the 2-channel "Confocal Series" and continue with "Open Next",
the next stack in the samples image folder ("Fly Brain") is also opened as a 2-channel stack.

If you start with the 1-slice "Particles" image, the behaviour with "Open Next" is different, but still wrong:

The T1 Head stack is then opened with the wrong canvas size.
This only affects the view, if you e.g. do a duplicate on the image, the result is correct.
Apparently the canvas size of "Particles" got stuck.

The first bug is a regression; it did not occur in 1.52e. The second bug was in 1.52e too.

I am using daily build ImageJ 1.52g on Windows 7 64-bit.

Stein

-----Original Message-----
From: ImageJ Interest Group <[hidden email]> On Behalf Of Wayne Rasband
Sent: 20. august 2018 18:28
To: [hidden email]
Subject: Re: Strange behavior when using Open Next on sample images

> On Aug 20, 2018, at 6:28 AM, Stein Rørvik <[hidden email]> wrote:
>
> A bug appears when using the Open Next menu choice when the images in the folder are of dissimilar types.

The latest ImageJ daily build (1.52f29) fixes a bug in the File>Open Next command that caused it to not correctly open a non-composite image after having opened a composite image.

-wayne


> Try this:
>
> - Cache the sample images if you did not already do so.
>
> - Open the FluorescentCells image.
>
> - Use menu choice "Open Next" (or shortcut ctrl-shift-O); the next image from the list is ImageWithOverlay.
> (Open Next apparently follows a case sensitive sorting).
>
> - Use menu choice "Duplicate".
> There is a "Duplicate hyperstack" choice, but this image is not an hyperstack (but FluorescentCells was).
> The result image is all red. Appararently the RGB channels hyperstack image type got stuck from the previous image.
>
> - If you continue to use "Open Next" the following images also are of
> the wrong type, except for the NileBend jpeg which is correctly interpreted as a RGB image.
>
> I am using daily build ImageJ 1.52f with Java 1.6 on Windows 7/64-bit.
>
> Stein
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Open Next on sample images is still behaving wrong

Wayne Rasband-2
> On Sep 17, 2018, at 8:34 AM, Stein Rørvik <[hidden email]> wrote:
>
> Thanks for the fix, which works as advertised.
>
> I found that there is still a related bug appearing when using the Open Next on dissimilar image types.

These bugs are fixed in the latest ImageJ daily build (1.52h4).

-wayne

> Try this:
>
> - Cache the sample images if you did not already do so.
>
> - Open "Organ of Corti"
>
> - Use "Open Next"
>
> - The "Particles" image opens correctly
>
> - Use "Open Next" again
>
> - The "T1 Head" stack is opened wrongly as a 4-channel stack, same as "Organ of Corti"
> Apparently the multi-channel type got stuck.
>
> Similarly, if you start with the 2-channel "Confocal Series" and continue with "Open Next",
> the next stack in the samples image folder ("Fly Brain") is also opened as a 2-channel stack.
>
> If you start with the 1-slice "Particles" image, the behaviour with "Open Next" is different, but still wrong:
>
> The T1 Head stack is then opened with the wrong canvas size.
> This only affects the view, if you e.g. do a duplicate on the image, the result is correct.
> Apparently the canvas size of "Particles" got stuck.
>
> The first bug is a regression; it did not occur in 1.52e. The second bug was in 1.52e too.
>
> I am using daily build ImageJ 1.52g on Windows 7 64-bit.
>
> Stein
>
> -----Original Message-----
> From: ImageJ Interest Group <[hidden email]> On Behalf Of Wayne Rasband
> Sent: 20. august 2018 18:28
> To: [hidden email]
> Subject: Re: Strange behavior when using Open Next on sample images
>
>> On Aug 20, 2018, at 6:28 AM, Stein Rørvik <[hidden email]> wrote:
>>
>> A bug appears when using the Open Next menu choice when the images in the folder are of dissimilar types.
>
> The latest ImageJ daily build (1.52f29) fixes a bug in the File>Open Next command that caused it to not correctly open a non-composite image after having opened a composite image.
>
> -wayne
>
>
>> Try this:
>>
>> - Cache the sample images if you did not already do so.
>>
>> - Open the FluorescentCells image.
>>
>> - Use menu choice "Open Next" (or shortcut ctrl-shift-O); the next image from the list is ImageWithOverlay.
>> (Open Next apparently follows a case sensitive sorting).
>>
>> - Use menu choice "Duplicate".
>> There is a "Duplicate hyperstack" choice, but this image is not an hyperstack (but FluorescentCells was).
>> The result image is all red. Appararently the RGB channels hyperstack image type got stuck from the previous image.
>>
>> - If you continue to use "Open Next" the following images also are of
>> the wrong type, except for the NileBend jpeg which is correctly interpreted as a RGB image.
>>
>> I am using daily build ImageJ 1.52f with Java 1.6 on Windows 7/64-bit.
>>
>> Stein

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