39 #pragma warning(push, 0) // no warnings from includes 44 #ifdef DLL_CORE_EXPORT 45 #define DllCoreExport Q_DECL_EXPORT 47 #define DllCoreExport Q_DECL_IMPORT 62 virtual QString toString()
const override;
75 void setLine(
const Line& line);
77 QSharedPointer<PixelSet>
set()
const;
79 void setAngle(
double angle);
82 void draw(QPainter& p)
const;
85 QSharedPointer<PixelSet> mSet;
95 bool isEmpty()
const override;
96 bool compute()
override;
97 QSharedPointer<TabStopConfig>
config()
const;
99 cv::Mat draw(
const cv::Mat& img)
const;
100 QString toString()
const override;
103 QVector<QSharedPointer<TabStopCluster> > tabStopClusters()
const;
104 QVector<Line> tabStopLines(
double offset = 0.0)
const;
108 QSharedPointer<PixelGraph> mGraph;
110 QVector<QSharedPointer<TabStopCluster> > mTabStops;
112 bool checkInput()
const override;
115 QVector<QSharedPointer<Pixel> > findTabStopCandidates(
const QSharedPointer<PixelGraph>& graph)
const;
116 QVector<QSharedPointer<TabStopCluster> > findTabs(
const QVector<QSharedPointer<Pixel> >& pixel)
const;
117 double medianOrientation(
const PixelSet&
set)
const;
Definition: BaseModule.h:63
Type
Definition: Pixel.h:160
Definition: TabStopAnalysis.h:57
#define DllCoreExport
Definition: BaseImageElement.h:43
PixelSet stores and manipulates pixel collections.
Definition: PixelSet.h:172
Definition: TabStopAnalysis.h:70
Definition: TabStopAnalysis.h:90
config
Definition: DependencyCollector.py:271
A basic line class including stroke width (thickness).
Definition: Shapes.h:68
This is the base class for all modules. It provides all functions which are implemented by the module...
Definition: BaseModule.h:126
Definition: Algorithms.cpp:45