|
libcrn
3.9.5
A document image processing library
|
BlockTree extractor base class. More...
#include <CRNBlockTreeExtractor.h>
Inheritance diagram for crn::BlockTreeExtractor:
Collaboration diagram for crn::BlockTreeExtractor:Public Member Functions | |
| virtual | ~BlockTreeExtractor () override |
| virtual String | GetTreeName ()=0 |
| Returns the name of the tree that is extracted. More... | |
| virtual void | Extract (Block &b)=0 |
| Computes a child-tree on a block. More... | |
| virtual void | ExtractWithMask (Block &b, ImageIntGray &mask) |
| Computes a child-tree on a block with mask. More... | |
Public Member Functions inherited from crn::Action | |
| virtual | ~Action () override |
| Destructor. More... | |
| virtual StringUTF8 | GetClassName () const =0 |
| void | Deserialize (xml::Element &el) |
| xml::Element | Serialize (xml::Element &parent) const |
Public Member Functions inherited from crn::Object | |
| virtual | ~Object ()=default |
Additional Inherited Members | |
Public Attributes inherited from crn::Action | |
| crn::Map | UserData |
Protected Member Functions inherited from crn::Action | |
| virtual void | deserialize (xml::Element &el) |
| virtual xml::Element | serialize (xml::Element &parent) const |
BlockTree extractor base class.
BlockTree extractor base class.
Classes that implement BlockTreeExtractor must also implement crn::protocol::Serializable.
Definition at line 47 of file CRNBlockTreeExtractor.h.
|
inlineoverridevirtual |
Definition at line 50 of file CRNBlockTreeExtractor.h.
|
pure virtual |
Computes a child-tree on a block.
Implemented in crn::BlockTreeExtractorTextLinesFromProjection, and crn::BlockTreeExtractorWordsFromProjection.
|
inlinevirtual |
Computes a child-tree on a block with mask.
Definition at line 56 of file CRNBlockTreeExtractor.h.
|
pure virtual |
Returns the name of the tree that is extracted.
Implemented in crn::BlockTreeExtractorTextLinesFromProjection, and crn::BlockTreeExtractorWordsFromProjection.
1.8.6