From: <bru...@us...> - 2009-09-27 09:44:21
|
Revision: 1086 http://panotools.svn.sourceforge.net/panotools/?rev=1086&view=rev Author: brunopostle Date: 2009-09-27 09:44:14 +0000 (Sun, 27 Sep 2009) Log Message: ----------- Support for i-line TrX, TrY, TrZ 'XYZ transform' parameters in libpano13-2.9.15 Modified Paths: -------------- trunk/Panotools-Script/Changes trunk/Panotools-Script/lib/Panotools/Script/Line/Image.pm Modified: trunk/Panotools-Script/Changes =================================================================== --- trunk/Panotools-Script/Changes 2009-09-27 09:30:50 UTC (rev 1085) +++ trunk/Panotools-Script/Changes 2009-09-27 09:44:14 UTC (rev 1086) @@ -1,7 +1,8 @@ Revision history for Panotools::Script. 0.24 - - support for i-line Tx, Ty, Tz & Ts 'tilt' parameters in libpano13-2.9.15 + - support for i-line TiX, TiY, TiZ & TiS 'tilt' parameters in libpano13-2.9.15 + - support for i-line TrX, TrY, TrZ 'XYZ transform' parameters in libpano13-2.9.15 0.23 - Add new projections to pod documentation and ptoinfo output Modified: trunk/Panotools-Script/lib/Panotools/Script/Line/Image.pm =================================================================== --- trunk/Panotools-Script/lib/Panotools/Script/Line/Image.pm 2009-09-27 09:30:50 UTC (rev 1085) +++ trunk/Panotools-Script/lib/Panotools/Script/Line/Image.pm 2009-09-27 09:44:14 UTC (rev 1086) @@ -62,9 +62,13 @@ Rd Re - Tx,Ty,Tz Tilt on x axis, y axis, z axis - Ts Scaling of field of view in the tilt transformation + TiX,TiY,TiZ Tilt on x axis, y axis, z axis + TiS Scaling of field of view in the tilt transformation + TrX,TrY,TrZ Translation on x axis, y axis, z axis + + Te0,Te1,Te2,Te3 Test parameters + Vm vignetting correction mode (default 0): 0: no vignetting correction 1: radial vignetting correction (see j,k,l,o options) @@ -116,9 +120,9 @@ my $self = shift; } -sub _valid { return '^([abcdefghjnprtvwy]|[SCXYZ]|K[0-2][ab]|V[abcdfmxy]|Eev|E[rb]|T[xyzs]|R[abcde])(.*)' } +sub _valid { return '^([abcdefghjnprtvwy]|[SCXYZ]|K[0-2][ab]|V[abcdfmxy]|Eev|E[rb]|Te[0123]|Tr[XYZ]|Ti[XYZS]|R[abcde])(.*)' } -sub _valid_ptoptimizer { return '^([abcdefghnprtvwySC]|T[xyzs])(.*)' } +sub _valid_ptoptimizer { return '^([abcdefghnprtvwySC]|Te[0123]|Tr[XYZ]|Ti[XYZS])(.*)' } sub _sanitise_ptoptimizer { @@ -210,7 +214,8 @@ push @report, ['Format', $format]; push @report, ['Horizontal Field of View', $self->{v}]; push @report, ['Roll Pitch Yaw', $self->{r} .','. $self->{p} .','. $self->{y}]; - push @report, ['Tilt', $self->{Tx} .','. $self->{Ty} .','. $self->{Tz} .','. $self->{Ts}] if defined $self->{Ts}; + push @report, ['Tilt', $self->{TiX} .','. $self->{TiY} .','. $self->{TiZ} .','. $self->{TiS}] if defined $self->{TiS}; + push @report, ['XYZ transform', $self->{TrX} .','. $self->{TrY} .','. $self->{TrZ}] if defined $self->{TrX}; push @report, ['Lens distortion', $self->{a} .','. $self->{b} .','. $self->{c}] if defined $self->{a}; push @report, ['Image centre', $self->{d} .','. $self->{e}] if defined $self->{d}; push @report, ['Image shear', $self->{g} .','. $self->{t}] if defined $self->{g}; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |