Jorgvt commited on
Commit
7800a95
1 Parent(s): 49d63d9

:tada: Uploaded dataset

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. TID2013.py +88 -0
  2. distorted_images/i01_01_1.bmp +3 -0
  3. distorted_images/i01_01_2.bmp +3 -0
  4. distorted_images/i01_01_3.bmp +3 -0
  5. distorted_images/i01_01_4.bmp +3 -0
  6. distorted_images/i01_01_5.bmp +3 -0
  7. distorted_images/i01_02_1.bmp +3 -0
  8. distorted_images/i01_02_2.bmp +3 -0
  9. distorted_images/i01_02_3.bmp +3 -0
  10. distorted_images/i01_02_4.bmp +3 -0
  11. distorted_images/i01_02_5.bmp +3 -0
  12. distorted_images/i01_03_1.bmp +3 -0
  13. distorted_images/i01_03_2.bmp +3 -0
  14. distorted_images/i01_03_3.bmp +3 -0
  15. distorted_images/i01_03_4.bmp +3 -0
  16. distorted_images/i01_03_5.bmp +3 -0
  17. distorted_images/i01_04_1.bmp +3 -0
  18. distorted_images/i01_04_2.bmp +3 -0
  19. distorted_images/i01_04_3.bmp +3 -0
  20. distorted_images/i01_04_4.bmp +3 -0
  21. distorted_images/i01_04_5.bmp +3 -0
  22. distorted_images/i01_05_1.bmp +3 -0
  23. distorted_images/i01_05_2.bmp +3 -0
  24. distorted_images/i01_05_3.bmp +3 -0
  25. distorted_images/i01_05_4.bmp +3 -0
  26. distorted_images/i01_05_5.bmp +3 -0
  27. distorted_images/i01_06_1.bmp +3 -0
  28. distorted_images/i01_06_2.bmp +3 -0
  29. distorted_images/i01_06_3.bmp +3 -0
  30. distorted_images/i01_06_4.bmp +3 -0
  31. distorted_images/i01_06_5.bmp +3 -0
  32. distorted_images/i01_07_1.bmp +3 -0
  33. distorted_images/i01_07_2.bmp +3 -0
  34. distorted_images/i01_07_3.bmp +3 -0
  35. distorted_images/i01_07_4.bmp +3 -0
  36. distorted_images/i01_07_5.bmp +3 -0
  37. distorted_images/i01_08_1.bmp +3 -0
  38. distorted_images/i01_08_2.bmp +3 -0
  39. distorted_images/i01_08_3.bmp +3 -0
  40. distorted_images/i01_08_4.bmp +3 -0
  41. distorted_images/i01_08_5.bmp +3 -0
  42. distorted_images/i01_09_1.bmp +3 -0
  43. distorted_images/i01_09_2.bmp +3 -0
  44. distorted_images/i01_09_3.bmp +3 -0
  45. distorted_images/i01_09_4.bmp +3 -0
  46. distorted_images/i01_09_5.bmp +3 -0
  47. distorted_images/i01_10_1.bmp +3 -0
  48. distorted_images/i01_10_2.bmp +3 -0
  49. distorted_images/i01_10_3.bmp +3 -0
  50. distorted_images/i01_10_4.bmp +3 -0
TID2013.py ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ import pandas as pd
4
+ import datasets
5
+
6
+ _CITATION = """\
7
+ @article{ponomarenko_image_2015,
8
+ title = {Image database {TID2013}: {Peculiarities}, results and perspectives},
9
+ volume = {30},
10
+ issn = {09235965},
11
+ shorttitle = {Image database {TID2013}},
12
+ url = {https://linkinghub.elsevier.com/retrieve/pii/S0923596514001490},
13
+ doi = {10.1016/j.image.2014.10.009},
14
+ abstract = {This paper describes a recently created image database, TID2013, intended for evaluation of full-reference visual quality assessment metrics. With respect to TID2008, the new database contains a larger number (3000) of test images obtained from 25 reference images, 24 types of distortions for each reference image, and 5 levels for each type of distortion. Motivations for introducing 7 new types of distortions and one additional level of distortions are given; examples of distorted images are presented. Mean opinion scores (MOS) for the new database have been collected by performing 985 subjective experiments with volunteers (observers) from five countries (Finland, France, Italy, Ukraine, and USA). The availability of MOS allows the use of the designed database as a fundamental tool for assessing the effectiveness of visual quality. Furthermore, existing visual quality metrics have been tested with the proposed database and the collected results have been analyzed using rank order correlation coefficients between MOS and considered metrics. These correlation indices have been obtained both considering the full set of distorted images and specific image subsets, for highlighting advantages and drawbacks of existing, state of the art, quality metrics. Approaches to thorough performance analysis for a given metric are presented to detect practical situations or distortion types for which this metric is not adequate enough to human perception. The created image database and the collected MOS values are freely available for downloading and utilization for scientific purposes.},
15
+ language = {en},
16
+ urldate = {2023-07-04},
17
+ journal = {Signal Processing: Image Communication},
18
+ author = {Ponomarenko, Nikolay and Jin, Lina and Ieremeiev, Oleg and Lukin, Vladimir and Egiazarian, Karen and Astola, Jaakko and Vozel, Benoit and Chehdi, Kacem and Carli, Marco and Battisti, Federica and Jay Kuo, C.-C.},
19
+ month = jan,
20
+ year = {2015},
21
+ pages = {57--77},
22
+ }
23
+
24
+ """
25
+
26
+
27
+ _DESCRIPTION = """\
28
+ Image Quality Assessment Dataset consisting of 25 reference images, 25 different distortions and 5 intensities per distortion.
29
+ In total there are 3000 (reference, distortion, MOS) tuples.
30
+ """
31
+
32
+ _HOMEPAGE = "https://www.ponomarenko.info/tid2013.htm"
33
+
34
+ # _LICENSE = ""
35
+
36
+ class TID2013(datasets.GeneratorBasedBuilder):
37
+ """TID2013 Image Quality Dataset"""
38
+
39
+ VERSION = datasets.Version("1.0.0")
40
+
41
+ def _info(self):
42
+ # TODO: This method specifies the datasets.DatasetInfo object which contains informations and typings for the dataset
43
+ features = datasets.Features(
44
+ {
45
+ "reference": datasets.Image(),
46
+ "distorted": datasets.Image(),
47
+ "mos": datasets.Value("float")
48
+ }
49
+ )
50
+ return datasets.DatasetInfo(
51
+ description=_DESCRIPTION,
52
+ features=features,
53
+ # supervised_keys=("reference", "distorted", "mos"),
54
+ homepage=_HOMEPAGE,
55
+ # license=_LICENSE,
56
+ citation=_CITATION,
57
+ )
58
+
59
+ def _split_generators(self, dl_manager):
60
+ data_path = dl_manager.download("image_pairs_mos.csv")
61
+ data = pd.read_csv(data_path, index_col=0)
62
+
63
+ reference_paths = data["Reference"].apply(lambda x: os.path.join("reference_images", x)).to_list()
64
+ distorted_paths = data["Distorted"].apply(lambda x: os.path.join("distorted_images", x)).to_list()
65
+
66
+ reference_paths = dl_manager.download(reference_paths)
67
+ distorted_paths = dl_manager.download(distorted_paths)
68
+
69
+ return [
70
+ datasets.SplitGenerator(
71
+ name=datasets.Split.TRAIN,
72
+ gen_kwargs={
73
+ "reference": reference_paths,
74
+ "distorted": distorted_paths,
75
+ "mos": data["MOS"],
76
+ "split": "train",
77
+ },
78
+ )
79
+ ]
80
+
81
+ # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
82
+ def _generate_examples(self, reference, distorted, mos, split):
83
+ for key, (ref, dist, m) in enumerate(zip(reference, distorted, mos)):
84
+ yield key, {
85
+ "reference": ref,
86
+ "distorted": dist,
87
+ "mos": m,
88
+ }
distorted_images/i01_01_1.bmp ADDED

Git LFS Details

  • SHA256: ba84d604683e1553afed06bed69cba633cd4697f52d02e6092b77764a12bdf3e
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_01_2.bmp ADDED

Git LFS Details

  • SHA256: 12d3e930cca8cb17ce66b51624e896200ca5b1e0fb99df3c173ef72eaa2d8072
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_01_3.bmp ADDED

