TuttleOFX
1
|
Data Structures | |
struct | PinningPerspective |
struct | PinningBilinear |
Functions | |
template<typename F , typename F2 > | |
boost::gil::point2< F > | transform (const PinningPerspective< F > &t, const boost::gil::point2< F2 > &src) |
Perspective transformation functor. | |
template<typename F , typename F2 > | |
boost::gil::point2< F > | transform (const PinningBilinear< F > &t, const boost::gil::point2< F2 > &src) |
Bilinear transformation functor. |
boost::gil::point2<F> terry::geometry::transform | ( | const PinningPerspective< F > & | t, |
const boost::gil::point2< F2 > & | src | ||
) | [inline] |
Perspective transformation functor.
[in] | t,: | the transformation 3x3 matrix |
[in] | src,: | 2D source point |
Definition at line 30 of file pinning.hpp.
References terry::geometry::PinningPerspective< Scalar >::_height, terry::geometry::PinningPerspective< Scalar >::_matrix, and terry::geometry::PinningPerspective< Scalar >::_width.
boost::gil::point2<F> terry::geometry::transform | ( | const PinningBilinear< F > & | t, |
const boost::gil::point2< F2 > & | src | ||
) | [inline] |
Bilinear transformation functor.
[in] | t,: | the transformation 2x4 matrix |
[in] | src,: | 2D source point |
Definition at line 66 of file pinning.hpp.
References terry::geometry::PinningBilinear< Scalar >::_height, terry::geometry::PinningBilinear< Scalar >::_matrix, and terry::geometry::PinningBilinear< Scalar >::_width.