Represent a linear interolation of values from an underlying image. More...
#include <linear.hh>
Public Types | |
typedef Function_v2v< void > | category |
typedef E | exact_t |
typedef void | mutable_result |
typedef I::value | result |
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.
typedef Function_v2v<void> mln::Function_v2v< E >::category [inherited] |
Reimplemented from mln::Function< E >.
Reimplemented in mln::Function_v2b< E >, mln::Function_v2b< f_box2d_t >, mln::Function_v2b< chess >, mln::Function_v2b< is_dot >, mln::Function_v2b< has< I > >, mln::Function_v2b< is_edge >, mln::Function_v2b< is_row_odd >, mln::Function_v2b< big_chess< B > >, mln::Function_v2b< keep_specific_colors >, mln::Function_v2b< i2v::array< T > >, mln::Function_v2b< my_box2d >, mln::Function_v2b< is_pixel >, mln::Function_v2b< is_n_face< N > >, mln::Function_v2b< is_separator >, mln::Function_v2b< is_simple_cell< I > >, mln::Function_v2b< tautology >, mln::Function_v2b< not_to_remove >, mln::Function_v2b< f_box1d_t >, mln::Function_v2b< threshold< V > >, mln::Function_v2b< lnot< V > >, mln::Function_v2b< f_box3d_t >, and mln::Function_v2b< antilogy >.
typedef E mln::Object< E >::exact_t [inherited] |
typedef void mln::Function_v2v< E >::mutable_result [inherited] |
typedef I ::value mln::fun::x2x::linear< I >::result |
mln::fun::x2x::linear< I >::linear | ( | const I & | ima | ) |
Constructor with the underlying image.
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.
const I& mln::fun::x2x::linear< I >::ima |
Underlying image.