Open acroper opened 5 years ago
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.
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.