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