Classes | Functions

mln::accu::internal Namespace Reference

Internal namespace of accumulators. More...

Classes

struct  backdiagonal_fastest_functor
struct  backdiagonal_functor
class  base
 Generic min accumulator class. More...
struct  couple
 Base implementation of a couple of accumulators. More...
struct  diagonal_fastest_functor
struct  diagonal_functor
struct  directional_fastest_functor
struct  directional_functor
struct  transform_snake_fastest_functor
struct  transform_snake_functor
struct  tuplehelper
struct  tuplehelper< 0, T >
struct  tuplehelper_
struct  tuplehelper_< boost::tuples::null_type >

Functions

template<typename A , typename I >
A::result compute_dispatch (const Accumulator< A > &a, const Image< I > &input)
template<typename Dp >
Dp dp_directional (int dir)
template<typename Meta_Accu , unsigned Dir, typename I , typename O >
void line_dispatch (const Image< I > &input, const typename I::site &p_start, unsigned len, unsigned half_length, Image< O > &output)
template<typename Meta_Accu , unsigned Dir, typename I , typename O >
void line_dispatch (trait::image::speed::any, const Image< I > &input, const typename I::site &p_start, unsigned len, unsigned half_length, Image< O > &output)
template<typename Meta_Accu , unsigned Dir, typename I , typename O >
void line_tests (const Image< I > &input_, const typename I::site &, unsigned, unsigned, Image< O > &output_)
template<typename A , typename I >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_diagonal_dispatch (metal::false_, const Accumulator< A > &a, const Image< I > &input, const win::diag2d &win)
template<typename B , typename A , typename I >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_diagonal_dispatch (metal::false_, const Accumulator< A > &a, const Image< I > &input, const win::backdiag2d &win)
template<typename A , typename I >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_diagonal_dispatch (metal::true_, const Accumulator< A > &a, const Image< I > &input, const win::diag2d &win)
template<typename A , typename I >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_diagonal_dispatch (metal::true_, const Accumulator< A > &a, const Image< I > &input, const win::backdiag2d &win)
template<typename A , typename I , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_diagonal_dispatch (const Accumulator< A > &a, const Image< I > &input, const Window< W > &win)
template<typename I , typename W >
void transform_diagonal_tests (const Image< I > &input_, const Window< W > &win_)
template<typename A , typename I , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_directional_dispatch (metal::false_, const Accumulator< A > &a, const Image< I > &input, const Window< W > &win, unsigned dir)
template<typename A , typename I , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_directional_dispatch (metal::true_, const Accumulator< A > &a, const Image< I > &input, const Window< W > &win, unsigned dir)
template<typename A , typename I , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_directional_dispatch (const Accumulator< A > &a, const Image< I > &input, const Window< W > &win, unsigned dir)
template<typename I , typename W >
void transform_directional_tests (const Image< I > &input_, const Window< W > &win_)
template<typename I , typename A , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_dispatch (metal::false_, const Image< I > &input, const Accumulator< A > &a, const Window< W > &win)
template<typename I , typename A , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_dispatch (metal::true_, const Image< I > &input, const Accumulator< A > &a, const Window< W > &win)
template<typename I , typename A , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_dispatch (const Image< I > &input, const Accumulator< A > &a, const Window< W > &win)
template<typename A , typename I >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_line_dispatch (trait::image::speed::fastest, trait::accumulator::when_pix::use_none, const Accumulator< A > &a, const Image< I > &input, unsigned length, unsigned dir)
template<typename A , typename I >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_line_dispatch (trait::image::speed::any, trait::accumulator::when_pix::any, const Accumulator< A > &a, const Image< I > &input, unsigned length, unsigned dir)
template<typename A , typename I >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_line_dispatch (trait::image::speed::fastest, trait::accumulator::when_pix::use_v, const Accumulator< A > &a, const Image< I > &input, unsigned length, unsigned dir)
template<typename A , typename I >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_line_dispatch (const Accumulator< A > &a, const Image< I > &input, unsigned length, unsigned dir)
template<typename A , typename I >
void transform_line_tests (const Accumulator< A > &a_, const Image< I > &input_)
template<typename A , typename I , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_snake_dispatch (const Accumulator< A > &a, const Image< I > &input, const Window< W > &win)
template<typename A , typename I , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_snake_dispatch (metal::false_, const Accumulator< A > &a, const Image< I > &input, const Window< W > &win)
template<typename A , typename I , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_snake_dispatch (metal::true_, const Accumulator< A > &a, const Image< I > &input, const Window< W > &win)
template<typename I , typename W >
void transform_snake_tests (const Image< I > &input_, const Window< W > &win_)
template<typename I , typename A , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_stop_dispatch (metal::false_, const Image< I > &input, const Accumulator< A > &a, const Window< W > &win)
template<typename I , typename A , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_stop_dispatch (metal::true_, const Image< I > &input, const Accumulator< A > &a, const Window< W > &win)
template<typename I , typename A , typename W >
mln::trait::ch_value< I,
typename A::result >::ret 
transform_stop_dispatch (const Image< I > &input, const Accumulator< A > &a, const Window< W > &win)

