Unix and Linux Discussions Tagged with difference |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
10 |
64,206 |
Shell Programming and Scripting |
|
|
|
1 |
5,151 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,548 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,467 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
5,937 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,308 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,366 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
2,952 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,580 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,006 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
4,678 |
Shell Programming and Scripting |
|
|
|
8 |
3,545 |
Shell Programming and Scripting |
|
|
|
3 |
4,141 |
Shell Programming and Scripting |
|
|
|
4 |
825 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,824 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,321 |
Shell Programming and Scripting |
|
|
|
7 |
2,683 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,927 |
Shell Programming and Scripting |
|
|
|
11 |
8,285 |
Solaris |
|
|
|
1 |
18,747 |
Solaris |
|
|
|
0 |
5,575 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,228 |
Shell Programming and Scripting |
|
|
|
1 |
9,605 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,017 |
Shell Programming and Scripting |
|
|
|
2 |
9,036 |
Solaris |
|
|
|
3 |
15,281 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,332 |
Shell Programming and Scripting |
|
|
|
1 |
1,774 |
Shell Programming and Scripting |
|
|
|
4 |
2,429 |
Shell Programming and Scripting |
|
|
|
2 |
8,472 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,966 |
AIX |
|
|
|
1 |
3,684 |
Shell Programming and Scripting |
|
|
|
3 |
17,838 |
AIX |
|
|
|
3 |
11,966 |
Programming |
|
|
|
4 |
27,043 |
AIX |
|
|
|
1 |
1,897 |
Linux |
|
|
|
1 |
3,329 |
Shell Programming and Scripting |
|
|
|
3 |
2,502 |
Shell Programming and Scripting |
|
|
|
3 |
7,429 |
Shell Programming and Scripting |
|
|
|
0 |
2,583 |
OS X Support RSS |
pnmpsnr(1) General Commands Manual pnmpsnr(1)
NAME
pnmpsnr - compute the difference between two images (the PSNR)
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.
SEE ALSO
pnm(5)
04 March 2001 pnmpsnr(1)