# \[ANN\] ImageQualityIndexes.jl -- assess your algorithm quantitatively

**URL:** https://discourse.julialang.org/t/ann-imagequalityindexes-jl-assess-your-algorithm-quantitatively/25081
**Category:** Package Announcements
**Tags:** images
**Created:** [June 8, 2019, 8:25pm UTC](https://discourse.julialang.org/t/ann-imagequalityindexes-jl-assess-your-algorithm-quantitatively/25081 "2019-06-08T20:25:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![JohnnyChen94](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnnychen94/32/29979_2.png) [@JohnnyChen94](https://discourse.julialang.org/u/JohnnyChen94)
#### Post date: [June 8, 2019, 8:25pm UTC](https://discourse.julialang.org/t/ann-imagequalityindexes-jl-assess-your-algorithm-quantitatively/25081/1 "2019-06-08T20:25:52Z")

</div>

Hi all

I’m glad to announce a new package [`ImageQualityIndexes.jl`](https://github.com/JuliaImages/ImageQualityIndexes.jl), consisting of two quantitative image quality assessment methods: PSNR (peak signal-to-noise ratio) and SSIM (structural similarity). These two indexes are widely used when comparing the performance of two similar image processing algorithms.

For benchmark usage, it is as simple as you can imagine:

```julia
img = testimage("lena_gray_256") .|> float64
noisy_img = img .+ 0.1 .* randn(size(img))
ssim(noisy_img, img) # 0.3577
psnr(noisy_img, img) # 19.9941

```

There is also a blog [The principles of Images.jl: Part I - Nextjournal](https://nextjournal.com/johnnychen94/the-principles-of-imagesjl-part-i) explaining how I design this package and how I understand `Images.jl`, hope that would be useful.

P.S. Currently this package is not re-exported by Images.jl, but I believe it will be in the near future (`Images v0.19`)

---

<div class="post-metadata">

### Author: ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)
#### Post date: [June 8, 2019, 11:25pm UTC](https://discourse.julialang.org/t/ann-imagequalityindexes-jl-assess-your-algorithm-quantitatively/25081/2 "2019-06-08T23:25:45Z")

</div>

a typo prevented your example from running – I submitted a PR to fix it

---

<div class="post-metadata">

### Author: ![Ashwani\_Rathee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ashwani_rathee/32/49551_2.png) [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)
#### Post date: [June 21, 2023, 5:40am UTC](https://discourse.julialang.org/t/ann-imagequalityindexes-jl-assess-your-algorithm-quantitatively/25081/3 "2023-06-21T05:40:28Z")

</div>

## ImageQualityIndexes v0.3.6 is out

Since the last announcement, several things have changed:

- Multi Scale SSIM was added
- Precompilation support
- Assess SSIM working on n-dimensional arrays
- Lazy loading of large dependencies

Repository: [GitHub - JuliaImages/ImageQualityIndexes.jl: Indexes for image quality assessment](https://github.com/JuliaImages/ImageQualityIndexes.jl)
