For explaination: I'm working on an application for my master thesis that encodes JPEG2000 images with the JJ2000 CmdLnEncoder, encrypts the encoded bitstream and measures some image quality metrics (e.g. PSNR, SSIM, LSS, ESS). For that purpose I have included the source code of the latest version of JJ2000 (v5.1, http://code.google.com/p/jj2000/ ) and slightly modified it for my requirements. Furthermore, in order to make some adapted code pieces of a colleague work I included the JAR Files "jai_core-1.1.3.jar", "jai_codec-1.1.3.jar" and "jai_imageio-1.1.jar" as External JARs into the Referenced Libraries of my project. Now to the actual problem: When I run the application, the encoding of the JP2 files works fine, but when it comes up to calculating the PSNR reaching the following line BufferedImage im1 = ImageIO.read(file1); Exception in thread "main" java.lang.RuntimeException: jj2000.j2k.fileformat.reader.FileFormatReader.
Read full article from Interference of JJ2000 and JAI_ImageIO, causing Exceptions - java, exception, jai, jpeg2000 - TechQues.com
No comments:
Post a Comment