|
libcrn
3.9.5
A document image processing library
|
Threshold binarization action. More...
#include <CRNImageGray.h>
Inheritance diagram for crn::Gray2BWThreshold:
Collaboration diagram for crn::Gray2BWThreshold:Public Member Functions | |
| Gray2BWThreshold (uint8_t t=127) | |
| Default constructor. More... | |
| virtual | ~Gray2BWThreshold () override |
| virtual StringUTF8 | GetClassName () const override |
| virtual ImageBW | Binarize (const ImageGray &img) override |
| Action = binarize a gray image. More... | |
Public Member Functions inherited from crn::Gray2BW | |
| virtual | ~Gray2BW () override |
Public Member Functions inherited from crn::Action | |
| virtual | ~Action () override |
| Destructor. More... | |
| 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 |
Threshold binarization action.
Definition at line 642 of file CRNImageGray.h.
| Gray2BWThreshold::Gray2BWThreshold | ( | uint8_t | t = 127 | ) |
Default constructor.
Default constructor
| [in] | t | the threshold to use in [0..255] |
Definition at line 818 of file CRNImageGray.cpp.
|
inlineoverridevirtual |
Definition at line 647 of file CRNImageGray.h.
Action = binarize a gray image.
Implements crn::Gray2BW.
Definition at line 823 of file CRNImageGray.cpp.
|
inlineoverridevirtual |
Implements crn::Action.
Definition at line 648 of file CRNImageGray.h.
1.8.6