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

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)

Detailed Description

Namespace of routines constructing objects.

Function Documentation

std::string scribo::make::debug_filename ( const std::string &  name)

Construct and returns a formated output file name:

`input_filename`_`id`_`name`
See Also
scribo::make::internal::debug_filename_prefix
template<typename I , typename N , typename V >
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.

Parameters
[in]input_a binary image.
[in]nbh_a neighbordhood.
[in]label_typeThe type of this argument is used as label type while labeling the image.
[in]iz_dmaxMax distance of the influence zone.
Returns
a region adjacency graph.
template<typename L >
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.

template<typename L >
scribo::paragraph_set<L> scribo::make::paragraph ( const scribo::line_set< L > &  lines)

Construct a paragraph set from line set information.

template<typename L >
scribo::paragraph_set<L> scribo::make::paragraph ( const line_links< L > &  llinks)

Construct a paragraph set from line links information.

template<typename L >
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.

Precondition
doc has_text() methods MUST return True.
template<typename L >
mln::trait::ch_value< L , bool >::ret scribo::make::text_components_image ( const document< L > &  doc)

Create a binary image with text components only.

Precondition
doc has_text() methods MUST return True.