stitch portraits together not landscape

136 views
Skip to first unread message

Michael Havens

unread,
Aug 24, 2016, 11:35:01 PM8/24/16
to hugin and other free panoramic software
I've been trying to do indoor panorama with no success. Until I turned the camera on it's side and took a series of 5 portrait oriented photographs. The resulting panorama was on it's side but other than that it was perfect.   
 The attached file is the final image after it has been rotated

DSC_0319 - DSC_0323_01.jpg

Michael Havens

unread,
Aug 24, 2016, 11:47:16 PM8/24/16
to hugin and other free panoramic software
I struggled with sharing that because I am afraid that now that I shared this it is going to be 'fixed' but the fix will make it worse.

Terry Duell

unread,
Aug 25, 2016, 12:38:24 AM8/25/16
to hugi...@googlegroups.com
Hello Michael,

On Thu, 25 Aug 2016 13:47:16 +1000, Michael Havens
<havens....@gmail.com> wrote:

> I struggled with sharing that because I am afraid that now that I shared
> this it is going to be 'fixed' but the fix will make it worse.

Hard to see how a fix will make it worse.

>
> On Wednesday, August 24, 2016 at 11:35:01 PM UTC-4, Michael Havens wrote:
>>
>> I've been trying to do indoor panorama with no success. Until I turned
>> the camera on it's side and took a series of 5 portrait oriented
>> photographs.
>> The resulting panorama was on it's side but other than that it was
>> perfect.
>>
>> The attached file is the final image after it has been rotated

It would be helpful to at least provide your .pto file for your original
project (the one which was unsuccessful).
If you were able to also provide your original 5 images (via Dropbox or
similar service) we might be able to get a clear idea of what is going on,
so we can either point out what you can do to overcome the issue, or to
decide if hugin has a bug.

Cheers,
--
Regards,
Terry Duell

David W. Jones

unread,
Aug 25, 2016, 1:37:34 AM8/25/16
to hugi...@googlegroups.com
Also what version of Hugin? I had a version or two ago that would not
properly align a vertical pano made from portrait shots, but would
happily produce the same pano (rotated horizontally) if I rotated each
image outside of Hugin before trying.

Haven't had that problem for a while though. One of the updates seems to
have fixed it.

--
David W. Jones
gnome...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

Michael Havens

unread,
Aug 25, 2016, 7:38:24 AM8/25/16
to hugin and other free panoramic software
pto file is attached and here is the link:
I also included the first portrait pano I did. It was less successful than this one butbetter than any other I had done before.
DSC_0319 - DSC_0323.pto

Alex Romosan

unread,
Aug 25, 2016, 5:26:32 PM8/25/16
to Michael Havens, hugin and other free panoramic software
Michael Havens <havens....@gmail.com> writes:

> pto file is attached and here is the link:
> https://drive.google.com/open?id=0B2xvsVTZy4y1Nk5vZWNzMkpyUVU

this is my take on it:

http://caliban.lbl.gov/DSC_0319-DSC_0323.tif

attached the pto file:

DSC_0319-DSC_0323.pto

Terry Duell

unread,
Aug 25, 2016, 6:49:08 PM8/25/16
to hugi...@googlegroups.com
Hello Michael,

On Thu, 25 Aug 2016 21:38:24 +1000, Michael Havens
<havens....@gmail.com> wrote:

> pto file is attached and here is the link:
> https://drive.google.com/open?id=0B2xvsVTZy4y1Nk5vZWNzMkpyUVU
> I also included the first portrait pano I did. It was less successful
> than this one butbetter than any other I had done before.
>

I loaded your images into hugin-2016.2.00-RC1, and didn't have any
problems at all, see the screenshot attached. I have also included my .pto
file.
You provided the portrait images...I thought your initial problem was that
hugin couldn't handle your images shot in landscape, so why provide the
portrait images?

What OS and version of hugin are using
DSC_0319-DSC_0323_TLD.pto
Fast Panorama preview_006.jpg

Michael Havens

unread,
Aug 25, 2016, 6:53:55 PM8/25/16
to Alex Romosan, hugin and other free panoramic software
--alex--

--
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |
2 Attachments
 

Michael Havens <havens....@gmail.com>

5:34 PM (1 hour ago)
to Alex
Very good. How did you do it?

--alex--

Alex Romosan

5:45 PM (1 hour ago)
to me
Michael Havens <havens....@gmail.com> writes:

