-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hello. I'm using readlif, and it looks like a wonderful library. However since I started uploading 4 channel images I have had problems. The problem is that when I do the maximum projection, the image does not match the one obtained by ImageJ. I am using the library as follows:
img_0 = new.get_image(0)
z_list = np.array([np.array(i) for i in img_0.get_iter_z(t=0, c=0)])
Notice that I am converting the output to a Numpy array. The maximum projection is done as follows:
max_projection = z_list.max(axis = 0)
It does not matter which channel I select (0,1,2,3), when I do the maximum projection, it does not correspond to the one thrown by ImageJ. I clarify that this does not happen if the image has less than 4 channels.
I would greatly appreciate a suggestion.
Best regards, Rosalio.