Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
SpaceTransform.cpp File Reference

of Space Transformation More...

#include "SpaceTransform.h"
Include dependency graph for SpaceTransform.cpp:

Go to the source code of this file.

Namespaces

 HuginBase
 mainly consists of wrapper around the pano tools library, to assist in ressource management and to provide a nicer interface.
 
 HuginBase::Nona
 

Macros

#define MAXITER   100
 
#define R_EPS   1.0e-6
 

Functions

void HuginBase::Nona::rotate_erect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::inv_radial (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::resize (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::horiz (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::vert (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::radial (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::persp_sphere (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::persp_rect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::rect_erect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::pano_erect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::erect_pano (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::transpano_erect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::erect_transpano (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::sphere_tp_erect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::rect_sphere_tp (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::sphere_tp_rect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::sphere_tp_pano (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::pano_sphere_tp (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::erect_rect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::erect_sphere_tp (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
void HuginBase::Nona::mercator_erect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 convert from erect to mercator More...
 
void HuginBase::Nona::erect_mercator (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 convert from mercator to erect More...
 
void HuginBase::Nona::transmercator_erect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 convert from erect to transverse mercator More...
 
void HuginBase::Nona::erect_transmercator (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 convert from erect to transverse mercator More...
 
void HuginBase::Nona::sinusoidal_erect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 convert from erect to sinusoidal More...
 
void HuginBase::Nona::erect_sinusoidal (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 convert from sinusoidal to erect More...
 
void HuginBase::Nona::stereographic_erect (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 convert from erect to stereographic More...
 
void HuginBase::Nona::erect_stereographic (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 convert from stereographic to erect More...
 
static void HuginBase::Nona::cubeZero_copy (double *a, int *n, double *root)
 
static void HuginBase::Nona::squareZero_copy (double *a, int *n, double *root)
 
static double HuginBase::Nona::cubeRoot_copy (double x)
 
static double HuginBase::Nona::smallestRoot_copy (double *p)
 
static double HuginBase::Nona::CalcCorrectionRadius_copy (double *coeff)
 
static void HuginBase::Nona::radial_shift (double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 
Matrix3 HuginBase::Nona::SetMatrix (double a, double b, double c, int cl)
 
double HuginBase::Nona::estScaleFactorForFullFrame (const SrcPanoImage &src)
 Calculate effective scaling factor for a given source image. More...
 
double HuginBase::Nona::estRadialScaleCrop (const std::vector< double > &coeff, int width, int height)
 Calculate effective scaling factor. More...
 

Detailed Description

of Space Transformation

Author
Alexandre Jenny alexa.nosp@m.ndre.nosp@m..jenn.nosp@m.y@le.nosp@m.-geo..nosp@m.com

$Id$

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see http://www.gnu.org/licenses/.

Definition in file SpaceTransform.cpp.

Macro Definition Documentation

#define MAXITER   100

Definition at line 78 of file SpaceTransform.cpp.

Referenced by HuginBase::Nona::inv_radial().

#define R_EPS   1.0e-6

Definition at line 79 of file SpaceTransform.cpp.

Referenced by HuginBase::Nona::inv_radial().