GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
makecr(1) FreeBSD General Commands Manual makecr(1)

makecr - create circumscribing rectangles in an image

makecr [-options] in_file | stdin out_file

makecr finds connected components of black pixels in a binary image, and creates circumscribing rectangles.

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, makecr 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 connected components.

pbm(5), d4file(4)

Copyright (C) 1994-1997 Hideaki Goto

E-Mail: hgot@ecip.tohoku.ac.jp, hgot@aso.ecei.tohoku.ac.jp

Feb. 1997

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.