Can't load nd2 high content analysis file with MATLAB
Posted: Mon Jan 29, 2018 8:17 pm
I have been using the bioformats package to load nd2 files through MATLAB for image processing. This has worked without any issues until I received some nd2s from a collaborator. These nd2s are taken in high content mode and each well of the imaging plate is a separate nd2 file.
I can initialize a reader using bfGetReader - loci.formats.ChannelSeparator@3e8f9a77
When I try and initialize this reader on the file I get the following error:
Java exception occurred:
java.lang.NoClassDefFoundError: loci/formats/codec/JPEG2000BoxType
at
loci.formats.in.JPEG2000Reader.isThisType(JPEG2000Reader.java:96)
at loci.formats.FormatReader.isThisType(FormatReader.java:615)
at loci.formats.ImageReader.getReader(ImageReader.java:185)
at loci.formats.ImageReader.setId(ImageReader.java:836)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:650)
at loci.formats.ChannelFiller.setId(ChannelFiller.java:223)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:650)
at
loci.formats.ChannelSeparator.setId(ChannelSeparator.java:291)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:650)
at loci.formats.Memoizer.setId(Memoizer.java:677)
I can initialize a reader using bfGetReader - loci.formats.ChannelSeparator@3e8f9a77
When I try and initialize this reader on the file I get the following error:
Java exception occurred:
java.lang.NoClassDefFoundError: loci/formats/codec/JPEG2000BoxType
at
loci.formats.in.JPEG2000Reader.isThisType(JPEG2000Reader.java:96)
at loci.formats.FormatReader.isThisType(FormatReader.java:615)
at loci.formats.ImageReader.getReader(ImageReader.java:185)
at loci.formats.ImageReader.setId(ImageReader.java:836)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:650)
at loci.formats.ChannelFiller.setId(ChannelFiller.java:223)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:650)
at
loci.formats.ChannelSeparator.setId(ChannelSeparator.java:291)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:650)
at loci.formats.Memoizer.setId(Memoizer.java:677)