{"_id":"@blazediff/ssim","_rev":"4-61af6922f26439f6d9b6c53c226b1c0b","name":"@blazediff/ssim","dist-tags":{"latest":"2.0.0"},"versions":{"1.6.0":{"name":"@blazediff/ssim","version":"1.6.0","keywords":["image","comparison","ssim","gradient","similarity","visual-testing","ci"],"author":{"url":"https://github.com/teimurjan","name":"Teimur Gasanov","email":"me@teimurjan.dev"},"license":"MIT","_id":"@blazediff/ssim@1.6.0","maintainers":[{"name":"teimurjan","email":"teymurgg321@gmail.com"}],"homepage":"https://blazediff.dev","bugs":{"url":"https://github.com/teimurjan/blazediff/issues"},"dist":{"shasum":"73159a57dbabda1175ac3fcb0d20f73978cc0350","tarball":"https://registry.npmjs.org/@blazediff/ssim/-/ssim-1.6.0.tgz","fileCount":17,"integrity":"sha512-9LZUY47+fCam4GsaEQcCIyWbxdAYTVarvn09UsIs2ShFgeQfzu4QSvk9Ji10pk+EATtiHHZAFIeiYpgvL0nbFQ==","signatures":[{"sig":"MEUCIQDztpb9Gy2SLSJQoH6iljl+DiFXzHXSysZHiAKrPviLsgIgLksQhoWjHZf8cXsoq7lv2Qty2TIxOR+NJn8kGsBv5as=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42014},"main":"dist/ssim.js","_from":"file:blazediff-ssim-1.6.0.tgz","types":"dist/ssim.d.ts","module":"dist/ssim.mjs","exports":{".":{"types":"./dist/ssim.d.ts","import":"./dist/ssim.mjs","require":"./dist/ssim.js"},"./ssim":{"types":"./dist/ssim.d.ts","import":"./dist/ssim.mjs","require":"./dist/ssim.js"},"./msssim":{"types":"./dist/msssim.d.ts","import":"./dist/msssim.mjs","require":"./dist/msssim.js"},"./hitchhikers-ssim":{"types":"./dist/hitchhikers-ssim.d.ts","import":"./dist/hitchhikers-ssim.mjs","require":"./dist/hitchhikers-ssim.js"}},"private":false,"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest"},"_npmUser":{"name":"teimurjan","email":"teymurgg321@gmail.com"},"_resolved":"/tmp/7dee093bb870f7b2dcfb8efb46e45a24/blazediff-ssim-1.6.0.tgz","_integrity":"sha512-9LZUY47+fCam4GsaEQcCIyWbxdAYTVarvn09UsIs2ShFgeQfzu4QSvk9Ji10pk+EATtiHHZAFIeiYpgvL0nbFQ==","repository":{"url":"git+https://github.com/teimurjan/blazediff.git","type":"git"},"_npmVersion":"10.9.2","description":"Fast single-threaded SSIM (Structural Similarity Index) metric for CI visual testing","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.0","pngjs":"^7.0.0","vitest":"^3.2.4","ssim.js":"^3.5.0","@vitest/ui":"^3.2.4","typescript":"5.9.2","@types/node":"^24.3.0","@blazediff/pngjs-transformer":"1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/ssim_1.6.0_1761057733628_0.2857815222271214","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"@blazediff/ssim","version":"1.7.0","keywords":["image","comparison","ssim","gradient","similarity","visual-testing","ci"],"author":{"url":"https://github.com/teimurjan","name":"Teimur Gasanov","email":"me@teimurjan.dev"},"license":"MIT","_id":"@blazediff/ssim@1.7.0","maintainers":[{"name":"teimurjan","email":"teymurgg321@gmail.com"}],"homepage":"https://blazediff.dev","bugs":{"url":"https://github.com/teimurjan/blazediff/issues"},"dist":{"shasum":"df8a7a21f92f1da69209005380e695d5e1776898","tarball":"https://registry.npmjs.org/@blazediff/ssim/-/ssim-1.7.0.tgz","fileCount":17,"integrity":"sha512-OWSOr6AElb0+dimEzQe35kzJqBeVmRepgMitrlm1TmoDJuQOlObegtPLK4LQWAroW7Ss28L5A1DF7bNeDCSDgw==","signatures":[{"sig":"MEUCIQDFzrjO/fEiagiBakRHTrR7niUPPt0Jm32s+mTDXoftEgIgG5w2fY+MGfhqge8i4fvO5cr9U+ezKShWrfbRrjVmsnY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42479},"main":"dist/ssim.js","_from":"file:blazediff-ssim-1.7.0.tgz","types":"dist/ssim.d.ts","module":"dist/ssim.mjs","exports":{".":{"types":"./dist/ssim.d.ts","import":"./dist/ssim.mjs","require":"./dist/ssim.js"},"./ssim":{"types":"./dist/ssim.d.ts","import":"./dist/ssim.mjs","require":"./dist/ssim.js"},"./msssim":{"types":"./dist/msssim.d.ts","import":"./dist/msssim.mjs","require":"./dist/msssim.js"},"./hitchhikers-ssim":{"types":"./dist/hitchhikers-ssim.d.ts","import":"./dist/hitchhikers-ssim.mjs","require":"./dist/hitchhikers-ssim.js"}},"private":false,"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","analyze":"tsx scripts/analyze-with-imgdiff.ts","test:watch":"vitest"},"_npmUser":{"name":"teimurjan","email":"teymurgg321@gmail.com"},"_resolved":"/tmp/5da5aa6288e24d852816b518cd370fe7/blazediff-ssim-1.7.0.tgz","_integrity":"sha512-OWSOr6AElb0+dimEzQe35kzJqBeVmRepgMitrlm1TmoDJuQOlObegtPLK4LQWAroW7Ss28L5A1DF7bNeDCSDgw==","repository":{"url":"git+https://github.com/teimurjan/blazediff.git","type":"git"},"_npmVersion":"10.9.2","description":"Fast single-threaded SSIM (Structural Similarity Index) metric for CI visual testing","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","tsup":"8.5.0","pngjs":"^7.0.0","vitest":"^3.2.4","ssim.js":"^3.5.0","@vitest/ui":"^3.2.4","typescript":"5.9.2","@types/node":"^24.3.0","@blazediff/pngjs-transformer":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ssim_1.7.0_1763823679096_0.423088900452522","host":"s3://npm-registry-packages-npm-production"}},"1.7.1":{"name":"@blazediff/ssim","version":"1.7.1","keywords":["image","comparison","ssim","gradient","similarity","visual-testing","ci"],"author":{"url":"https://github.com/teimurjan","name":"Teimur Gasanov","email":"me@teimurjan.dev"},"license":"MIT","_id":"@blazediff/ssim@1.7.1","maintainers":[{"name":"teimurjan","email":"teymurgg321@gmail.com"}],"homepage":"https://blazediff.dev","bugs":{"url":"https://github.com/teimurjan/blazediff/issues"},"dist":{"shasum":"3689731dfda80f61190ac12ca0f57cb106e0a463","tarball":"https://registry.npmjs.org/@blazediff/ssim/-/ssim-1.7.1.tgz","fileCount":13,"integrity":"sha512-CxdtlPLijlp2tbwDavEOlDCtonWroHpXBfp/Ptue8IRTKeKnuDCotWZliH0tFJRYpsORxBUKXAc4vWVBrPUnPw==","signatures":[{"sig":"MEUCIQDfSwUGM9ZmKh306kzLXIM3aicf1t+YEwNnd4IPph0fAQIgCVLOoEz4IxKRkrfrtJs0wct18PybXQG3EKKT54rrOa0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35806},"main":"dist/ssim.js","_from":"file:blazediff-ssim-1.7.1.tgz","types":"dist/ssim.d.ts","module":"dist/ssim.mjs","exports":{".":{"types":"./dist/ssim.d.ts","import":"./dist/ssim.mjs","require":"./dist/ssim.js"},"./ssim":{"types":"./dist/ssim.d.ts","import":"./dist/ssim.mjs","require":"./dist/ssim.js"},"./msssim":{"types":"./dist/msssim.d.ts","import":"./dist/msssim.mjs","require":"./dist/msssim.js"},"./hitchhikers-ssim":{"types":"./dist/hitchhikers-ssim.d.ts","import":"./dist/hitchhikers-ssim.mjs","require":"./dist/hitchhikers-ssim.js"}},"private":false,"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","analyze":"tsx scripts/analyze-with-imgdiff.ts","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"teimurjan","email":"teymurgg321@gmail.com"},"_resolved":"/tmp/cbdcf33184f2662f063ea262a39c2caa/blazediff-ssim-1.7.1.tgz","_integrity":"sha512-CxdtlPLijlp2tbwDavEOlDCtonWroHpXBfp/Ptue8IRTKeKnuDCotWZliH0tFJRYpsORxBUKXAc4vWVBrPUnPw==","repository":{"url":"git+https://github.com/teimurjan/blazediff.git","type":"git"},"_npmVersion":"10.9.2","description":"Fast single-threaded SSIM (Structural Similarity Index) metric for CI visual testing","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","tsup":"8.5.0","pngjs":"^7.0.0","vitest":"^3.2.4","ssim.js":"^3.5.0","@vitest/ui":"^3.2.4","typescript":"5.9.2","@types/node":"^24.3.0","@blazediff/pngjs-transformer":"2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/ssim_1.7.1_1768152203751_0.296151068310468","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"_id":"@blazediff/ssim@2.0.0","bugs":{"url":"https://github.com/teimurjan/blazediff/issues"},"dist":{"shasum":"e13ce1148c43f615cd816960beba208bb5bdc327","tarball":"https://registry.npmjs.org/@blazediff/ssim/-/ssim-2.0.0.tgz","fileCount":13,"integrity":"sha512-zSz3nFJP7jqw/POXHtcqO3rVcNWmeEd2ZymANC5J7Eh1BCEkUJShTFuAZO2ywTaznNcKOwcOmJLB/844f7Bo6A==","signatures":[{"sig":"MEYCIQDnG1r8G/qizap6jsgkCrp76DeQ0dfmOKZGGJg1qknk1wIhAPhrwCPgbpeXVoqf7H+1Qd1rBwKJZ6qYWNbqcmSOMcem","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDu7WANnUTdZhridgP00u32QTdSpdyJdCEx5wRzYX565AIhAPdsuuN9L8ORnISGiyEZVyEsDzt9dMABiZVTwasnAYvL"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@blazediff%2fssim@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38576},"main":"dist/ssim.js","name":"@blazediff/ssim","_from":"file:blazediff-ssim-2.0.0.tgz","types":"dist/ssim.d.ts","author":{"url":"https://github.com/teimurjan","name":"Teimur Gasanov","email":"me@teimurjan.dev"},"module":"dist/ssim.mjs","exports":{".":{"types":"./dist/ssim.d.ts","import":"./dist/ssim.mjs","require":"./dist/ssim.js"},"./ssim":{"types":"./dist/ssim.d.ts","import":"./dist/ssim.mjs","require":"./dist/ssim.js"},"./msssim":{"types":"./dist/msssim.d.ts","import":"./dist/msssim.mjs","require":"./dist/msssim.js"},"./hitchhikers-ssim":{"types":"./dist/hitchhikers-ssim.d.ts","import":"./dist/hitchhikers-ssim.mjs","require":"./dist/hitchhikers-ssim.js"}},"license":"MIT","private":false,"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","analyze":"tsx scripts/analyze-with-imgdiff.ts","typecheck":"tsc --noEmit","test:watch":"vitest"},"version":"2.0.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"a0551a83-dce4-4c17-8b8c-dc6131b62bf6"}},"homepage":"https://blazediff.dev","keywords":["image","comparison","ssim","gradient","similarity","visual-testing","ci"],"_resolved":"/tmp/59bcbd1091b01c147acfd3d8ad2ba8db/blazediff-ssim-2.0.0.tgz","_integrity":"sha512-zSz3nFJP7jqw/POXHtcqO3rVcNWmeEd2ZymANC5J7Eh1BCEkUJShTFuAZO2ywTaznNcKOwcOmJLB/844f7Bo6A==","repository":{"url":"git+https://github.com/teimurjan/blazediff.git","type":"git"},"_npmVersion":"11.21.2","description":"Fast single-threaded SSIM (Structural Similarity Index) metric for CI visual testing","directories":{},"maintainers":[{"name":"teimurjan","email":"teymurgg321@gmail.com"}],"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","tsup":"8.5.0","pngjs":"^7.0.0","vitest":"^3.2.4","ssim.js":"^3.5.0","@vitest/ui":"^3.2.4","typescript":"5.9.2","@types/node":"^24.3.0","@blazediff/codec-pngjs":"4.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ssim_2.0.0_1793859496915_0.034174468355919974"}}},"time":{"created":"2025-10-21T14:42:13.497Z","modified":"2026-11-05T06:18:17.437Z","1.6.0":"2025-10-21T14:42:13.804Z","1.7.0":"2025-11-22T15:01:19.299Z","1.7.1":"2026-01-11T17:23:23.900Z","2.0.0":"2026-11-05T06:18:16.992Z"},"bugs":{"url":"https://github.com/teimurjan/blazediff/issues"},"author":{"url":"https://github.com/teimurjan","name":"Teimur Gasanov","email":"me@teimurjan.dev"},"license":"MIT","homepage":"https://blazediff.dev","keywords":["image","comparison","ssim","gradient","similarity","visual-testing","ci"],"repository":{"url":"git+https://github.com/teimurjan/blazediff.git","type":"git"},"description":"Fast single-threaded SSIM (Structural Similarity Index) metric for CI visual testing","maintainers":[{"name":"teimurjan","email":"teymurgg321@gmail.com"}],"readme":"# @blazediff/ssim\n\n<div align=\"center\">\n\n[![npm bundle size](https://img.shields.io/npm/unpacked-size/%40blazediff%2Fssim?style=for-the-badge)](https://www.npmjs.com/package/@blazediff/ssim)\n[![NPM Downloads](https://img.shields.io/npm/dy/%40blazediff%2Fssim?style=for-the-badge)](https://www.npmjs.com/package/@blazediff/ssim)\n\n</div>\n\nFast SSIM (Structural Similarity Index) implementations for perceptual image quality assessment. Includes standard SSIM, MS-SSIM (Multi-Scale SSIM), and Hitchhiker's SSIM for various use cases and performance requirements.\n\n**Features:**\n- **Three SSIM Variants** - Standard SSIM, MS-SSIM, and Hitchhiker's SSIM\n- **MATLAB-compatible** - Matches reference implementation with <0.01% error\n- **High Performance** - Optimized implementations with ~4x faster Hitchhiker's SSIM\n- **Perceptual Metrics** - Structural similarity scoring (0-1 scale)\n- **SSIM Map Output** - Optional grayscale visualization\n- **Zero Dependencies**\n- **TypeScript Support** out of the box\n\nFor detailed algorithm explanation and mathematical formulas, see [FORMULA.md](./FORMULA.md).\n\n## Installation\n\n```bash\nnpm install @blazediff/ssim\n```\n\n## API\n\nAll three functions take two images of the same size and one options object:\n\n```typescript\ninterface Image {\n  data: Uint8Array | Uint8ClampedArray; // RGBA, width * height * 4 bytes. Buffer works too.\n  width: number;\n  height: number;\n}\n\ntype SsimResult =\n  | { kind: \"compared\"; score: number } // 0-1, 1 when identical\n  | { kind: \"dimension-mismatch\"; a: Size; b: Size };\n```\n\nImages of different sizes return `kind: \"dimension-mismatch\"`. A buffer that does not hold `width * height * 4` bytes, or an `output` of the wrong size, throws.\n\n### `ssim(a, b, options?)`\n\nStandard SSIM with a Gaussian window and automatic downsampling to about 256px on the short edge, like MATLAB's `ssim.m`.\n\n### `msssim(a, b, options?)`\n\nSSIM pooled across a dyadic pyramid, like `msssim.m`. The default five scales need at least 176px on the short edge.\n\n### `hitchhikersSSIM(a, b, options?)`\n\nBox windows over integral images, pooled by coefficient of variation (Venkataramanan et al. 2021). It is about 4x faster than standard SSIM.\n\n### Options\n\n`SsimOptions` is one type for all three functions. Its field names match `@blazediff/ssim-native`. Each function reads the shared fields and its own block, and ignores the other blocks.\n\n<table>\n  <tr>\n    <th width=\"500\">Option</th>\n    <th width=\"500\">Type</th>\n    <th width=\"500\">Default</th>\n    <th width=\"500\">Description</th>\n  </tr>\n  <tr>\n    <td><code>windowSize</code></td>\n    <td>number</td>\n    <td>11</td>\n    <td>Side of the local window</td>\n  </tr>\n  <tr>\n    <td><code>k1</code></td>\n    <td>number</td>\n    <td>0.01</td>\n    <td>Luminance stability constant: <code>c1 = (k1·L)²</code></td>\n  </tr>\n  <tr>\n    <td><code>k2</code></td>\n    <td>number</td>\n    <td>0.03</td>\n    <td>Contrast stability constant: <code>c2 = (k2·L)²</code></td>\n  </tr>\n  <tr>\n    <td><code>bitDepth</code></td>\n    <td>number</td>\n    <td>8</td>\n    <td>Sample bit depth, setting <code>L = 2^bitDepth - 1</code></td>\n  </tr>\n  <tr>\n    <td><code>output</code></td>\n    <td>Image</td>\n    <td>none</td>\n    <td>Draws the local score map as grayscale: white is similar, black is different</td>\n  </tr>\n  <tr>\n    <td><code>msSsim.weights</code></td>\n    <td>number[]</td>\n    <td>[0.0448, 0.2856, 0.3001, 0.2363, 0.1333]</td>\n    <td><code>msssim</code> only. Per-scale weights. The length sets the number of scales.</td>\n  </tr>\n  <tr>\n    <td><code>msSsim.method</code></td>\n    <td>'product' or 'weighted-sum'</td>\n    <td>'product'</td>\n    <td><code>msssim</code> only. How the per-scale scores combine.</td>\n  </tr>\n  <tr>\n    <td><code>hitchhikers.windowStride</code></td>\n    <td>number</td>\n    <td>windowSize</td>\n    <td><code>hitchhikersSSIM</code> only. Distance between window origins. The default gives non-overlapping windows.</td>\n  </tr>\n  <tr>\n    <td><code>hitchhikers.covPooling</code></td>\n    <td>boolean</td>\n    <td>true</td>\n    <td><code>hitchhikersSSIM</code> only. Pool with <code>1 - stddev/mean</code> instead of the plain mean.</td>\n  </tr>\n</table>\n\n## Usage\n\n### Basic SSIM Comparison\n\n```typescript\nimport ssim from '@blazediff/ssim/ssim';\n\nconst result = ssim(image1, image2);\n\nif (result.kind === 'compared' && result.score < 0.95) {\n  throw new Error(`Images differ too much: ${result.score}`);\n}\n```\n\n### Multi-Scale SSIM (MS-SSIM)\n\n```typescript\nimport msssim from '@blazediff/ssim/msssim';\n\nconst result = msssim(image1, image2, {\n  msSsim: { method: 'weighted-sum' },\n});\n```\n\n### Hitchhiker's SSIM (Fast)\n\n```typescript\nimport hitchhikersSSIM from '@blazediff/ssim/hitchhikers-ssim';\n\nconst result = hitchhikersSSIM(image1, image2, {\n  windowSize: 16,\n  hitchhikers: { windowStride: 8, covPooling: true }, // overlapping windows\n});\n```\n\n### SSIM Map Visualization\n\n```typescript\nimport ssim from '@blazediff/ssim/ssim';\n\nconst output = { data: new Uint8ClampedArray(width * height * 4), width, height };\nconst result = ssim(image1, image2, { output });\n\n// output.data now holds the grayscale SSIM map.\n// White (255) is high similarity, black (0) is low similarity.\n```\n\n### Migrating from 1.x\n\n| 1.x | Now |\n| --- | --- |\n| `ssim(a.data, b.data, out, width, height, options)` | `ssim(a, b, { ...options, output: { data: out, width, height } })` |\n| returns `number` | returns `{ kind: \"compared\", score }` |\n| `L: 255` | `bitDepth: 8` |\n| `msssim(..., { weight, level })` | `msssim(a, b, { msSsim: { weights } })`; the scale count is `weights.length` |\n| `method: \"wtd_sum\"` | `msSsim: { method: \"weighted-sum\" }` |\n| `hitchhikersSSIM(..., { windowStride, covPooling })` | `hitchhikersSSIM(a, b, { hitchhikers: { windowStride, covPooling } })` |\n\n## When to Use Each Variant\n\n**Use SSIM when:**\n- You need **MATLAB-compatible results** for research or comparison\n- You want **high accuracy** with Gaussian weighting\n- You need **automatic downsampling** for large images\n- Performance is not critical\n\n**Use MS-SSIM when:**\n- You need **multi-scale analysis** for better perceptual correlation\n- You're working with images at **different resolutions**\n- You want **better correlation with human perception**\n- You can afford the ~2-3x computation cost\n\n**Use Hitchhiker's SSIM when:**\n- You need **maximum performance** (~4x faster than standard SSIM)\n- You're processing **large images** or **many images**\n- You want **O(1) window computation** regardless of window size\n- You need **flexible window stride** for overlapping/non-overlapping windows\n- CoV pooling provides better perceptual correlation than mean\n\n## Score Interpretation\n\n| Score Range | Similarity Level | Description |\n| ----------- | ---------------- | ----------- |\n| `1.0`       | Identical        | Images are identical or perceptually identical |\n| `0.99+`     | Excellent        | Extremely high similarity (minor compression artifacts) |\n| `0.95-0.99` | Very Good        | High similarity (small compression or noise) |\n| `0.90-0.95` | Good             | Noticeable but acceptable differences |\n| `0.80-0.90` | Fair             | Significant but tolerable differences |\n| `<0.80`     | Poor             | Major structural differences |\n\n## References\n\n### SSIM & MS-SSIM\n- **Wang, Z., Bovik, A. C., Sheikh, H. R., & Simoncelli, E. P.** (2004). [Image quality assessment: from error visibility to structural similarity](https://ieeexplore.ieee.org/document/1284395). IEEE Transactions on Image Processing, 13(4), 600-612.\n- **Wang, Z., Simoncelli, E. P., & Bovik, A. C.** (2003). [Multi-scale structural similarity for image quality assessment](https://ieeexplore.ieee.org/document/1292216). IEEE Asilomar Conference on Signals, Systems & Computers.\n- **MATLAB Reference Implementations**: [Zhou Wang's Research Group](https://ece.uwaterloo.ca/~z70wang/research/ssim/)\n\n### Hitchhiker's SSIM\n- **Venkataramanan, A. K., Wu, C., Bovik, A. C., Katsavounidis, I., & Shahid, Z.** (2021). [A Hitchhiker's Guide to Structural Similarity](https://ieeexplore.ieee.org/document/9345560). IEEE Access, 9, 28872-28896.\n- **Reference Implementation**: [utlive/enhanced_ssim](https://github.com/utlive/enhanced_ssim)\n- **License**: BSD-2-Clause-Patent (Netflix, Inc.)\n\n## License\n\nSee [../../licenses](../../licenses) for algorithm attribution and licensing information.\n","readmeFilename":"README.md"}