Hello,

I am attempting to stitch 360° panoramas shot with an 8mm lens on a crop 
sensor camera in portrait orientation. The images eventually fed to the 
stitching workflow are four TIFF files, each rotated 90° around the nodal 
point.

Our old workflow involves the use of PTGui, which produces a perfect result 
with little configuration. However, I'd like to get this working under 
command line tools such as cpfind, nona, etc.

The issue is that all images are warped, as though the camera is sitting 
atop a hill. See the image below for an example of this (viewed using 
krpano), with a straight red line added for reference. The camera remained 
perfectly stationary and the nodal point was properly set in this panorama.

<https://lh5.googleusercontent.com/-YEMoT0-uTIo/VJRzhQiXPnI/AAAAAAAAAAM/QdxXSNcbBmw/s1600/hugin_horizon.jpg>

The same type of curvature is visible when facing the opposite direction 
(180° rotated), and 90° left and right is like looking downhill.

The Hugin GUI produces a far more curved result with the default 
configuration. When stitched using a variety of other tools, the panorama 
has always come out flawlessly, thus I do not believe it is an issue with 
our technique or image content.

Here is the basic script we use to build these panoramas.

> pto_gen --projection=2 --output=project.pto *.tif
> pto_var --set "v=112.5" --output=project.pto project.pto
> pto_var --opt 
> "v,d,e,g,t,EeV,Er,Eb,Vb,Vc,Vd,Vx,Vy,Ra,Rb,Rc,Rd,Re,y,p,r,TrX,TrY,TrZ" 
> --output=project.pto project.pto
> cpfind -o project.pto project.pto
> cpclean -o project.pto project.pto
> linefind --output=project.pto project.pto
> autooptimiser -a -l -m -s -o project.pto project.pto
> pano_modify -s -c -o project.pto project.pto
> nona -o working_ project.pto
> enblend --output="completed.tif" working_*
> convert completed.tif -quality 100 #{name}.jpg
>
> I have tried several variations on cpfind options, such as --fullscale 
and sieve1/sieve2 settings, as well as changes to optimizer settings, but 
none significantly impact this curvature issue, and many of those introduce 
other problems.

In general, what should I do to improve the output? Am I doing something 
wrong?

If more information is needed, I can provide it.

Thanks.
--Kyle

-- 
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/8d6b815b-99a4-4c2f-bf4a-1e6be116a9e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to