Hi all,
I am hoping for any suggestion which you may have for me... I am trying to instal and consequently run the dcraw plugin but am having problems getting the plugin to run. When I select Plugins->Input/Output->DCRAW Reader I get an "Exception" appearing with the following cotents: java.lang.UnsupportedClassVersionError: net/sf/ij_plugins/dcraw/DCRawPlugin (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:234) at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:199) at ij.IJ.runUserPlugIn(IJ.java:270) at ij.IJ.runPlugIn(IJ.java:116) at ij.Executer.runCommand(Executer.java:88) at ij.Executer.run(Executer.java:46) at java.lang.Thread.run(Unknown Source) Could anybody please help? I am running ImageJ v1.37c, Java v1.4.2 on a Windows XP computer? Thank you. Thu Tran ********************************************************************** Thu Tran M: 0438 292 739 ********************************************************************** Send instant messages to your online friends http://au.messenger.yahoo.com |
Hi,
On Sat, 15 Apr 2006, Thu Tran wrote: > java.lang.UnsupportedClassVersionError: > net/sf/ij_plugins/dcraw/DCRawPlugin (Unsupported major.minor version 49.0) An UnsupportedClassVersionError means that the class was compiled with a newer JDK than the current one. Two possible solutions: - recompile with your JDK, or - upgrade your JDK. (The first is faster, while the latter is easier). Hth, Dscho |
In reply to this post by Thu Tran
The updated release of DCRaw Reader plugin fixes the problem; it was
recompiled to be back compatible with Java 1.3 and newer. Also the native binaries for Linux and Windows were updated with dcraw v.8.13. http://sourceforge.net/project/showfiles.php?group_id=44711&package_id=178554 Jarek Thu Tran wrote: > Hi all, > > I am hoping for any suggestion which you may have for me... > > I am trying to instal and consequently run the dcraw plugin but am > having problems getting the plugin to run. > > When I select Plugins->Input/Output->DCRAW Reader I get an > "Exception" appearing with the following cotents: > > java.lang.UnsupportedClassVersionError: > net/sf/ij_plugins/dcraw/DCRawPlugin (Unsupported major.minor version 49.0) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(Unknown Source) > at java.lang.ClassLoader.defineClass(Unknown Source) > at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:234) > at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:199) > at ij.IJ.runUserPlugIn(IJ.java:270) > at ij.IJ.runPlugIn(IJ.java:116) > at ij.Executer.runCommand(Executer.java:88) > at ij.Executer.run(Executer.java:46) > at java.lang.Thread.run(Unknown Source) > > Could anybody please help? > > I am running ImageJ v1.37c, Java v1.4.2 on a Windows XP computer? > > Thank you. > Thu Tran > > > ********************************************************************** > Thu Tran > M: 0438 292 739 > ********************************************************************** > > Send instant messages to your online friends http://au.messenger.yahoo.com > > > |
Hi,
I just tried it out on raw data from my new Sony DCS-R1. It works! That is great, thanks for making this available. So the question is: where are you going with this? I don't know anything about dcraw and will start looking into it, but there are lots choices to be made when converting raw data, not to mention trying to reverse engineer the magic settings of the various manufacturers. I am new to the digital raw world, but it seems a real can of worms to me. Each manufacturer has its own proprietary raw format, and does not disclose the various white balance curves, contrast curves, sharpening algorithms, noise reduction algorithms, etc that they use. I see that there are a bunch of raw conversion programs out there with Adobe Camera Raw (a plugin to Photo$hop) in the lead. What a headache these poor guys have trying to keep abreast of all the new cameras. Sony gives away a program to read its raw files, but the program is slow and appears to be disliked by users. It seems stuck at version 1.0. Why Sony cares to create a proprietary format for its raws and then doesn't make the effort to create a good reader is a mystery to me. Jon Jarek Sacha wrote: > The updated release of DCRaw Reader plugin fixes the problem; it was > recompiled to be back compatible with Java 1.3 and newer. Also the > native binaries for Linux and Windows were updated with dcraw v.8.13. > http://sourceforge.net/project/showfiles.php?group_id=44711&package_id=178554 > > > Jarek > > Thu Tran wrote: >> Hi all, >> I am hoping for any suggestion which you may have for me... >> I am trying to instal and consequently run the dcraw plugin but >> am having problems getting the plugin to run. >> When I select Plugins->Input/Output->DCRAW Reader I get an >> "Exception" appearing with the following cotents: >> java.lang.UnsupportedClassVersionError: >> net/sf/ij_plugins/dcraw/DCRawPlugin (Unsupported major.minor version >> 49.0) >> at java.lang.ClassLoader.defineClass0(Native Method) >> at java.lang.ClassLoader.defineClass(Unknown Source) >> at java.lang.ClassLoader.defineClass(Unknown Source) >> at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:234) >> at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:199) >> at ij.IJ.runUserPlugIn(IJ.java:270) >> at ij.IJ.runPlugIn(IJ.java:116) >> at ij.Executer.runCommand(Executer.java:88) >> at ij.Executer.run(Executer.java:46) >> at java.lang.Thread.run(Unknown Source) >> Could anybody please help? >> I am running ImageJ v1.37c, Java v1.4.2 on a Windows XP computer? >> Thank you. >> Thu Tran >> >> >> ********************************************************************** >> Thu Tran >> M: 0438 292 739 >> ********************************************************************** >> >> Send instant messages to your online friends >> http://au.messenger.yahoo.com >> >> > |
Jon Harman wrote:
> Hi, > > I just tried it out on raw data from my new Sony DCS-R1. It works! > That is great, thanks for making this available. > So the question is: where are you going with this? I don't know > anything about dcraw and will start looking into it, but there are > lots choices to be made when converting raw data, not to mention > trying to reverse engineer the magic settings of the various > manufacturers. The intention of DCRaw Reader plugin is to simply provide a convenient way of using the dcraw binary by Dave Coffin. Not planing to add any camera specific functionality that is not in dcraw. Currently only the most basic dcraw options are supported by DCRaw Reader plugin. Support for more dcraw options may be added in the future. There is also a pure Java project at https://jrawio.dev.java.net/ that helps reading raw images using javax.imageio. It works with with ImageJ, to some extent, using the Image IO plugin bundle v.2 (http://ij-plugins.sourceforge.net/plugins/imageio/). I was able to read with jrawio and ImageJ raw image from Canon Rebel XT, but not from Canon D60, did not try other formats. Note that Image IO plugin bundle v.2 is in alpha stage and not release yet, you will need to build it from CVS source. Jarek > > I am new to the digital raw world, but it seems a real can of worms to > me. Each manufacturer has its own proprietary raw format, and does > not disclose the various white balance curves, contrast curves, > sharpening algorithms, noise reduction algorithms, etc that they use. > I see that there are a bunch of raw conversion programs out there with > Adobe Camera Raw (a plugin to Photo$hop) in the lead. What a headache > these poor guys have trying to keep abreast of all the new cameras. > > Sony gives away a program to read its raw files, but the program is > slow and appears to be disliked by users. It seems stuck at version > 1.0. Why Sony cares to create a proprietary format for its raws and > then doesn't make the effort to create a good reader is a mystery to me. > > Jon > |
Once you use DCRaw to get the linear image you could do most of the
other transformations using ImageJ, but this is a little slow. Here is a kludge macro I wrote to take the linear raw and apply a gamma curve to it then store in 8 bit RGB. It would be much faster to use a LUT for the Gamma curve as DCRaw does. if (nImages==0) { open(); } stack = getImageID; selectImage(stack); var x=0.5; x = getNumber("Gamma", x); setSlice(1); run("Duplicate...", "title=R"); run("Gamma...","value="+x); selectImage(stack); setSlice(2); run("Duplicate...", "title=G"); run("Gamma...","value="+x); selectImage(stack); setSlice(3); run("Duplicate...", "title=B"); run("Gamma...","value="+x); //run("RGB Merge...", "red=R green=G blue=B keep"); run("RGB Merge...", "red=R green=G blue=B"); Jon Jarek Sacha wrote: > Jon Harman wrote: >> Hi, >> >> I just tried it out on raw data from my new Sony DCS-R1. It works! >> That is great, thanks for making this available. >> So the question is: where are you going with this? I don't know >> anything about dcraw and will start looking into it, but there are >> lots choices to be made when converting raw data, not to mention >> trying to reverse engineer the magic settings of the various >> manufacturers. > The intention of DCRaw Reader plugin is to simply provide a convenient > way of using the dcraw binary by Dave Coffin. Not planing to add any > camera specific functionality that is not in dcraw. Currently only the > most basic dcraw options are supported by DCRaw Reader plugin. Support > for more dcraw options may be added in the future. > > There is also a pure Java project at https://jrawio.dev.java.net/ that > helps reading raw images using javax.imageio. It works with with > ImageJ, to some extent, using the Image IO plugin bundle v.2 > (http://ij-plugins.sourceforge.net/plugins/imageio/). I was able to > read with jrawio and ImageJ raw image from Canon Rebel XT, but not > from Canon D60, did not try other formats. Note that Image IO plugin > bundle v.2 is in alpha stage and not release yet, you will need to > build it from CVS source. > > Jarek >> >> I am new to the digital raw world, but it seems a real can of worms >> to me. Each manufacturer has its own proprietary raw format, and >> does not disclose the various white balance curves, contrast curves, >> sharpening algorithms, noise reduction algorithms, etc that they >> use. I see that there are a bunch of raw conversion programs out >> there with Adobe Camera Raw (a plugin to Photo$hop) in the lead. >> What a headache these poor guys have trying to keep abreast of all >> the new cameras. >> >> Sony gives away a program to read its raw files, but the program is >> slow and appears to be disliked by users. It seems stuck at version >> 1.0. Why Sony cares to create a proprietary format for its raws and >> then doesn't make the effort to create a good reader is a mystery to me. >> >> Jon >> > |
Free forum by Nabble | Edit this page |