VAT  3.0
Video Analysis Tool
Public Member Functions | Static Public Member Functions | List of all members
apparienceModelLearning Class Reference

Public Member Functions

 apparienceModelLearning (QString name, int cls=15, double bottomTh=0.0, double topTh=100.0, typeDistanceMetric type=Complete)
 
bool trainAll ()
 
void resetTrain ()
 
void generateMetaPrototypesFor3DCluster (int n_clusters)
 
void generateMetaPrototypesFor2DCluster (int n_clusters)
 
void generateMetaPrototypesFor1DCluster (int n_clusters)
 
void updateMode ()
 
void saveModel (QString directory)
 
bool readChroma_Model (QString filePath)
 
bool readLuma_Model (QString filePath)
 
bool readLuv_Model (QString filePath)
 
bool getWeights (cv::Mat &mat)
 
bool getMeans (cv::Mat &mat)
 
bool getCovs (std::vector< cv::Mat > &vmat)
 
QString getName ()
 
cv::Ptr< cv::ml::EM > getEM ()
 
bool getSamplesFromCSV (QString filePath, int part, soccerClass cl)
 
clusters2D_BOF getClusters2D_BOF ()
 
clusters1D_BOF getClusters1D_BOF ()
 
clusters3D_BOF getClusters3D_BOF ()
 
double * create1DFeature_Histogram (soccerClass clase, bool showH=false)
 
double * create2DFeature_Histogram (soccerClass clase, bool showH=false)
 
double * create3DFeature_Histogram (soccerClass clase, bool showH=false)
 

Static Public Member Functions

static cv::Vec3d valueLUVConvert (cv::Vec3d val)
 
static cv::Vec2d valueUVConvert (cv::Vec2d val)
 
static cv::Scalar valueLUVConvertInv (cv::Scalar val)
 
static double BhattacharryaDistance (double *h1, double *h2, int size)
 
static double chiSquare (double *h1, double *h2, int size)
 
static double intersectionDist (double *h1, double *h2, int size)
 
static double correlationDist (double *h1, double *h2, int size)
 
static bool evaluatePixeltoCluster (cv::Vec2d value, std::vector< cv::Vec2d > cluster, int type)
 
static bool evaluatePixeltoCluster (cv::Vec3d value, std::vector< cv::Vec3d > cluster, int type)
 
static bool evaluatePixeltoCluster (double value, std::vector< double > cluster, int type)
 
static void showHistogram (int *count, const clusters2D_BOF &clusters, QString name="UNKNOWN")
 
static void showHistogram (int *count, const clusters3D_BOF &clusters, QString name="UNKNOWN")
 
static void showHistogram (int *count, const clusters1D_BOF &clusters, QString name="UNKNOWN")
 
static void printClusters (clusters2D_BOF clusters)
 
static void printClusters (clusters1D_BOF clusters)
 
static void printClusters (clusters3D_BOF clusters)
 
static bool filterByLuma (double l, double bottomTh, double topTh)
 

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