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 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.


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.


Member Typedef Documentation

template<typename E>
typedef Function_v2v<void> mln::Function_v2v< E >::category [inherited]

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.

template<typename E>
typedef void mln::Function_v2v< E >::mutable_result [inherited]

Reimplemented in mln::util::array< T >.

Definition at line 94 of file function.hh.

template<typename I>
typedef I ::value mln::fun::x2x::linear< I >::result

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


Constructor & Destructor Documentation

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

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 [inline]

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.


Generated on Sun Apr 25 02:01:55 2010 for Milena (Olena) by  doxygen 1.5.6