Galaxy S10 panorama stitching

139 views
Skip to first unread message

Roman T

unread,
Jan 18, 2021, 4:57:06 AM1/18/21
to PTGui Support
Hello, i tried to stitch panorama made with Galaxy S10 panoramic mode.

Its already creates one rectangular panorama with overlapping edges, i had to split image in two then to PTGui and it stitch overlapping sides perfectly, however output image is distorted. I think this due to PTGui only supports fisheye lenses for input images and true 360 panoramas?

Original panorama galaxy S101.jpg

Erik Krause

unread,
Jan 18, 2021, 6:00:02 AM1/18/21
to pt...@googlegroups.com
Am 18.01.21 um 10:57 schrieb Roman T:
> Its already creates one rectangular panorama with overlapping edges, i had
> to split image in two then to PTGui and it stitch overlapping sides
> perfectly, however output image is distorted. I think this due to PTGui
> only supports fisheye lenses for input images and true 360 panoramas?

No, PTGui supports a variety of input projections. In your case you
would need to choose cylindrical projection.

--
Erik Krause

PTGui Support

unread,
Jan 18, 2021, 6:57:56 AM1/18/21
to pt...@googlegroups.com
Hi Roman,

Indeed, you need to split the image in two halves (as you did) because
PTGui cannot handle source images wider than 360 degrees.

Start a new project, load your two images
Cancel the windows asking for the camera and lens parameters
Click on Advanced
Go to Lens Settings tab
Select Cylindrical
Set the field of view to 200 degrees (I'm assuming your image spans
about 400 degrees).
Add control points
Run the optimizer
In the Panorama Editor switch to the desired output projection
(clindrical or equirectangular) and press the Fit Panorama button

You probably won't get a perfect panorama, I think the phone doesn't
produce a perfectly cylindrical image. Also you need to take care of
parallax while taking the panorama. Rotate around the lens, don't rotate
the phone around your body.

Hope this helps!

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com
> Original panorama galaxy S101.jpg
>
> --
> 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 on the web visit
> https://groups.google.com/d/msgid/ptgui/0770c7a8-261d-4ea5-ae11-1edbf52e42ddn%40googlegroups.com
> <https://groups.google.com/d/msgid/ptgui/0770c7a8-261d-4ea5-ae11-1edbf52e42ddn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Roman T

unread,
Jan 18, 2021, 3:26:32 PM1/18/21
to PTGui Support
Thank you for replay i run into trouble
When trying to Control Points > Generate Control Points for all images i get error "Cannot generate control points: the control points generator supports only rectilinear and fisheye image sources"
If i add control points manually, and try to optimize i also get error "The optimizer filed to achieve a good alignment of the images."

John Houghton

unread,
Jan 18, 2021, 4:58:38 PM1/18/21
to pt...@googlegroups.com
Roman,  I managed to get a rather good result, despite poor optimization figures.  I have attached the project file and image crops together with the stitched image.   I aligned the chimney areas visually by dragging the images and was then able to use the "Generate control points here" feature there successfully (press F1 with the Control Points tab displayed to see Help on how to use that).  I used individual lens parameters on the Lens Settings tab to select vertical shear optimisation and a small amount of masking,

John

To unsubscribe from this group and stop receiving emails from it, send an email to ptgui+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ptgui/e8ba7574-8bdf-48be-a9a4-5e84ceaa4803n%40googlegroups.com.
galaxy.zip
galaxy360.jpg

Roman T

unread,
Jan 18, 2021, 5:13:25 PM1/18/21
to PTGui Support
Thank you, could you export project for PTGui version 10.

John Houghton

unread,
Jan 18, 2021, 5:23:38 PM1/18/21
to pt...@googlegroups.com
On Mon, Jan 18, 2021 at 10:13 PM Roman T <roman.t...@gmail.com> wrote:
Thank you, could you export project for PTGui version 10.

Done.  File attached.

John 
galaxy (PTGui 10).pts
Reply all
Reply to author
Forward
0 new messages