---
name: "gmerlin_ssim"
section: "1"
platform: "linux"
package: "gmerlin"
version: "2.0.0~svn6298~dfsg0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gmerlin_ssim"
---

# gmerlin\_ssim(1)

compare two images

## NAME

gmerlin\_ssim - compare two images

## SYNOPSIS

**gmerlin\_ssim \<image1\> \<image2\> \[\<output\_image\>\]**

## DESCRIPTION

**gmerlin\_ssim** will calculate the structural similarity between \<image1\> and \<image2\> and store the resulting image into \<output\_image\>.

The input images should be of the same dimension and format.

The SSIM algorithm is taken from the paper "Image Quality Assessment: From Error Visibility to Structural Similarity" by Z. Want et. al. published in IEEE Transactions on image processing, VOL. 13, NO. 4, APRIL 2004. Homepage of the author:

**http://www.ece.uwaterloo.ca/~z70wang/research/ssim/**

**gmerlin\_ssim** is part of the Gmerlin suite of media applications.
