Skip to main content

A collection of Image Quality Assessment (IQA) datasets

Project description

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 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
A57 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
LIVE_MD :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
MDID2013 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
CSIQ :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
KADID-10k :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:(Note)
TID2008 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
TID2013 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
CIDIQ_MOS100 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
CIDIQ_MOS50 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
MDID2016 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
SDIVL :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
MDIVL :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Toyama :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
PDAP-HDDS :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
VCLFER :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
PIPAL :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
LIVE_Challenge :heavy_check_mark: :heavy_check_mark:
CID2013 :heavy_check_mark: :heavy_check_mark:
KonIQ-10k :heavy_check_mark: :heavy_check_mark:
SPAQ :heavy_check_mark: :heavy_check_mark:
AADB :heavy_check_mark: :heavy_check_mark:
BIQ2021 :heavy_check_mark: :heavy_check_mark:
FLIVE :heavy_check_mark: :heavy_check_mark:
GFIQA :heavy_check_mark: :heavy_check_mark:
AVA :heavy_check_mark: :heavy_check_mark:
PIQ2023 :heavy_check_mark: :heavy_check_mark:
UHD-IQA :heavy_check_mark: :heavy_check_mark:
Waterloo_Exploration :heavy_check_mark: :heavy_check_mark:
BAPPS :heavy_check_mark: :heavy_check_mark: 2AFC (no JND)
PieAPP :heavy_check_mark: :heavy_check_mark: 2AFC
KADIS-700k :heavy_check_mark: (code only) :heavy_check_mark:

Installation

You can install this package in two ways:

  1. Install from PyPI (recommended)

    pip install iqadataset
    
  2. Build from source (most updated)

    git clone https://github.com/icbcbicc/IQA-Dataset.git
    cd IQA-Dataset
    pip install -e .
    

Basic Usage

  1. General Python (please refer demo.py)

    from iqadataset import load_dataset
    dataset = load_dataset("LIVE")
    
  2. PyTorch (please refer demo_pytorch.py)

    from iqadataset import load_dataset_pytorch
    dataset = load_dataset_pytorch("LIVE")
    

Advanced Usage

  1. 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)
    
  2. 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

Star History

Star History Chart

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iqadataset-0.1.3.tar.gz (13.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iqadataset-0.1.3-py2.py3-none-any.whl (14.0 MB view details)

Uploaded Python 2Python 3

File details

Details for the file iqadataset-0.1.3.tar.gz.

File metadata

  • Download URL: iqadataset-0.1.3.tar.gz
  • Upload date:
  • Size: 13.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for iqadataset-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d0b90631f145029b6f921bd6ba03a80a497306e347ee3077e3750cffd7e83c9f
MD5 2bdc3baa1574528b7fc3748b75b8517d
BLAKE2b-256 0dc49650d5670f7f07713129dd4c1c526c23c3dbaa249869e2dc36a71424befc

See more details on using hashes here.

File details

Details for the file iqadataset-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: iqadataset-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.0 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for iqadataset-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d90f1cf03d59e515da0b0cf58f2b57c388a6ad137a4735bed209bb91ef94409d
MD5 c8920f075890a883c39d4f41cc0c0c3f
BLAKE2b-256 fcedb3051da03cc82156025ca2789ecc91093183b6168f6ac6ff8c5f869f5927

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page