Import Sequence not working

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Import Sequence not working

elenter
Hi, when trying to import a image sequence I get a mesage error with the title "Exception", and the following text:
AIJ 5.4.1.00; ImageJ 1.54m1; Java 23.0.1 [64-bit]; Mac OS X 14.6.1; 637MB of 12288MB (5%)
 
java.lang.IllegalArgumentException: Stack is empty
        at ij.ImagePlus.setStack(ImagePlus.java:848)
        at ij.plugin.FITS_Reader.makeStackFromManyHDU(FITS_Reader.java:1044)
        at ij.plugin.FITS_Reader.displaySingleImage(FITS_Reader.java:404)
        at ij.plugin.FITS_Reader.run(FITS_Reader.java:170)
        at ij.IJ.runPlugIn(IJ.java:216)
        at ij.IJ.runPlugIn(IJ.java:199)
        at ij.io.Opener.openImage(Opener.java:377)
        at ij.plugin.FolderOpener.getFileCount(FolderOpener.java:1009)
        at ij.plugin.FolderOpener.showDialog(FolderOpener.java:683)
        at ij.plugin.FolderOpener.run(FolderOpener.java:161)
        at ij.IJ.runPlugIn(IJ.java:216)
        at ij.Executer.runCommand(Executer.java:156)
        at ij.Executer.run(Executer.java:74)
        at java.base/java.lang.Thread.run(Unknown Source)

I was using AIJ with no problems, the only new thing i used was the NEB Check feature for the first time.
I have reinstalled the AIJ, but the problem still remains.

Thanks for any tip to solve this issue!

Ernesto Elenter

Reply | Threaded
Open this post in threaded view
|

Re: Import Sequence not working

keastrid
It looks like the image's internal structure is slightly different than what we're expecting, would it be possible for you to share the image that won't load with us?

Kevin
Reply | Threaded
Open this post in threaded view
|

Re: Import Sequence not working

elenter
Hi Kevin, thanks for the prompt reply.
The problem arises when trying to import a sequence of images. I can open one fits image with no troubles.

The images are quite big (123 Mb), so I can not upload it here, I can send one through wetransfer if you can provide an email adress. Anyway I am attaching one png image of the sequence opened in SAOiMAGE.
Reply | Threaded
Open this post in threaded view
|

Re: Import Sequence not working

keastrid
Strange that it is only occurring with a stack. You can email me at keastrid AT gmu.edu.

Kevin
Reply | Threaded
Open this post in threaded view
|

Re: Import Sequence not working

elenter
Hi Kevin, Finally I could solve the problem. First I had to open a Raw image (this one worked, instead of importing a sequence). And then in Edit/Options/Reset I could "clean" the settings that directed to open a seemingly corromped file, so with the reset I could change the folder. (I had to re-establish all the configurations I had before, but it´s working now!).

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Import Sequence not working

keastrid
That's great! If it's just one file causing the problem, it's good that its resolved.

Kevin