$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::fun::x2x::linear< I > Struct Template Reference

#include <mln/fun/x2v/linear.hh>

Public Member Functions

 linear (const I &ima)
template<typename C >
I::value operator() (const algebra::vec< 1, C > &v) const

Public Attributes

const I & ima

Public Types

typedef Function_v2v< void > category
typedef E exact_t
typedef void mutable_result
typedef I::value result

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.

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.

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.

Member Typedef Documentation

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

Definition at line 134 of file function.hh.

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

Definition at line 105 of file object.hh.

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

Definition at line 135 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.