Section: User Commands (1)
Updated: 04 February 1990Index
Return to Main Contents
pgmedge - edge-detect a portable graymap
Reads a portable graymap as input.
Outlines the edges, and writes a portable graymap as output.
Piping the result through
and playing with the
threshold value will give a bitmap of the edges.
The edge detection technique used is to take the Pythagorean sum of
two Sobel gradient operators at 90 degrees to each other.
For more details see "Digital Image Processing" by Gonzalez and Wintz,
The maxval of the output is the same as the maxval of the input The
effect is better with larger maxvals, so you may want to increase the
maxval of the input by running it through
Copyright (C) 1991 by Jef Poskanzer.
- SEE ALSO