You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you believe the shape, that last bit should return 0 (or whatever the fill value is), because the coordinate (7888, 2668, 4176) is outside the shape (6446, 6643, 8090).
Indeed,
>>> import requests
>>> import numpy as np
# this gets the voxel at XYZ location (4176, 2668, 7888)
>>> url = "http://slowpoke3:32773/api/node/e402c09ddd0f45e980d9be6e9fcb9bd0/grayscale/raw/0_1_2/1_1_1/4176_2668_7888/nD"
>>> response = requests.get(url)
>>> x = np.fromstring(response.content, dtype=np.uint8)
>>> print(x)
[91]
The text was updated successfully, but these errors were encountered:
I think
VoxelsAccessor.shape
needs to be reverse of what it is now.For example:
but
If you believe the shape, that last bit should return
0
(or whatever the fill value is), because the coordinate(7888, 2668, 4176)
is outside the shape(6446, 6643, 8090)
.Indeed,
The text was updated successfully, but these errors were encountered: