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

Functions

template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::niblack (const Image< I > &input, unsigned window_size, double K)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::niblack (const Image< I > &input, unsigned window_size)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::niblack (const Image< I > &input)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::niblack_fast (const Image< I > &input, unsigned window_size, double K)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::niblack_fast (const Image< I > &input, unsigned window_size)
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
scribo::binarization::niblack_fast (const Image< I > &input)
template<typename I , typename J >
mln::trait::ch_value< I,
value::int_u8 >::ret 
scribo::binarization::niblack_threshold (const Image< I > &input, unsigned window_size, double K)
template<typename I >
mln::trait::ch_value< I,
value::int_u8 >::ret 
scribo::binarization::niblack_threshold (const Image< I > &input, unsigned window_size)
template<typename I >
mln::trait::ch_value< I,
value::int_u8 >::ret 
scribo::binarization::niblack_threshold (const Image< I > &input)

Detailed Description

Niblack's Binarization implementations.

Function Documentation

template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::niblack ( 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]KNiblack's formulae constant.
Returns
A binary image.
template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::niblack ( const Image< I > &  input,
unsigned  window_size 
)

Convert an image into a binary image.

Sauvola's formulae constant K is set to SCRIBO_DEFAULT_NIBLACK_K.

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::niblack ( 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::niblack_fast ( const Image< I > &  input,
unsigned  window_size,
double  K 
)

Convert an image into a binary image.

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

Parameters
[in]inputAn image.
[in]window_sizeThe window size.
[in]KSauvola's formulae constant.
Returns
A binary image.
template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::niblack_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. Sauvola's formulae constant K is set to SCRIBO_DEFAULT_NIBLACK_K.

template<typename I >
mln::trait::ch_value< I , bool >::ret scribo::binarization::niblack_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.

template<typename I , typename J >
mln::trait::ch_value< I , value::int_u8 >::ret scribo::binarization::niblack_threshold ( const Image< I > &  input,
unsigned  window_size,
double  K 
)

Compute an image of local threshold using Niblack algorithm.

Parameters
[in]inputA gray level image.
[in]window_sizeThe window size.
[in]KControls the threshold value in the local window.
Returns
An image of local thresholds.
template<typename I >
mln::trait::ch_value< I , value::int_u8 >::ret scribo::binarization::niblack_threshold ( 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.K is set to 0.34.

template<typename I >
mln::trait::ch_value< I , value::int_u8 >::ret scribo::binarization::niblack_threshold ( 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.