TuttleOFX
1
|
#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>
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< F > | terry::transform (const ::tuttle::plugin::lens::NormalLensDistortParams< F > ¶ms, const point2< F2 > &src) |
template<typename F , typename F2 > | |
point2< F > | terry::transform (const ::tuttle::plugin::lens::NormalLensUndistortParams< F > ¶ms, const point2< F2 > &src) |
template<typename F , typename F2 > | |
point2< F > | terry::transform (const ::tuttle::plugin::lens::FisheyeLensDistortParams< F > ¶ms, const point2< F2 > &src) |
template<typename F , typename F2 > | |
point2< F > | terry::transform (const ::tuttle::plugin::lens::FisheyeLensUndistortParams< F > ¶ms, const point2< F2 > &src) |
template<typename F , typename F2 > | |
point2< F > | terry::transform (const ::tuttle::plugin::lens::AdvancedLensDistortParams< F > ¶ms, const point2< F2 > &src) |
template<class Params > | |
Params::Point2 | tuttle::plugin::lens::transformValues (const Params ¶ms, const typename Params::Point2 &p) |
template<class Params > | |
OfxRectD | tuttle::plugin::lens::transformValues (const Params ¶ms, 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 > ¶ms, const Obj &obj) |
template<class Params , typename F2 > | |
void | tuttle::plugin::lens::transformValuesApply (const Params ¶ms, 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 ¶ms, std::vector< std::vector< boost::gil::point2< F2 > > > &vec) |
template<class Obj > | |
void | tuttle::plugin::lens::transformValuesApply (const EParamLensType lensType, const LensDistortProcessParams< double > ¶ms, Obj &obj) |