Public Member Functions | Public Attributes

mln::fun::x2x::linear< I > Struct Template Reference

Represent a linear interolation of values from an underlying image. More...

#include <linear.hh>

Inheritance diagram for mln::fun::x2x::linear< I >:
Inheritance graph

List of all members.

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.

Detailed Description

template<typename I>
struct mln::fun::x2x::linear< I >

Represent a linear interolation of values from an underlying image.

Definition at line 53 of file x2v/linear.hh.


Constructor & Destructor Documentation

template<typename I >
mln::fun::x2x::linear< I >::linear ( const I &  ima  ) 

Constructor with the underlying image.

Definition at line 77 of file x2v/linear.hh.


Member Function Documentation

template<typename I >
template<typename C >
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.


Member Data Documentation

template<typename I >
const I& mln::fun::x2x::linear< I >::ima

Underlying image.

Definition at line 70 of file x2v/linear.hh.