LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pgmhist

displays a grayscale histogram of a PGM image

TLDR

Show grayscale histogram
$ pgmhist [input.pgm]
copy
Show median value
$ pgmhist -median [input.pgm]
copy

SYNOPSIS

pgmhist [options] [file]

DESCRIPTION

pgmhist displays a grayscale histogram of a PGM image. Shows distribution of gray values. Part of Netpbm toolkit for image analysis.

PARAMETERS

-median

Show median gray value.
-quartile
Show quartile values.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

ppmhist(1), pgmnorm(1)

Copied to clipboard
Kai