.TH pnmdissect 1 "24 March 1998" .IX pnmdissect .SH NAME pnmdissect - dissect a portable anymap .SH SYNOPSIS .B pnmdissect .RB [ -adjacency .IR n ] .RB [ -minsize .IR n ] .RI [ pnmfile ] .SH DESCRIPTION Reads a portable anymap as input. Looks for regions separated by the background color, and writes out each such region as a separate output file. .PP The -adjacency flag specifies how close non-background pixels have to be to each other in order to be considered part of the same object. The default is two, meaning they can be separated by one background pixel. An adjacency of one would mean they would have to be right next to each other. .PP The -minsize fiag specifies the minimum size object that will be written out. Objects smaller than this many pixels in both dimensions will just be ignored. The default is 5, so anything smaller than 5x5 is dropped. .SH "SEE ALSO" pbmplus(1) .SH AUTHOR Copyright (C) 1998 by Jef Poskanzer. .\" Permission to use, copy, modify, and distribute this software 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.