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

implementation of Space Transformation More...

#include <vigra/diff2d.hxx>
#include <hugin_math/Matrix3.h>
#include <panodata/PanoramaData.h>
Include dependency graph for SpaceTransform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HuginBase::Nona::_FuncParams
 Parameters for transformation calls Can be just one double, two double, 4 double, a matrix, matrix and a double. More...
 
struct  HuginBase::Nona::_fDesc
 Function descriptor to be executed by exec_function. More...
 
class  HuginBase::Nona::SpaceTransform
 

Namespaces

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

Typedefs

typedef void(* HuginBase::Nona::trfn )(double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 Transformation function type. More...
 
typedef struct
HuginBase::Nona::_fDesc 
HuginBase::Nona::fDescription
 Function descriptor to be executed by exec_function. More...
 

Functions

template<class VECTOR >
void HuginBase::Nona::combinePolynom4 (const VECTOR &p, const VECTOR &q, VECTOR &c)
 combine 4rd degree polynomials More...
 
template<class TRANSFORM >
void HuginBase::Nona::traceImageOutline (vigra::Size2D sz, TRANSFORM &transf, vigra::Rect2D &inside, vigra::Rect2D &boundingBox)
 Internal function to estimate the image scaling required to avoid black stripes at the image borders. More...
 
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

implementation of Space Transformation

Author
Alexandre Jenny alexa.nosp@m.ndre.nosp@m..jenn.nosp@m.y@le.nosp@m.-geo..nosp@m.com
Todo:
The file implements a lot of functions of libpano new. These should be replace with libpano versions.

Definition in file SpaceTransform.h.