From: dmg <dm...@uv...> - 2007-01-11 09:09:27
|
Hi Pablo, the function panoProjectionFeaturesQuery is complete. With this function hugin can query the library dynamically to find out what projections are available and what their limits are (and any parameters they use). I'll make sure that there is always a "default" value for the parameters, so even if hugin does not support them, the projection will work. I have also added a define in panorama.h with the number of projections: PANO_FORMAT_COUNT I have updated tools/panoinfo_unix.c to demonstrate its use. I am not totally sure that the output is correct (I am too tired now to look the projections up) by the way, can anybody elucidate me on what the "Panorama" projection is? --dmg ------- rest of output from panoinfo removed----------- Projection index: 0 name: Rectilinear Max Hfov: 179.000000 max Vfov: 179.000000 number of parms: 0 Projection index: 1 name: Panorama Max Hfov: 360.000000 max Vfov: 180.000000 number of parms: 0 Projection index: 2 name: Equirectangular Max Hfov: 360.000000 max Vfov: 180.000000 number of parms: 0 Projection index: 3 name: Fisheye Max Hfov: 179.000000 max Vfov: 179.000000 number of parms: 0 Projection index: 4 name: Stereographic Max Hfov: 340.000000 max Vfov: 179.000000 number of parms: 0 Projection index: 5 name: Mercator Max Hfov: 360.000000 max Vfov: 180.000000 number of parms: 0 Projection index: 6 name: Trans Mercator Max Hfov: 340.000000 max Vfov: 179.000000 number of parms: 0 Projection index: 7 name: Sinusoidal Max Hfov: 360.000000 max Vfov: 180.000000 number of parms: 0 Projection index: 8 name: Lambert Equal Area Conical Max Hfov: 360.000000 max Vfov: 180.000000 number of parms: 0 Projection index: 9 name: Lambert Equal Area Azimuthal Max Hfov: 360.000000 max Vfov: 180.000000 number of parms: 0 Projection index: 10 name: Albers Equal Area Conic Max Hfov: 360.000000 max Vfov: 180.000000 number of parms: 2 Parm 0 name phi1 min value -90.000000 max value 90.000000 Parm 1 name phi2 min value -90.000000 max value 90.000000 -- Daniel M. German "Security is not a product that can be purchased off the shelf, but consists of policies, people, Kevin Mitnick -> processes, and technology." http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . |