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

When importing an image sequence as a virtual stack only one frame of each image is included. #242

Open
odinsbane opened this issue Feb 15, 2024 · 0 comments

Comments

@odinsbane
Copy link

Some tif files have an issue where importing them and checking the virtual stack box causes an incorrect number of images to be loaded. If the images are loaded as non-virtual stacks then all of the images are loaded.

This only happens for some tif files, this is one way to generate tif files that fail.

#!/usr/bin/env python3

import numpy, imageio

x0 = numpy.array( numpy.random.random((2, 32, 32))*255, dtype="int8")
x1 = numpy.array( numpy.random.random((2, 32, 32))*255, dtype="int8")

imageio.volwrite("test-0.tif", x0)
imageio.volwrite("test-1.tif", x1)
@odinsbane odinsbane changed the title When importing an image image sequence as a virtual stack only one frame of each image is included. When importing an image sequence as a virtual stack only one frame of each image is included. Feb 15, 2024
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

No branches or pull requests

1 participant