TuttleOFX  1
tuttle::plugin::lens::CoordonatesSystemParams< F > Class Template Reference

Contains functions to map coordinates between : * canonical coordinates system (ofx) e.g PAL D1. More...

#include <lensDistortProcessParams.hpp>

Inheritance diagram for tuttle::plugin::lens::CoordonatesSystemParams< F >:

Public Types

typedef F Float
typedef boost::gil::point2< FloatPoint2

Public Member Functions

virtual ~CoordonatesSystemParams ()=0
Point2 pixelToNormalized (const Point2 &p) const
 conversion functions
Point2 normalizedToPixel (const Point2 &pn) const
Point2 pixelToCenterNormalized (const Point2 &p) const
template<typename F2 >
Point2 pixelToCenterNormalized (const boost::gil::point2< F2 > &p) const
Point2 centerNormalizedToPixel (const Point2 &pn) const

Data Fields

Point2 _imgSizeSrc
Point2 _imgCenterSrc
Point2 _imgCenterDst
F _imgHalfDiagonal
 half diagonal of the image (to work between -0.5 and 0.5)
F _pixelRatio

Detailed Description

template<typename F>
class tuttle::plugin::lens::CoordonatesSystemParams< F >

Contains functions to map coordinates between : * canonical coordinates system (ofx) e.g PAL D1.

----------------------------- 720.0, 576.0 | | | | | | | | | | ----------------------------- 0.0, 0.0 * centered normalized coordinate system (custom, only depending on image width) ----------------------------- 0.5, 0.5 | | |---------------------------| | | | | | 0.0, 0.0 | | | | | |---------------------------| | | ----------------------------- -0.5, -0.5

Definition at line 38 of file lensDistortProcessParams.hpp.


Member Typedef Documentation

template<typename F>
typedef F tuttle::plugin::lens::CoordonatesSystemParams< F >::Float

Definition at line 41 of file lensDistortProcessParams.hpp.


Constructor & Destructor Documentation

template<typename F >
tuttle::plugin::lens::CoordonatesSystemParams< F >::~CoordonatesSystemParams ( ) [pure virtual]

Definition at line 94 of file lensDistortProcessParams.hpp.


Member Function Documentation

template<typename F>
Point2 tuttle::plugin::lens::CoordonatesSystemParams< F >::centerNormalizedToPixel ( const Point2 pn) const [inline]

Definition at line 85 of file lensDistortProcessParams.hpp.

template<typename F>
Point2 tuttle::plugin::lens::CoordonatesSystemParams< F >::pixelToCenterNormalized ( const Point2 p) const [inline]
template<typename F>
template<typename F2 >
Point2 tuttle::plugin::lens::CoordonatesSystemParams< F >::pixelToCenterNormalized ( const boost::gil::point2< F2 > &  p) const [inline]

Definition at line 78 of file lensDistortProcessParams.hpp.


Field Documentation


The documentation for this class was generated from the following file: