We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a numpy array: data = np.zeros((4, 1040, 1388)) which is channels, y, x, this doesn't work:
data = np.zeros((4, 1040, 1388))
sink = large_image.new() sink.addTile(t, 0, 0, axes=['c', 'y', 'x'] sink.write('sample.tiff')
But this does:
sink = large_image.new() sink.addTile(t[..., np.newaxis], 0, 0, axes=['c', 'y', 'x', 's'] sink.write('sample.tiff')
If axes are specified explicitly and match the number of axes of the numpy array, this should work.
The text was updated successfully, but these errors were encountered:
@annehaley This was reported from a user. We should add a test case for this and make sure the first instance works.
Sorry, something went wrong.
addTile
1388df3
Successfully merging a pull request may close this issue.
Given a numpy array:
data = np.zeros((4, 1040, 1388))
which is channels, y, x, this doesn't work:But this does:
If axes are specified explicitly and match the number of axes of the numpy array, this should work.
The text was updated successfully, but these errors were encountered: