← 返回命令列表

Linux command

pnmsmooth 命令

文本

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

常用示例

Smooth/blur image

pnmsmooth [input.pnm] > [output.pnm]

Smooth with custom size

pnmsmooth -size [5] [input.pnm] > [output.pnm]

Multiple passes

pnmsmooth [input.pnm] | pnmsmooth > [output.pnm]

说明

pnmsmooth applies a smoothing (blur) filter to a PNM image using convolution. It averages neighboring pixels to reduce noise and sharp edges. Wrapper around pnmconvol with a smoothing kernel.

参数

-size _n_
Convolution size (default 3).
-dump _file_
Dump convolution matrix.

FAQ

What is the pnmsmooth command used for?

pnmsmooth applies a smoothing (blur) filter to a PNM image using convolution. It averages neighboring pixels to reduce noise and sharp edges. Wrapper around pnmconvol with a smoothing kernel.

How do I run a basic pnmsmooth example?

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

What does -size _n_ do in pnmsmooth?

Convolution size (default 3).