Unix and Linux Discussions Tagged with difference |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
10 |
109,702 |
Shell Programming and Scripting |
|
|
|
1 |
9,110 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
7,792 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,416 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
10,595 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
7,571 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
5,962 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
4,444 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
2,115 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,274 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
5,400 |
Shell Programming and Scripting |
|
|
|
8 |
5,848 |
Shell Programming and Scripting |
|
|
|
3 |
4,972 |
Shell Programming and Scripting |
|
|
|
4 |
1,107 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
7,633 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,264 |
Shell Programming and Scripting |
|
|
|
7 |
3,268 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,644 |
Shell Programming and Scripting |
|
|
|
11 |
9,077 |
Solaris |
|
|
|
1 |
19,656 |
Solaris |
|
|
|
0 |
5,927 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,596 |
Shell Programming and Scripting |
|
|
|
1 |
9,972 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,247 |
Shell Programming and Scripting |
|
|
|
2 |
9,546 |
Solaris |
|
|
|
3 |
15,855 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,073 |
Shell Programming and Scripting |
|
|
|
1 |
1,961 |
Shell Programming and Scripting |
|
|
|
4 |
2,940 |
Shell Programming and Scripting |
|
|
|
2 |
9,118 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,327 |
AIX |
|
|
|
1 |
4,073 |
Shell Programming and Scripting |
|
|
|
3 |
18,704 |
AIX |
|
|
|
3 |
14,144 |
Programming |
|
|
|
4 |
28,291 |
AIX |
|
|
|
1 |
2,085 |
Linux |
|
|
|
1 |
3,560 |
Shell Programming and Scripting |
|
|
|
3 |
2,766 |
Shell Programming and Scripting |
|
|
|
3 |
7,684 |
Shell Programming and Scripting |
|
|
|
0 |
2,924 |
OS X Support RSS |
pnmpsnr(1) General Commands Manual pnmpsnr(1)
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.
SEE ALSO
pnm(5)
04 March 2001 pnmpsnr(1)