From: <bru...@us...> - 2009-01-17 22:46:40
|
Revision: 924 http://panotools.svn.sourceforge.net/panotools/?rev=924&view=rev Author: brunopostle Date: 2009-01-17 22:35:41 +0000 (Sat, 17 Jan 2009) Log Message: ----------- fix reverse calculation for pannini (Thomas Modes) Modified Paths: -------------- trunk/libpano/ChangeLog trunk/libpano/math.c Modified: trunk/libpano/ChangeLog =================================================================== --- trunk/libpano/ChangeLog 2009-01-08 23:47:30 UTC (rev 923) +++ trunk/libpano/ChangeLog 2009-01-17 22:35:41 UTC (rev 924) @@ -1,3 +1,7 @@ +2009-01-17 Thomas Modes + + * match.c: fix reverse calculation for pannini + 2009-01-02 dmg <dmg@phosphorus> * * adjust.c, filter.h, math.c, panorama.h, parser.c & Modified: trunk/libpano/math.c =================================================================== --- trunk/libpano/math.c 2009-01-08 23:47:30 UTC (rev 923) +++ trunk/libpano/math.c 2009-01-17 22:35:41 UTC (rev 924) @@ -792,7 +792,7 @@ phi = atan( phi); *x_src = 2 * lambda * distanceparam; - *y_src = phi * distanceparam; + *y_src = atan(phi) * distanceparam; return 1; } @@ -843,7 +843,7 @@ phi = y * temp * temp; *x_src = 2 * lambda * distanceparam; - *y_src = phi * distanceparam; + *y_src = atan(phi) * distanceparam; return 1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |