diff options
Diffstat (limited to 'pamoil.html')
-rw-r--r-- | pamoil.html | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/pamoil.html b/pamoil.html new file mode 100644 index 00000000..8bae9fa1 --- /dev/null +++ b/pamoil.html @@ -0,0 +1,94 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD><TITLE>Pamoil User Manual</TITLE> +</HEAD><BODY> +<H1>pamoil</H1> +Updated: 25 June 2001 +<BR> +<A HREF="#index">Table Of Contents</A> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +pamoil - turn a PAM image into an oil painting + +<A NAME="lbAC"> </A> +<H2>SYNOPSIS</H2> + +<B>pamoil</B> + +[<B>-n</B> <I>N</I>] + +[<I>pamfile</I>] + +<A NAME="lbAD"> </A> +<H2>DESCRIPTION</H2> + +<p>This program is part of <a href="index.html">Netpbm</a>. + +<p><b>pamoil</b> reads a Netpbm image as input and does an "oil +transfer", and writes the same type of Netpbm image as output. + +<P>The oil transfer is described in "Beyond Photography" by +Holzmann, chapter 4, photo 7. It's a sort of localized smearing. + +<P>The smearing works like this: First, assume a grayscale image. For +each pixel in the image, <B>pamoil</B> looks at a square neighborhood +around it. <B>pamoil</B> determines what is the most common pixel +intensity in the neighborhood, and puts a pixel of that intensity into +the output in the same position as the input pixel. + +<P>For color images, or any arbitrary multi-channel image, +<B>pamoil</B> computes each channel (e.g. red, green, and blue) +separately the same way as the grayscale case above. + +<P>At the edges of the image, where the regular neighborhood would run +off the edge of the image, <B>pamoil</B> uses a clipped neighborhood. + +<A NAME="lbAE"> </A> +<H2>OPTIONS</H2> + +<DL COMPACT> +<DT><B>-n</B> <I>size</I> + +<DD>This is the size of the neighborhood used in the smearing. The +neighborhood is this many pixels in all four directions. + +<P>The default is 3. + +</DL> + + +<A NAME="lbAF"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="pgmbentley.html">pgmbentley</A></B>, + +<B><A HREF="ppmrelief.html">ppmrelief</A></B>, + +<B><A HREF="ppm.html">ppm</A></B> + +<P> +<A NAME="lbAG"> </A> +<H2>AUTHOR</H2> + +<p>This program is based on pgmoil Copyright (C) 1990 by Wilson Bent +(<A HREF="mailto:whb@hoh-2.att.com">whb@hoh-2.att.com</A>) + +<P>Modified to ppm by Chris Sheppard, June 25, 2001 + +<P>Modified to pnm, using pam functions, by Bryan Henderson June 28, +2001. + +<HR> +<A NAME="index"> </A> +<H2>Table Of Contents</H2> +<UL> +<LI><A HREF="#lbAB">NAME</A> +<LI><A HREF="#lbAC">SYNOPSIS</A> +<LI><A HREF="#lbAD">DESCRIPTION</A> +<LI><A HREF="#lbAE">OPTIONS</A> +<LI><A HREF="#lbAF">SEE ALSO</A> +<LI><A HREF="#lbAG">AUTHOR</A> +</UL> +</BODY> +</HTML> |