You do not have permission to delete messages in this group
Copy link
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hugin and other free panoramic software
Hi,
I've been using Hugin for a decade and for the most part can get it to do even difficult projects pretty easily. But I have a couple microchip photography projects for which cpfind either finds no control points or a pile of extraneous ones.
Before I go crazy trying to make a cpfind like tool that speaks .pto files, and so on, I'm wondering if such a thing already exists to enable the use of the feature detection / mapping built into opencv. I cannot imagine I am the first person on the planet to want to do this. ( If I m I guess I should start coding. )
-- Bob
Rod Bibeau
unread,
Sep 7, 2023, 11:21:54 AMSep 7
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hugi...@googlegroups.com
So my use case is a bit different but maybe helpful -
I had a bunch of panos from my drone with lots of water and/or snow
that cause some images to not find CP's. My solution is not perfect, I
am confident, but works for the most part - Basically, I took a PTO
file that had all the images linked and used it as a template and then
incorporated the template into my pano script. While the results are
not perfect, they are much better than having large holes in the image
or water where the sky should be.
You do not have permission to delete messages in this group
Copy link
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hugin and other free panoramic software
Looking at the opencv feature detection, the only painful thing will be making something that "just works" with stock opencv packages, as the feature detection are in 3rd party modules so not normally available if you just grab opencv pre-built RPM. Not so sure how easily sharable such a solution would be for average Hugin users if "step one" is build their own opencv libraries from source. But the rest is just a lot of boilerplate and it should be easy to wrap it in a way that looks like a typical panotools utility. "cvfind" LOL.
Saleh Saeed
unread,
Sep 8, 2023, 5:06:27 PMSep 8
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hugi...@googlegroups.com
Hi,
OpenCV uses SIFT/SURF/ORB etc methods to extract features per image. The extracted features are matched between image pairs by predicting an alignment. OpenCV cannot find this alignment for non-linear images (i.e. wide angle/fisheye).
- If you are using wide angle images with high distortion at corners, you can extract features with some incorrect/missing feature matches (at the distorted corners) using OpenCV. I recommend not to use OpenCV in this case.
- If you are using linear images, you can use OpenCV to write accurate 2D coordinates of matching features into the Hugin's pto file.
You have to compile OpenCV with some changes in the code to get the 2D coordinates of matched features between image pairs.
If you can share a sample of your work where the CP find gives you no or externous control points, it will be easier to check for issues.