Skip to main content

A package for BRISQUE metric calculation.

Project description

An implementation of BRISQUE (Blind/Referenceless Image Spatial Quality
Evaluator) in Python from the paper: ["No-Reference Image Quality Assessment
in the Spatial Domain"](

## Installation
The package is in PyPI so you can install it simply by this command:

```pip install --process-dependency-links pybrisque```

## Usage
Initialize once:
brisq = BRISQUE()
and get the BRISQUE feature or score many times:

## Limitations
This implementation is heavily adopted from the original Matlab
implementation in [here]( There is one catch though, the bicubic interpolation when resizing image in
Matlab and OpenCV is a bit different as explained in [here]( For now, it uses ```nearest``` interpolation
which gives the most similar output with the original implementation.

Comparing with Matlab original implementation on reference images of TID 2008:


And the absolute differences' stat is as follows:
{'min': 0.17222238726479588,
'max': 16.544924728934404,
'mean': 3.9994322498322754,
'std': 3.0715344507521416}

Project details

Download files

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

Files for pybrisque, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pybrisque-1.0.tar.gz (136.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page