Namespaces | Functions

mln::subsampling Namespace Reference

Namespace of "point-wise" expression tools. More...

Namespaces

namespace  impl
namespace  internal

Functions

template<typename I >
mln::trait::concrete< I >::ret antialiased (const Image< I > &input, unsigned factor, const typename I::domain_t &output_domain, unsigned border_thickness)
 Antialiased subsampling.
template<typename I >
mln::trait::concrete< I >::ret antialiased (const Image< I > &input, unsigned factor)
template<typename I >
mln::trait::concrete< I >::ret gaussian_subsampling (const Image< I > &input, float sigma, const typename I::dpsite &first_p, const typename I::site::coord &gap)
 Gaussian subsampling FIXME : doxy.
template<typename I >
mln::trait::concrete< I >::ret subsampling (const Image< I > &input, const typename I::site::delta &first_p, const typename I::site::coord &gap)
 Subsampling FIXME : doxy.

Detailed Description

Namespace of "point-wise" expression tools.


Function Documentation

template<typename I >
mln::trait::concrete< I >::ret mln::subsampling::antialiased ( const Image< I > &  input,
unsigned  factor,
const typename I::domain_t &  output_domain,
unsigned  border_thickness 
) [inline]

Antialiased subsampling.

Parameters:
[in] input A gray-level image.
[in] factor Subsampling ratio. Must be divisible by 2 or 3.
[in] output_domain Force output domain.
[in] border_thickness Force output border thickness.

Definition at line 418 of file antialiased.hh.

References mln::subsampling::internal::antialiased_dispatch(), mln::subsampling::internal::antialiased_tests(), mln::trace::entering(), and mln::trace::exiting().

Referenced by antialiased().

template<typename I >
mln::trait::concrete< I >::ret mln::subsampling::antialiased ( const Image< I > &  input,
unsigned  factor 
) [inline]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 443 of file antialiased.hh.

References antialiased(), and mln::border::thickness.

template<typename I >
mln::trait::concrete< I >::ret mln::subsampling::gaussian_subsampling ( const Image< I > &  input,
float  sigma,
const typename I::dpsite &  first_p,
const typename I::site::coord &  gap 
) [inline]
template<typename I >
mln::trait::concrete< I >::ret mln::subsampling::subsampling ( const Image< I > &  input,
const typename I::site::delta &  first_p,
const typename I::site::coord &  gap 
) [inline]