Re: [hugin-ptx] Vertical horizontal lines in overlap area?

2014-04-22 Thread panostar
On Monday, April 21, 2014 10:38:19 PM UTC+1, Donald Johnston wrote:

 The two images I’m using were taken with my lens set at 24mm (a bit to the 
 wide angle) so the building leans to the left in the left image and to the 
 right in the right image; that’s why I was using the vertical line control 
 points.  The overlap area contains the entire vertical part of the building 
 in both images so I was able to but exactly the same t1 points on both 
 images (for example, the vertical tower in the middle of the building).  So 
 was that redundant?  Would putting that t1 point on only one image or the 
 other have been more then enough?


Donald, A total of three t1 points spread over the entire panorama width 
should be enough. There is no point in duplicating t1 points on the same 
feature in overlapping images.

Do some tests of your own: remove all t1/t2 points and deliberately make 
the panorama grossly unlevel.  Then try the effect of optimizing with just 
two t1 points assigned to various pairs of vertical edges and see how well 
they work.  Then try three or more.

John

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/f61d0458-558e-4132-a9dc-7529e18e5715%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Vertical horizontal lines in overlap area?

2014-04-21 Thread Donald Johnston
John, thanks for the detailed information.  The two images I'm using were taken 
with my lens set at 24mm (a bit to the wide angle) so the building leans to the 
left in the left image and to the right in the right image; that's why I was 
using the vertical line control points.  The overlap area contains the entire 
vertical part of the building in both images so I was able to but exactly the 
same t1 points on both images (for example, the vertical tower in the middle of 
the building).  So was that redundant?  Would putting that t1 point on only one 
image or the other have been more then enough?  (I did have a few other t1 
points across the overlap and also outside the overlap to the right and left.)  
It would save a lot of time not putting the same vertical line on each image 
(and I understand your point about a vertical line going across two images that 
are one above the other and the use of two t1 points on different parts of that 
vertical feature).

On Apr 21, 2014, at 11:35 AM, panostar j.hough...@ntlworld.com wrote:

 On Friday, April 18, 2014 9:10:02 PM UTC+1, Donald Johnston wrote:
 I have two overlapping images of a building that I'm creating an 
 architectural rending from.  I auto generated the control pints and then 
 added vertical and horizontal line control points.  In the overlapping area I 
 put the same vertical line in both images. It did a great job of squaring up 
 the building. 
 My question. Did I have to put the same vertical line on each image or would 
 it have been better to put it on only one and let all the other CPs 
 straighten the other image to match?
 
 Levelling a panorama is usually accomplished with t1 (vertical line) control 
 points.  Provided the images have been accurately aligned by the optimizer 
 and the lens parameters are good, only two t1 control point pairs (hereafter 
 referred to simply as two t1 points) are needed to level the panorama 
 perfectly.  I.e. two horizontally separated vertical features need to be 
 marked with a t1 point on each.  The two vertical features must not be 
 separated by exactly 180 degrees of yaw otherwise the horizon will not 
 necessarily be levelled even though the marked verticals will be correctly 
 brought into the upright position.  Assigning three t1 points on three 
 vertical features is guaranteed to work since they cannot all be separated by 
 180 degrees of yaw.
 
 Assigning more than the minimum required number of t1 points can be useful to 
 assist  in the evaluation of the lens parameters.  For example, to correct 
 barrel distortion you can apply one t1 point on the top half of a bowed 
 vertical edge and a second t1 point on the lower half (or the second one on 
 the full extremities of the bowed edge).
 
 Marking several vertical features can also be useful to obtain an averaging 
 effect when there is some doubt about which vertical features are actually 
 vertical (if any).  Lamp posts are somewhat variable in this respect.  When 
 doing this, it's probably best to exclude the already optimized lens 
 parameters from the levelling optimization in order to avoid the lens 
 parameters being skewed in an unreasonable attempt to get all the not quite 
 vertical features simultaneously vertical.
 
 As to the question about which image to use when a vertical feature appears 
 in two overlapping images:  it doesn't really matter provided that the images 
 have already been nicely aligned with normal control points.  Also, it's ok 
 to assign a single t1 point on the top and bottom of a single vertical 
 feature that extends over two or more images in different rows.  I.e. a 
 single t1 control point pair need not be confined to a single image. You 
 assign the t1 point to the vertical feature with little regard for which 
 image(s) it happens to appear in.
 
 John
  
 
 -- 
 A list of frequently asked questions is available at: 
 http://wiki.panotools.org/Hugin_FAQ
 --- 
 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+unsubscr...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/hugin-ptx/76957af9-040a-40f8-ad5f-a9920f277ce4%40googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/BBCCDF47-B40A-4CAD-8D4C-5A90706F571B%40accesscomm.ca.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Vertical horizontal lines in overlap area?

2014-04-19 Thread Frederic Da Vitoria
2014-04-18 22:10 GMT+02:00 dgjohnston dgjohns...@accesscomm.ca:

I have two overlapping images of a building that I'm creating an
 architectural rending from.  I auto generated the control pints and then
 added vertical and horizontal line control points.  In the overlapping area
 I put the same vertical line in both images. It did a great job of squaring
 up the building.
 My question. Did I have to put the same vertical line on each image or
 would it have been better to put it on only one and let all the other CPs
 straighten the other image to match?


What I usually do (but I'd like opinions from users who know better how
Hugin works) is to try to spread a few vertical lines: at least one close
to the left border, one close to the right and one in the midle, and I try
to do this for each image. I think using the same line or not using it is
not so much relevant as using the longest line available. If the longest
line is the same in all images, then so be it.

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CANe_y9QDiLUVRArNwrjjcRixXC3Zx4%3D0tXLm65XLLdyJOO5Ypw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Vertical horizontal lines in overlap area?

2014-04-18 Thread dgjohnston
I have two overlapping images of a building that I'm creating an architectural 
rending from.  I auto generated the control pints and then added vertical and 
horizontal line control points.  In the overlapping area I put the same 
vertical line in both images. It did a great job of squaring up the building. 
My question. Did I have to put the same vertical line on each image or would it 
have been better to put it on only one and let all the other CPs straighten the 
other image to match?



Sent from my Samsung Galaxy smartphone.

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/rxhemlqj9u4dn1wxpg61dp8t.1397851114422%40email.android.com.
For more options, visit https://groups.google.com/d/optout.