Daniel M German wrote:
>  Bruno Postle twisted the bytes to say:
>
>
>
>  Bruno> On Thu 26-Feb-2009 at 15:35 +0100, Oskar Sander wrote:
>  >> 
>  >>> Hugin's sequence for applying the parameter groups d,e and a,b,c is
>  >>> not the correct order if one wants to produce a linear panorama. Hence
>  >>> one need two separate steps.
>  >> 
>  >> Hugin allows you to "edit script" before optimizing. Would it be
>  >> possible to use this in order to make a linear panorama, not having to
>  >> do lens correction in beforehand in a separate step, but rather "seed"
>  >> the optimization with the correct values.
>
>  Bruno> The problem is that the d,e parameters define the optical centre of 
>  Bruno> the image, so the large values you get from sideways camera 
>  Bruno> displacement misplace the lens and perspective correction.
>
>  Bruno> So currently the way to get linear panoramas working with hugin is 
>  Bruno> to remove any trace of an 'optical centre': fix lens distortion and 
>  Bruno> perspective, then all you need to do to align them is scale (with 
>  Bruno> 'v' field of view parameter), rotate (with 'r' roll parameter) and 
>  Bruno> translate (with 'd,e' offset parameters).
>
> I want to add to libpano the ability to specify a parameter that
> indicates where in axis the projection should be computed from. By
> default it is r (from the center of the sphere) but it can be any
> point (0 is the center of it). It is not difficult, since I have added
> support for arbitrary parameters long time ago.
>
> --dmg
>   
What about PTStereo?  It uses X, Y, & Z to define camera position.  I 
have never used PTStereo so I don't know for sure how it works.

# X10          World coordinates of camera position, only used for PTStereo
# Y200            If the camera is aligned (yaw = pitch = roll = 0.0),
# Z-13.5          X is coordinate to the right, Y vertically up and
#                 -Z is forward viewing direction.

Once through PTStitcher to remove distortion and correct yaw, pitch, & 
role.  Then through PTStereo to correct camera position.

 From the Wiki, PTStereo needs triangles to line up the images.  
PTPicker provides this interface.
http://wiki.panotools.org/PTStereo
http://wiki.panotools.org/PTPicker

Combining these in the optimizer and stitcher should be possible.  Maybe 
GSoC project?

Jim





--~--~---------~--~----~------------~-------~--~----~
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