Repository navigation
Affine registration - #7421
Affine registration#7421jboulanger wants to merge 179 commits into
Conversation
added exp input as measure of thoroughness got rid of off by one errors added previous closed commit
|
xref: #7666 |
## Description As per our discussion at the in-person sprint, let's go for the `src` layout and get started with the `skimage2` namespace. /cc @lagru @stefanv @jni @matthew-brett @Czaki ## Checklist <!-- Before pull requests can be merged, they should provide: --> - A descriptive but concise pull request title - [Docstrings for all functions](https://github.com/numpy/numpydoc/blob/main/doc/example.py) - [Unit tests](https://scikit-image.org/docs/dev/development/contribute.html#testing) - A gallery example in `./doc/examples` for new features - [Contribution guide](https://scikit-image.org/docs/dev/development/contribute.html) is followed ## Release note For maintainers and optionally contributors, please refer to the [instructions](https://scikit-image.org/docs/stable/development/contribute.html#documenting-changes) on how to document this PR for the release notes. ```release-note ... ``` --------- Co-authored-by: Stefan van der Walt <[email protected]> Co-authored-by: Lars Grüter <[email protected]> Co-authored-by: Grzegorz Bokota <[email protected]> Co-authored-by: Stefan van der Walt <[email protected]> Co-authored-by: Grzegorz Bokota <[email protected]>
Co-authored-by: Jérôme Boulanger <[email protected]> Co-authored-by: Juan Nunez-Iglesias <[email protected]> Co-authored-by: Sean Budd <[email protected]> Co-authored-by: Sean Budd <[email protected]>
|
We have changed the base branch for this PR from the Summary - what this means for your PRYou can continue to work on your PR, now based on Once we've merged your PR into the In addition - our automated script detected that your branch had merge conflicts with the pre-Megamove branch. Please make sure to merge in the Read on for the Megamove rationale, and more detailed instructions. DetailsRationaleWe've changed the base branch to make it easier and smoother to continue to work on your PR, while we work through a rather large change in the directory structure of the repository - a change that we have called Megamove. See the Megamove explanation issue for more detail. Changing the base branch means you do not see merge conflicts related to the Megamove change, and can continue to work with the repository in its original state, without worrying about porting those changes across to the new post-Megamove structure. As you'll see in the linked issue, you can continue to work on your PR as before, and you can continue to use the Github GUI to "Update branch" - this updates from the new To emphasize again, do not try and merge the scikit-image When we've approved your PR, we'll merge into the Any questions, please reply here. |
Description
Intensity based affine registration of image pairs.
The API tries to take inspiration from the PR3455, however I found it not very user friendly to pass callback for handling euclidean or translation motion model. Moreover the logic is different between the two solvers and could not find a way to conciliate the previously discussed API with the added solver. PR3455 was relying on transforms in the example to handle restricted model (euclidean) which is not compatible with ndi.affine_transform, here we stick to ndi.affine_transform to ba able to handle 3D images.
Comparison bewteen the solvers and cv2.findTransformECC. The 2nd row display the registration error map.

Registration of a brain MRI volume

TODO
References
Checklist
./doc/examplesfor new featuresRelease note
For maintainers and optionally contributors, please refer to the instructions on how to document this PR for the release notes.