Represent a linear interolation of values from an underlying image. More...
#include <linear.hh>
Public Member Functions | |
linear (const I &ima) | |
Constructor with the underlying image. | |
template<typename C > | |
I::value | operator() (const algebra::vec< 1, C > &v) const |
Return the interpolated value in the underlying image at the given 'point' v. | |
Public Attributes | |
const I & | ima |
Underlying image. |
Represent a linear interolation of values from an underlying image.
Definition at line 53 of file x2v/linear.hh.
mln::fun::x2x::linear< I >::linear | ( | const I & | ima | ) |
Constructor with the underlying image.
Definition at line 77 of file x2v/linear.hh.
I::value mln::fun::x2x::linear< I >::operator() | ( | const algebra::vec< 1, C > & | v | ) | const |
Return the interpolated value in the underlying image at the given 'point' v.
Definition at line 85 of file x2v/linear.hh.
const I& mln::fun::x2x::linear< I >::ima |
Underlying image.
Definition at line 70 of file x2v/linear.hh.