27 |
#ifndef SSIM_H |
#ifndef SSIM_H |
28 |
#define SSIM_H |
#define SSIM_H |
29 |
|
|
30 |
|
/*Plugin for calculating and dumping the ssim quality metric according to |
31 |
|
|
32 |
|
http://www.cns.nyu.edu/~lcv/ssim/ |
33 |
|
|
34 |
|
there is a accurate (but very slow) implementation, using a 8x8 gaussian |
35 |
|
weighting window, that is quite close to the paper, and a faster unweighted |
36 |
|
implementation*/ |
37 |
|
|
38 |
typedef struct{ |
typedef struct{ |
39 |
/*stat output*/ |
/*stat output*/ |
40 |
int b_printstat; |
int b_printstat; |
43 |
/*visualize*/ |
/*visualize*/ |
44 |
int b_visualize; |
int b_visualize; |
45 |
|
|
46 |
|
/*accuracy |
47 |
|
0 gaussian weigthed (original, as in paper, very slow) |
48 |
|
<=4 unweighted, 1 slow 4 fastest*/ |
49 |
|
int acc; |
50 |
|
|
51 |
} plg_ssim_param_t; |
} plg_ssim_param_t; |
52 |
|
|
53 |
|
|