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
I experienced a starting mapping for the get Frame function.
executing this code:
new = LifFile(file)
for img in new.get_iter_image():
slice1 = img.get_frame(z=1,t=0, c=0)
slice2 = img.get_frame(z=imgContaine.channels,t=0,c=0)
slice1 is z=0, c=1 instead of z=1. and slice2 is z=1, c=0.
I could fixed that behavior with this method:
def get_frame(imgContaine, z,c):
i= imgContaine.channels*z+c
z = i%imgContaine.nz
c = i//imgContaine.nz
return imgContaine.get_frame(z=z,t=0, c=c)
My images are recorded by Leica Microsystems LAS AS - TCS SP5.
I am on readlif Version 0.6.5 installed via pip in a venv.
ImageJ does open my images correct.
The text was updated successfully, but these errors were encountered:
I experienced a starting mapping for the get Frame function.
executing this code:
slice1
is z=0, c=1 instead of z=1. andslice2
is z=1, c=0.I could fixed that behavior with this method:
My images are recorded by
Leica Microsystems LAS AS - TCS SP5
.I am on readlif Version 0.6.5 installed via pip in a venv.
ImageJ does open my images correct.
The text was updated successfully, but these errors were encountered: