PTGUI - Spherical Panorama Problem

181 views
Skip to first unread message

Jan Offert

unread,
Mar 17, 2015, 5:55:57 AM3/17/15
to pt...@googlegroups.com
Hello,

I am having problems creating spherical panoramas with my Samyang 14mm (on Canon 5DMKII). So I downloaded Michel Thoby's example: www.maisonburret.com/Sample_Image_Database/SAM14-6H_JPG.zip
If I try it on my own using his images I am not even getting close to a panorama.

What I did:

  1. Load Images
  2. Go to Advanced and used the lens profile for the Samyang which Michel Thoby had in this PTGui template and also unchecked "Automatic"
  3. Set Panorama Settings to Equirectangular (360/180)
  4. Align Images > Images 4,5,6,7,8 have no control points
  5. Go to the control points tab, set control points but have no idea how to find control points for the Nadir. Also the Zenith is more guessing. Anyway I don't get even close to a panorama

What am I doing wrong?


John Houghton

unread,
Mar 22, 2015, 5:06:57 AM3/22/15
to pt...@googlegroups.com
Jan, This is a tricky project to stitch automatically because of the repeating structural features that may confuse the automatic control point generator, resulting in links between non-neighbouring images.  One way to prevent this is to avoid running the Align Images option and take control manually.  Use these steps as a general guide on how to go about this:

1. Load the images into PTGui and create masks to hide the panohead/tripod in the nadir images. 

2. If you have previously successfully stitched a set of images taken in exactly the same configuration, apply the project file for this to your present images via File->Apply template.  This will initialize the  y,p,r and lens parameters, so that your images should be already very close to their final aligned state.  Alternatively, check/set the lens  parameters on the Lens Details tab, and position the images approximately using the Panorama Editor window and the Image Parameters tab.  The row of 6 images can be quickly assigned yaw values by selecting the 6 yaw boxes and using the Fill Yaw button at the bottom of the table. Apply pitch +/-90 to the zenith and nadir images as appropriate.  Drag them round to roughly match with the horizontal row, if practical.

3. Select the Control Points tab, and generate control points by selecting successive pairs of images 0-1, 1-2, 2-3, ..., 5-0 and pressing ctrl+shift and G to generate the points.  This doesn't take long if you use the Next button to select the next pair each time.
 
4. Assign a few points manually between the zenith image and the tops of the row of 6 images.  Use the rotate buttons for the zenith image to facilitate visually matching the images and zoom right in to find features for control points.
 
5. Do likewise for the nadir images. Brighten the images with the slider to see into dark areas.

6. Select the Optimizer tab and select Advanced mode.
 
7. In the lens parameters: if a template has been applied, check only FOV and the horizontal and vertical shift parameters.  Otherwise check FOV and parameter b.  Check y,p,r for all images except one (usually image 0, but it doesn't really matter which). Then run the optimizer.
 
8. That should yield a reasonable alignment of the images.  Rerun the optimizer after additionally checking the lens parameters a and c together with the shift parameters d and e.

9. From the Control Points menu, run Delete Worst Points and rerun the optimizer, which should now be giving a good result and the Panorama Editor  showing a good alignment.

10. When not using a template, you might want to revisit pairs of images to generate additional control points automatically using the Gererate Control Points Here option, to improve the spread of points that will enable the lens parameters to be more accurately evaluated by the optimizer, which should then be run again.  Check/correct/delete any points in the control points table having large distance values, which indicates possible image misalignment at those points.

If things go drastically awry at any stage, run Undo to get back to a sane state.  At worst, start by optimizing only images 0-1 (selecting only those two images in the Use Control Points Of list).  Then additionally include image 2, then 3 etc.  When things go wrong, check control points from the last added image to see what's causing the trouble and correct.

John
 

Fresco

unread,
Jan 29, 2018, 3:02:43 PM1/29/18
to PTGui Support
Hi, I tried many many times to make images (taken with Samyang 14mm and 5DMKIII) stitch on PTGUI pro, but I've been unable to do it even with only 2 images (HDR or not) from interior photos.
I've followed 5-6 online tutorial to the letter, I've also tried to correct distortions with PTLens before importing into PTGUI, without success.
Can anyone share with me successful settings on a PTGui Project? Or just settings to correct distortions.
Maybe I could learn from examples...

PTGui Support

unread,
Jan 29, 2018, 3:38:36 PM1/29/18
to pt...@googlegroups.com
Hi Fresco,

By default PTGui 10 will assume any lens below 15mm is a fisheye lens,
while the samyang 14mm is a rectilinear lens. After loading the images,
make sure that the lens parameters are set to 14mm and rectilinear
projection.

PTGui 11 beta should get this right automatically.

Also, especially when taking interior photos, be wary of parallax. You
really need to mount the camera on a panoramic tripod head and make sure
the panohead is calibrated for this specific lens.

If you can't get it to work please make a set of images available for
download.

Kind regards,

New House Internet Services BV
Joost Nieuwenhuijse

-----------------------------------------------
PTGui - Photo Stitching Software

www.ptgui.com
For support see: http://www.ptgui.com/faq/
-----------------------------------------------

On 29/01/2018 21:02, Fresco wrote:
> Hi, I tried many many times to make images (taken with Samyang 14mm and
> 5DMKIII) stitch on PTGUI pro, but I've been unable to do it even with
> only 2 images (HDR or not) from interior photos.
> I've followed 5-6 online tutorial to the letter, I've also tried to
> correct distortions with PTLens before importing into PTGUI, without
> success.
> Can anyone share with me successful settings on a PTGui Project? Or just
> settings to correct distortions.
> Maybe I could learn from examples...
>
> Il giorno martedì 17 marzo 2015 10:55:57 UTC+1, Jan Offert ha scritto:
>
> Hello,
>
> I am having problems creating spherical panoramas with my Samyang
> 14mm (on Canon 5DMKII). So I downloaded Michel Thoby's example:
> www.maisonburret.com/Sample_Image_Database/SAM14-6H_JPG.zip
> <http://www.maisonburret.com/Sample_Image_Database/SAM14-6H_JPG.zip>
> If I try it on my own using his images I am not even getting close
> to a panorama.
>
> What I did:
>
> 1. Load Images
> 2. Go to Advanced and used the lens profile for the Samyang which
> Michel Thoby had in this PTGui template and also unchecked
> "Automatic"
> 3. Set Panorama Settings to Equirectangular (360/180)
> 4. Align Images > Images 4,5,6,7,8 have no control points
> 5. Go to the control points tab, set control points but have no
> idea how to find control points for the Nadir. Also the Zenith
> is more guessing. Anyway I don't get even close to a panorama
>
> What am I doing wrong?
>
>
> --
> Many people are reading this forum via email and get every post
> delivered to their inbox. To limit the amount of data please do not add
> attachments or images to your posts; instead upload your files at a file
> sharing site (for example http://sendspace.com// ) and include a link in
> your message.
> ---
> 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 post to this group, send email to pt...@googlegroups.com
> <mailto:pt...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/ptgui.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/b95cca05-d6a3-4a6a-ac6f-d4e50c21b600%40googlegroups.com
> <https://groups.google.com/d/msgid/ptgui/b95cca05-d6a3-4a6a-ac6f-d4e50c21b600%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages