How do I get MATLAB to read ImageLab format (.scn) file?
I checked the documentation (https://docs.openmicroscopy.org/bio-formats/5.8.2/formats/bio-rad-scn.html) but not sure how to use the Java source code.
Following is the command and output of the imreadBF code that I am getting:
Command:
imreadBF('A.scn','SCN')
Output:
path =
C:\Users\jyot.antani\Documents\MATLAB\MATLAB files_Jyot\loci_tools.jar
Warning: Objects of loci/formats/UnknownFormatException class exist - not clearing java
> In javaclasspath>local_javapath (line 190)
In javaclasspath (line 119)
In javaaddpath (line 71)
In imreadBF (line 31)
Error using imreadBF (line 58)
Java exception occurred:
loci.formats.UnknownFormatException: Unknown file format: A.scn
at loci.formats.ImageReader.getReader(ImageReader.java:192)
at loci.formats.ImageReader.setId(ImageReader.java:727)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:529)
at loci.formats.ChannelFiller.setId(ChannelFiller.java:263)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:529)
at loci.formats.ChannelSeparator.setId(ChannelSeparator.java:274)
Can someone please help?
Thanks!