-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
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
Runtime error in shiftnd #19
Comments
You've specified the arguments incorrectly. Look at the help for
The offset must be an iterable. You should use |
Hi, I had the same TypeError of "zip argument #1 must support iteration". From the Quick Example section of the docs I pulled the general application - corrected_image2 = shift.shiftnd(offset_image, -yoff, -xoff) As you pointed out, the argument has to be (-yoff,-xoff) i.e. a tuple. Can you correct the docs? |
@cosmicoder this issue was correct in 21f5a53. Where are you seeing the outdated documentation? |
Found it here - https://image-registration.readthedocs.io/en/latest/# is this an outdated doc version? |
yes, it looks like readthedocs is not building any more |
the infrastructure is out of date. Thanks for pointing this out @cosmicoder ; it's going to take a bit of work to refactor this. |
Here is my code:
and here is the runtime error:
It runs without error for shift.shift2d but produces a very shifted image for two almost aligned images.
The text was updated successfully, but these errors were encountered: