-
Notifications
You must be signed in to change notification settings - Fork 55
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
Adding ImageDepth support to pylibtiff #106
Comments
Just to be clear, this is for color image stacks- the current version already should support 3D grayscale stacks. So I guess these are really "4D" stacks. |
Thanks for reporting the issue and sorry for the long delay in responding. |
I've developed it more since then, including code for rewriting the data into separate directories. I'll post a PR when I get a chance. |
@pearu I opened the PR- not sure if you get an alert when that happens. |
@markemus thanks for the PR. I'll give it a review and I believe github should send any relevant messages to you. |
Hey @pearu, I wrote some code to allow pylibtiff to read 3D TIFF images. It's a modified version of the TIFF.read_tiles() method in libtiff_ctypes.py. Currently it's a monkeypatch that is applied to libtiff at runtime.
If you're interested in it, I'd be happy to refactor it to be part of:
I'm hopefully also going to be doing this for write_tiles() in the near future.
Thanks for writing this great library!
Here's the code:
The text was updated successfully, but these errors were encountered: