Public Types | Public Member Functions

mln::fun::v2v::f_rgb_to_hsl_< T_hsl > Struct Template Reference

#include <rgb_to_hsl.hh>

Inheritance diagram for mln::fun::v2v::f_rgb_to_hsl_< T_hsl >:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef f_rgb_to_hsl_< T_hsl > exact_t
typedef void mutable_result
typedef T_hsl result

Public Member Functions

template<typename T_rgb >
T_hsl operator() (const T_rgb &rgb) const

Detailed Description

template<typename T_hsl>
struct mln::fun::v2v::f_rgb_to_hsl_< T_hsl >

Definition at line 57 of file rgb_to_hsl.hh.


Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< f_rgb_to_hsl_< T_hsl > >::category [inherited]

Reimplemented from mln::Function< f_rgb_to_hsl_< T_hsl > >.

Definition at line 126 of file function.hh.

typedef f_rgb_to_hsl_< T_hsl > mln::Object< f_rgb_to_hsl_< T_hsl > >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< f_rgb_to_hsl_< T_hsl > >::mutable_result [inherited]

Definition at line 127 of file function.hh.

template<typename T_hsl >
typedef T_hsl mln::fun::v2v::f_rgb_to_hsl_< T_hsl >::result

Definition at line 59 of file rgb_to_hsl.hh.


Member Function Documentation

template<typename T_hsl >
template<typename T_rgb >
T_hsl mln::fun::v2v::f_rgb_to_hsl_< T_hsl >::operator() ( const T_rgb &  rgb  )  const [inline]

Definition at line 83 of file rgb_to_hsl.hh.

References mln::math::max(), and mln::math::min().