Penguin
Annotated edit history of ppmdist(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ppmdist
2 !!!ppmdist
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 BUGS
8 SEE ALSO
9 AUTHOR
10 ----
11 !!NAME
12
13
14 ppmdist - simplistic grayscale assignment for machine generated, color images
15 !!SYNOPSIS
16
17
18 __ppmdist__ [[__-intensity__|__-frequency__]
19 [[''ppmfile'']
20 !!DESCRIPTION
21
22
23 Reads a portable pixmap as input, performs a simplistic
24 grayscale assignment intended for use with grayscale or
25 bitmap printers.
26
27
28 Often conversion from ppm to pgm will yield an image with
29 contrast too low for good printer output. The program
30 maximizes contrast between the gray levels
31 output.
32
33
34 A ppm input of n colors is read, and a pgm of n gray levels
35 is written. The gray levels take on the values 0..n-1, while
36 maxval takes on n-1.
37
38
39 The mapping from color to stepped grayscale can be performed
40 in order of input pixel intensity, or input pixel frequency
41 (number of repetitions).
42 !!OPTIONS
43
44
45 __-frequency__
46
47
48 Sort input colors by the number of times a color appears in
49 the input, before mapping to evenly distributed graylevels
50 of output. __-intensity__ Sort input colors by their
51 grayscale intensity, before mapping to evenly distributed
52 graylevels of output. This is the default.
53 !!BUGS
54
55
56 Helpful only for images with a very small number of colors.
57 Perhaps should have been an option to
58 ppmtopgm(1).
59 !!SEE ALSO
60
61
62 ppmtopgm(1), ppmhist(1), ppm(5)
63 !!AUTHOR
64
65
66 Copyright (C) 1993 by Dan Stromberg.
67 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.