Functions

mln::subsampling Namespace Reference

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

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.

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.

References antialiased().

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]

Gaussian subsampling FIXME : doxy.

References mln::linear::gaussian(), mln::geom::ncols(), and mln::geom::nrows().

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]

Subsampling FIXME : doxy.

References mln::geom::ncols(), and mln::geom::nrows().