Open humsav opened 6 years ago
Could you tell me the shape of ch1?
sure ch1 shape: (320, 325, 367)
I made a modification to registration.py (in code > cellsync) and I changed the function "def list_shift(img)". If you just downloaded the folder on your desktop, you can just copy paste the new function in your folder.
when I type : shifts = list_shift(ch1) (photo attached)
IndexError Traceback (most recent call last) ~/HumsaTraces/cellsync/registration.py in listshift(img) 32 ---> 33 shift, , _ = register_translation(im[0], im[val], 100) 34 shift = shift+add
IndexError: index 200 is out of bounds for axis 0 with size 120
During handling of the above exception, another exception occurred:
IndexError Traceback (most recent call last)