From 26a9ad042caf4e02cae6cd5c6027964345fc1de4 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 3 Jan 2021 19:13:26 +0000 Subject: miscellaneous update git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@4021 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- directory.html | 3 + pamaddnoise.html | 47 +-- pamcomp.html | 23 ++ pamhomography.html | 305 ++++++++++++++ pamperspective.html | 1 + park_row.ppm | 1144 +++++++++++++++++++++++++++++++++++++++++++++++++++ pnmshear.html | 1 + 7 files changed, 1493 insertions(+), 31 deletions(-) create mode 100644 pamhomography.html create mode 100644 park_row.ppm diff --git a/directory.html b/directory.html index 8d924710..bfae8a52 100644 --- a/directory.html +++ b/directory.html @@ -888,6 +888,9 @@ a color map containing all possible colors of given maxval
pamrubber
rubber sheet deforming, distortion, stretching of an image +
pamhomography +
map one arbitrary quadrilateral image region to another +
pamaddnoise
add noise to an image diff --git a/pamaddnoise.html b/pamaddnoise.html index df27204b..3a0f3903 100644 --- a/pamaddnoise.html +++ b/pamaddnoise.html @@ -14,69 +14,54 @@ pamaddnoise - add noise to a Netpbm image pamaddnoise -[-type noise_type] - -[-seed int] - +
+{
-pamaddnoise -type gaussian +[-type gaussian] [-sigma1 value] [-sigma2 value]
- -[-seed int] - -[netpbmfile] - +|
-pamaddnoise -type multiplicative_gaussian + +-type multiplicative_gaussian [-mgsigma value]
- -[-seed int] - -[netpbmfile] - +|
-pamaddnoise -type impulse +-type impulse [-tolerance ratio] -[-seed int] -
- -[netpbmfile] - +|
-pamaddnoise -type laplacian +-type laplacian [-lsigma value] -[-seed int] -
- -[netpbmfile] - +|
-pamaddnoise -type poisson +-type poisson [-lambda value] -[-seed int] -
+} +
+ +[-seed int] [netpbmfile] diff --git a/pamcomp.html b/pamcomp.html index 172e13a2..25016e2b 100644 --- a/pamcomp.html +++ b/pamcomp.html @@ -118,6 +118,28 @@ two input formats and a maxval that is the least common multiple the two maxvals (or the maximum maxval allowable by the format, if the LCM is more than that). + +

ARGUMENTS

+ +

The overlay_file argument is the name of the file containing the + overly image, while underlying_file is the name of the file + containing the underlying image. For either, you may specify "-" + to indicate Standard Input, and underlying file defaults to Standard + Input. Make sure you aren't specifying (or defaulting) Standard Input as + both. + +

Note that there may be a third input file, identified by an +-alphafile option. + + +

The output_file argument is the name of the file to which + pamcomp writes the output, creating or truncating it first. You may + specify "-" to indicate Standard Output, in which + case pamcomp does not truncate it. Note that pamcomp is + unusual among Netpbm programs, as a historical accident, in having an output + file argument; Netpbm programs normally write to Standard Output only. + +

OPTIONS

In addition to the options common to all programs based on libnetpbm @@ -341,6 +363,7 @@ href="mailto:koblas@mips.com">koblas@mips.com).