Skip to content

Comments

Make ransac in plot_stitching example deterministic#7851

Merged
stefanv merged 2 commits intoscikit-image:mainfrom
lagru:fix-plot-stitching
Jul 16, 2025
Merged

Make ransac in plot_stitching example deterministic#7851
stefanv merged 2 commits intoscikit-image:mainfrom
lagru:fix-plot-stitching

Conversation

@lagru
Copy link
Member

@lagru lagru commented Jul 15, 2025

Description

Closes #7849.

This avoids random failures when the number of max_trials is not enough to successfully estimate a EuclideanTransform.

This was also the case previously, but recent updates to our Transform API in #7771 made these failures visible in the CI.

Checklist

Release note

For maintainers and optionally contributors, please refer to the instructions on how to document this PR for the release notes.

Make call to `skimage.measure.ransac` in the gallery example 
"Assemble images with simple image stitching" deterministic.
This avoids random non-deterministic failures.

This avoids random failures when the number of max_trials is not enough
to successfully estimate a EuclideanTransform.

This was also the case previously, but recent updates to our Transform
API in scikit-image#7771 made these failures visible in the CI.
@lagru lagru added 📄 type: Documentation Updates, fixes and additions to documentation 🚀 Quick win Trivial, small, easy to address or review labels Jul 15, 2025
@lagru lagru added this to the 0.26 milestone Jul 15, 2025
@stefanv stefanv merged commit 380b13c into scikit-image:main Jul 16, 2025
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📄 type: Documentation Updates, fixes and additions to documentation 🚀 Quick win Trivial, small, easy to address or review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plot_stitching gallery example fails with FailedEstimationAccessError

2 participants