LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmnorm

Normalize PPM image contrast range

TLDR

Normalize image contrast
$ ppmnorm [input.ppm] > [output.ppm]
copy
Specify percentile range
$ ppmnorm -bpercent [2] -wpercent [1] [input.ppm] > [output.ppm]
copy

SYNOPSIS

ppmnorm [options] [file]

DESCRIPTION

ppmnorm normalizes the contrast of a PPM image by stretching its color histogram to use the full available range. Dark images are brightened and washed-out images gain contrast, making it a quick automatic enhancement tool.The black and white percentile parameters control how aggressively the ends of the histogram are clipped before stretching, preventing outlier pixels from limiting the enhancement. This is an alias for pnmnorm operating in color mode. Part of the Netpbm toolkit.

PARAMETERS

FILE

Input PPM file.
-bpercent N
Black percentage.
-wpercent N
White percentage.
-bvalue N
Black cutoff value.
-wvalue N
White cutoff value.

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

CAVEATS

Alias for pnmnorm with color. Part of Netpbm suite.

HISTORY

ppmnorm was created as part of Netpbm for color image normalization.

SEE ALSO

pnmnorm(1), ppmgamma(1), ppm(5)

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