Juruobudong / No-Reference-Image-Quality-Assessment-using-BRISQUE-Model

Implementation of the paper "No Reference Image Quality Assessment in the Spatial Domain" by A Mittal et al. in OpenCV (using both C++ and Python)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note

Please see krshrimali#4 if you are looking to contribute. :)

Note: There have been many revisions, specially about the models used. Please check the work by @clunietp (https://github.com/clunietp) and myself on BRISQUE IQA committed to opencv_contrib here: https://github.com/opencv/opencv_contrib/tree/master/modules/quality

Note: This work was originally published on LearnOpenCV. For code: https://github.com/spmallick/learnopencv/tree/master/ImageMetrics

The work was published on https://www.learnopencv.com/. Link: blog post.

Process

Steps to Calculate Image Quality Score using BRISQUE Model

Installation Instructions

Python 2.x LIBSVM Installation sudo apt-get install python-libsvm

Python 3.x LIVSVM Installation and C++ LIBSVM Installation

For C++ :

  1. cd C++/libsvm/
  2. cmake .
  3. make

For Python 3.x :

  1. cd Python/libsvm/
  2. make
  3. cd python
  4. make

Usage

Python 2.x

  1. python2 brisquequality.py <image_path>

Python 3.x

  1. cd Python/libsvm/python/
  2. python3 brisquequality.py <image_path>

C++

  1. cd C++/
  2. ./brisquequality <image_path>

Example

Quality Score Comparison using BRISUQE Model

Quality Score Comparison using BRISQUE Model

About

Implementation of the paper "No Reference Image Quality Assessment in the Spatial Domain" by A Mittal et al. in OpenCV (using both C++ and Python)

License:MIT License


Languages

Language:C++ 29.4%Language:C 18.6%Language:Java 12.7%Language:HTML 10.4%Language:Makefile 10.3%Language:M4 8.0%Language:Python 7.2%Language:CMake 3.2%Language:MATLAB 0.1%