[ptx] hugin, auto selection of optimization values

Pablo d'Angelo pablo.dangelo at web.de
Sat Jan 8 21:55:55 GMT 2005


Bruno Postle schrieb:


I should read all mail before posting ;)


>Actually, multiple pairs of horizontal control points can be used to
>level the horizon.  So this needs to be more subtle:
>  
>
>If the output is Cylindrical or Equirectangular, more than one pair
>of horizontal control points should optimise pitch but not yaw.
>
>If the output is Rectilinear, they should optimise yaw but not
>pitch.
>
>Hope that makes sense, I can't figure-out how to detect output
>panorama type, so somebody else will have to fix this one.
>
>  
>
Yes that makes sense.

I have just checked code based on these suggestions.

1. Rectilinear Panorama:
   - enable yaw, if at least one horizontal control point pair
   - enable pitch, if at least one vertical control point pair
   - always enable roll if at least one vertical or horizontal ctrl. 
point pair.

2. Cylindrical + Equirect.:
   - enable roll, if 1 horiz. or vert. pair
   - enable pitch, if more than 1 horiz. or vert. pair.




More information about the ptX mailing list