GithubHelp home page GithubHelp logo

xizhipeng0618 / mc360iqa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunwei925/mc360iqa

0.0 0.0 0.0 24.67 MB

A Multi-channel CNN for Blind 360-Degree Image Quality Assessment

License: Apache License 2.0

Python 81.69% MATLAB 18.31%

mc360iqa's Introduction

MC360IQA

MC360IQA: A Multi-channel CNN for Blind 360-degree Image Quality Assessment

Usage

If you want to train the code on your database (e.g. CVIQ database ):

First, prepare the database

cd equi2cubic
ConvertCVIQtoCubic.m

Then

CUDA_VISIBLE_DEVICES=0 python train.py \
--num_epochs 10 \
--batch_size 40 \
--database CVIQ \
--data_dir /DATA/CVIQcubic \
--filename_train CVIQ/CVIQ_train.csv \
--filename_test CVIQ/CVIQ_test.csv \
--snapshot  /DATA/ModelFolder/VRIQA \
--cross_validation_index 1

If you want to test the trained model on the test set:

CUDA_VISIBLE_DEVICES=1 python test.py \
--database CVIQ \
--data_dir /DATA/CVIQcubic \
--filename_test CVIQ/CVIQ_test.csv \
--snapshot  /DATA/ModelFolder/VRIQA/CVIQ/1/CVIQ.pkl

If you just want to evaluate the quality of an equirectangular image:

CUDA_VISIBLE_DEVICES=0 python test_on_equirectangular.py \
--filename images/1.png \
--snapshot  /DATA/ModelFolder/VRIQA/CVIQ/1/CVIQ.pkl

Model

You can download the trained model via:

CVIQ: google drive baidu yun 提取码:5muh

OIQA: google drive baidu yun 提取码:39we

We recommend you to use the model trained on the OIQA database since it is more robust.

Citation

If you find this code is useful for your research, please cite:

@article{sun2019mc360iqa,
  title={MC360IQA: A Multi-channel CNN for Blind 360-degree Image Quality Assessment},
  author={Sun, Wei and Min, Xiongkuo and Zhai, Guangtao and Gu, Ke and Duan, Huiyu and Ma, Siwei},
  journal={IEEE Journal of Selected Topics in Signal Processing},
  volume={14},
  number={1},
  pages={64-77},
  year={2020},
  publisher={IEEE}
}

Acknowledgement

  1. https://github.com/rayryeng/equi2cubic
  2. https://github.com/pepepor123/equirectangular-to-cubemap
  3. https://github.com/vztu/RAPIQUE

mc360iqa's People

Contributors

sunwei925 avatar sunguwei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.