From: <dk...@us...> - 2009-07-13 09:06:05
|
Revision: 1010 http://panotools.svn.sourceforge.net/panotools/?rev=1010&view=rev Author: dkg5 Date: 2009-07-13 09:06:03 +0000 (Mon, 13 Jul 2009) Log Message: ----------- corrected projective distance coordinate in z Modified Paths: -------------- branches/libpano_gsoc2009_mosaic/math.c Modified: branches/libpano_gsoc2009_mosaic/math.c =================================================================== --- branches/libpano_gsoc2009_mosaic/math.c 2009-07-13 08:56:02 UTC (rev 1009) +++ branches/libpano_gsoc2009_mosaic/math.c 2009-07-13 09:06:03 UTC (rev 1010) @@ -488,7 +488,7 @@ // Now you have [x_dest, y_dest, z1]'. Multiply that vector by M, the adjusted slant matrix v[0] = x_dest; v[1] = y_dest; - v[2] = 50; + v[2] = z1; matrix_mult(m_slant,v); *x_src = v[0]/v[2]; // convert back to cartesian coordinates This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |