← 返回命令列表

Linux command

pnmhisteq 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Equalize histogram

pnmhisteq [input.pnm] > [output.pnm]

Verbose output

pnmhisteq -verbose [input.pnm] > [output.pnm]

Equalize grayscale

ppmtopgm [input.ppm] | pnmhisteq > [output.pgm]

说明

pnmhisteq performs histogram equalization on a PNM image. This process spreads out the most frequent intensity values, improving contrast in images with clustered brightness levels. Part of Netpbm toolkit for image enhancement.

参数

-gray
Equalize on gray value.
-verbose
Print information.

FAQ

What is the pnmhisteq command used for?

pnmhisteq performs histogram equalization on a PNM image. This process spreads out the most frequent intensity values, improving contrast in images with clustered brightness levels. Part of Netpbm toolkit for image enhancement.

How do I run a basic pnmhisteq example?

Run `pnmhisteq [input.pnm] > [output.pnm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -gray do in pnmhisteq?

Equalize on gray value.