makecr - create circumscribing rectangles in an image
| stdin out_file
makecr finds connected components of black pixels in a binary image, and creates
The file format of in_file
is binary pbm(5). The circumscribing
rectangles are written on out_file,
whose file format is d4file(4).
Each rectangle is denoted by a 4-tuple, the position of the left-top corner,
the width, and the height of the rectangle.
If the string "stdin" is passed instead of in_file,
reads image from standard input.
- -bstr N
- Add N black pixels to both ends of each horizontal black run before
finding connected components.
- -rls N
- Apply Runlength Smoothing Algorithm. The horizontal white runs which is
shorter than N pixels are filled with black pixels before finding
Copyright (C) 1994-1997 Hideaki Goto
E-Mail: firstname.lastname@example.org, email@example.com