Read@CVL
PixelSet.h File Reference
#include "Shapes.h"
#include "BaseImageElement.h"
#include "Pixel.h"
#include "Algorithms.h"
#include <QObject>
#include <QSharedPointer>
#include <QVector>
#include <QMap>
Include dependency graph for PixelSet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rdf::PixelConnector
 Abstract class PixelConnector. This is the base class for all pixel connecting classes which implement different algorithms for connecting super pixels. More...
 
class  rdf::DelaunayPixelConnector
 Connects pixels using the Delaunay triangulation. More...
 
class  rdf::VoronoiPixelConnector
 Connects pixels using the Voronoi diagram. NOTE: this is highly experimental for it creates new pixels instead of connecting the input pixels (if you need this, take a look at the DelaunayPixelConnector). More...
 
class  rdf::RegionPixelConnector
 Fully connected graph. Super pixels are connected with all other super pixels within a region. More...
 
class  rdf::TabStopPixelConnector
 Connects tab stops. More...
 
class  rdf::DBScanPixelConnector
 Connects Pixels using the DBScan. More...
 
class  rdf::PixelSet
 PixelSet stores and manipulates pixel collections. More...
 
class  rdf::TextLineSet
 
class  rdf::TextBlock
 Represents a text block. A single text block has a boundary region and (possibly) a set of super pixels that are geometrically part of the text region. More...
 
class  rdf::TextBlockSet
 Stores all text blocks. This class is used to group super pixels with respect to layout constrains (e.g. text columns) More...
 
class  rdf::PixelGraph
 Represents a pixel graph. This class comes in handy if you want to map pixel edges with pixels. More...
 
class  rdf::DBScanPixel
 DBScan clustering for pixels. More...
 

Namespaces

 rdf
 
 rdf::TextLineHelper
 

Functions

QVector< QSharedPointer< TextLineSet > > rdf::TextLineHelper::filterLowDensity (const QVector< QSharedPointer< TextLineSet > > &textLines)
 
QVector< QSharedPointer< TextLineSet > > rdf::TextLineHelper::filterHeight (const QVector< QSharedPointer< TextLineSet > > &textLines, double minHeight=5, double maxHeight=5000)
 
QVector< QSharedPointer< TextLineSet > > rdf::TextLineHelper::filterAngle (const QVector< QSharedPointer< TextLineSet > > &textLines, double maxAngle=4 *DK_DEG2RAD)
 
void rdf::TextLineHelper::mergeStableTextLines (QVector< QSharedPointer< TextLineSet > > &textLines)
 
QSharedPointer< TextLineSet > rdf::TextLineHelper::find (const QString &id, const QVector< QSharedPointer< TextLineSet > > &tl)
 
bool rdf::TextLineHelper::merge (const QSharedPointer< TextLineSet > &tl1, const QSharedPointer< TextLineSet > &tl2)