My Autopano Pro forum

Sharing knowledge around Autopano

You are not logged in.

Announcement

The documentation of AutoPano Pro can be found online at our Wiki. Before posting a question, please check with the manual and read the posting guidelines!

#1 2007-08-19 21:55:45

Bmachine
Member
From: Los Angeles, CA
Registered: 2007-07-10
Posts: 22

Straightening out the horizon

I have several panos that were shot hand held.  When APP stiches them together, the horizon comes out as a big s curve instead of a straight line.  Based on the wiki instructions, I have tried to use the Set Verticals tool but it never straightens out correctly.  It seems to just give me a different wavy horizon.

I was wondering if there was a way to simply draw a bezier line all the way accross the crooked horizon and tell APP to straighten it out and to give me a perfectly straight horizon.

Thank you very much.

Bo

Offline

 

#2 2007-08-19 23:05:16

hankkarl
Member
From: Connecticut, USA
Registered: 2006-02-21
Posts: 1799
Website

Re: Straightening out the horizon

In the future, you should spend a few bucks and do this http://en.wiki.autopano.net/What_to_do_ … a_panohead

For now, you must use the vertical lines tool.

1. there is a good tip here http://en.wiki.autopano.net/Straighten_ … _Photoshop
2. if you have a rectangular pano, you can use a horizontal line tool.
3. If you don't have the horizontal line tool available, use the yellow horizontal line halfway down the vertical line tool, and set it on the horizon.

Your best bet may be to do (3) at several places in the pano.  Look for the most extreeme slopes, and put the line there.

Offline

 

#3 2007-08-28 03:12:06

Bmachine
Member
From: Los Angeles, CA
Registered: 2007-07-10
Posts: 22

Re: Straightening out the horizon

Thank you Hankkari and sorry for the delay.

I have subsequently gotten a Nodal Ninja which should eliminate this problem.  But in the meantime, I still have a bunch of panos that were taken hand held and which need help.

To your suggestions:

1)  PS straightening.  Yes but that straightens the whole pano instead of a wavy horizon
3)  I did try 4 or 5 vertical line tool a different places on my horizon.  But all that did was to give me a different S curve.  It never straightened the horizon.

as far as 2)  I'm not sure what you mean.  Is there a horizontal line tool in APP that I am not aware of?  Or is this something that exists outside of APP?  I am using the default version (1.3.0 on Mac OS 10.4.10)

Thanks

Bo

Offline

 

#4 2007-08-28 15:11:12

hankkarl
Member
From: Connecticut, USA
Registered: 2006-02-21
Posts: 1799
Website

Re: Straightening out the horizon

1. Sorry, the tip applies to APP also.  just put a vertical line from an object and its reflection.  One line will change the roll (tilt) of a pano, two or more lines will straiten a wavy horizon.  The key is to find vertical lines.  Some landscapes don't have good verticals, but if there's water, you can use a reflection.

2. The horizontal line too is only available in rectangular projection, not spherical or cylindrical.

3. Try again, it takes practice.  Try putting lines where the horizon is correct, then putting them where the horizon is most incorrect.  Again, use the yellow line to match the horixon.  If you use enough vertical lines, you can approximate the bezier line you mention in the OP.   But if you use too many lines, APP may not put them all strait.  Sometimes you have to straiten in several passes.

Offline

 

#5 2007-08-28 16:29:29

[bo]
community overseer
From: Bulgaria
Registered: 2006-05-05
Posts: 1673

Re: Straightening out the horizon

There might be something else.

Some time ago I had really big problems with leveling the horizon in a series of shots. It waved or just broke at some places as corner between two images. Alex advised to check the CPs and that solved the issue.

The thing was, I had CPs placed on close to the camera objects (rocks) and far away objects (a distant peninsula across the bay) in the same time.

Putting the points on the foreground only and reoptimizing helped a lot - the horizon immediately formed a nice arch and just moving the center point up leveled it nicely. It had some breaks here and there, but that's fixable in PS with a bit of warp anyway.

Putting the points on the background produced a nice horizon with no breaks, but some paralax problems on the foreground rocks that were much harder to solve. So I choose the former solution. However, on another occasion, the far away hills were much more difficult to fix than the even foreground grass field, so I chose the latter.

All this probably does not apply if you're using a panohead, but I do mostly handheld panos, so...

Hope this helps.


Some of my panoramas, posted in the Autopano Pro flickr group.

Offline

 

#6 2007-08-28 18:50:19

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 2944

Re: Straightening out the horizon

The Set verticals tool (and its horizontal line variant) only works for "well glued source images"...

This tool, like Auto level, Center point and Modify yaw, pitch, roll don't change the way the sources images are "glued together". They can't compensate for those misplacement errors, they only change the way the result is seen (projected.)

