LinuxCommandLibrary

pgmnorm

normalizes contrast in PGM grayscale images

TLDR

Normalize image contrast

$ pgmnorm [input.pgm] > [output.pgm]
copy
Normalize with percentile
$ pgmnorm -bpercent [2] -wpercent [1] [input.pgm] > [output.pgm]
copy

SYNOPSIS

pgmnorm [options] [file]

DESCRIPTION

pgmnorm normalizes contrast in PGM grayscale images. Stretches histogram to use full dynamic range. Part of Netpbm toolkit for image enhancement.

PARAMETERS

-bpercent n

Black percentile cutoff.
-wpercent n
White percentile cutoff.
-bvalue n
Black value.
-wvalue n
White value.

SEE ALSO

pnmnorm(1), pgmhist(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community