ppmhist
Display color histogram of PPM images
TLDR
Show color histogram
$ ppmhist [input.ppm]
Show as map file$ ppmhist -map [input.ppm]
Limit output colors$ ppmhist -noheader [input.ppm] | head -20
SYNOPSIS
ppmhist [options] [file]
DESCRIPTION
ppmhist displays a color histogram of a PPM image. Shows each color and its frequency. Part of Netpbm toolkit for image analysis.
PARAMETERS
-map
Output as colormap file.-nomap
Output as text histogram.-noheader
Omit header line.-sort method
Sort by (frequency, rgb).
SEE ALSO
pgmhist(1), pnmcolormap(1)
