A Unified Interface for IQA Datasets
This repository contains a unified interface for downloading and loading 31 popular Image Quality Assessment (IQA) datasets. We provide codes for both general Python and PyTorch.
Citation
This repository is part of our Bayesian IQA project where we present an overview of IQA methods from a Bayesian perspective. More detailed summaries of both IQA models and datasets can be found in this interactive webpage.
If you find our project useful, please cite our paper
@article{duanmu2021biqa,
author = {Duanmu, Zhengfang and Liu, Wentao and Wang, Zhongling and Wang, Zhou},
title = {Quantifying Visual Image Quality: A Bayesian View},
journal = {Annual Review of Vision Science},
volume = {7},
number = {1},
pages = {437-464},
year = {2021}
}
Supported Datasets
| Dataset | Dis Img | Ref Img | MOS | DMOS |
|---|---|---|---|---|
| LIVE | ✔️ | ✔️ | ✔️ | |
| A57 | ✔️ | ✔️ | ✔️ | |
| LIVE_MD | ✔️ | ✔️ | ✔️ | |
| MDID2013 | ✔️ | ✔️ | ✔️ | |
| CSIQ | ✔️ | ✔️ | ✔️ | |
| KADID-10k | ✔️ | ✔️ | ✔️(Note) | |
| TID2008 | ✔️ | ✔️ | ✔️ | |
| TID2013 | ✔️ | ✔️ | ✔️ | |
| CIDIQ_MOS100 | ✔️ | ✔️ | ✔️ | |
| CIDIQ_MOS50 | ✔️ | ✔️ | ✔️ | |
| MDID2016 | ✔️ | ✔️ | ✔️ | |
| SDIVL | ✔️ | ✔️ | ✔️ | |
| MDIVL | ✔️ | ✔️ | ✔️ | |
| Toyama | ✔️ | ✔️ | ✔️ | |
| PDAP-HDDS | ✔️ | ✔️ | ✔️ | |
| VCLFER | ✔️ | ✔️ | ✔️ | |
| PIPAL | ✔️ | ✔️ | ✔️ | |
| LIVE_Challenge | ✔️ | ✔️ | ||
| CID2013 | ✔️ | ✔️ | ||
| KonIQ-10k | ✔️ | ✔️ | ||
| SPAQ | ✔️ | ✔️ | ||
| AADB | ✔️ | ✔️ | ||
| BIQ2021 | ✔️ | ✔️ | ||
| FLIVE | ✔️ | ✔️ | ||
| GFIQA | ✔️ | ✔️ | ||
| AVA | ✔️ | ✔️ | ||
| PIQ2023 | ✔️ | ✔️ | ||
| UHD-IQA | ✔️ | ✔️ | ||
| Waterloo_Exploration | ✔️ | ✔️ | ||
| BAPPS | ✔️ | ✔️ | 2AFC (no JND) | |
| PieAPP | ✔️ | ✔️ | 2AFC | |
| ✔️ (code only) | ✔️ |
Installation
You can install this package in two ways:
-
Install from PyPI (recommended)
pip install iqadataset
-
Build from source (most updated)
git clone https://github.com/icbcbicc/IQA-Dataset.git cd IQA-Dataset pip install -e .
Basic Usage
-
General Python (please refer
demo.py)from iqadataset import load_dataset dataset = load_dataset("LIVE")
-
PyTorch (please refer
demo_pytorch.py)from iqadataset import load_dataset_pytorch dataset = load_dataset_pytorch("LIVE")
Advanced Usage
-
General Python (please refer
demo.py)from iqadataset import load_dataset dataset = load_dataset("LIVE", dataset_root="data", attributes=["dis_img_path", "dis_type", "ref_img_path", "score"], download=True)
-
PyTorch (please refer
demo_pytorch.py)from iqadataset import load_dataset_pytorch transform = transforms.Compose([transforms.RandomCrop(size=64), transforms.ToTensor()]) dataset = load_dataset_pytorch("LIVE", dataset_root="data", attributes=["dis_img_path", "dis_type", "ref_img_path", "score"], download=True, transform=transform)
TODO
- PyPI package
- HuggingFace dataset
- AVA
- PIPAL
- AADB
- FLIVE
- BIQ2021
- GFIQA
- BAPPS
- PieAPP
- PIQ2023
-
IVC - Provide more attributes
-
Add TensorFlow support -
Add MATLAB support
Star History
Metadata
Release files for iqadataset 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iqadataset-0.1.3.tar.gz | 13.5 MB | Without provenance | Details for iqadataset-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iqadataset-0.1.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for iqadataset-0.1.3-py2.py3-none-any.whl |
Total release size: 27.5 MB
Release files / iqadataset-0.1.3.tar.gz
| Download URL | iqadataset-0.1.3.tar.gz |
|---|---|
| Size | 13.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0b90631f145029b6f921bd6ba03a80a497306e347ee3077e3750cffd7e83c9f
|
|
BLAKE2b-256 checksum How to use checksums |
0dc49650d5670f7f07713129dd4c1c526c23c3dbaa249869e2dc36a71424befc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Release files / iqadataset-0.1.3-py2.py3-none-any.whl
| Download URL | iqadataset-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 14.0 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d90f1cf03d59e515da0b0cf58f2b57c388a6ad137a4735bed209bb91ef94409d
|
|
BLAKE2b-256 checksum How to use checksums |
fcedb3051da03cc82156025ca2789ecc91093183b6168f6ac6ff8c5f869f5927
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Security for iqadataset 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.