If, while shooting handheld, you moved the camera, this can result in the source images being "glued" at an angle because the nearest objects displacement was higher than the distant objects displacement (the official name for that is parallax error.)

For handheld shots, the best solution is often to keep and/or add control points on distant objects and to remove any control point from nearby objects. For example, before I used a panohead, I always avoided having any CP on the ground at a low distance from the camera and on any other nearby object.

That the different sources of errors (namely bad CPs, parallax errors and misplaced horizon) are difficult to identify is a good reason to use a panohead (which helps a lot in avoiding parallax errors and a misplaced horizon) though in most occasions it would be possible to shoot handheld and to get an acceptable stitch using well located CPs.


Georges

Offline

 

#7 2007-09-20 19:23:25

Bmachine
Member
From: Los Angeles, CA
Registered: 2007-07-10
Posts: 22

Re: Straightening out the horizon

Thank you very much all and sorry for the delay in replying.  I am finishing a very large movie here at work (called Beowulf) and it has been hard to spend much time with APP.

The suggestion about using Control Points is very intriguing but it reveals one of the aspects of APP which I think are really not well developped.  And that is the documentation!  I have tried to understand how control points work but I have found the docs and tutorials to be quasi non existant on the subject.  There is a link for a video tutorial in the French section but the resulting page says:

"Utiliser l'éditeur de point de controle   Un article de Autopano Wiki.
    * reprendre la vidéo produite précédemment et ajouter quelques remarques sur les outils complementaires"
Not very helpful.  There are also bits of info about them on the wiki but they always seem to start at an advanced stage.  I need something that starts from square 1, such as :

Intro to Control Points
What do CP do?
How to generate an initial set of CPs
Examples of what various actions do
etc...

Does this exist someplace?  I have searched and I have seen many post that discuss CPs (such as your suggestions above) but no docs as to how to get there from scratch.

Thank you for your help.

Bo

Offline

 

#8 2007-09-20 19:48:05

hankkarl
Member
From: Connecticut, USA
Registered: 2006-02-21
Posts: 1799
Website

Re: Straightening out the horizon

Bmachine wrote:

Thank you very much all and sorry for the delay in replying.  I am finishing a very large movie here at work (called Beowulf) and it has been hard to spend much time with APP.

The suggestion about using Control Points is very intriguing but it reveals one of the aspects of APP which I think are really not well developped.  And that is the documentation!  I have tried to understand how control points work but I have found the docs and tutorials to be quasi non existant on the subject.  There is a link for a video tutorial in the French section but the resulting page says:

"Utiliser l'éditeur de point de controle   Un article de Autopano Wiki.
    * reprendre la vidéo produite précédemment et ajouter quelques remarques sur les outils complementaires"
Not very helpful.  There are also bits of info about them on the wiki but they always seem to start at an advanced stage.  I need something that starts from square 1, such as :

Intro to Control Points
What do CP do?
How to generate an initial set of CPs
Examples of what various actions do
etc...

Does this exist someplace?  I have searched and I have seen many post that discuss CPs (such as your suggestions above) but no docs as to how to get there from scratch.

Thank you for your help.

Bo

Did you read http://en.wiki.autopano.net/Main_Page , especially http://en.wiki.autopano.net/Control_Points_Editor ?

Offline

 

#9 2007-09-20 19:46:31

Bmachine
Member
From: Los Angeles, CA
Registered: 2007-07-10
Posts: 22

Re: Straightening out the horizon

Ooops, hold on there.  I just found a link in another message that I had not seen previously.  It is (appropriately enough):

http://en.wiki.autopano.net/Control_Points_Editor

Why didn't I see this before ???  I better read this first before I ask more stupid questions.  (But is the video mentioned in the French wiki available anywhere at all?)

Bo

Offline

 

#10 2007-09-21 09:15:01

[bo]
community overseer
From: Bulgaria
Registered: 2006-05-05
Posts: 1673

Re: Straightening out the horizon

Bmachine wrote:

I am finishing a very large movie here at work (called Beowulf)

Whooa, horsey! You're working on THE Beowulf movie? Huge respect, man!


Some of my panoramas, posted in the Autopano Pro flickr group.

Offline

 

#11 2007-09-21 17:42:44

Bmachine
Member
From: Los Angeles, CA
Registered: 2007-07-10
Posts: 22

Re: Straightening out the horizon

Wow, you've heard of this movie all the way in Bulgaria?  That is amazing.
Anyway, yes I have been working on it for a year and a half now.  We have 3 weeks left to finish it all.  7 days/week, 10-12 hours /day.  I'm burned out!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson