How to demosaic raw Bayer images? |
How to demosaic raw Bayer images? |
Jan 22 2016, 04:24 PM
Post
#1
|
|
Administrator Group: Admin Posts: 5172 Joined: 4-August 05 From: Pasadena, CA, USA, Earth Member No.: 454 |
There's been discussion elsewhere on the forum about how to demosaic images that come down as raw pixel values from cameras with Bayer filters, but I have not been able to do this myself and am looking for some help. What do you folks recommend to demosaic images? I'm a Windows user...
In this post Damia recommended ImageJ with the Debayer plugin. I downloaded ImageJ (now Fiji) from here and the Debayer plugin from here as well as the PDS Reader plugin from here. Trying the Debayer plugin on a raw MSL image, the following error appeared in the console, and I'm not sure what to do to solve the problem; can anybody help? QUOTE Compiling 1 file in C:\Users\Emily\AppData\Local\Temp\java6621339374403543752
C:\Users\Emily\AppData\Local\Temp\java6621339374403543752\src\main\java\Debayer_Image.java:8: cannot access java.lang.Object bad class file: ZipFileIndexFileObject[D:\CloudStation\Pictures\Fiji.app\java\win64\jdk1.8.0_66\jre\lib\rt.jar(java/lang/Object.class)] class file has wrong version 52.0, should be 50.0 Please remove or make sure it appears in the correct subdirectory of the classpath. public class Debayer_Image implements PlugInFilter { ^ org.scijava.minimaven.JavaCompiler$CompileError: Compile error: 1 at org.scijava.minimaven.JavaCompiler.call(JavaCompiler.java:105) at org.scijava.minimaven.MavenProject.build(MavenProject.java:538) at org.scijava.minimaven.MavenProject.build(MavenProject.java:463) at org.scijava.minimaven.MavenProject.build(MavenProject.java:446) at org.scijava.plugins.scripting.java.JavaEngine.compile(JavaEngine.java:211) at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:135) at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:173) at org.scijava.script.ScriptModule.run(ScriptModule.java:173) at org.scijava.module.ModuleRunner.run(ModuleRunner.java:167) at org.scijava.module.ModuleRunner.call(ModuleRunner.java:126) at org.scijava.module.ModuleRunner.call(ModuleRunner.java:65) at org.scijava.thread.DefaultThreadService$2.call(DefaultThreadService.java:191) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) -------------------- My website - My Patreon - @elakdawalla on Twitter - Please support unmannedspaceflight.com by donating here.
|
|
|
Jan 22 2016, 05:06 PM
Post
#2
|
|
Member Group: Members Posts: 910 Joined: 4-September 06 From: Boston Member No.: 1102 |
C:\Users\Emily\AppData\Local\Temp\java6621339374403543752\src\main\java\Debayer_Image.java:8: cannot access java.lang.Object
bad class file: ZipFileIndexFileObject[D:\CloudStation\Pictures\Fiji.app\java\win64\jdk1.8.0_66\jre\lib\rt.jar(java/lang/Object.class)] class file has wrong version 52.0, should be 50.0 Looks like the program expects version 50.0 rather than the more recent version 52.0 of java. You may be able to download the older version and put it in the correct folder to make the program happy.... (non-expert advise). -------------------- |
|
|
Lo-Fi Version | Time is now: 13th May 2024 - 04:02 AM |
RULES AND GUIDELINES Please read the Forum Rules and Guidelines before posting. IMAGE COPYRIGHT |
OPINIONS AND MODERATION Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators. |
SUPPORT THE FORUM Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member. |