-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes needed for FIBSEM .dat format #16
Comments
For what it's worth, here's a permalink to the lines in question (you can create a permalink by clicking on the line numbers on the left hand side, and then using the context menu on the IO/src/main/java/sc/fiji/io/FIBSEM_Reader.java Lines 210 to 214 in 3aa1c1a
@acardona is there any metadata in the .dat files that can be used to argue what type and what endianness is required? |
Hi @imagejan, there should be, but the only documentation I have are these java files in this repository. |
Out of curiosity @acardona are the magic/header fields in your big endian files little endian even if the image data is big endian? |
As far as I know, Greg @jefferis, the java file doesn't decode any header field for endianness. But I think it doesn't decode all header fields, of which there are many. Someone ought to look into the matlab file that converts DAT to TIFF, there it may be specified. |
In line 210 of https://github.com/fiji/IO/blob/master/src/main/java/sc/fiji/io/FIBSEM_Reader.java, it reads, in the function
readChannels
:... which is not true. I have here some .dat files that are:
The text was updated successfully, but these errors were encountered: