[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lens_calibrate/lensFunc_glue.h

Go to the documentation of this file.
00001 /* lensFunc_glue.h
00002 
00003   C API that lets libpano's coordinate remapping and parameter 
00004   optimization systems use the generic camera model provided
00005   by C++ class lensFunc.
00006 
00007   A specific lens function is selected by a 'handle' passed to
00008   a generic interface function.  That handle will have been
00009   posted in the parameter tables by the using program.  In an 
00010   fDesc, func is the address of a remapping function declared 
00011   here, and params = handle.
00012 
00013   These remappers combine all the steps of transforming centered 
00014   image coordinates to/from spherical pano coordinates, so no 
00015   other fns should be put on the "image" side of the stack.
00016 
00017 */
00018 
00019 /***************************************************************************
00020  *   Copyright (C) 2009 Thomas K Sharpless                                 *
00021  *   tksharpless@gmail.com                                                 *
00022  *                                                                         *
00023  *   This program is free software; you can redistribute it and/or modify  *
00024  *   it under the terms of the GNU General Public License as published by  *
00025  *   the Free Software Foundation; either version 2 of the License, or     *
00026  *   (at your option) any later version.                                   *
00027  *                                                                         *
00028  *   This program is distributed in the hope that it will be useful,       *
00029  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00030  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00031  *   GNU General Public License for more details.                          *
00032  *                                                                         *
00033  *   You should have received a copy of the GNU General Public License     *
00034  *   along with this program; if not, write to the                         *
00035  *   Free Software Foundation, Inc.,                                       *
00036  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00037  ***************************************************************************/
00038 
00039 
00040 // remapping stack functions (can call direct, too)
00041 int LF_sphere_photo ( double x_dest, double  y_dest, double* x_src, double* y_src, void* handle );
00042 int LF_photo_sphere ( double x_dest, double  y_dest, double* x_src, double* y_src, void* handle );
00043 
00044 // Optimization parameter funcs called via handle
00045 int LF_setOptPurpose ( void * handle, int purpose );
00046 
00047 int LF_getOptParams ( void * handle, double * ppa );
00048 
00049 int LF_setOptParams ( void * handle, double * ppa );

Generated on Mon Sep 20 01:01:27 2010 for Hugintrunk by doxygen 1.3.9.1