Since updating AstroImageJ (release date 1/13/17, db v. 3.2.1) on my windows10 PC I cannot get the "Interactive 3-D surface plot" running. Neither when launching via the "Analyze" drop down menus nor via the "plug in" drop down menu. Instead I get this message:
"Exception: java.lang.IllegalArgumentException: invalid range properties at javax.swing.DefaultBoundedRangeModel.<init>(Unknown Source) at javax.swing.JSlider.<init>(Unknown Source) at Interactive_3D_Surface_Plot.createSliderVertical(Interactive_3D_Surface_Plot.java:1807) at Interactive_3D_Surface_Plot.createSliderPanel2(Interactive_3D_Surface_Plot.java:1759) at Interactive_3D_Surface_Plot.createSettingsPanelRight(Interactive_3D_Surface_Plot.java:1398) at Interactive_3D_Surface_Plot.createMainPanel(Interactive_3D_Surface_Plot.java:1283) at Interactive_3D_Surface_Plot.createGUI(Interactive_3D_Surface_Plot.java:1247) at Interactive_3D_Surface_Plot.runApplication(Interactive_3D_Surface_Plot.java:530) at Interactive_3D_Surface_Plot.run(Interactive_3D_Surface_Plot.java:444) at ij.IJ.runUserPlugIn(IJ.java:185) at ij.IJ.runPlugIn(IJ.java:152) at ij.Executer.runCommand(Executer.java:127) at ij.Executer.run(Executer.java:64) at java.lang.Thread.run(Unknown Source)" Reverting to a former version of AstroImageJ (v 2.0 also with ImageJ v.1.47i included) does not work either. Do anyone experience the same failure? |
Administrator
|
Hi, I just tested 3D plotting (using both startup methods you mentioned)
on a Windows 10 64-bit machine and it worked for 16-bit integer and 32-bit floating point fits images. What type of image are you plotting? What are the image dimensions? Is the specific image that you are now trying to plot one that you have successfully plotted before? If none of these questions helps to solve the problem, it might be useful to send me an example of an image that does not work on your system so I can try it here, and use it for debugging if I can duplicate the problem. If the file size is small enough, you can email it to karenacollins ## at ## outlook ## dot ## com. Also, I would recommend going back to the daily build version if you haven't already. Karen |
In reply to this post by Mogens B
Hello Karen,
thanks for a fast response! I have previously plotted fits, fit and BMP files successfully, but after installing the 2017 release I always get the error message cited above. Dimensions of the fit(s) images are 765 x 510 pixels and approx. up to 50000 ADU in the "z" dimension. I have also attempted to plot minor sections of the images, but without success. And yes, I use the daily build version. The failure of interactive 3-D surface plotting is specifically related to the AstroImageJ (32 and 64 bit versions)- when working in ImageJ (eg. v. 1.51j16), the 3-D plugin works well!! As suggested, please find attached a .fit file (the spectrum of Altair), which I want to scrutinize (after heavy stretching) via 3-D surface plots. |
Administrator
|
Thanks for sending the fits file. Unfortunately, I haven't been able to
reproduce the problem. Would you please try a couple of things on your end to give me more information? If so, please do the following: 1) Reset preferences to the default settings: - Go to your user account home directory and then to the .astroimageJ directory and rename AIJ_Prefs.txt to something like AIJ_Prefs.txt.temp. For me the file path is C:\Users\Karen\.astroimagej\AIJ_Prefs.txt. The .astroimagej directory may be hidden by default, so if you are navigating using file explorer, you may need to enable "show hidden files/directories" in File Explorer. - Restart AIJ and test for the problem again. Let me know if it now works. If it does, something is corrupt in your preferences file, so you will need to keep the default settings and set everything back up like you want it over time. If it still does not work, change the preferences file name back to AIJ_Prefs.txt and continue to step (2). 2) Reinstall AstroImageJ from the AIJ website ( http://www.astro.louisville.edu/software/astroimagej/installation_packages/ ): - First, delete your old AstroImageJ directory and sub-directories entirely. - Download the zip installation file from the AIJ website listed above. I highly recommend using the version packaged with java7_x64 (AstroImageJ_v3.2.0_20160201_windows_java7_x64.zip) assuming you are running a 64-bit OS. - Unzip it to a location that has read/write access (e.g. the documents directory works great). You can also install it in the usual \Program Files directory, but windows 10 defaults to all folders there being write protected (security, security). If you know how to change the read and write protection you can still install there, but windows does not make it easy. - Start AIJ and set your memory allocation the way you want it (usually about 75% of total installed system memory works fine - AIJ doesn't use all of that memory unless it needs it). - Quit AIJ and restart. Test the 3D plotting. Let know know if it works now or not. If it does work, continue to the next step. - Update AIJ to the daily build and make sure it completes without an error. - Restart AIJ. Test the 3D plotting. Let know know if it still works now or not. Thanks, I'll figure out what to do next if it still doesn't work. Karen |
In reply to this post by Mogens B
Hello Karen,
following Your suggestions in step 1) and renaming the old AIJ_Prefs.txt solved the problem. Fantastic! Thank's a lot for taking Your time helping with this issue! Regards Mogens B |
Free forum by Nabble | Edit this page |