-
Notifications
You must be signed in to change notification settings - Fork 8
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
Ome.tiff file size limit #25
Comments
It should be possible by inserting
|
Thanks a lot! [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3. |
the "Multi-D. Acq" of Micro-Manager uses another solution: if stack is bigger than 4 GB, it gets divided, first part is saved as 3.99 GB file and the second part as the rest. Such a solution could be incorporated into the plugin, people who acquire smaller stacks would not notice a difference EDIT: |
@pawlowska excellent analysis! I do not have time to take this further, but maybe you want to start from 13c68aa? |
I tried today to see what happens if I just use OMETiffWriter, but I didn't know how to add the dependency correctly (i.e. to do what you did in pom.xml @dscho). From tomorrow I'm on vacation, I'll try again next week, or maybe @gabrieldavisjones has time earlier. |
You can call the public void enableBigTiff(final ImageWriter w) {
final OmeTiffWriter otw = w.getWriter(OmeTiffWriter.class);
otw.setBigTiff(true);
} In your <dependency>
<groupId>ome</groupId>
<artifactId>formats-bsd</artifactId>
</dependency> |
@gabrieldavisjones thanks for the feedback. Now, what you could do to drive this forward is to craft a nice commit message, mentioning that you tested this (and how), and open a proper Pull Request for @hkmoon to merge. |
@dscho Actually, I did look at 13c68aa. It is different: it calls ImageWriter#getWriter(String) which quasi-initializes the given file (without calling The call to ImageWriter#getWriter(Class), on the other hand, does not do any initialization (since it doesn't know the But since @gabrieldavisjones says that 13c68aa is working for him as-is, I guess I was wrong and my approach is not needed. 🆗 |
I tested the https://github.com/openspim/SPIMAcquisition/tree/big-tiff as it is now. It is able to acquire a file bigger than 4 GB, but at the same time, when I acquire a small file, say 100 MB, it is now saved differently - previously Fiji was opening such files automatically, now the "Bio-formats Import Options" window pops up. With the old files, it was even possible to open them in the Windows built-in image viewer, now it is not possible even with the small file. This looks like an unnecesarry complication. @dscho, could you explain what the |
If I understand this correctly |
Hi All,
We need to acquire images far beyond the 4GB tiff file size limit.
As I understand, this is not currently possible.
I was planning on customising our version of the SPIMAcquisition code to save the stacks as single separate tiffs which we can re-stack inside of FIJI on our servers, similar to what is currently possible in standard MicroManager.
I just wanted to see what you all thought of the idea before I set out and if you could potentially recommend anything?
Thanks for the amazing software so far!
Gabriel
The text was updated successfully, but these errors were encountered: