libcrn
3.9.5
A document image processing library
|
BlockTree extractor base class. More...
#include <CRNBlockTreeExtractor.h>
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... | |
![]() | |
virtual | ~Action () override |
Destructor. More... | |
virtual StringUTF8 | GetClassName () const =0 |
void | Deserialize (xml::Element &el) |
xml::Element | Serialize (xml::Element &parent) const |
![]() | |
virtual | ~Object ()=default |
Additional Inherited Members | |
![]() | |
crn::Map | UserData |
![]() | |
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.