Skip to content
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

Support reading OME Tiff files from sub-ifds. #469

Merged
merged 5 commits into from
Sep 17, 2020
Merged

Conversation

manthey
Copy link
Member

@manthey manthey commented Jul 22, 2020

I anticipate generalizing this to all tiff files that are so constructed eventually.

We should add an explicit test case for this.

@manthey
Copy link
Member Author

manthey commented Jul 22, 2020

@dgutman This will work on any OME Tiff that uses subifds assuming that the subifds are ordered largest to smallest and are every power of two below the main image (e.g., no skipped levels). This matches the samples I've seen. Let me know if any of the files you have are still super slow.

I anticipate generalizing this to all tiff files that are so constructed
eventually.
This especially speeds up scanning OME Tiff files that we can't
ultimately read and have a lot of images.
@manthey
Copy link
Member Author

manthey commented Sep 17, 2020

I'm merging this into master as I have reports that it is working. Any issues found can be new PRs.

@manthey manthey merged commit b8bea10 into master Sep 17, 2020
@manthey manthey deleted the subifd-pyramids branch September 17, 2020 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant