PTGui stitching information

51 views
Skip to first unread message

Erki Marks

unread,
Sep 3, 2025, 10:14:21 AM (4 days ago) Sep 3
to PTGui Support
For each panorama, I need the center point of every individual stitched image. How can I retrieve this information? Ideally, it would be included in the panorama metadata. It would be even better if there were an option to allow/deny to embed this information directly into the panorama metadata.

Erik Krause

unread,
Sep 3, 2025, 4:42:30 PM (3 days ago) Sep 3
to pt...@googlegroups.com
Am 03.09.2025 um 13:56 schrieb Erki Marks:

> For each panorama, I need the center point of every individual stitched
> image. How can I retrieve this information?

It's in the .pts (Project) file. This file is in JSON format, which can
be read in any plain text editor and named yaw and pitch. The values are
in degrees, and map differently to different output projections
(Stitching is performed on a spherical surface). For equirectangular
360°x180° output, degrees map linearly to image dimensions, while in all
other projections some trigonometric functions are applied.

However, if f.e. viewpoint correction is used, it gets complicated,
since this uses a 5-axis model, where all values can influence the image
center position in some way.

Just out of curiosity: For what would you need those values?

--
Erik Krause
http://www.erik-krause.de

Erki Marks

unread,
Sep 5, 2025, 1:27:12 AM (2 days ago) Sep 5
to PTGui Support
So basically, if i use PTGui from command line like this:
 -createproject img1.jpg img2.jpg -output project.pts -template template.pts -stitchnogui project.pts
then it will create me a current project pts file with all the images yaw, pitch, roll and these are the central points of each individual images?
eg "yaw": 1.59388946485705674e-10, "pitch": -7.96944732428528368e-11, "roll": 0,

Erki Marks

unread,
Sep 5, 2025, 1:48:16 AM (2 days ago) Sep 5
to PTGui Support
meaning 
orientation "yaw": 1.59388946485705674e-10, "pitch": -7.96944732428528368e-11, "roll": 0,
location "vpx": 0, "vpy": 0, "vpd": 0,

PTGui Support

unread,
Sep 5, 2025, 5:35:38 AM (2 days ago) Sep 5
to pt...@googlegroups.com
Yes that's the idea. Keep in mind that you will need a licensed copy of
PTGUi. The trial version does not output this information.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> ptgui/567c11b5-a799-48a5-a1c4-46840d2fb9fen%40googlegroups.com <https://
> groups.google.com/d/msgid/ptgui/567c11b5-a799-48a5-
> a1c4-46840d2fb9fen%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages