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:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  HuginBase
namespace  HuginBase::Nona

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

Typedefs

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

Functions

template<class VECTOR>
void combinePolynom4 (const VECTOR &p, const VECTOR &q, VECTOR &c)
 combine 4rd degree polynomials
template<class TRANSFORM>
void 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.


Detailed Description

implementation of Space Transformation

Author:
Alexandre Jenny <alexandre.jenny@le-geo.com>

Todo:
The file implements a lot of functions of libpano new. These should be replace with libpano versions.

Definition in file SpaceTransform.h.


Typedef Documentation

typedef struct HuginBase::Nona::_fDesc HuginBase::Nona::fDescription
 

Function descriptor to be executed by exec_function.

Referenced by HuginBase::Nona::SpaceTransform::AddTransform().

typedef void(* HuginBase::Nona::trfn)(double x_dest, double y_dest, double *x_src, double *y_src, const _FuncParams &params)
 

Transformation function type.

Definition at line 67 of file SpaceTransform.h.


Function Documentation

template<class VECTOR>
void HuginBase::Nona::combinePolynom4 const VECTOR &  p,
const VECTOR &  q,
VECTOR &  c
 

combine 4rd degree polynomials

Computes new polynomial so that: c(x) ~= q(p(x)) c is also a 4rd degree polynomial, and the expansion is cut after x^4 constant term is assumed to be 0, and not included in p,q and c

Definition at line 258 of file SpaceTransform.h.

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.

Definition at line 281 of file SpaceTransform.h.

References celeste::max(), and celeste::min().

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


Generated on Wed Jul 16 01:25:43 2014 for Hugintrunk by  doxygen 1.3.9.1