@@ -40,6 +40,7 @@ export enum FieldId {
4040 QUALITY , // Encoding setting.
4141 PSNR , // Difference between original and decoded images.
4242 SSIM , // Difference between original and decoded images.
43+ DSSIM , // Difference between original and decoded images.
4344 MSSSIM , // Difference between original and decoded images.
4445 BUTTERAUGLI , // Difference between original and decoded images.
4546 SSIMULACRA , // Difference between original and decoded images.
@@ -96,6 +97,7 @@ const NAME_TO_FIELD_ID = new Map<string, FieldId>([
9697 [ 'quality' , FieldId . QUALITY ] ,
9798 [ 'psnr' , FieldId . PSNR ] ,
9899 [ 'ssim' , FieldId . SSIM ] ,
100+ [ 'dssim' , FieldId . DSSIM ] ,
99101 [ 'msssim' , FieldId . MSSSIM ] ,
100102 [ 'butteraugli' , FieldId . BUTTERAUGLI ] ,
101103 [ 'ssimulacra' , FieldId . SSIMULACRA ] ,
@@ -116,9 +118,9 @@ const NAME_TO_FIELD_ID = new Map<string, FieldId>([
116118 * by decreasing preference of which matcher is enabled by default.
117119 */
118120export const DISTORTION_METRIC_FIELD_IDS = [
119- FieldId . SSIM , FieldId . PSNR , FieldId . SSIMULACRA2 , FieldId . MSSSIM ,
120- FieldId . BUTTERAUGLI , FieldId . SSIMULACRA , FieldId . CIEDE2000 , FieldId . FLIP ,
121- FieldId . LPIPS , FieldId . P3NORM
121+ FieldId . SSIM , FieldId . PSNR , FieldId . SSIMULACRA2 , FieldId . DSSIM ,
122+ FieldId . MSSSIM , FieldId . BUTTERAUGLI , FieldId . SSIMULACRA , FieldId . CIEDE2000 ,
123+ FieldId . FLIP , FieldId . LPIPS , FieldId . P3NORM
122124] ;
123125
124126function fieldNameToFieldId ( name : string ) : FieldId {
0 commit comments