how reset the center of panoramas by batching

39 views
Skip to first unread message

王楷勛

unread,
Aug 23, 2021, 3:34:57 AM8/23/21
to hugin and other free panoramic software
Hello everyone, my name is Kai.

I`m trying to make my own street view on ArcMap.(like google street view)
There are  over 1000 panoramas are taking by insta360 pro 2 (360 camera). 
I made a mistake that caused all the panoramas are not viewing the front side.
So I want to reset the center of panoramas.how.JPG
How I reset the center of panorama:
  1.<Assistant>  Load images...
  2.<Move/Drag> Yaw:120 ->Apply
  3.<Assistant>  Create panorama... :output panorama as jpg file.
adjust.JPG

Did anyone know how to do these setting by batching?

I also tried the Expert Interface.
I set all the yaw in one time.
But I don`t know how to out put each panoramas.
No stitching just reset the center of each panoramas.
expert interface.JPG

I appreciate your thoughts! Thanks,
Kai.

T. Modes

unread,
Aug 23, 2021, 10:46:30 AM8/23/21
to hugin and other free panoramic software
d938...@gmail.com schrieb am Montag, 23. August 2021 um 09:34:57 UTC+2:

  2.<Move/Drag> Yaw:120 ->Apply

The rotation of pano can be done on the command line with
pano_modify --rotate-panorama=120,0,0 --output=output.pto input.pto

This is scriptable.

Bruno Postle

unread,
Aug 23, 2021, 11:07:29 AM8/23/21
to hugi...@googlegroups.com
You can just process the panoramic images without going back to Hugin.

If your panoramas are 1920x960 pixels, a 120° yaw is equivalent to shifting the image 640 pixels sideways. So with ImageMagick, something like this should work:

convert input.jpg -roll +640+0 output.jpg

--
Bruno

王楷勛

unread,
Aug 24, 2021, 4:17:42 AM8/24/21
to hugin and other free panoramic software
To  T.Modes and Bruno

Thanks for giving me advices.

I still don`t know how to writing code on hugin.
It seems need to install python.
I stocked in importing hugin into python.

I tried the second method from Bruno.
It works.
I watched the video↓ and used the code you gave me.
Thank you very much.

Kai





bruno...@gmail.com 在 2021年8月24日 星期二上午12:07:29 [UTC+9] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages