From c66acd4437d9554996fca9e87f9dff946e143654 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 31 Dec 2011 00:42:10 +0000 Subject: miscellaneous update git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@1618 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- pbmclean.html | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'pbmclean.html') diff --git a/pbmclean.html b/pbmclean.html index ab965e1f..35efa4e3 100644 --- a/pbmclean.html +++ b/pbmclean.html @@ -52,17 +52,6 @@ isolated. black pixels in an otherwise white field, each of those pixels is isolated, so pbmclean erases them - turns both white. -

But it isn't that simple, because as pbmclean progresses, its having -erased a pixel may make another pixel isolated that isn't isolated in the -original image. Consider a straight vertical line of 4 pixels, with --minneigbors of two. pbmclean considers the top pixel first, and -finding that it has only one neighbor (the pixel below it), erases it. The it -considers the second pixel, and erases it for the same reason, even though it -has two neighbors in the original image. In this way, pbmclean -ultimately erases the entire line. Because of this weirdness, you probably -don't want -minneighbors greater than one. But you may want to run -pbmclean multiple times with -minneighbors of one. -

The default minimum 1 pixel — pbmclean flips only completely isolated pixels. -- cgit 1.4.1