LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pbmclean

removes isolated pixels

TLDR

Remove noise from bitmap
$ pbmclean [input.pbm] > [output.pbm]
copy
Set minimum connected size
$ pbmclean -minneigh=[4] [input.pbm] > [output.pbm]
copy
Flip black/white for cleaning
$ pbmclean -black [input.pbm] > [output.pbm]
copy

SYNOPSIS

pbmclean [options] [file]

DESCRIPTION

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

PARAMETERS

FILE

Input PBM file.
-minneigh N
Minimum neighbor count.
-black
Clean black pixels.
-white
Clean white pixels.

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

Part of Netpbm. PBM format only. May remove small details.

HISTORY

pbmclean is part of Netpbm for cleaning bitmap images.

SEE ALSO

pbm(5), pgmedge(1), netpbm(1)

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