Refactor fundamental matrix scaling#7767
Conversation
7ff66d8 to
5feab11
Compare
Refactor scaling of FundamentalMatrixTransform calculation to make algorithm clearer, and allow original Hartley algorithm if preferred. Add some tests of scaling algorithms, including cross-check against opencv2. Also see <https://github.com/matthew-brett/test-fundamental-matrices>
5feab11 to
211c7fd
Compare
|
Discussed on the community call:
|
2086dba to
7e711e7
Compare
* origin/main: Deprecate estimate method in favor of class constructor (scikit-image#7771) Temporary fix for Visual Studio & Clang incompatibility in Windows image (scikit-image#7835) Address deprecations in Pillow 11.3 (scikit-image#7828) Remove unused & obsolete `legacy_datasets`, `legacy_registry` vars (scikit-image#7677) Draft migration guide for skimage2 (scikit-image#7785) Do not report failure in wheels sub-recipe (scikit-image#7806) Use consistent wording in property description. (scikit-image#7804) Add intensity_median to regionprops (scikit-image#7745) CI: Update pypa/gh-action-pypi-publish to v1.12.4 for attestations on PyPI (scikit-image#7793) Document output dtype for transform.resize. (scikit-image#7792) Use `cibuildwheel` to build WASM/Pyodide wheels for `scikit-image`, push nightlies to Anaconda.org (scikit-image#7440) DOC: Include missing gain parameter in adjust_gamma equation (scikit-image#7763) Temporarily pin to `pyodide-build==0.30.0`, and ensure that the correct xbuildenvs are used (scikit-image#7788) Deprecate old names & attributes in RegionProperties (scikit-image#7778) Pin JasonEtco/create-an-issue action to SHA for v2.9.2 (scikit-image#7787) Make doctest-plus work with spin (scikit-image#7786) Report failures on main via issue (scikit-image#7752) Use `workers` instead of alternate parameter names (scikit-image#7302) Fix f-string in otsu plot (scikit-image#7780) Further document use of regionprops function and fix terms. (scikit-image#7518)
From @mkcor suggestion.
Add various suggestions from @mkcor's review. Co-authored-by: Marianne Corvellec <[email protected]>
rather than the generic link to the paper. From @mkcor's review.
matthew-brett
left a comment
There was a problem hiding this comment.
Responses, with thanks.
Use `from_estimate` instead of `estimate`.
|
@mkcor - I've added nearly all your changes with thanks, left one trivial one unmerged - happy either way - let me know. |
mkcor
left a comment
There was a problem hiding this comment.
You're most welcome, @matthew-brett. We're almost there!
More edits from @mkcor. Co-authored-by: Marianne Corvellec <[email protected]>
mkcor
left a comment
There was a problem hiding this comment.
@matthew-brett thanks for bearing with me! Mostly, thank you for undertaking this 'fix' -- I'm glad you folks were able to come up with this compromise. I'll just wait for CI to pass before merging.
* origin/main: Update import convention in certain gallery examples (scikit-image#7764) Refactor fundamental matrix scaling (scikit-image#7767)
* origin/main: (31 commits) Update import convention in certain gallery examples (scikit-image#7764) Refactor fundamental matrix scaling (scikit-image#7767) Add unit test for cval unequal to zero Forward in _generic_edge_filter Remove superfluous mask argument from _generic_edge_filter Only report failure on main branch once Deprecate estimate method in favor of class constructor (scikit-image#7771) Temporary fix for Visual Studio & Clang incompatibility in Windows image (scikit-image#7835) Address deprecations in Pillow 11.3 (scikit-image#7828) Remove unused & obsolete `legacy_datasets`, `legacy_registry` vars (scikit-image#7677) Draft migration guide for skimage2 (scikit-image#7785) Do not report failure in wheels sub-recipe (scikit-image#7806) Use consistent wording in property description. (scikit-image#7804) Add intensity_median to regionprops (scikit-image#7745) CI: Update pypa/gh-action-pypi-publish to v1.12.4 for attestations on PyPI (scikit-image#7793) Document output dtype for transform.resize. (scikit-image#7792) Use `cibuildwheel` to build WASM/Pyodide wheels for `scikit-image`, push nightlies to Anaconda.org (scikit-image#7440) DOC: Include missing gain parameter in adjust_gamma equation (scikit-image#7763) Temporarily pin to `pyodide-build==0.30.0`, and ensure that the correct xbuildenvs are used (scikit-image#7788) Deprecate old names & attributes in RegionProperties (scikit-image#7778) ...
|
Note, I've relabeled this as "maintenance". The new Instead we should document it in a follow-up PR if we want it as public API? |
Refactor scaling of FundamentalMatrixTransform calculation to make algorithm clearer, and allow original Hartley algorithm if preferred.
Add some tests of scaling algorithms, including cross-check against opencv2.
Also see https://github.com/matthew-brett/test-fundamental-matrices
Release note
For maintainers and optionally contributors, please refer to the instructions on how to document this PR for the release notes.