i try to read a canon cr2 acquired with a Mark II in Matlab. This is the error i get:
- Code: Select all
im = bfopen(aFile);
Reading IFDs
Populating metadata
??? Java exception occurred:
loci.common.enumeration.EnumException: Unable to find TiffCompresssion with code: 6
at loci.formats.tiff.TiffCompression.get(TiffCompression.java:207)
at loci.formats.tiff.IFD.getCompression(IFD.java:647)
at loci.formats.in.MinimalTiffReader.initFile(MinimalTiffReader.java:404)
at loci.formats.in.BaseTiffReader.initFile(BaseTiffReader.java:501)
at loci.formats.FormatReader.setId(FormatReader.java:1072)
at loci.formats.DelegateReader.setId(DelegateReader.java:232)
at loci.formats.ImageReader.setId(ImageReader.java:677)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:488)
at loci.formats.ChannelFiller.setId(ChannelFiller.java:249)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:488)
at loci.formats.ChannelSeparator.setId(ChannelSeparator.java:257)
Error in ==> bfopen at 138
r.setId(id);
just to check i read a jpg which worked fine.
Any idea how to fix it?
Has anyone read cr2 data in Matlab with bio-formats
Thanks for any hint
Best
Norbert