ReadFramework
rdf::FormEvaluation Class Reference

#include <FormAnalysis.h>

Public Member Functions

 FormEvaluation ()
 
void setSize (cv::Size s)
 
bool setTemplate (QString templateName)
 
void setTable (QSharedPointer< rdf::TableRegion > table)
 
cv::Mat computeTableImage (QSharedPointer< rdf::TableRegion > table, bool mergeCells=false)
 
void computeEvalCells ()
 
void computeEvalTableRegion ()
 
double tableJaccard ()
 
double tableMatch ()
 
QVector< double > cellJaccards ()
 
double meanCellJaccard ()
 
QVector< double > cellMatches ()
 
double meanCellMatch ()
 
double missedCells (double threshold=0.2)
 
double underSegmented (double threshold=0.2)
 
QVector< double > underSegmentedC ()
 

Protected Attributes

QSharedPointer< rdf::TableRegionmTableRegionTemplate
 
QSharedPointer< rdf::TableRegionmTableRegionMatched
 
cv::Size mImageSize
 
cv::Mat mTableTemplate
 
cv::Mat mTableMatched
 
double mCellsTemplate = -1
 
double mCellsMatched = -1
 
double mJaccardTable
 
double mMatchTable
 
QVector< double > mJaccardCell
 
QVector< double > mCellMatch
 
QVector< double > mUnderSegmented
 

Constructor & Destructor Documentation

rdf::FormEvaluation::FormEvaluation ( )

Member Function Documentation

QVector< double > rdf::FormEvaluation::cellJaccards ( )

Here is the caller graph for this function:

QVector< double > rdf::FormEvaluation::cellMatches ( )

Here is the caller graph for this function:

void rdf::FormEvaluation::computeEvalCells ( )

Here is the caller graph for this function:

void rdf::FormEvaluation::computeEvalTableRegion ( )

Here is the caller graph for this function:

cv::Mat rdf::FormEvaluation::computeTableImage ( QSharedPointer< rdf::TableRegion table,
bool  mergeCells = false 
)
double rdf::FormEvaluation::meanCellJaccard ( )

Here is the caller graph for this function:

double rdf::FormEvaluation::meanCellMatch ( )

Here is the caller graph for this function:

double rdf::FormEvaluation::missedCells ( double  threshold = 0.2)

Here is the caller graph for this function:

void rdf::FormEvaluation::setSize ( cv::Size  s)

Here is the caller graph for this function:

void rdf::FormEvaluation::setTable ( QSharedPointer< rdf::TableRegion table)

Here is the caller graph for this function:

bool rdf::FormEvaluation::setTemplate ( QString  templateName)

Here is the caller graph for this function:

double rdf::FormEvaluation::tableJaccard ( )

Here is the caller graph for this function:

double rdf::FormEvaluation::tableMatch ( )

Here is the caller graph for this function:

double rdf::FormEvaluation::underSegmented ( double  threshold = 0.2)

Here is the caller graph for this function:

QVector< double > rdf::FormEvaluation::underSegmentedC ( )

Member Data Documentation

QVector<double> rdf::FormEvaluation::mCellMatch
protected
double rdf::FormEvaluation::mCellsMatched = -1
protected
double rdf::FormEvaluation::mCellsTemplate = -1
protected
cv::Size rdf::FormEvaluation::mImageSize
protected
QVector<double> rdf::FormEvaluation::mJaccardCell
protected
double rdf::FormEvaluation::mJaccardTable
protected
double rdf::FormEvaluation::mMatchTable
protected
cv::Mat rdf::FormEvaluation::mTableMatched
protected
QSharedPointer<rdf::TableRegion> rdf::FormEvaluation::mTableRegionMatched
protected
QSharedPointer<rdf::TableRegion> rdf::FormEvaluation::mTableRegionTemplate
protected
cv::Mat rdf::FormEvaluation::mTableTemplate
protected
QVector<double> rdf::FormEvaluation::mUnderSegmented
protected

The documentation for this class was generated from the following files: