On 3 Jun., 10:19, Pablo d'Angelo <[email protected]> wrote:
> Am 03.06.2011 08:29, schrieb kfj:
> > I have some questions about cpfind:

... and you've answered promptly! Thanks.

> > ... Is there a
> > chance that the 'match all feature points in one go' approach could be
> > implemented in cpfind?
>
> I have implemented a simple version of that, but its not yet commited,
> as the results are worse than that of the pairwise matching. I'll look
> into commiting that change.

In many situations one happily trades a few percents of quality for a
substantial speedup. Of course you're the one who's looked into the
matter, but I guess that's what it may amount to, and if taht is so I
think the match-all-in-one-go approach might make the better default -
if the (qualitatively superior) pairwise approach is deemed necessary,
it can still be there as an option.

> > - other CPGs have a 'maxmatches' feature that limits the number of CPs
> > returned. ...
>
> Yes, that might be possible, but one the simple approach will loose the
> well distributed characteristic. Maybe some more advanced heuristrics
> might be found for keeping that, but I haven't thought about that yet.

Maybe you can pilfer code from cpclean; I think it adresses the issue.
You might even be able to simply call it to clean up the points, just
like you have a facility to perform a celeste run on the data. And so
add a --cplean parameter.

> > - the documentation is thin when it comes to explaining the sieving
> > mechanism.

> ...

thanks for the clarification. Your concise explanation might make a
nice addition to the man page.

> > What ransac mode should I use?
> > ...
> > 'hom'. Would I maybe be better off with 'rpy'?
>
> Both should work. If you just want to allow shift and rotations 'rpy',
> together with a small fov (<10) would be best. the homography will also
> allow shearing and mirroring, which is probably not needed for your case.

I think I need the allowance for shearing. I have stated several times
that I assume that locally the effect of a scene being seen through
different lenses is similar to an affine transformation, even though
overall it's more complex. What differences remain after I've woa-ed
the images usually looks like they are sheared a bit, (especially if
they come from very different lenses, like one from the fisheye and
one from a rectilinear lens) - so I'll stick with the homography. Is
the 'rpy' any faster, though?

> cpfind (and SIFT and related algorithms in general) are however not
> ideal for the refinement of matching points, as it expects precisely
> repeatable interest point detection. A direct, intensity based matching
> is preferrable for that case, for example Least square 
> matching.http://www.photogrammetry.ethz.ch/general/persons/AG_pub/ALSM_AWGruen...
> This typically yields points with an accuracy of 1/10th of a pixel.
> The drawback is that is requires good initial approximations (~2 pixel
> accurate) of the relative orientation of the images. It would be a good
> refinement technique for inclusion into cpfind and the hugin control
> points tab.

I think my data are usually too dissimilar to go for the 'direct'
approach. Since I use woa mainly to match images from different
lenses, the woa-ed images often difffer a lot in sharpness, so the
implied stages of low-pass-filtering in SIFT and SURF help deal with
this matter.

As you mention the point, I think the 'finetuning' of CPs in hugin
needs a work-over - my feeling is that especially with images from
different lenses, if I manually set a CP and then 'finetune' it, the
result is much worse than my manual placement. I suppose it's old code
and based on cross-correlation, which may fail with widely differing
distortion in both images. The placement of the CPs generated with a
CPG usually leave little to be desired - they're either spot-on or
just plain wrong. And with control points from woa-ed images they tend
to be very good indeed, as this removes most of the geometric
differences between the images in the first place.

I'll have a look at the paper quo quote - I'm interested in detectors
for matching and I appreciate that it's a fine art to find something
precise and at the same time computationally inexpensive - usually
beyond my mathematic horizon. I still would like to know what the
difference between the detector in cpfind and SURF is, though - in a
nutshell ;-)

Kay

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to