Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsahonero/vsi.jl
https://github.com/gsahonero/vsi.jl
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gsahonero/vsi.jl
- Owner: gsahonero
- License: mit
- Created: 2024-11-18T19:49:11.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-11-18T21:02:58.000Z (2 months ago)
- Last Synced: 2024-11-18T22:19:32.685Z (2 months ago)
- Language: Julia
- Size: 268 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VSI
[![Build Status](https://github.com/gsahonero/VSI.jl/actions/workflows/CI.yml/badge.svg?branch=master)](https://github.com/gsahonero/VSI.jl/actions/workflows/CI.yml?query=branch%3Amaster)
A Julia implementation of Visual Saliency-Induced Index (VSI) metric. This implementation follows the logic implemented in [this blog post](https://imageprocessing-sankarsrin.blogspot.com/2017/10/vsi-visual-saliency-induced-index-image.html). Please, check [comments](#comments) before using.
## Setup
For now:```julia
using Pkg;
Pkg.add(url="https://github.com/gsahonero/VSI.jl")
Pkg.dev("VSI")
```## Usage
The classic example:
```julia
using VSI
using Images# Read images
using Images# Read images
ref = Images.load("../VSI/Julia Implementation/r0.png")
dist = Images.load("../VSI/Julia Implementation/r1.png")# Calculate the perceptual quality score (VSI)
@time score = VSI_score(ref, dist)# Output the score
println("VSI score: ", score)
```## Parameters of `VSI_score`
- `ref`:`Image` - reference image
- `dist`:`Image` - distorted image## Comments
- (AFAIK) Julia does not have an implementation of the VSI metric, this "package" should do the trick.
- Due to differences with MATLAB implementations and numerical operations, the results may differ slightly.