TuttleOFX  1
lensDistortAlgorithm.hpp File Reference
#include "lensDistortProcessParams.hpp"
#include <tuttle/plugin/numeric/rectOp.hpp>
#include <tuttle/plugin/IProgress.hpp>
#include <tuttle/plugin/exceptions.hpp>
#include <terry/globals.hpp>
#include <terry/point/operations.hpp>
#include <ofxsCore.h>
#include <boost/gil/image.hpp>
#include <boost/gil/utilities.hpp>
#include <boost/gil/typedefs.hpp>
#include <boost/math/constants/constants.hpp>
#include <boost/assert.hpp>
#include <cmath>
Include dependency graph for lensDistortAlgorithm.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  terry
namespace  tuttle
 

This file provides a set of reimplementations of CImg functions by means of the generic image library (gil). Functions for image blurring.


namespace  tuttle::plugin
namespace  tuttle::plugin::lens

Functions

template<typename F , typename F2 >
point2< Fterry::transform (const ::tuttle::plugin::lens::NormalLensDistortParams< F > &params, const point2< F2 > &src)
template<typename F , typename F2 >
point2< Fterry::transform (const ::tuttle::plugin::lens::NormalLensUndistortParams< F > &params, const point2< F2 > &src)
template<typename F , typename F2 >
point2< Fterry::transform (const ::tuttle::plugin::lens::FisheyeLensDistortParams< F > &params, const point2< F2 > &src)
template<typename F , typename F2 >
point2< Fterry::transform (const ::tuttle::plugin::lens::FisheyeLensUndistortParams< F > &params, const point2< F2 > &src)
template<typename F , typename F2 >
point2< Fterry::transform (const ::tuttle::plugin::lens::AdvancedLensDistortParams< F > &params, const point2< F2 > &src)
template<class Params >
Params::Point2 tuttle::plugin::lens::transformValues (const Params &params, const typename Params::Point2 &p)
template<class Params >
OfxRectD tuttle::plugin::lens::transformValues (const Params &params, const OfxRectD &rec)
 get bounding box after the transformation of rec
template<class Obj >
Obj tuttle::plugin::lens::transformValues (const EParamLensType lensType, const LensDistortProcessParams< double > &params, const Obj &obj)
template<class Params , typename F2 >
void tuttle::plugin::lens::transformValuesApply (const Params &params, std::vector< boost::gil::point2< F2 > > &vec)
 Apply the transformation on all points inside the vector.
template<class Params , typename F2 >
void tuttle::plugin::lens::transformValuesApply (const Params &params, std::vector< std::vector< boost::gil::point2< F2 > > > &vec)
template<class Obj >
void tuttle::plugin::lens::transformValuesApply (const EParamLensType lensType, const LensDistortProcessParams< double > &params, Obj &obj)