Detailed Description

Internal namespace of accumulators.


Function Documentation

template<typename A , typename I >
A ::result mln::accu::internal::compute_dispatch ( const Accumulator< A > &  a,
const Image< I > &  input 
) [inline]

Definition at line 118 of file accu/compute.hh.

References mln::accu::compute().

Referenced by mln::accu::compute().

template<typename Dp >
Dp mln::accu::internal::dp_directional ( int  dir  ) 

Definition at line 102 of file transform_directional.hh.

References mln::literal::zero.

template<typename Meta_Accu , unsigned Dir, typename I , typename O >
void mln::accu::internal::line_dispatch ( const Image< I > &  input,
const typename I::site &  p_start,
unsigned  len,
unsigned  half_length,
Image< O > &  output 
)

Definition at line 363 of file accu/line.hh.

template<typename Meta_Accu , unsigned Dir, typename I , typename O >
void mln::accu::internal::line_dispatch ( trait::image::speed::any  ,
const Image< I > &  input,
const typename I::site &  p_start,
unsigned  len,
unsigned  half_length,
Image< O > &  output 
)

Definition at line 333 of file accu/line.hh.

template<typename Meta_Accu , unsigned Dir, typename I , typename O >
void mln::accu::internal::line_tests ( const Image< I > &  input_,
const typename I::site &  ,
unsigned  ,
unsigned  ,
Image< O > &  output_ 
)

Definition at line 80 of file accu/line.hh.

References mln::exact().

template<typename A , typename I >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_diagonal_dispatch ( metal::false_  ,
const Accumulator< A > &  a,
const Image< I > &  input,
const win::diag2d &  win 
) [inline]
template<typename B , typename A , typename I >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_diagonal_dispatch ( metal::false_  ,
const Accumulator< A > &  a,
const Image< I > &  input,
const win::backdiag2d &  win 
) [inline]

Definition at line 375 of file transform_diagonal.hh.

References mln::canvas::browsing::backdiagonal2d, and mln::exact().

template<typename A , typename I >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_diagonal_dispatch ( metal::true_  ,
const Accumulator< A > &  a,
const Image< I > &  input,
const win::diag2d &  win 
) [inline]

Definition at line 388 of file transform_diagonal.hh.

References mln::canvas::browsing::diagonal2d, and mln::exact().

template<typename A , typename I >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_diagonal_dispatch ( metal::true_  ,
const Accumulator< A > &  a,
const Image< I > &  input,
const win::backdiag2d &  win 
) [inline]

Definition at line 401 of file transform_diagonal.hh.

References mln::canvas::browsing::backdiagonal2d, and mln::exact().

template<typename A , typename I , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_diagonal_dispatch ( const Accumulator< A > &  a,
const Image< I > &  input,
const Window< W > &  win 
) [inline]

Definition at line 414 of file transform_diagonal.hh.

References mln::exact(), and transform_diagonal_dispatch().

template<typename I , typename W >
void mln::accu::internal::transform_diagonal_tests ( const Image< I > &  input_,
const Window< W > &  win_ 
)

Definition at line 84 of file transform_diagonal.hh.

References mln::exact().

Referenced by mln::accu::transform_diagonal().

template<typename A , typename I , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_directional_dispatch ( metal::false_  ,
const Accumulator< A > &  a,
const Image< I > &  input,
const Window< W > &  win,
unsigned  dir 
) [inline]
template<typename A , typename I , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_directional_dispatch ( metal::true_  ,
const Accumulator< A > &  a,
const Image< I > &  input,
const Window< W > &  win,
unsigned  dir 
) [inline]

Definition at line 272 of file transform_directional.hh.

References mln::canvas::browsing::directional, and mln::exact().

template<typename A , typename I , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_directional_dispatch ( const Accumulator< A > &  a,
const Image< I > &  input,
const Window< W > &  win,
unsigned  dir 
) [inline]

Definition at line 286 of file transform_directional.hh.

