export a list of image parameter values

122 views
Skip to first unread message

neil sackdoor

unread,
Dec 9, 2025, 2:07:34 AM12/9/25
to PTGui Support
hi

I'm hoping to save/export a text file with the yaw, pitch and roll values from the image paramaters table. A .csv file would be ideal but any kind of text file would do. Is this possible? I can't see anyway to do it.

thanks, neil

PTGui Support

unread,
Dec 9, 2025, 4:29:07 AM12/9/25
to pt...@googlegroups.com
Hi Neil,

You can extract this data from the project file. The project file has a
regular JSON format.

You need the licensed version of PTGui, the trial version creates
encrypted project files. I have attached a sample.

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/
> a14f280b-301a-4287-b0fb-bf33a610ca4dn%40googlegroups.com <https://
> groups.google.com/d/msgid/ptgui/a14f280b-301a-4287-b0fb-
> bf33a610ca4dn%40googlegroups.com?utm_medium=email&utm_source=footer>.
2025-08-18_08.25.48 Panorama (1).pts

neil sackdoor

unread,
Dec 9, 2025, 7:58:20 PM12/9/25
to PTGui Support
hi Joost

that's brilliant, thanks for attaching the sample file.

../neil

Hannu Lehto

unread,
Dec 15, 2025, 3:48:35 AM12/15/25
to pt...@googlegroups.com
I have successfully used manually inserted two vertical control points
to make all verticals vertical. (John Houghton showed this maybe 10 yrs
ago, maybe more;-)  Thx John).

Now I have three old scanned photos were I had to insert all cp's
manually because the common area between the images is very very narrow.
Result is, of course, not so good compared to a case with wider common area.

I tried to use three vertical cp's, one in each image. What ever I do,
either the left or the middle image is not vertically right.

So my question is: can you use three vertical cp's , one in each image,
at all?

regards
Hannu

John Houghton

unread,
Dec 15, 2025, 4:58:11 AM12/15/25
to PTGui Support
Hannu, Hello again!  You can use as many vertical line control points as you like.  However, you may get a better result if you go to the Optimizer tab and select Advanced mode.  Then, at the bottom, select the Hor / vert control points option to "Include in first pass".   By default, levelling to get all the verticals properly vertical is achieved by simply shifting/rotating the entire panorama image on the spherical stitching surface as a single unit, without affecting how the images align with each other.  This is done in a second pass of the optimizer.  By including the points in a single pass, the optimizer is able to vary the lens parameters to get a better alignment of the individual images with each other.   If there is obvious barrel distortion,  you can assign two vertical line control points on straight line features:  one on the two ends spanning the full length, and one on one end and the middle, spanning half the length. It's worth trying! 

John

Erik Krause

unread,
Dec 15, 2025, 5:37:32 AM12/15/25
to pt...@googlegroups.com
Am 15.12.25 um 09:48 schrieb Hannu Lehto:

> I tried to use three vertical cp's, one in each image. What ever I do,
> either the left or the middle image is not vertically right.
>
> So my question is: can you use three vertical cp's , one in each image,
> at all?

You can use as many as you want, but they might be conflicting. PTGui
will try to minimize the distance, which might result in a compromise.

However, if you share your images and the project file, we can better
diagnose what's going on. Half size JPGs would do. Use a file sharing
service like wetransfer, dropbox or similar.

--
Erik Krause


hannu...@genzu.fi

unread,
Dec 15, 2025, 5:40:17 AM12/15/25
to PTGui Support
Here is the result. Left image (01) is not vertically right. All buildings are rotated right and there is a small gap in the bottom.
https://hanu.fi/images/pasila3840.jpg

Here are the three source images (50% downsized) in case anyone interested.
https://hanu.fi/images/pasila-01.jpg
https://hanu.fi/images/pasila-02.jpg
https://hanu.fi/images/pasila-03.jpg

The main problem is probably the very narrow common area in images 1 and 2.

Erik Krause

unread,
Dec 15, 2025, 6:28:19 AM12/15/25
to pt...@googlegroups.com
Am 15.12.25 um 11:40 schrieb hannu...@genzu.fi:

> Here are the three source images (50% downsized) in case anyone interested.
> https://hanu.fi/images/pasila-01.jpg
> https://hanu.fi/images/pasila-02.jpg

There is no overlap at all at the bottom between images 1 and 2. If you
look closely, at least the rear end of the car just in front of the lamp
post in image 2 should be visible in image 1. So you would need to live
with the gap.

And there is some parallax in your images. You can spot it if you look
at the forest silhouette just left of the foot of the chimney in image 2
and compare it to image 1. Since I guess the foreground is more
important, restrict control points to that.

--
Erik Krause

Hannu Lehto

unread,
Dec 15, 2025, 7:14:39 AM12/15/25
to pt...@googlegroups.com
I think that is not parallax. I do not know the camera or lens used.
Probably it has been a quality camera and lens, the photos were taken
1987 by a Finnish pro photographer.
In the middle there is some common areas, but not in the bottom or top.
That indicates a barrel distortion.

Bigger problem is the tilted left side. All the verticals are 0,63°
tilted. Have you any idea how to fix it?

John Houghton

unread,
Dec 15, 2025, 9:45:04 AM12/15/25
to PTGui Support
Hannu, This is the best I could manage (project file attached):

pasila-01 Panorama-jh.jpg

John

pasila-01 Panorama-jh.pts

Erik Krause

unread,
Dec 15, 2025, 9:48:48 AM12/15/25
to pt...@googlegroups.com
Am 15.12.25 um 13:14 schrieb Hannu Lehto:

> I think that is not parallax.

Actually, it's quite a lot of parallax. See attached screenshot. Even at
the short distance between the two buildings, the front one is shifted
relative to the back one. This leads to the tilt.

--
Erik Krause

Screenshot_20251215_154324.png

Hannu Lehto

unread,
Dec 15, 2025, 10:07:15 AM12/15/25
to pt...@googlegroups.com
You are right!

But still my question: Bigger problem is the tilted left side. All the
verticals are 0,63° tilted. Have you any idea how to fix it?


Erik Krause

unread,
Dec 15, 2025, 3:30:20 PM12/15/25
to pt...@googlegroups.com
Am 15.12.2025 um 16:06 schrieb Hannu Lehto:

> But still my question: Bigger problem is the tilted left side. All the
> verticals are 0,63° tilted. Have you any idea how to fix it?

The tilt is caused by parallax. If it wasn't tilted, it would fit even
worse, since the foreground is shifted relative to the background.

I got a somehow plausible result by placing image 1 manually. In fact, I
used it twice in order to compensate for the shifted foreground.

However, there are still some flaws: For example, a car has been parked
into another one, there's a ditch in the roof edge and the houses behind
the chimney are doubled up. The latter could be fixed by using image 1 a
third time, masked only for the houses.

Find the project file and result attached.

--
Erik Krause
http://www.erik-krause.de
Hannu.pts
Hannu.jpg

hannu...@genzu.fi

unread,
Dec 16, 2025, 9:38:05 AM12/16/25
to PTGui Support

Thx for all this.

I edited the result in Photoshop by rotating left side 2. It has the same deficiencies that you describe. This is however ok for me for the time being.

This image is one of 6 images in my latest small project. You can see all of them here: 

https://hanu.fi/pasilalinktower

You can see the linktower as last image. No wonder that there are parallax errors. The photographer took 17 images around the tower. There was no way to avoid parallax errors!

Ps. these comments seem to be under a wrong subject. I wonder why,  maybe I wrote the first question in wrong subject

Reply all
Reply to author
Forward
0 new messages