@@ -48,7 +48,7 @@ Why are they different sizes? The default quality settings are set to average ou
48
48
49
49
#### Image Comparison Metrics
50
50
51
- The following metrics are available when using ` jpeg-recompress ` . SSIM is the default.
51
+ The following metrics are available when using ` jpeg-recompress ` . SUM is the default.
52
52
53
53
Name | Option | Description
54
54
----------- | ------------- | -----------
@@ -69,7 +69,10 @@ SUMMARY | `-m sum` | `(ssim + vipf1 + smallfry + shbad + nhw) / 5` **DE
69
69
70
70
** Note** : The SmallFry algorithm may be [ patented] ( http://www.jpegmini.com/main/technology ) so use with caution.
71
71
72
- "Universal Scale" of metrics (UM):
72
+ #### "Universal Scale" of metrics (UM):
73
+
74
+ ![ UM example] ( plot_um.svg )
75
+
73
76
```
74
77
0.0
75
78
... (DIRTY) ...
@@ -87,16 +90,16 @@ SUMMARY | `-m sum` | `(ssim + vipf1 + smallfry + shbad + nhw) / 5` **DE
87
90
```
88
91
Trends:
89
92
```
90
- UM = 2.42 * sqrt(sqrt(1 .0 / MPE)) - 1.38
93
+ UM = 0.25 * ( sqrt(sqrt(255 .0 / MPE)) - 1.0)
91
94
UM = 0.87 * sqrt(PNSR) - 4.70
92
- UM = 1.02 * sqrt(sqrt(1.0 / MSEF)) - 1.49
95
+ UM = 0.5 * ( sqrt(sqrt(1.0 / MSEF)) - 1.0)
93
96
UM = 1.0 * cor_sigma(cor_sigma(COR))
94
97
UM = 1.51 * cor_sigma(cor_sigma(cor_sigma(SSIM)))
95
98
UM = 1.59 * cor_sigma(cor_sigma(MS_SSIM))
96
99
UM = 1.06 * cor_sigma(cor_sigma(VIFP1))
97
- UM = 0.0658 * SMALLFRY - 6.07
98
- UM = 1.40 * cor_sigma(SHARPENBAD)
99
- UM = 0.222 * sqrt(sqrt(1.0 / NHW))
100
+ UM = 3.0 * ( SMALLFRY * 0.01 - 0.8)
101
+ UM = 1.0 * cor_sigma(sqrt( SHARPENBAD) )
102
+ UM = 0.333 * ( sqrt(sqrt(1.0 / NHW)) - 1.0 )
100
103
101
104
cor_sigma(M) = 1.0 - sqrt(1.0 - M * M)
102
105
```
0 commit comments