PanoTools NG:
Re: FW: calibrating a lens/teleconverter combo using PTGui
Jim Watters 2007-Dec-31 19:53:37
The values for a, b, & c should not be that large. They should be below
0.1 for a decent lens anyway.
- In and Out FoV should be set the same. Do not optimize.
- Setting a, b, c to 0
- Set the "Panorama Settings" | Projection to Rectilinear("flat")
- Only optimizing b first.
- Then add d & e (the H & V offsets).
- Then add a & c
If you are still getting strange results add some more lines.
Jim
Yoram Bernet wrote:
> Thanks all for your help...
>
> So, Jim... I've followed your pointers here. I have the two images in the
> control point tab. I entered three series of points:
>
> 5 points on one line (type set to 'line 3')
> 5 on another line (type set to 'line 4')
> and 5 on the last line (type set to 'line 5').
>
> I ran the optimizer and got the report that the average control point
> distances are all '0' and that this is "too good to be true" :-). Also,
> FoV=39.12, a=3.02, b=7.789 and c=1.411.
>
> When I looked at the preview, my image was tiny, inverted and bore a strange
> resemblance to the source, yet had all sorts of weird lines swapped. Those
> lines that were identifiable were very straight.
>
> Could it be that I am setting CPs wrong?
>
> I set CPs by clicking in one pane, then accepting the PTGui suggestion for
> the other pane. I do this for five points along what should be a straight
> line, name them all 'line N', then move on to set the CPs for the next line.
>
> I'm baffled...
>
> Y
>
> -----Original Message-----
> From: Jim Watters [mailto:#removed#]
> Sent: Friday, December 28, 2007 6:22 PM
> To: Yoram Bernet
> Subject: Re: FW: [PanoToolsNG] calibrating a lens/teleconverter combo using
> PTGui
>
> On the Control Point tab you should have the same image on both the left
> and right.
> in the CP type drop down list you should have the option to choose "New
> Line (t3)"
> It should show up in the list of points on the right side as Line 3, if
> not right click on the type and correct using the pop-up menu.
> You need to add at least 4 points to make a line.
> To add points to a new line, change CP type to New Line (t4)
>
>
> Shift lenses are a little different to calibrate compared to others.
> The way panotools works you will end up will different values for
> different shifts if you do not modify the size of the image.
> One way to compensate for this is to create a canvas that is larger and
> place the image into the correct spot.
> See http://www.epaperpress.com/ptlens/ Shift lens
>
> I am pretty sure there is an article in the wiki that I can not find
> that has more up to date images.
>
> Best of luck. Give it a another try. Continue to post to the group with
> your questions.
>
> Jim
>
>
>
> Yoram Bernet wrote:
>
>> Thanks Jim.
>>
>> I feel like I'm flying by the seat of my pants here. It may be that I
>> just need to spend a weekend reading more of the related documents in
>> further depth. In any case, here goes:
>>
>> In PTGui, menu - Tools | Options | Panotools
>> Ensure PTStitcher / Nora / PTMender application is correct.
>>
>> */[/**/Yoram Bernet/**/] /*
>>
>> */It was blank. I gave it the path to ptstitcher.exe but not sure if
>> this is right./*
>>
>>
>> In PTGui on Optimizer tab, Optimize using : "Panorama Tools Optimizer"
>>
>> If this does not work send me the images directly so I can see.
>>
>> */[/**/Yoram Bernet/**/] Here are the 2 guis (the first is the one I
>> have. The 2^nd is from the tutorial):/*
>>
>> *//*
>>
>> *//*
>>
>> I started out trying to derive the coefficients to calibrate a lens
>> combo. As an interim step, I'm just trying to take an image and
>> correct it based on a couple of known straight lines in the image. I'm
>> trying to do so by following Erik's tutorial
>> (http://erik-krause.de/index.htm?./verzeichnung/distort_en.htm).
>>
>> If I need to just do a lot more studying before bugging you for help -
>> let me know. Regardles, I really appreciate your assistance. I'm about
>> to log off for the w/e.
>>
>> Happy New Year!
>>
>> Yoram
>>
>> Jim
>>
>> Yoram Bernet wrote:
>>
>>> Erik and Jim Watters, thanks to you both.
>>> I'm still stuck. I am following the tutorial that Erik pointed me towards.
>>> I've downloaded the latest pano12.dll that Jim pointed me towards and yet I
>>> seem to have a substantially different version of the Gui than the one in
>>> the tutorial. In particular, it does not allow me to designate control
>>> points of type 'Line' (just vertical or horizontal line) and miscellaneous
>>> other differences. Here's the gui that the tutorial shows: and here's the
>>> gui that I have:
>>>
>>> Obviously, I have a different version of (probably) PTGui. I'm running
>>> version 7.5 (according to the 'Help/About'.
>>>
>>> ANy suggestions on how I can get the straight line control points out of
>>> this version of PTGui? Or alternatively - how do I get the version of PTGui
>>> that supports the slcps?
>>>
>>> Many thanks and my apologies for the noise on the list. Hopefully - this is
>>> useful to others as well.
>>>
>>> Yoram
>>>
--
Jim Watters
Yahoo ID: j1vvy ymsgr:sendIM?j1vvy
jwatters @ photocreations . ca
http://photocreations.ca
--
<*> Wiki: http://wiki.panotools.org
<*> User Guidelines: http://wiki.panotools.org/User_Guidelines
<*> Nabble (Web) http://www.nabble.com/PanoToolsNG-f15658.html
<*> NG Member Map http://www.panomaps.com/ng
<*> Moderators/List Admins: #removed#
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/PanoToolsNG/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/PanoToolsNG/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:#removed#
mailto:#removed#
<*> To unsubscribe from this group, send an email to:
#removed#
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/