Hello again after a long time.

I am researching ways to automate stitching of stereo pairs into 3D panos. 
A first step is changing how image alignments are calculated, to take 
account of the viewpoint difference between left and right cameras --and to 
take advantage of the fact that this difference is constant across views. 

Given a series of views with plenty of correctly matched control points, 
the precise alignment of the right and left cameras can be estimated, along 
with the relative distances of those control points.   If some of the same 
points were also recognized in adjacent views, it would be straightforward 
to use the distances to alter the apparent point positions, so that the the 
stitcher would align the images "at infinity" -- the best result that can 
be had without applying any parallax correction to the images themselves.

All well and good in theory.  But there is one practical problem.  I have 
now analysed a half-dozen CP sets, some of them quite large, taken with 
Hugins CPfind and PTGui on 3 different sets of stereo pairs.  In no case 
did the same key point (as identified by its image coordinates) appear in 
two control points.  Every CP seems to be on a different scene point.

This is rather puzzling given that CPfind (and I expect PTGui too) starts 
by generating a set of key points independently for each image, and draws 
from that fixed set while matching the image against all the others.  One 
would expect some points to be used for CPs between more than one image 
pair, in areas where the common fields of view overlap -- which is 
certainly the case between a stereo pair and its neighboring views.  
One reason for the lack of common points could be that the matching 
algorithms actually avoid already-chosen keypoints when searching for 
another match --  perhaps a heuristic for increasing coverage.  If this is 
the case then a small code change would recover common CPs, and greatly 
facilitate 3D-aware alignment.

If there are any CPfind experts in the audience, I would value your opinion 
as to whether this could be the case.

-- Tom


-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/a78cd8f8-f846-4f32-8194-8c64b428eaf2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to