> Very good. How did you do it?

loaded the images into the latest hugin, generated control points and
vertical lines for all the images and then went through the optimization
steps up to everything without translation. autocropped the file and
saved it. loaded into gimp to auto correct the white balance. this was
done on linux.

Michael Havens <havens....@gmail.com>

6:39 PM (12 minutes ago)
to Alex
I thought that it may have been that I didn't optimize but that turned out not to be the problem. When I run align it automatically finds vertical lines so it doesn't ask me to do it. Well, after fiddling with it a bit I find that if I click 'straighten' in the align/move tab it gives me what I want but when I click the 'create panorama' button only a small part of of the desired image is stitched together (images two and three). Any Ideas as to what is wrong?

info:
Operating System: Linux 3.19.0-32-generic x86_64
Architecture: 64 bit
Free memory: 140052198648283 kiB

Hugin
Version: 2016.0.0.3b4e2790cb90
Path to resources: /usr/share/hugin/xrc/
Path to data: /usr/share/hugin/data/
Hugins camera and lens database: /home/bmike1/.hugindata/camlens.db
Multi-threading using C++11 std::thread and OpenMP
Monitor profile: Screen 1 #1 2016-06-29 13-30 S XYZLUT+MTX

--alex--

--
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


Michael Havens

unread,
Aug 25, 2016, 7:00:06 PM8/25/16
to hugi...@googlegroups.com
info:
Operating System: Linux 3.19.0-32-generic x86_64
Architecture: 64 bit
Free memory: 140052198648283 kiB

Hugin
Version: 2016.0.0.3b4e2790cb90
Path to resources: /usr/share/hugin/xrc/
Path to data: /usr/share/hugin/data/
Hugins camera and lens database: /home/bmike1/.hugindata/camlens.db
Multi-threading using C++11 std::thread and OpenMP
Monitor profile: Screen 1 #1 2016-06-29 13-30 S XYZLUT+MTX
--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---You received this message because you are subscribed to a topic in the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hugin-ptx/Y3cZsHXPDAE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hugin-ptx+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/op.ymrwbxf9rs0ygh%40localhost.

For more options, visit https://groups.google.com/d/optout.

Terry Duell

unread,
Aug 25, 2016, 7:08:13 PM8/25/16
to hugi...@googlegroups.com
Hello Michael,

On Fri, 26 Aug 2016 08:59:43 +1000, Michael Havens
<havens....@gmail.com> wrote:

> info:
> Operating System: Linux 3.19.0-32-generic x86_64
> Architecture: 64 bit
> Free memory: 140052198648283 kiB
>
> Hugin
> Version: 2016.0.0.3b4e2790cb90
> Path to resources: /usr/share/hugin/xrc/
> Path to data: /usr/share/hugin/data/
> Hugins camera and lens database: /home/bmike1/.hugindata/camlens.db
> Multi-threading using C++11 std::thread and OpenMP
> Monitor profile: Screen 1 #1 2016-06-29 13-30 S XYZLUT+MTX
>


OK, thanks for that.

>> You provided the portrait images...I thought your initial problem was
>> that hugin couldn't handle your images shot in landscape, so why
>> provide the
>> portrait images?

So, is there still a problem with landscape images that we need to sort
out?

Michael Havens

unread,
Aug 25, 2016, 7:18:02 PM8/25/16
to hugi...@googlegroups.com
well, I figured out that I got lucky with this panorama. most of my indoor panoramas don't turn out. I am told this is due to paralax.

--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---You received this message because you are subscribed to a topic in the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hugin-ptx/Y3cZsHXPDAE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hugin-ptx+unsubscribe@googlegroups.com.

Terry Duell

unread,
Aug 25, 2016, 7:30:02 PM8/25/16
to hugi...@googlegroups.com
Hello Michael,

On Fri, 26 Aug 2016 09:17:39 +1000, Michael Havens
<havens....@gmail.com> wrote:

> well, I figured out that I got lucky with this panorama. most of my
> indoor panoramas don't turn out. I am told this is due to paralax.
>

OK, that is a common problem shooting handheld and particularly indoors
where you often have items close to the camera.
You can reduce parallax by being careful with the way you rotate the
camera, to ensure you do it about the nodal point, and by using masking to
selectively avoid the parallax errors in the stitch.
If you haven't already done so, do a bit of reading on how to find your
nodal point, and search for methods of shooting handheld panos. The string
and drop-weight trick is a good one to help you get a good idea of how to
do it.
Let's know if you still have any other problems with hugin.

