Functions

mln::upscaling::art Namespace Reference

Functions

template<typename I >
mln::trait::concrete< I >::ret scale2x (const Image< I > &input)
 2X upscaling algorithm for pixel art images.
template<typename I >
mln::trait::concrete< I >::ret scale3x (const Image< I > &input)
 3X upscaling algorithm for pixel art images.

Function Documentation

template<typename I >
mln::trait::concrete< I >::ret mln::upscaling::art::scale2x ( const Image< I > &  input  ) 

2X upscaling algorithm for pixel art images.

Parameters:
[in] input An image.
Returns:
An upscaled image.

Source: http://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms

Definition at line 72 of file scale2x.hh.

References mln::extension::adjust_duplicate(), mln::down, mln::down_right, mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::left, mln::right, and mln::up.

template<typename I >
mln::trait::concrete< I >::ret mln::upscaling::art::scale3x ( const Image< I > &  input  ) 

3X upscaling algorithm for pixel art images.

Parameters:
[in] input An image.
Returns:
An upscaled image.

Source: http://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms

Definition at line 72 of file scale3x.hh.

References mln::extension::adjust_duplicate(), mln::down, mln::down_left, mln::down_right, mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::left, mln::right, mln::up, mln::up_left, and mln::up_right.