$extrastylesheet
Functions | |
std::string | debug_filename (const std::string &name) |
template<typename I , typename N , typename V > | |
mln::util::graph | influence_zone_graph (const Image< I > &input_, const Neighborhood< N > &nbh_, const V &label_type, unsigned iz_dmax) |
template<typename L > | |
scribo::line_set< L > | line_set (const object_groups< L > &groups) |
template<typename L > | |
scribo::paragraph_set< L > | paragraph (const line_links< L > &llinks, const line_links< L > &rlinks) |
template<typename L > | |
scribo::paragraph_set< L > | paragraph (const scribo::line_set< L > &lines) |
template<typename L > | |
scribo::paragraph_set< L > | paragraph (const line_links< L > &llinks) |
template<typename L > | |
mln::trait::ch_value< L, bool > ::ret | text_blocks_image (const document< L > &doc, unsigned min_nlines) |
template<typename L > | |
mln::trait::ch_value< L, bool > ::ret | text_components_image (const document< L > &doc) |
Namespace of routines constructing objects.
std::string scribo::make::debug_filename | ( | const std::string & | name | ) |
Construct and returns a formated output file name:
`input_filename`_`id`_`name`
mln::util::graph scribo::make::influence_zone_graph | ( | const Image< I > & | input_, |
const Neighborhood< N > & | nbh_, | ||
const V & | label_type, | ||
unsigned | iz_dmax | ||
) |
Compute a labeled image of input, then compute an influence zone image and make a graph from it.
[in] | input_ | a binary image. |
[in] | nbh_ | a neighbordhood. |
[in] | label_type | The type of this argument is used as label type while labeling the image. |
[in] | iz_dmax | Max distance of the influence zone. |
scribo::paragraph_set<L> scribo::make::paragraph | ( | const line_links< L > & | llinks, |
const line_links< L > & | rlinks | ||
) |
Construct a paragraph set from line links information.
scribo::paragraph_set<L> scribo::make::paragraph | ( | const scribo::line_set< L > & | lines | ) |
Construct a paragraph set from line set information.
scribo::paragraph_set<L> scribo::make::paragraph | ( | const line_links< L > & | llinks | ) |
Construct a paragraph set from line links information.
mln::trait::ch_value< L , bool >::ret scribo::make::text_blocks_image | ( | const document< L > & | doc, |
unsigned | min_nlines | ||
) |
Create a mask of paragraph blocks.
doc
has_text() methods MUST return True. mln::trait::ch_value< L , bool >::ret scribo::make::text_components_image | ( | const document< L > & | doc | ) |
Create a binary image with text components only.
doc
has_text() methods MUST return True.