EnglishFrenchSpanish

OnWorks favicon

pnmpsnr - Online in the Cloud

Run pnmpsnr in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pnmpsnr that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


pnmpsnr - compute the difference between two portable anymaps

SYNOPSIS


pnmpsnr [pnmfile1] [pnmfile2]

DESCRIPTION


Reads two PBM, PGM, or PPM files, or PAM equivalents, as input. Prints the peak signal-
to-noise ratio (PSNR) difference between the two images. This metric is typically used in
image compression papers to rate the distortion between original and decoded image.

If the inputs are PBM or PGM, pnmpsnr prints the PSNR of the luminance only. Otherwise,
it prints the separate PSNRs of the luminance, and chrominance (Cb and Cr) components of
the colors.

The PSNR of a given component is the ratio of the mean square difference of the component
for the two images to the maximum mean square difference that can exist betwee any two
images. It is expressed as a decibel value.

The mean square difference of a component for two images is the mean square difference of
the component value, comparing each pixel with the pixel in the same position of the other
image. For the purposes of this computation, components are normalized to the scale
[0..1].

The maximum mean square difference is identically 1.

So the higher the PSNR, the closer the images are. A luminance PSNR of 20 means the mean
square difference of the luminances of the pixels is 100 times less than the maximum
possible difference, i.e. 0.01.

Use pnmpsnr online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad