$extrastylesheet
Namespaces | |
namespace | binarization |
namespace | component |
namespace | core |
namespace | debug |
namespace | draw |
namespace | filter |
namespace | make |
namespace | postprocessing |
namespace | preprocessing |
namespace | primitive |
namespace | table |
namespace | text |
Classes | |
struct | component_features_data |
class | component_info |
Component information data structure. More... | |
class | component_set |
Represents all the components in a document image. More... | |
class | DMax_Functor |
Dmax functor concept. More... | |
class | doc_serializer |
Link functor concept. More... | |
class | document |
Represent document data and structure. More... | |
class | group_info |
class | line_info |
class | line_links |
Line links representation. More... | |
class | line_set |
Lines container. More... | |
class | Link_Functor |
Link functor concept. More... | |
class | object_groups |
Object group representation. More... | |
class | object_links |
Object links representation. More... | |
class | paragraph_info |
Paragraph structure information. More... | |
class | paragraph_set |
Paragraph container. More... | |
class | Serializable |
Concept for objects that can be serialized. More... | |
class | SerializeVisitor |
Link functor concept. More... |
Typedefs | |
typedef mln::util::object_id < scribo::ComponentId, unsigned > | component_id_t |
typedef mln::util::object_id < scribo::LineId, unsigned > | line_id_t |
typedef mln::util::object_id < scribo::ParagraphId, unsigned > | paragraph_id_t |
Functions | |
template<typename P > | |
mln::util::couple< P, P > | central_sites (const box< P > &b, unsigned dim) |
template<typename I , typename L > | |
void | erase_objects (Image< I > &input, const component_set< L > &comps) |
template<typename I , typename F > | |
mln::trait::ch_value< I, double >::ret | init_integral_image (const Image< I > &input_, F &func) |
std::ostream & | operator<< (std::ostream &ostr, const component_features_data &data) |
template<typename L > | |
std::ostream & | operator<< (std::ostream &ostr, const paragraph_info< L > &info) |
template<typename L > | |
std::ostream & | operator<< (std::ostream &ostr, const line_links< L > &links) |
template<typename L > | |
std::ostream & | operator<< (std::ostream &ostr, const component_info< L > &info) |
template<typename L > | |
std::ostream & | operator<< (std::ostream &ostr, const object_groups< L > &groups) |
template<typename L > | |
std::ostream & | operator<< (std::ostream &ostr, const line_set< L > &lines) |
template<typename L > | |
std::ostream & | operator<< (std::ostream &ostr, const line_info< L > &info) |
bool | operator== (const component_features_data &lhs, const component_features_data &rhs) |
bool | operator== (const group_info &lhs, const group_info &rhs) |
template<typename L > | |
bool | operator== (const paragraph_set< L > &lhs, const paragraph_set< L > &rhs) |
template<typename L > | |
bool | operator== (const paragraph_info< L > &lhs, const paragraph_info< L > &rhs) |
template<typename L > | |
bool | operator== (const line_links< L > &lhs, const line_links< L > &rhs) |
template<typename L > | |
bool | operator== (const component_info< L > &lhs, const component_info< L > &rhs) |
template<typename L > | |
bool | operator== (const object_groups< L > &lhs, const object_groups< L > &rhs) |
template<typename L > | |
bool | operator== (const document< L > &lhs, const document< L > &rhs) |
template<typename L > | |
bool | operator== (const line_set< L > &lhs, const line_set< L > &rhs) |
template<typename L > | |
bool | operator== (const line_info< L > &lhs, const line_info< L > &rhs) |
The main namespace of the Scribo module.
try to determine the type of a component.
FIXME: provide a version for binary images.
FIXME: share code with filter/object_groups_with_holes.hh FIXME: Merge the two following routines.
Function increasing values to highlight areas.
FIXME: return type too restrictive!
FIXME: result is not consistent with other binarization methods.
Namespace of the whole project.
The result is inverted because of the threshold functor: should we invert the test in this functor?
FIXME: Use a size ratio in both overloads.
typedef mln::util::object_id<scribo::ComponentId, unsigned> scribo::component_id_t |
The type of the component ids.
This id is mainly used in structures like scribo::component_set and scribo::component_info structures. It refers to the actual label used in the underlying labeled component image stored in scribo::component_set.
Definition at line 48 of file component_info.hh.
mln::util::couple<P,P> scribo::central_sites | ( | const box< P > & | b, |
unsigned | dim | ||
) |
Returns the edge central sites of a box.
[in] | b | the bbbox |
[in] | dim | the dimension used to compute the site. |
If dim == 0, returns the left and right central sites.
|----—|
X X
|----—|
If dim == 1, returns the top and bottom central sites.
|—X—|
| |
|—X—|
... And so on.
void scribo::erase_objects | ( | Image< I > & | input, |
const component_set< L > & | comps | ||
) |
Remove labeled components from a binary image.
[in,out] | input | A binary image. |
[in] | comps | A set of components to be erased. |