← 返回命令列表

Linux command

pbmclean 命令

文本

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

常用示例

Remove noise from bitmap

pbmclean [input.pbm] > [output.pbm]

Set minimum connected size

pbmclean -minneigh=[4] [input.pbm] > [output.pbm]

Flip black/white for cleaning

pbmclean -black [input.pbm] > [output.pbm]

说明

pbmclean removes isolated pixels. Cleans up noisy bitmaps. The tool removes speckles. Part of Netpbm.

参数

-minneigh _N_
Minimum neighbor count.
-black
Clean black pixels.
-white
Clean white pixels.

FAQ

What is the pbmclean command used for?

pbmclean removes isolated pixels. Cleans up noisy bitmaps. The tool removes speckles. Part of Netpbm.

How do I run a basic pbmclean example?

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

What does -minneigh _N_ do in pbmclean?

Minimum neighbor count.