References transform_directional_dispatch().

template<typename I , typename W >
void mln::accu::internal::transform_directional_tests ( const Image< I > &  input_,
const Window< W > &  win_ 
)

Definition at line 83 of file transform_directional.hh.

References mln::exact().

Referenced by mln::accu::transform_directional().

template<typename I , typename A , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_dispatch ( metal::false_  ,
const Image< I > &  input,
const Accumulator< A > &  a,
const Window< W > &  win 
)

Definition at line 155 of file accu/transform.hh.

References mln::accu::transform().

Referenced by mln::accu::transform(), and transform_dispatch().

template<typename I , typename A , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_dispatch ( metal::true_  ,
const Image< I > &  input,
const Accumulator< A > &  a,
const Window< W > &  win 
)

Definition at line 163 of file accu/transform.hh.

References mln::accu::impl::transform_fastest().

template<typename I , typename A , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_dispatch ( const Image< I > &  input,
const Accumulator< A > &  a,
const Window< W > &  win 
)

Definition at line 171 of file accu/transform.hh.

References transform_dispatch().

template<typename A , typename I >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_line_dispatch ( trait::image::speed::fastest  ,
trait::accumulator::when_pix::use_none  ,
const Accumulator< A > &  a,
const Image< I > &  input,
unsigned  length,
unsigned  dir 
) [inline]

Definition at line 458 of file transform_line.hh.

References mln::accu::impl::transform_line_fastest().

template<typename A , typename I >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_line_dispatch ( trait::image::speed::any  ,
trait::accumulator::when_pix::any  ,
const Accumulator< A > &  a,
const Image< I > &  input,
unsigned  length,
unsigned  dir 
) [inline]

Definition at line 444 of file transform_line.hh.

References mln::accu::transform_line().

Referenced by mln::accu::transform_line(), and transform_line_dispatch().

template<typename A , typename I >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_line_dispatch ( trait::image::speed::fastest  ,
trait::accumulator::when_pix::use_v  ,
const Accumulator< A > &  a,
const Image< I > &  input,
unsigned  length,
unsigned  dir 
) [inline]

Definition at line 472 of file transform_line.hh.

References mln::accu::impl::transform_line_fastest().

template<typename A , typename I >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_line_dispatch ( const Accumulator< A > &  a,
const Image< I > &  input,
unsigned  length,
unsigned  dir 
) [inline]

Definition at line 486 of file transform_line.hh.

References transform_line_dispatch().

template<typename A , typename I >
void mln::accu::internal::transform_line_tests ( const Accumulator< A > &  a_,
const Image< I > &  input_ 
)
template<typename A , typename I , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_snake_dispatch ( const Accumulator< A > &  a,
const Image< I > &  input,
const Window< W > &  win 
) [inline]

Definition at line 422 of file transform_snake.hh.

References transform_snake_dispatch().

template<typename A , typename I , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_snake_dispatch ( metal::false_  ,
const Accumulator< A > &  a,
const Image< I > &  input,
const Window< W > &  win 
) [inline]
template<typename A , typename I , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_snake_dispatch ( metal::true_  ,
const Accumulator< A > &  a,
const Image< I > &  input,
const Window< W > &  win 
) [inline]

Definition at line 409 of file transform_snake.hh.

References mln::exact(), and mln::canvas::browsing::snake_generic.

template<typename I , typename W >
void mln::accu::internal::transform_snake_tests ( const Image< I > &  input_,
const Window< W > &  win_ 
)

Definition at line 77 of file transform_snake.hh.

References mln::exact().

Referenced by mln::accu::transform_snake().

template<typename I , typename A , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_stop_dispatch ( metal::false_  ,
const Image< I > &  input,
const Accumulator< A > &  a,
const Window< W > &  win 
)

Definition at line 159 of file transform_stop.hh.

References mln::accu::transform_stop().

Referenced by mln::accu::transform_stop(), and transform_stop_dispatch().

template<typename I , typename A , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_stop_dispatch ( metal::true_  ,
const Image< I > &  input,
const Accumulator< A > &  a,
const Window< W > &  win 
)

Definition at line 167 of file transform_stop.hh.

References mln::accu::impl::transform_stop_fastest().

template<typename I , typename A , typename W >
mln::trait::ch_value< I , typename A ::result >::ret mln::accu::internal::transform_stop_dispatch ( const Image< I > &  input,
const Accumulator< A > &  a,
const Window< W > &  win 
)

Definition at line 175 of file transform_stop.hh.

References transform_stop_dispatch().