TuttleOFX  1
LensDistortOverlayInteract.cpp File Reference
Include dependency graph for LensDistortOverlayInteract.cpp:

Go to the source code of this file.

Namespaces

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 Point2 >
std::vector< std::vector
< Point2 > > 
tuttle::plugin::lens::createGrid (const OfxRectD &rod, const unsigned int nbTiles, const Point2 &scale, const Point2 &center, const unsigned int steps=50)
 create a list of points which represents a grid in image coordinates
template<typename Point2 >
void tuttle::plugin::lens::shiftGrid (std::vector< std::vector< Point2 > > &grid, const Point2 &shift)