Using IBEIS for Image Visualization #94
Erotemic
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This post is in response to an email I received:
The visualization code I've used I think is fairly separable from the rest of the system.
In the ibeis repo there is a submodule called
ibeis.viz
which is the logic that controls all IBEIS visualizations: https://github.com/Erotemic/ibeis/tree/main/ibeis/vizThis will depend heavily on the code in plottool_ibeis module: https://github.com/Erotemic/plottool_ibeis
The code to generate the heatmaps based on matching elliptical keypoints lives in vtool_ibeis because it draws on images directly rather than using matplotlib (which is what plotool_ibeis is mostly for): https://github.com/Erotemic/vtool_ibeis/blob/main/vtool_ibeis/coverage_kpts.py
Some of the last code I wrote when I worked full time on the project was a GUI for inspecting 1-vs-1 matches in an interactive way where I could change the parameters of the keypoint+descriptor extraction and matching algorithm to quickly and interactively see the results. This code also lives in vtool_ibeis: https://github.com/Erotemic/vtool_ibeis/blob/main/vtool_ibeis/inspect_matches.py
Much of the referenced code should have doctests, which provide a minimal entry point into the code. Some of them will be decorated with a comment like
# SCRIPT
or# xdoctest: +SKIP
or# DISABLE_DOCTEST
, which means that code isn't run in GithubActions, so I can't guarantee that it will still work, but I believe much of it will.For instance, I just ran
pip install ibeis
on my machine, and ran one of the doctests for the MatchInspector class in vtool_ibeis.inspect_matches:Which still seems to work and popped up the matching GUI:
Toggling the lines and ellipses in the display config gives:
You should be able to reuse/repurpose visualization code with any sort of ellipse base keypoints and descriptors (or even just a homography warping between two images).
Beta Was this translation helpful? Give feedback.
All reactions