[SOLVED] Using and Understanding the Vertical Lines Tool  

Share your tips and tricks here or get help with any Autopano Pro / Giga problem!
No bug reports (of any kind) in this forum!
User avatar
Aeriscera
Member
 
Posts: 513
Joined: Tue Mar 11, 2008 10:49 pm
Location: Bath, UK

[SOLVED] Using and Understanding the Vertical Lines Tool

by Aeriscera » Sat Mar 08, 2014 6:32 pm

I am having trouble getting the vertical lines in my pano to look vertical. I'm using the vertical lines tool (VLT) but the documentation does not tell you anything (afaik) about what to do when things don't work as expected.

My pano is a 360x170, missing the nadir and I want a spherical projection. I use the VLT to indicate what should be vertical at four, more-or-less equally spaced intervals and press enter. The result is that some of the verticals are OK but others are not. I keep trying with other choices or more accurate choices for vertical line indications, but I never seem to get a result where everything looks right.

I'd be interested to know why this happens with some panos but not with others. Also, some tips on how best to use the VLT would be appreciated. My "tips" are based on experience viz it seems to best (for a 360, spherical projection) to aim for between three and five VLT lines about half the height of the pano.

However, coming from a mathematical background, my guess is that what is going on here is that the VLT defines constraints that AP attempts to solve. For example, if you only draw one or two lines I find that only some parts of your pano are straightened - this seems consistent with solving an under-constrained system of equations. On the other hand, if you draw five or more lines then some constraints (VLT lines) seem to be ignored - consistent with the problem being over-constrained.

So, I would be interested to know what is going on from a theoretical perspective. In particular, I have notice that the VLT changes the vanishing point (VP). Is it the case that what the VLT is actually doing is determining where the VP is? Is there a theorem that says something like "Three VLT lines are necessary and sufficent to locate the VP"?

Aeris

no avatar
klausesser
Member
 
Posts: 7886
Joined: Mon May 22, 2006 12:18 am
Location: Duesseldorf, Germany

Re: Using and Understanding the Vertical Lines Tool

by klausesser » Sat Mar 08, 2014 7:29 pm

Aeriscera wrote:I am having trouble getting the vertical lines in my pano to look vertical. I'm using the vertical lines tool (VLT) but the documentation does not tell you anything (afaik) about what to do when things don't work as expected.

My pano is a 360x170, missing the nadir and I want a spherical projection. I use the VLT to indicate what should be vertical at four, more-or-less equally spaced intervals and press enter. The result is that some of the verticals are OK but others are not. I keep trying with other choices or more accurate choices for vertical line indications, but I never seem to get a result where everything looks right.

I'd be interested to know why this happens with some panos but not with others. Also, some tips on how best to use the VLT would be appreciated. My "tips" are based on experience viz it seems to best (for a 360, spherical projection) to aim for between three and five VLT lines about half the height of the pano.

However, coming from a mathematical background, my guess is that what is going on here is that the VLT defines constraints that AP attempts to solve. For example, if you only draw one or two lines I find that only some parts of your pano are straightened - this seems consistent with solving an under-constrained system of equations. On the other hand, if you draw five or more lines then some constraints (VLT lines) seem to be ignored - consistent with the problem being over-constrained.

So, I would be interested to know what is going on from a theoretical perspective. In particular, I have notice that the VLT changes the vanishing point (VP). Is it the case that what the VLT is actually doing is determining where the VP is? Is there a theorem that says something like "Three VLT lines are necessary and sufficent to locate the VP"?

Aeris


Did you set the editor to 360x180° or "use maximal projection space"? In that case you get a full sphere, but having an empty Nadir space - and you gett the verticals straight.

Klaus

User avatar
Aeriscera
Member
 
Posts: 513
Joined: Tue Mar 11, 2008 10:49 pm
Location: Bath, UK

Re: Using and Understanding the Vertical Lines Tool

by Aeriscera » Sat Mar 08, 2014 7:33 pm

Sorry Klaus, I am not sure what you mean. I have not used either of the editor options you mentioned. I don't understand whether you are say I should or should not use either to get my lines straight.

A

no avatar
klausesser
Member
 
Posts: 7886
Joined: Mon May 22, 2006 12:18 am
Location: Duesseldorf, Germany

Re: Using and Understanding the Vertical Lines Tool

by klausesser » Sat Mar 08, 2014 7:36 pm

Aeriscera wrote:Sorry Klaus, I am not sure what you mean. I have not used either of the editor options you mentioned. I don't understand whether you are say I should or should not use either to get my lines straight.

A



Having 360x170° doesn´t give you 2:1, right?

Klaus
Last edited by klausesser on Sat Mar 08, 2014 7:39 pm, edited 1 time in total.

User avatar
Aeriscera
Member
 
Posts: 513
Joined: Tue Mar 11, 2008 10:49 pm
Location: Bath, UK

Re: Using and Understanding the Vertical Lines Tool

by Aeriscera » Sat Mar 08, 2014 7:38 pm

Can you simply tell me what you suggest I do to have the best chance of getting the VLT to work please?

no avatar
klausesser
Member
 
Posts: 7886
Joined: Mon May 22, 2006 12:18 am
Location: Duesseldorf, Germany

Re: Using and Understanding the Vertical Lines Tool

by klausesser » Sat Mar 08, 2014 7:47 pm

Aeriscera wrote:Can you simply tell me what you suggest I do to have the best change of getting the VLT to work please?



That´s exactly what i did, man. You have 360x170°. You need 360x180°: 2:1. So when you set the working space to max. it has 360x180 instead of 360x170.
This way you can correct your verticals very well all over the image.

Btw.: that is well documented in the tutorials: http://www.autopano.net/wiki-en/action/ ... -_Panorama
Instead of "clamp to panorama content" use "maximum proj. range . . "

ProjSpace.png

User avatar
Aeriscera
Member
 
Posts: 513
Joined: Tue Mar 11, 2008 10:49 pm
Location: Bath, UK

Re: Using and Understanding the Vertical Lines Tool

by Aeriscera » Sat Mar 08, 2014 7:59 pm

Ok, that makes sense now. Thanks for the suggestion.

A


Return to Using Autopano Pro & Autopano Giga

Who is online

Users browsing this forum: No registered users and 2 guests

cron