PanoTools mailing list archive

Mailinglist:PanoTools NG
Sender:Bruno Postle bruno@...
Date/Time:2014-Dec-12 16:07:32
Subject:Re: Panotools rounding bug?

Thread:


PanoTools NG: Re: Panotools rounding bug? Bruno Postle bruno@... 2014-Dec-12 16:07:32

On 12 December 2014 13:19:01 GMT+00:00, Steinar Midtskogen wrote:
>
>$ echo 0 0   90 0   180 0   270 0 | pano_trafo -r lens.pto 0
>2040.171640 1084.863599
>2031.337128 1100.300503
>2044.760528 1109.326401
>2053.617284 1093.875862
>
>However, if I use -0.5 for y, then x doesn't matter:

pano_trafo is using pixel coordinates, starting at top left of the image. So a negative value doesn't really mean anything (especially for an equirectangular image). To translate these pixel coordinates to altitude-azimuth you need to shift them by 90 and 180 pixels.

-- 
Bruno


------------------------------------
Posted by: Bruno Postle <#removed#>
------------------------------------

-- 
<*> Wiki: http://wiki.panotools.org
<*> User Guidelines: http://wiki.panotools.org/User_Guidelines
<*> Nabble (Web) http://panotoolsng.586017.n4.nabble.com/
<*> 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:
    #removed# 
    #removed#

<*> To unsubscribe from this group, send an email to:
    #removed#

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/


Next thread:

Previous thread:

back to search page