pbmclean

機能

pbmの孤立したピクセルを白黒反転させる

起動方法

    pbmclean [-connect] [pbmfile]

説明

pbmファイルを読み込んで隣合ったピクセルの同じ色がconnectより少ない ピクセルの色を反転させる。
例えばスキャナーから読みとった画像のノイズをとるために使用する。
pbmfileを指定しないと入力は標準入力になる。
出力は標準出力である。

隣合ったピクセルに、同じ色が3つ以下の場合はその色を反転する。

# pbmclean -3 tmp.pbm > tmp2.pbm 

参照

バグ

-connectオプションをつけないで標準入力から画像データを入力すると core dumpする。

プログラマー/バージョン

Copyright (C) 1990 by Angus Duggan Copyright (C) 1989 by Jef Poskanzer. Permission to use, copy, modify, and distribute this soft- ware and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.

Home | Contents
abe@injapan.net