Stitching 2 panoramas 360x180 equirectangular together (sky panorama + ground panorama)

453 views
Skip to first unread message

Дмитрий Марков

unread,
Mar 15, 2014, 9:23:49 AM3/15/14
to pt...@googlegroups.com
Hello, guys! I'm a newcomer in panoramas stitching, and so need help : )
I have two sets of photos (360º-panoramas) from helicopter - one pan have more ground and second pan have more sky - ScreenShot.

At first I have stitched sky-panorama, have masked helicopter parts and get a stitched Jpeg panorama.
Then a have stitched ground-panorama, have masked helicopter parts and get a stitched Jpeg panorama too.
Screenshot of results.

And now I need to stitch 180º-ground pan and 180º-sky pan, and I can't get it done. I set control points manually, but no good result. What shall I do? How to stitch 180º-ground and 180º-sky right?

If you need some screenshots ot other information, I can tell it.

Gill747

unread,
Mar 15, 2014, 10:03:16 AM3/15/14
to pt...@googlegroups.com
I  you will have to two make layers in photoshop to blend them.

Gill747

unread,
Mar 15, 2014, 10:22:16 AM3/15/14
to pt...@googlegroups.com
can you upload project to http://ge.tt


On Saturday, March 15, 2014 9:23:49 AM UTC-4, Дмитрий Марков wrote:

Дмитрий Марков

unread,
Mar 15, 2014, 10:26:42 AM3/15/14
to pt...@googlegroups.com
Yes. You can ge.tt it here.

Дмитрий Марков

unread,
Mar 15, 2014, 10:29:57 AM3/15/14
to pt...@googlegroups.com
I must do it manually in Photoshop?

Richard Gillespie

unread,
Mar 15, 2014, 10:55:27 AM3/15/14
to pt...@googlegroups.com
Can't tell until I see it
You have to post a link from Ge-tt so we can see it


--
--
You received this message because you are subscribed to the Google Groups "PTGui" group.
To post to this group, send email to pt...@googlegroups.com
To unsubscribe from this group, send email to ptgui+un...@googlegroups.com
Please do not add attachments to your posts; instead upload your files at a file sharing site (for example http://ge.tt/ ) and include a link in your message.
For more options, visit this group at http://groups.google.com/group/ptgui

---
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.
For more options, visit https://groups.google.com/d/optout.

John Houghton

unread,
Mar 15, 2014, 12:13:07 PM3/15/14
to pt...@googlegroups.com
On Saturday, March 15, 2014 2:26:42 PM UTC, Дмитрий Марков wrote:
Yes. You can ge.tt it here.

We cannot get "it" there without a link to "it" in particular.  Just jpeg copies of the two equirectangular files are needed.  Provided they are input to PTGui with a lens type "equirectangular" and fov=360, it should be possible to align one image with the other using control points, though the land features in your thumbnail screenshots don't look exactly the same.  You may have to just align them visually in the Panorama editor window and then apply masks before stitching the output panorama.

John 

UtahBob

unread,
Mar 15, 2014, 12:51:55 PM3/15/14
to pt...@googlegroups.com
On Saturday, March 15, 2014 12:13:07 PM UTC-4, John Houghton wrote:
 Just jpeg copies of the two equirectangular files are needed.  Provided they are input to PTGui with a lens type "equirectangular" and fov=360, it should be possible to align one image with the other using control points, though the land features in your thumbnail screenshots don't look exactly the same.  You may have to just align them visually in the Panorama editor window and then apply masks before stitching the output panorama.

You are right John, his horizons don't match and the orientation (yaw positions) are different also.  I'd straighten the horizons first to where they match and then using numerical transform, I'd move the ground photo to where I liked it best and then do the same with the sky photo to match the ground photo position.  Once, those panos are done, I'd load them as you suggested, and then green mask the ground and red mask the sky in the photo of the ground that I want to keep in the final pano.  Then red mask the ground in the sky in the other photo.  Might get lucky if the horizon isn't too sharp in the originals but fix up the joint in photoshop if not happy with it.  

Seems like the only reason this would work at all is that he's go a full horizon shot from the copter.  If he didn't I can't see how you would make it work even with viewpoint correction.

Easiest probably is to just photoshop the sky in ...

The full size version must look lovely.

Joergen Geerds

unread,
Mar 15, 2014, 1:42:20 PM3/15/14
to pt...@googlegroups.com
you have 3 options:

1. put both pano source files into 1 ptgui project, and use masking and blending priority to get it together: start with the heli shop, optimize it properly, then add the sky shots, make CPs and optimize accordingly.
2. render both panos as equirects with the same pixel dimensions: leveling is not yet important, but the same abc values are. if the sky shot has a black hole, that is quite ok. render as tiff, 16 bit, and load both equirects back into a new ptgui project. set the input projection as equirect, in case ptgui doesn't already recognize it as such. assuming the heli shot (nice ground) is you base, set some levelling CPs in that equirect to level it. set some CPs along the horizon line between the 2 shots. optimize yaw pitch and roll for pano B, or if A wasn't level pitch and roll for A as well. do not optimize abcde, leave them all at 0... output as layered psb/psd, open them in photoshop, use the eraser to delete the parts you don't need, and use autoblend to get the 2 parts together.
3. as the others have suggested, level both panos individually and perfectly, stack the resulting panos in photoshop, and use the offset filter (warp around) to align the 2 panos to match horizontally. blend al gusto.

Joergen
Freedom360.us

Дмитрий Марков

unread,
Mar 15, 2014, 2:26:00 PM3/15/14
to pt...@googlegroups.com
OK, guys, sorry, files are here: http://ge.tt/9mkAGMQ1/v/0?c

UtahBob

unread,
Mar 15, 2014, 3:28:57 PM3/15/14
to pt...@googlegroups.com
On Saturday, March 15, 2014 2:26:00 PM UTC-4, Дмитрий Марков wrote:
OK, guys, sorry, files are here: http://ge.tt/9mkAGMQ1/v/0?c

Got them, looks like there is a significant movement of the helicopter from the ground to sky shot.  There is significant parallax between the two which is apparent in your positioning of the control points.  I'll give this a shot but I think it is above my ptgui pay grade.  I think Joergen's workflow 3 probably is the best choice.

Bob 

John Houghton

unread,
Mar 15, 2014, 6:18:21 PM3/15/14
to pt...@googlegroups.com
It's proved very difficult to blend in the sky.  There's too much difference in the conditions under which the two sets of images were shot. I'm afraid my effort is poor.  The down shots stitched together well, though.


John

Дмитрий Марков

unread,
Mar 16, 2014, 2:52:08 AM3/16/14
to pt...@googlegroups.com
Can you share your PTGui final project?
Or you did it in Photoshp manually?

John Houghton

unread,
Mar 16, 2014, 3:54:04 AM3/16/14
to pt...@googlegroups.com
On Sunday, March 16, 2014 6:52:08 AM UTC, Дмитрий Марков wrote:
Can you share your PTGui final project?
Or you did it in Photoshp manually?

I generated two equirectangular images in  one project and merged them in Photoshop. FWIW, the project file is at:


John

Dmitriy Shilonosov

unread,
Mar 16, 2014, 6:03:46 AM3/16/14
to pt...@googlegroups.com
Hello,

I'd just like to note that the panorama Dmitry is trying to stitch is a test project released by the Airpano team (I am sure they are reading this as well. Hi guys! Great work by the way!).

The Airpano team is looking for a person who could stitch and retouche their panoramas on the regular paid basis so I think that is important addition to the thread.

Thanks,
Dmitry.
Reply all
Reply to author
Forward
0 new messages