$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Wolf

Functions

template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::wolf (const Image< I > &input, unsigned window_size, double K)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::wolf (const Image< I > &input, unsigned window_size)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::wolf (const Image< I > &input)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::wolf_fast (const Image< I > &input, unsigned window_size, double K)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::wolf_fast (const Image< I > &input, unsigned window_size)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::wolf_fast (const Image< I > &input)

Detailed Description

Wolf's Binarization implementations.

Function Documentation

template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::wolf ( const Image< I > &  input,
unsigned  window_size,
double  K 
)

Convert an image into a binary image.

Parameters
[in]inputAn image.
[in]window_sizeThe window size.
[in]KWolf's formulae constant.
Returns
A binary image.

This implementation is based on article "Text Localization, Enhancement and Binarization in Multimedia Documents", Christian Wolf, Jean-Michel Jolion, Françoise Chassaing, ICPR 2002.

template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::wolf ( const Image< I > &  input,
unsigned  window_size 
)

Convert an image into a binary image.

Wolf's formulae constant K is set to 0.34.

Parameters
[in]inputAn image.
[in]window_sizeThe window size.
Returns
A binary image.
template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::wolf ( const Image< I > &  input)

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

template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::wolf_fast ( const Image< I > &  input,
unsigned  window_size,
double  K 
)

Convert an image into a binary image.

Parameters
[in]inputAn image.
[in]window_sizeThe window size.
[in]KWolf's formulae constant.
Returns
A binary image.

This implementation is based on article "Text Localization, Enhancement and Binarization in Multimedia Documents", Christian Wolf, Jean-Michel Jolion, Françoise Chassaing, ICPR 2002.

This implementation gives an approximation of the results. It is faster than the original implementation thanks to the use of integral images.

template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::wolf_fast ( const Image< I > &  input,
unsigned  window_size 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Wolf's formulae constant K is set to 0.34.

template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::wolf_fast ( const Image< I > &  input)

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