LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pnmhistmap

Generate pixel value histogram images

TLDR

Create histogram visualization
$ pnmhistmap [input.pnm] > [histogram.pgm]
copy
Specify output dimensions
$ pnmhistmap -width [256] -height [100] [input.pnm] > [histogram.pgm]
copy

SYNOPSIS

pnmhistmap [options] [file]

DESCRIPTION

pnmhistmap creates a visual histogram image showing the distribution of pixel values in a PNM image. The output is a PNM image where the horizontal axis represents sample values and the vertical axis shows how many pixels have each value.For color images, separate histograms are drawn for each channel. The -width and -height options control the output image dimensions. The -white flag uses a white background instead of the default black, and -verbose prints statistical information about the distribution. Part of the Netpbm toolkit.

PARAMETERS

-width n

Output width.
-height n
Output height.
-white
Use white background.
-verbose
Print statistics.

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

pgmhist(1), ppmhist(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid