source: GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/vmi/include/metrics.h @ 2127

Revision 2127, 1.1 KB checked in by gumbau, 17 years ago (diff)
Line 
1#ifndef __metrics_h_
2#define __metrics_h_
3
4#include "GL/glut.h"
5
6#include "change.h"
7
8namespace       VMI
9{
10extern GLdouble computeMI(Mesh *mesh, int **histogram, int numCameras, int cam);
11extern GLdouble decMI(GLdouble I, int **histogram, int numCameras, int cam, Change *c);
12extern GLdouble incMI(GLdouble I, int **histogram, int numCameras, int cam, Change *c);
13
14extern GLdouble computeHE(Mesh *mesh, int *histogram);
15extern GLdouble computeKL(Mesh *mesh, int *histogram);
16extern GLdouble computeCS(Mesh *mesh, int *histogram);
17
18extern GLdouble computeMeanProjArea(int **histogram, int numCameras, int t);
19extern GLdouble computeJS(int **histogram, int numCameras, int j, int k);
20extern GLdouble computeEntropy(int **histogram, int numCameras, int k);
21extern GLdouble computeMixedEntropy(GLdouble *mixed, int numCameras);
22extern GLdouble computeMeanProjAreaNoBG(int **histogram, int numCameras, int t);
23
24extern GLdouble *initIs(int numCameras);
25extern void computeCameraIs(int **histogram, int numCameras, GLdouble *mis);
26extern void printIs(GLdouble *mis, int numCameras);
27}
28#endif
Note: See TracBrowser for help on using the repository browser.