annotate Meerwald/cmp_ppm.1 @ 0:be303a3f5ea8

import
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Sun, 12 Aug 2007 13:14:34 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
1 .\"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
2 .\" cmp_ppm.1 - the *roff document processor man page source
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
3 .\"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
4 .TH cmp_ppm 1 "98/07/08" "Watermarking, Version 1.0"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
5 .SH NAME
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
6 cmp_ppm \- a program to create the difference image of two PGM images
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
7 .SH SYNOPSIS
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
8 .B cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
9 [
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
10 .BI \-c \ name
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
11 ]
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
12 [
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
13 .B \-h
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
14 ]
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
15 [
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
16 .BI \-m \ number
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
17 ]
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
18 [
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
19 .BI \-o \ ofile
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
20 ]
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
21 .BI \-i \ ifile
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
22 .I file
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
23 .SH DESCRIPTION
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
24 .B cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
25 is a program to create the difference image of two PPM (portable pixmap)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
26 RGB color images. To compare PGM (portable graymap) grayscale images, use
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
27 the
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
28 .B cmp_pgm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
29 program.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
30 .PP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
31 The color components to compare are specified with the
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
32 .BI \-c \ name
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
33 option, where
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
34 .I name
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
35 is one of the following:
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
36 .TP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
37 .B red
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
38 The red color component.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
39 .TP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
40 .B green
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
41 The green color component.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
42 .TP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
43 .B blue
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
44 The blue color component.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
45 .PP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
46 Multiple color components are allowed. Specifying only the inital letter
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
47 of a color component is sufficient.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
48 Per default
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
49 .B cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
50 compares the luminance value of the images. This operation may be
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
51 selected explicitly with the
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
52 .BI \-c \ luminance
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
53 option.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
54 .PP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
55 If
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
56 .I file
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
57 or
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
58 .I ofile
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
59 is not specified, then standard input or standard output is
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
60 used.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
61 .PP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
62 .SH OPTIONS
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
63 .TP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
64 .BI \-c \ name
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
65 Specifies color component(s) or luminance to compare. Default: luminance.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
66 .TP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
67 .B \-h
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
68 Print a help message.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
69 .TP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
70 .BI \-i \ ifile
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
71 The original image. Mandatory.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
72 .TP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
73 .BI \-m \ number
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
74 Multiplication factor to magnify differences between the to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
75 original and input image.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
76 Default value: 16.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
77 .TP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
78 .BI \-o \ ofile
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
79 Output image file to contain the difference image in PPM format.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
80 .TP
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
81 .I file
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
82 Input image that is compared against
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
83 .I ifile.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
84 Default: standard input.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
85 .SH OUTPUT
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
86 The difference image in PPM format is written to standard output or,
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
87 optionally, to
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
88 .I ofile.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
89 .SH AUTHOR
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
90 Peter Meerwald.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
91 Email bug reports to pmeerw@cosy.sbg.ac.at.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
92 .SH AVAILABILITY
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
93 The most recent released version of
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
94 .B cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
95 is always available
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
96 at http://www.cosy.sbg.ac.at/~pmeerw/Watermarking or via anonymous ftp from ftp.cosy.sbg.ac.at in the
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
97 directory /pub/people/pmeerw/Watermarking.
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
98 .SH "SEE ALSO"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
99 .B cmp_ppm
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
100 (1)

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.