Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR should address #42 @jni
I just changed two lines - converting the input layer types to the more general
napari.layers.Layer
instead ofnapari.layers.Image
. It seems to have worked.Image to shape affine transform
https://user-images.githubusercontent.com/54516770/151113341-4f5185e9-ba83-4344-961b-04d29346c14f.mp4
Image to image transform (is preserved)
https://user-images.githubusercontent.com/54516770/151113418-b21b5c1d-27b6-4c74-aea4-c9353140cdd9.mp4
Note that I'm not actually trying to match anything in these examples! So they look weird. But the affine makes the expected distortions to the moving image.