CmdID

CmdID / Commands

pgmhist

Print a histogram of the values present in a PGM image. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Display the histogram for human reading

pgmhist path/to/image.pgmIdentify

Display the median grey value

pgmhist -median path/to/image.pgmIdentify

Display the four quartile grey values

pgmhist -quartile path/to/image.pgmIdentify

Report the existence of invalid grey values

pgmhist -forensic path/to/image.pgmIdentify

Display machine-readable output

pgmhist -machine path/to/image.pgmIdentify