Git LFS Details

  • SHA256: 87c267bec874706dc2d37ef7541ebcd7d5f5e0279d128e43e94ba0ebe4c97bcb
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_01_4.bmp ADDED

Git LFS Details

  • SHA256: 2fbb62bc2756cdce715986a6ed3d4a5e14daf5e62424cda7757d18bfab12612e
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_01_5.bmp ADDED

Git LFS Details

  • SHA256: 74ec08fde9c5e6d6ec0168ca8a6b8c6824d55557c9bd6b816a52b99b2db3e4ed
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_02_1.bmp ADDED

Git LFS Details

  • SHA256: 2c6fc2831b21e8018b38f4c04569bbc6ce684147fc0cdb8987ee63ca81a730f0
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_02_2.bmp ADDED

Git LFS Details

  • SHA256: ff7b833b299a392230961d3aeccedfb9567d576d86c322a68a46891d153b8a26
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_02_3.bmp ADDED

Git LFS Details

  • SHA256: 42d6dd414542d9b4bf996ff31239ba4981d865054c2d1fcf749da35b636fc1c6
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_02_4.bmp ADDED

Git LFS Details

  • SHA256: b6f35ef261707ef6e77fdaf2847d30f0c18f503f81957090bbe01938ea1508c6
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_02_5.bmp ADDED

Git LFS Details

  • SHA256: 883096444aa586bb372a1f50420961ef8a361b024bcfc9361fbbacecde5562fc
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_03_1.bmp ADDED

Git LFS Details

  • SHA256: c5d7c8edeea09f53ae4b1cd58b1e5f0fb1345328dd707c4b2ccee6ae5dcf5720
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_03_2.bmp ADDED

Git LFS Details

  • SHA256: d0807c55e8ca19eab1cc8419de6b268844e1da13c326730400e54ec7fd656739
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_03_3.bmp ADDED

Git LFS Details

  • SHA256: 827da316d85f181b593ed51830039c868c3bf9d032a816c02d750c87be49a611
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_03_4.bmp ADDED

Git LFS Details

  • SHA256: 856aa385e13ddb48a998c21d39c342d07e05bc3bc15af1df4a3d0cae51f40a3f
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_03_5.bmp ADDED

Git LFS Details

  • SHA256: d75626693c105853985220122590393c766136d50d23d3e4fd0221a2bf748867
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_04_1.bmp ADDED

Git LFS Details

  • SHA256: d605a073bdde37fb5625ebf8857c3dea5219b2faa60d1f723460f438ef2e2040
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_04_2.bmp ADDED

Git LFS Details

  • SHA256: 8c74d28cec677a16211a0a54746a33d471849b33f260e197fcf39a57604f1482
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_04_3.bmp ADDED

Git LFS Details

  • SHA256: 3a6d5ec07ffa53edeffcda39fe2d9c3712d8adfe61b45b6b3d78ecafc3a50281
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_04_4.bmp ADDED

Git LFS Details

  • SHA256: 378ff984b9472c0b5a339ac7453f42f8d0d9157a61630328e2a4a3cba36754bf
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_04_5.bmp ADDED

Git LFS Details

  • SHA256: 887b2917b3fd575c71c00f513909a8276107833271129c01a58208e750bb432e
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_05_1.bmp ADDED

Git LFS Details

  • SHA256: 6b3fa79dc8f010d9d31e6ba6819593cae0f182cc17c1191cdbd793562f0133d3
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_05_2.bmp ADDED

Git LFS Details

  • SHA256: 739631fb7133a184194966370790532050640c2a3c336873ec36c4a1661594f1
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_05_3.bmp ADDED

Git LFS Details

  • SHA256: 2625edbdf2e668d600baaecfe017e81e811c91c9758492461b3b14cb0fc51914
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_05_4.bmp ADDED

Git LFS Details

  • SHA256: 434c0567615ac5e92c738d864c51c886fda148d37056e639900724a8dcf6091c
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_05_5.bmp ADDED

Git LFS Details

  • SHA256: c7ac194a4cc4c004e0f12d8583c1abf75d263b256486fefe702adf5661db2471
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_06_1.bmp ADDED

Git LFS Details

  • SHA256: 6d13ecb1b58af08bef4e2914425af40a4d0c4fe9fd1d74ad6541757a531064df
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_06_2.bmp ADDED

Git LFS Details

  • SHA256: 07bdce209f458e745e85d0974db4ac2a65d81baf6ae46a53dcf83c4e70ccb384
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_06_3.bmp ADDED

Git LFS Details

  • SHA256: a44109843da84db18df49881c2c45a91cd5381a4efbecc12d810a056e9375bdd
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_06_4.bmp ADDED

Git LFS Details

  • SHA256: 96d96a908e886575eb03e457de1287d9ebd542741a925f0932779632fc8e5c6d
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_06_5.bmp ADDED

Git LFS Details

  • SHA256: f31cb68215de3853ebe10fc403d446d06c29b067d8dee1bebf057f22d35055a7
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_07_1.bmp ADDED

Git LFS Details

  • SHA256: 6fc03f8a0284a1226cbadc341bb63696cb292288cb84a692f20dd26216c71c52
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_07_2.bmp ADDED

Git LFS Details

  • SHA256: 5c5f402104ed3589284dea3c779eaaf354bc42a276ca615da2168bad1e3ccf9f
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_07_3.bmp ADDED

Git LFS Details

  • SHA256: 23c8945aa70d8ca06c21557da155b4266df0539f00cec287b48029ec6e23e1fb
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_07_4.bmp ADDED

Git LFS Details

  • SHA256: b142605f2be78ed96b00312380c83a6c8a01f3a56915a2257b7822f8632cceb2
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_07_5.bmp ADDED

Git LFS Details

  • SHA256: 75276e189ff61d62166ea5df3c4a4c059811ca0501082aa7b414b1994f0033d5
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_08_1.bmp ADDED

Git LFS Details

  • SHA256: 3240205bc91448da9a87f0ac52b7cade73b653a8dd65275c792ae1c0fcf6b203
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_08_2.bmp ADDED

Git LFS Details

  • SHA256: 093dbef63108dc4c4a367ba8ecb719ff1198ff0b002e4c0b64e17457afa0b54e
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_08_3.bmp ADDED

Git LFS Details

  • SHA256: 36e869c5db55b1bc85ead25c174d90f55c0a79f1d2a9b99733f22946856849c4
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_08_4.bmp ADDED

Git LFS Details

  • SHA256: a8695cd6815c4ed248905f258356f2efaa4c5861464f7cb20a26fc357dd064e3
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_08_5.bmp ADDED

Git LFS Details

  • SHA256: 2080bfb681dc339f9be49001553e71796c299a64eafd0e46a1759facc192c7d4
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_09_1.bmp ADDED

Git LFS Details

  • SHA256: c84a840136478b9d1f215ca5837c25a82ac02f6fa10414bce4f2a169bf626f2a
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_09_2.bmp ADDED

Git LFS Details

  • SHA256: 75f28a14f930497e3a795637f7838ecbafc6ce150cc236b08c02e1dca8e77c5b
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_09_3.bmp ADDED

Git LFS Details

  • SHA256: f647bf9a6df0111f809248aaae8df7b5d97d966091f0086874048b83c42ae2cb
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_09_4.bmp ADDED

Git LFS Details

  • SHA256: c11a3185f3b5117ad8ab690e52f9ace590be9a35f5fa9dc608ae7c1eda78cec6
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_09_5.bmp ADDED

Git LFS Details

  • SHA256: 53f4b14ee517797392d07793ef45f5f53ab399d5aa52777ec94ab35f1ae9fbb7
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_10_1.bmp ADDED

Git LFS Details

  • SHA256: d24da6c7f12b3fdfdfb5cf1dbed6778513f96066c82cfed296d7961b08b1667f
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_10_2.bmp ADDED

Git LFS Details

  • SHA256: 644fb99685d2e6b7748e1e2566bb5b0b233b9fa3a77c9673106df7df1337beb3
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_10_3.bmp ADDED

Git LFS Details

  • SHA256: d122906fe90140c278b8924da4f26b50c22431e18ce547947d85a6ceeace68d3
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB
distorted_images/i01_10_4.bmp ADDED

Git LFS Details

  • SHA256: 83ea11d7322bd8fca986078e5f0079f913de6a4ffcf75f4a24e5bdf52f718a35
  • Pointer size: 131 Bytes
  • Size of remote file: 590 kB