Reference

perceptualdiff(1)

perceptual image comparison tool

NAME

perceptualdiff - perceptual image comparison tool

SYNOPSIS

perceptualdiff [options] image1 image2

DESCRIPTION

Compares image1 and image2 using a perceptually based image metric. Images can be in any FreeImage-supported format: TIF, PNG, etc.

OPTIONS

--verbose

Turn on verbose mode

--fov deg

Field of view in degrees [0.1, 89.9] (default: 45.0)

--threshold p

Number of pixels p below which differences are ignored

--gamma g

Value to convert rgb into linear space (default: 2.2)

--luminance l

White luminance (default: 100.0 cdm^-2)

--luminance-only

Only consider luminance; ignore chroma (color) in the comparison

--color-factor

How much of color to use [0.0, 1.0] (default: 1.0)

--down-sample

How many powers of two to down sample the image (default: 0)

--scale

Scale images to match each other's dimensions

--sum-errors

Print a sum of the luminance and color differences

--output o

Write difference to the file o

--version

Print version

OpenMP status: enabled

History

--color-factor since Debian 13 (Trixie); --down-sample since Debian 13 (Trixie); --fov since Debian 13 (Trixie); --gamma since Debian 13 (Trixie); --luminance since Debian 13 (Trixie); --luminance-only since Debian 13 (Trixie); --output since Debian 13 (Trixie); --scale since Debian 13 (Trixie); --sum-errors since Debian 13 (Trixie); --threshold since Debian 13 (Trixie); --verbose since Debian 13 (Trixie); --version since Debian 13 (Trixie).

-fov until Debian 11 (Bullseye); -gamma until Debian 11 (Bullseye); -luminance until Debian 11 (Bullseye); -output until Debian 11 (Bullseye); -threshold until Debian 11 (Bullseye); -verbose until Debian 11 (Bullseye).