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

Functions

template<typename I >
component_set< typename
mln::trait::ch_value< I,
def::lbl_type >::ret
scribo::toolchain::text_in_picture (const Image< I > &input_rgb_orig, bool bg_removal, bool multi_scale_bin, unsigned max_dim_size=0, unsigned lambda=0, bool verbose=false)

Detailed Description

Classical processing toolchains for pictures.

Function Documentation

template<typename I >
component_set<typename mln::trait::ch_value< I , def::lbl_type >::ret> scribo::toolchain::text_in_picture ( const Image< I > &  input_rgb_orig,
bool  bg_removal,
bool  multi_scale_bin,
unsigned  max_dim_size = 0,
unsigned  lambda = 0,
bool  verbose = false 
)

Localize text in pictures.

Parameters
[in]input_rgb_origA RGB image.
[in]bg_removalIf set to True tries to identify background components and remove them.
[in]multi_scale_binSauvola's binarization is used. Tells whether to use a multi-scale version or not.
[in]max_dim_sizeThe maximum height or width allowed for the input image. If larger, it is resized.
[in]lambdaMaximum area of components considered as foreground objects. If set to '0' (default), it is fixed automatically.
[in]verboseEnable/Disable debug output on std::cout.
Returns
A component set corresponding to the text components.