Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centering panorama #60

Open
acroper opened this issue Feb 28, 2019 · 1 comment
Open

Centering panorama #60

acroper opened this issue Feb 28, 2019 · 1 comment

Comments

@acroper
Copy link

acroper commented Feb 28, 2019

I noticed that the stitched image currently breaks in the center of the main camera.
By myself, I modified the .pto files using hugin, using these procedures:

Created .jpg images (one for video, other for stills), and name them dummy.jpg

Open the .pto file associated with hugin.

Manually re-center the picture, so that the splitted side stay in the edge of picture

Save and replace original.

I just suggest to repeat this procedure to update the .pto files in order to avoid unconfortable aplit in the main side of the picture.

@Skygaze
Copy link

Skygaze commented Aug 9, 2019

I ran into this for some videos, but not all, so was a bit surprised by the inconsistency. Anyway, I "discovered" that one can use pano_modify.exe to modify the values inside the pto file, before making the call to nona:
"C:\Program Files\Hugin\bin\pano_modify.exe" --output=rotated.pto -c --rotate=0,0,0 gear4096.pto
where the -c means "center". In other cases, I threw in 180 for yaw in --rotate=$yaw,$pitch,$roll.

Also, when playing around, I would sometimes get unexpected perspectives, then I found I could go back to the main Hugin page, right click on the image, choose position, and reset the yaw,pitch,roll to zeros. At one point, after saving the project, I opened the pto file in wordpad , changed those values, saved the file then everything worked beautifully. Hugin may be reading exif info and putting values into yaw,pitch,roll that are not meaningful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants