# image-ssim

> Image structural similarity (SSIM). In TypeScript/JavaScript. For browser/server.

Latest version **0.2.0** (published 2015-07-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install image-ssim
pnpm add image-ssim
yarn add image-ssim
bun add image-ssim
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2015-07-10 |
| First published | 2015-07-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 94 |
| Author | Jan Forst |
| Maintainers | darosh |
| Keywords | browser, compare, image, server, similarity, ssim, typescript |

## Links

- npm: https://www.npmjs.com/package/image-ssim
- Repository: https://github.com/darosh/image-ssim-js
- Homepage: https://github.com/darosh/image-ssim-js/issues
- Issues: https://github.com/darosh/image-ssim-js/issues
- npm.io page: https://npm.io/package/image-ssim

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2015-07-10

## README

# Image SSIM [![Build Status](https://travis-ci.org/darosh/image-ssim-js.svg)](https://travis-ci.org/darosh/image-ssim-js)

Image structural similarity (SSIM). In TypeScript/JavaScript. For browser/server.

- Original TypeScript implementation: https://github.com/igor-bezkrovny/image-quantization/blob/9f62764ac047c3e53accdf1d7e4e424b0ef2fb60/src/quality/ssim.ts
- Based on Java implementation: https://github.com/rhys-e/structural-similarity
- For more information see: http://en.wikipedia.org/wiki/Structural_similarity

## Demo

[test/browser_test.html](http://darosh.github.io/image-ssim-js/test/browser_test.html)

## Similar stuff

- http://www.cns.nyu.edu/lcv/ssim/
- http://www.researchgate.net/publication/270584309_Window_Size_Influence_on_SSIM_Fidelity
- http://users.eecs.northwestern.edu/~pappas/papers/brooks_tip08.pdf
- http://foulard.ece.cornell.edu/dmr58/dmr_icip2008.pdf
- https://gist.github.com/Bibimaw/8873663
- https://github.com/bytespider/ssim

## Documentation

[http://darosh.github.io/image-ssim-js/doc/](http://darosh.github.io/image-ssim-js/doc/)

---
_Source: https://npm.io/package/image-ssim · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