Michael Havens

unread,
Aug 25, 2016, 7:51:45 PM8/25/16
to hugi...@googlegroups.com
okay, but what about this image were it mostly works? How do I get that light rectange (which is what is showing up in the panorama)  to be bigger?
Inline image 1

--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---You received this message because you are subscribed to a topic in the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hugin-ptx/Y3cZsHXPDAE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hugin-ptx+unsubscribe@googlegroups.com.

Michael Havens

unread,
Aug 25, 2016, 7:54:58 PM8/25/16
to hugi...@googlegroups.com
Do you think installing the release candidate will fix this?

RizThon

unread,
Aug 25, 2016, 10:29:23 PM8/25/16
to hugi...@googlegroups.com
Concerning the "light rectange", is Hugin simply cropping too much for some reasons? That is it's keeping only that small part of the image? Can you check the "Crop" tab?

You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/CAL%2BkYzAkc68gxh2%2BOXtj2cL0BfMjukvik6dhduVCQH0K3d%3DksA%40mail.gmail.com.

Terry Duell

unread,
Aug 25, 2016, 10:59:30 PM8/25/16
to hugi...@googlegroups.com
Hello Michael,

On Fri, 26 Aug 2016 09:51:21 +1000, Michael Havens
<havens....@gmail.com> wrote:

> okay, but what about this image were it mostly works? How do I get that
> light rectange (which is what is showing up in the panorama) to be
> bigger?
> [image: Inline image 1]
>

Did you set those crop boundaries or did it just happen to be like that?
If I understand your problem correctly, just go to the Crop tab and drag
the boundaries to where you want them, or simply select 'autocrop', then
you can manually adjust the boundaries from there.

Terry Duell

unread,
Aug 25, 2016, 11:10:13 PM8/25/16
to hugi...@googlegroups.com
On Fri, 26 Aug 2016 09:54:34 +1000, Michael Havens
<havens....@gmail.com> wrote:

> Do you think installing the release candidate will fix this?
>

Not sure, I can't recall any of the recent versions doing that.
If you start the project from scratch (i.e. don't load in an existing
.pto), by loading your images, finding control points and optimising, then
open the Fast Panorama preview window, does it display a cropped image, or
is the crop boundary set to it's maximum i.e at the edges of the FPp
window?

Abrimaal

unread,
Aug 26, 2016, 12:39:44 AM8/26/16
to hugin and other free panoramic software
I usually take photos for panoramas in the portrait orientation, because it is simpler to stitch less rows of photos that cover almost the same area.
In this case you should
- when you take photos, rotate the camera around its axes, that the matrix is always in the same place, it will avoid parallax shift.
- adjust the vertical lines, remove the wrong ones and add some manually
- use cylindrical, equirectangular or Mercator projection
- remove some control points placed on the nearest objects

Michael Havens

unread,
Aug 26, 2016, 7:32:55 AM8/26/16
to hugi...@googlegroups.com
How do you place/remove vertical lines?
Regardless, I started the computer today, opened a .pto and the crop was correct. I'll look at the crop tab next time this happens.
Thanks.



--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to a topic in the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hugin-ptx/Y3cZsHXPDAE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hugin-ptx+unsubscribe@googlegroups.com.

Terry Duell

unread,
Aug 26, 2016, 7:17:06 PM8/26/16
to hugi...@googlegroups.com
Hello Michael,

On Fri, 26 Aug 2016 21:32:30 +1000, Michael Havens
<havens....@gmail.com> wrote:

> How do you place/remove vertical lines?
Have a read of tutorials if you haven't already done so, I think much of
this covered but probably using the old interface. If it all still a
mystery please ask again and I'm sure someone will give some detailed help.

Abrimaal

unread,
Aug 28, 2016, 6:21:41 PM8/28/16
to hugin and other free panoramic software
Open the Panorama Editor
View the same image in two panels
To remove: click on the point and Delete
To add: click on the picture in panel 1 and panel 2, then Fine-Tune
Next image pair, repeat for all
Align again

Michael Havens

unread,
Aug 28, 2016, 7:46:41 PM8/28/16
to hugi...@googlegroups.com
thank you for that!

--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to a topic in the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hugin-ptx/Y3cZsHXPDAE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hugin-ptx+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages