PAMEDGE(1)
β¨ pamedge β edge-detect an image β¨
okay bestie, welcome to the Pamedge User Manual π this is a General Commands Manual page, and yes we are about to make your images β¨outlinedβ¨
πΈ NAME πΈ
pamedge β edge-detect an image π¦
π SYNOPSIS π
pamedge [imagefile]
π DESCRIPTION π
okay so first thing, this program is part of Netpbm(1) β you're in the family, you're safe here π«Ά
pamedge reads a Netpbm image (PNM or PAM) and spits out an image that outlines the edges. that's literally the whole job. it's giving "trace the whole vibe" β¨
The output image is of the same type as the input, EXCEPT that the maxval of the output is at least 255, and if the input is PBM, the output is PGM. yes it just changes up on you like that, no cap π
You can pipe the result through pamditherbw -threshold and play with the threshold value to get a PBM (bilevel image) of the edges. so fun. so customizable. obsessed π
The edge detection technique used is to take the Pythagorean sum of two Sobel gradient operators at 90 degrees to each other. math girlies rise up π₯ if you want more details, see "Digital Image Processing" by Gonzalez and Wintz, chapter 7. (yes, chapter 7 specifically, not 6, not 8. π)
The maxval of the output is the same as the maxval of the input, except at least 255. The effect is better with larger maxvals, so you may want to increase the maxval of the input by running it through pamdepth first. β
π OPTIONS π
There are no command line options defined specifically for pamedge, but it recognizes the options common to all programs based on libnetpbm (See Common Options.) β so like, the group-chat defaults apply, iykyk π§
π¦ SEE ALSO π¦
pgmenhance(1)pamditherbw(1)pamdepth(1)pammasksharpen(1)pamsharpness(1)pamsharpmap(1)pam(1)pnm(1)
π HISTORY π
pamedge was added to Netpbm in Release 10.14 (March 2003). It replaced pgmedge, which was the same thing, but worked only on PGM and PBM images. glow-up era fr fr π
β¨
π AUTHOR π
Copyright (C) 1991 by Jef Poskanzer. Adapted to pnmedge Peter Kichgessner in 1995, and then to pamedge by Bryan Henderson in 2003. three icons, one legacy π«Ά
π DOCUMENT SOURCE π
This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/pamedge.html
and that's a wrap bestie π this little slice of netpbm documentation is dated 11 January 2003 β go edge-detect something iconic, and remember: the maxval is at least 255, always. periodt. β¨ππ
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms