Annotated edit history of
pamoil(1) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
pamoil |
|
|
2 |
!!!pamoil |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
pamoil - turn a PAM image into an oil painting |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__pamoil__ [[__-n__ ''N''] |
|
|
18 |
[[''pamfile''] |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
Reads a Netpbm image as input. Does an |
|
|
23 |
|
|
|
24 |
|
|
|
25 |
The oil transfer is described in |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
The smearing works like this: First, assume a grayscale |
|
|
29 |
image. For each pixel in the image, __pamoil__ looks at a |
|
|
30 |
square neighborhood around it. __pamoil__ determines what |
|
|
31 |
is the most common pixel intensity in the neighborhood, and |
|
|
32 |
puts a pixel of that intensity into the output in the same |
|
|
33 |
position as the input pixel. |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
For color images, or any arbitrary multi-channel image, |
|
|
37 |
__pamoil__ computes each channel (e.g. red, green, and |
|
|
38 |
blue) separately the same way as the grayscale case |
|
|
39 |
above. |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
At the edges of the image, where the regular neighborhood |
|
|
43 |
would run off the edge of the image, __pamoil__ uses a |
|
|
44 |
clipped neighborhood. |
|
|
45 |
!!OPTIONS |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
__-n__ ''size'' |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
This is the size of the neighborhood used in the smearing. |
|
|
52 |
The neighborhood is this many pixels in all four |
|
|
53 |
directions. |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
The default is 3. |
|
|
57 |
!!SEE ALSO |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
pgmbentley(1), ppmrelief(1), |
|
|
61 |
ppm(5) |
|
|
62 |
!!AUTHOR |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
Based on pgmoil Copyright (C) 1990 by Wilson Bent |
|
|
66 |
(whb@hoh-2.att.com) |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
Modified to ppm by Chris Sheppard, June 25, |
|
|
70 |
2001 |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
Modified to pnm, using pam functions, by Bryan Henderson |
|
|
74 |
June 28, 2001. |
|
|
75 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.